{
  "$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-record-info-schema.json",
  "title": "RecordInfo",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harvest.data.gov-openapi.json#/components/schemas/RecordInfo",
  "additionalProperties": false,
  "properties": {
    "action": {
      "enum": [
        "create",
        "update",
        "delete"
      ],
      "type": "string"
    },
    "ckan_id": {
      "type": "string"
    },
    "date_created": {
      "format": "date-time",
      "type": "string"
    },
    "date_finished": {
      "format": "date-time",
      "type": "string"
    },
    "harvest_job_id": {
      "format": "uuid",
      "type": "string"
    },
    "harvest_source_id": {
      "format": "uuid",
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "identifier": {
      "type": "string"
    },
    "parent_identifier": {
      "type": "string"
    },
    "source_hash": {
      "type": "string"
    },
    "source_raw": {
      "type": "string"
    },
    "source_transform": {
      "additionalProperties": {},
      "type": "object"
    },
    "status": {
      "enum": [
        "error",
        "success",
        "dataset_pending"
      ],
      "type": "string"
    }
  },
  "required": [
    "harvest_job_id",
    "harvest_source_id",
    "id",
    "identifier"
  ],
  "type": "object"
}