{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/open-government-austria/json-schema/open-government-austria-dataset-array-schema.json",
  "title": "DatasetArray",
  "description": "A array of datasets",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/open-government-austria-hub-search-openapi.yml#/components/schemas/DatasetArray",
  "type": "object",
  "required": [
    "datasets"
  ],
  "properties": {
    "datasets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Dataset"
      },
      "minItems": 1,
      "maxItems": 500
    }
  },
  "$defs": {
    "Dataset": {
      "description": "A DCAT AP dataset",
      "type": "object",
      "properties": {
        "version_notes": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "distributions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "modified": {
                "oneOf": [
                  {
                    "$ref": "#/$defs/Date"
                  },
                  {
                    "$ref": "#/$defs/DateTime"
                  }
                ]
              },
              "has_policy": {
                "type": "string"
              },
              "page": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "format": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "resource": {
                          "type": "string"
                        }
                      }
                    },
                    "resource": {
                      "type": "string"
                    }
                  }
                }
              },
              "compress_format": {
                "type": "object",
                "properties": {
                  "resource": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                }
              },
              "download_url": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "applicable_legislation": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "format": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "resource": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                }
              },
              "spatial_resolution_in_meters": {
                "type": "integer"
              },
              "rights": {
                "type": "object",
                "properties": {
                  "resource": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                }
              },
              "access_right": {
                "type": "object",
                "properties": {
                  "resource": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                }
              },
              "access_service": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "availability": {
                      "type": "object",
                      "properties": {
                        "resource": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        }
                      }
                    },
                    "title": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "rights": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "resource": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "description": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "contact_point": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "address": {
                            "type": "string"
                          },
                          "telephone": {
                            "type": "string"
                          },
                          "url": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "organisation_name": {
                            "type": "string"
                          },
                          "resource": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "endpoint_url": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "applicable_legislation": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "hvd_category": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "label": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "string"
                            }
                          },
                          "resource": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "page": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "string"
                            }
                          },
                          "description": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "string"
                            }
                          },
                          "format": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "resource": {
                                "type": "string"
                              }
                            }
                          },
                          "resource": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "title",
                    "endpoint_url"
                  ]
                }
              },
              "temporal": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "lte": {
                      "oneOf": [
                        {
                          "$ref": "#/$defs/Date"
                        },
                        {
                          "$ref": "#/$defs/DateTime"
                        }
                      ]
                    },
                    "gte": {
                      "oneOf": [
                        {
                          "$ref": "#/$defs/Date"
                        },
                        {
                          "$ref": "#/$defs/DateTime"
                        }
                      ]
                    }
                  }
                }
              },
              "language": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "resource": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    }
                  }
                }
              },
              "id": {
                "type": "string"
              },
              "description": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "availability": {
                "type": "object",
                "properties": {
                  "resource": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                }
              },
              "data_actual_count": {
                "type": "integer"
              },
              "issued": {
                "oneOf": [
                  {
                    "$ref": "#/$defs/Date"
                  },
                  {
                    "$ref": "#/$defs/DateTime"
                  }
                ]
              },
              "personal_data": {
                "type": "string"
              },
              "package_format": {
                "type": "object",
                "properties": {
                  "resource": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                }
              },
              "type": {
                "type": "object",
                "properties": {
                  "resource": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                }
              },
              "status": {
                "type": "object",
                "properties": {
                  "resource": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                }
              },
              "media_type": {
                "type": "string"
              },
              "license_attribution_by_text": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "temporal_resolution": {
                "type": "string"
              },
              "access_url": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "title": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "conforms_to": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "resource": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    }
                  }
                }
              },
              "checksum": {
                "type": "object",
                "properties": {
                  "algorithm": {
                    "type": "string"
                  },
                  "checksum_value": {
                    "type": "string"
                  }
                }
              },
              "license": {
                "type": "object",
                "properties": {
                  "label": {
                    "type": "string"
                  },
                  "resource": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "homepage": {
                    "type": "string"
                  }
                }
              },
              "byte_size": {
                "type": "integer"
              }
            }
          }
        },
        "relation": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "access_right": {
          "type": "object",
          "properties": {
            "resource": {
              "type": "string"
            },
            "label": {
              "type": "string"
            }
          }
        },
        "extended_metadata": {
          "type": "object",
          "properties": {
            "is_used_by": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "accrual_periodicity": {
          "type": "object",
          "properties": {
            "resource": {
              "type": "string"
            },
            "label": {
              "type": "string"
            }
          }
        },
        "creator": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "homepage": {
              "type": "string"
            },
            "resource": {
              "type": "string"
            }
          }
        },
        "quality_process_uri": {
          "type": "string"
        },
        "legal_basis": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "temporal": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "lte": {
                "oneOf": [
                  {
                    "$ref": "#/$defs/Date"
                  },
                  {
                    "$ref": "#/$defs/DateTime"
                  }
                ]
              },
              "gte": {
                "oneOf": [
                  {
                    "$ref": "#/$defs/Date"
                  },
                  {
                    "$ref": "#/$defs/DateTime"
                  }
                ]
              }
            }
          }
        },
        "applicable_legislation": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "has_quality_annotation": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "deadline": {
          "oneOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "$ref": "#/$defs/DateTime"
            }
          ]
        },
        "is_referenced_by": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "qualified_attribution": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "availability": {
          "type": "object",
          "properties": {
            "resource": {
              "type": "string"
            },
            "label": {
              "type": "string"
            }
          }
        },
        "modified": {
          "oneOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "$ref": "#/$defs/DateTime"
            }
          ]
        },
        "spatial": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "provenance": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resource": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "attribute": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "technical_contact": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "homepage": {
              "type": "string"
            },
            "resource": {
              "type": "string"
            }
          }
        },
        "description": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "title": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "qualified_relation": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "relation": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "had_role": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        },
        "is_version_of": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "keywords": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "language": {
                "type": "string"
              }
            }
          }
        },
        "conforms_to": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resource": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "maintainer": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "homepage": {
                "type": "string"
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "open_data_presence": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "publisher": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "homepage": {
              "type": "string"
            },
            "resource": {
              "type": "string"
            }
          }
        },
        "stat_unit_measure": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "num_series": {
          "type": "integer"
        },
        "political_geocoding_uri": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resource": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "country": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "label": {
              "type": "string"
            },
            "resource": {
              "type": "string"
            }
          }
        },
        "adms_identifier": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "identifier": {
                "type": "string"
              },
              "scheme": {
                "type": "string"
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "contributor": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "homepage": {
                "type": "string"
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "spatial_resource": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "resource": {
          "type": "string"
        },
        "type": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "resource": {
              "type": "string"
            },
            "label": {
              "type": "string"
            }
          }
        },
        "language": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "resource": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "quality_meas": {
          "type": "object",
          "properties": {
            "scoring": {
              "type": "integer"
            }
          }
        },
        "id": {
          "type": "string"
        },
        "landing_page": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "title": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "description": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "format": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "resource": {
                    "type": "string"
                  }
                }
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "procedure_title": {
          "type": "string"
        },
        "geocoding_description": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "procedure_description": {
          "type": "string"
        },
        "temporal_resolution": {
          "type": "string"
        },
        "dimension": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "version_info": {
          "type": "string"
        },
        "contact_point": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "address": {
                "type": "string"
              },
              "telephone": {
                "type": "string"
              },
              "url": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "organisation_name": {
                "type": "string"
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "has_version": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "translation_meta": {
          "type": "object",
          "properties": {
            "full_available_languages": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "details": {
              "type": "object",
              "additionalProperties": {
                "type": "object",
                "properties": {
                  "machine_translated": {
                    "type": "boolean"
                  },
                  "original_language": {
                    "type": "string"
                  },
                  "issued": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/Date"
                      },
                      {
                        "$ref": "#/$defs/DateTime"
                      }
                    ]
                  },
                  "received": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/Date"
                      },
                      {
                        "$ref": "#/$defs/DateTime"
                      }
                    ]
                  }
                }
              }
            },
            "status": {
              "type": "string"
            }
          }
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "originator": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "homepage": {
                "type": "string"
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "catalog": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "is_part_of": {
              "type": "string"
            }
          },
          "required": [
            "id"
          ]
        },
        "datacontainer": {
          "type": "string"
        },
        "page": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "title": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "description": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "format": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "resource": {
                    "type": "string"
                  }
                }
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "bin_id": {
          "type": "string"
        },
        "political_geocoding_level_uri": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resource": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "sample": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "hvd_category": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "identifier": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "is_hvd": {
          "type": "boolean"
        },
        "references": {
          "type": "string"
        },
        "source": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "subject": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "label": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "resource": {
                "type": "string"
              }
            }
          }
        },
        "catalog_record": {
          "type": "object",
          "properties": {
            "modified": {
              "oneOf": [
                {
                  "$ref": "#/$defs/Date"
                },
                {
                  "$ref": "#/$defs/DateTime"
                }
              ]
            },
            "issued": {
              "oneOf": [
                {
                  "$ref": "#/$defs/Date"
                },
                {
                  "$ref": "#/$defs/DateTime"
                }
              ]
            }
          }
        },
        "spatial_resolution_in_meters": {
          "type": "integer"
        },
        "issued": {
          "oneOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "$ref": "#/$defs/DateTime"
            }
          ]
        },
        "digital_ark": {
          "type": "string"
        },
        "contributor_id": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resource": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "was_generated_by": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "Date": {
      "type": "string",
      "format": "date"
    },
    "DateTime": {
      "type": "string",
      "format": "date-time"
    }
  }
}