{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/api-data-gov/main/json-schema/api-data-gov-source-info-schema.json",
  "title": "SourceInfo",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harvest.data.gov-openapi.json#/components/schemas/SourceInfo",
  "additionalProperties": false,
  "properties": {
    "collection_parent_url": {
      "type": "string"
    },
    "date_next_run": {
      "format": "date-time",
      "type": "string"
    },
    "frequency": {
      "enum": [
        "manual",
        "daily",
        "weekly",
        "biweekly",
        "monthly"
      ],
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "notification_emails": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "notification_frequency": {
      "enum": [
        "on_error",
        "always",
        "on_error_or_update"
      ],
      "type": "string"
    },
    "organization_id": {
      "format": "uuid",
      "type": "string"
    },
    "schema_type": {
      "enum": [
        "iso19115_1",
        "iso19115_2",
        "dcatus1.1: federal",
        "dcatus1.1: non-federal",
        "dcatus3.0"
      ],
      "type": "string"
    },
    "source_type": {
      "enum": [
        "document",
        "waf",
        "waf-collection"
      ],
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "frequency",
    "id",
    "name",
    "notification_frequency",
    "organization_id",
    "schema_type",
    "source_type",
    "url"
  ],
  "type": "object"
}