{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dane-biznes-gov-pl/json-schema/dane-biznes-gov-pl-raporty-response-schema.json",
  "title": "RaportyResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dane-biznes-gov-pl-openapi.yml#/components/schemas/RaportyResponse",
  "type": "object",
  "properties": {
    "raporty": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DaneRaportu"
      }
    },
    "properties": {
      "allOf": [
        {
          "$ref": "#/$defs/Metadata"
        }
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "DaneRaportu": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "nazwa": {
          "type": "string"
        },
        "format": {
          "type": "string"
        },
        "raport": {
          "type": "string"
        },
        "dataUtworzenia": {
          "type": "string",
          "format": "date-time"
        }
      },
      "additionalProperties": false
    },
    "Metadata": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "language": {
          "type": "string"
        },
        "rights": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "provider": {
          "type": "string"
        },
        "datePublished": {
          "type": "string",
          "format": "date-time"
        },
        "dateModified": {
          "type": "string",
          "format": "date-time"
        },
        "expires": {
          "type": "string",
          "format": "date-time"
        },
        "keywords": {
          "type": "string"
        },
        "temporalCoverage": {
          "type": "string"
        },
        "contentType": {
          "type": "string"
        },
        "isPartOf": {
          "type": "string"
        },
        "updateFrequency": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  }
}