{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hamburg-de/json-schema/hamburg-de-feature-geo-json-hh-hh-festgestellt-schema.json",
  "title": "Festgestellte Bebauungspläne",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hamburg-de-bplaene-openapi.yml#/components/schemas/featureGeoJson_hh_hh_festgestellt",
  "required": [
    "geometry",
    "properties",
    "type"
  ],
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "Feature"
      ]
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Link"
      }
    },
    "id": {
      "title": "id",
      "type": "string",
      "readOnly": true
    },
    "geometry": {
      "$ref": "https://raw.githubusercontent.com/opengeospatial/ogcapi-features/master/core/openapi/ogcapi-features-1.yaml#/components/schemas/geometryGeoJSON"
    },
    "properties": {
      "type": "object",
      "properties": {
        "geltendes_planrecht": {
          "title": "geltendes_planrecht",
          "type": "string"
        },
        "planrecht": {
          "title": "planrecht",
          "type": "string"
        },
        "begruendung": {
          "title": "begruendung",
          "type": "string"
        },
        "feststellungsdatum": {
          "title": "feststellungsdatum",
          "type": "string"
        }
      }
    }
  },
  "$defs": {
    "Link": {
      "required": [
        "href",
        "rel"
      ],
      "type": "object",
      "properties": {
        "href": {
          "type": "string",
          "format": "uri-reference"
        },
        "rel": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    }
  }
}