{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/open-government-austria/json-schema/open-government-austria-applications-schema.json",
  "title": "Applications",
  "description": "A DCAT AP-AT application",
  "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/Applications",
  "type": "object",
  "properties": {
    "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"
          }
        }
      }
    },
    "modified": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "#/$defs/Date"
          },
          {
            "$ref": "#/$defs/DateTime"
          }
        ]
      }
    },
    "title": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "id": {
      "type": "string"
    },
    "creator_user_id": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "invalid_serves_dataset": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      }
    },
    "themes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "resource": {
            "type": "string"
          }
        }
      }
    },
    "publication_status": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "created": {
      "oneOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "$ref": "#/$defs/DateTime"
        }
      ]
    },
    "is_open": {
      "type": "array",
      "items": {
        "type": "boolean"
      }
    },
    "serves_dataset": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      }
    },
    "resources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "size": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "datastore_contains_all_records_of_source_file": {
            "type": "array",
            "items": {
              "type": "boolean"
            }
          },
          "format": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "resource": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          },
          "hash": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "title": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "package_id": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "id": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "url_type": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "mimetype": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "modified": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/$defs/Date"
                },
                {
                  "$ref": "#/$defs/DateTime"
                }
              ]
            }
          },
          "position": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "download_url": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "datastore_active": {
            "type": "array",
            "items": {
              "type": "boolean"
            }
          },
          "state": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "name": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "description": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "identifier": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "type": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source_url": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "url_label": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "private": {
      "type": "array",
      "items": {
        "type": "boolean"
      }
    },
    "application_type": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "issued": {
      "oneOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "$ref": "#/$defs/DateTime"
        }
      ]
    },
    "publisher": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "endpoint_url": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "num_tags": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "num_resources": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "homepage": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "state": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Date": {
      "type": "string",
      "format": "date"
    },
    "DateTime": {
      "type": "string",
      "format": "date-time"
    }
  }
}