{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stat-gov-pl/json-schema/stat-gov-pl-metadata-schema.json",
  "title": "Metadata",
  "description": "Definicja metadanych zasobu / Resource metadata definition",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stat-gov-pl-bdl-openapi.yml#/components/schemas/Metadata",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Id metadanych / Matadata's id"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "Nazwa zasobu / Resource name"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Url zasobu / Resource Url"
    },
    "provider": {
      "type": [
        "string",
        "null"
      ],
      "description": "Dostawca zasobu / Resource provider"
    },
    "modificationDate": {
      "type": "string",
      "description": "Data ostatniej modyfikacji / Last modification date",
      "format": "date-time"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Opis zasobu / Resource description"
    },
    "keywords": {
      "type": [
        "string",
        "null"
      ],
      "description": "Słowa kluczowe / Describing keywords"
    },
    "temporalCoverage": {
      "type": [
        "string",
        "null"
      ],
      "description": ""
    },
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "Języki prezentowania zasobu / Resource's languages"
    },
    "updatePeriod": {
      "type": [
        "string",
        "null"
      ],
      "description": "Częstotliwość aktualizacji / Update frequency"
    },
    "contentType": {
      "type": [
        "string",
        "null"
      ],
      "description": "Typ treści / Content type"
    }
  },
  "additionalProperties": false
}