{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/open-government-austria/json-schema/open-government-austria-catalogue-schema.json",
  "title": "Catalogue",
  "description": "A DCAT AP catalogue",
  "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/Catalogue",
  "type": "object",
  "properties": {
    "creator": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "homepage": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        }
      }
    },
    "availability": {
      "type": "object",
      "properties": {
        "resource": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "publisher": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "address": {
          "type": "object",
          "properties": {
            "street": {
              "type": "string"
            },
            "locality": {
              "type": "string"
            },
            "postalCode": {
              "type": "string"
            }
          }
        },
        "homepage": {
          "type": "string"
        }
      },
      "required": [
        "name"
      ]
    },
    "description": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "title": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "catalogueLogo": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "visualisation_selection": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "is_part_of": {
      "type": "string"
    },
    "license": {
      "type": "object",
      "properties": {
        "homepage": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      }
    },
    "catalogueFavIcon": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "catalog": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "organization_id": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "theme_taxonomy": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "catalogueInterestingDatasets": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "visualisation_data": {
      "type": "string"
    },
    "catalogueBackground": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "homepage": {
      "type": "string"
    },
    "modified": {
      "oneOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "$ref": "#/$defs/DateTime"
        }
      ]
    },
    "country": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        }
      }
    },
    "catalogueProfile": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "spatial": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "language": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "resource": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      }
    },
    "rights": {
      "type": "object",
      "properties": {
        "resource": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "is_open_data_presence": {
      "type": "boolean"
    },
    "issued": {
      "oneOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "$ref": "#/$defs/DateTime"
        }
      ]
    },
    "has_part": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "spatial_resource": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "resource": {
            "type": "string"
          }
        }
      }
    }
  },
  "$defs": {
    "Date": {
      "type": "string",
      "format": "date"
    },
    "DateTime": {
      "type": "string",
      "format": "date-time"
    }
  }
}