{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stackdata-io/json-schema/stackdata-io-dataset-schema.json",
  "title": "Dataset",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stackdata-io-openapi.json#/components/schemas/Dataset",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "title_lang": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "resource_kind": {
      "type": "string"
    },
    "publisher": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "publisher_type": {
          "type": "string"
        }
      }
    },
    "cadence": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "native_theme": {
      "type": "string"
    },
    "access_rights": {
      "type": "string"
    },
    "distribution": {
      "type": "object",
      "properties": {
        "access_service": {
          "type": "string"
        },
        "conforms_to": {
          "type": "string"
        },
        "format": {
          "type": "string"
        },
        "licence": {
          "type": "object",
          "additionalProperties": true
        }
      }
    },
    "first_seen_at": {
      "type": "string"
    },
    "last_seen_at": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "Meta": {
      "type": "object",
      "description": "Attached to every JSON response. `harvest` maps each source id to its last successful harvest timestamp.",
      "properties": {
        "harvest": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "api_version": {
          "type": "string"
        }
      }
    }
  }
}