{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hamburg-de/json-schema/hamburg-de-feature-geo-json-baustelle-schema.json",
  "title": "Baustellen",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hamburg-de-baustellen-openapi.yml#/components/schemas/featureGeoJson_baustelle",
  "required": [
    "geometry",
    "properties",
    "type"
  ],
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "Feature"
      ]
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Link"
      }
    },
    "id": {
      "title": "attr_gml_id",
      "type": "integer",
      "format": "int32",
      "readOnly": true
    },
    "geometry": {
      "$ref": "https://raw.githubusercontent.com/opengeospatial/ogcapi-features/master/core/openapi/ogcapi-features-1.yaml#/components/schemas/pointGeoJSON"
    },
    "properties": {
      "type": "object",
      "properties": {
        "gml_identifier": {
          "title": "gml_identifier",
          "type": "string"
        },
        "gml_identifier_attr_codespace": {
          "title": "gml_identifier_attr_codespace",
          "type": "string"
        },
        "titel": {
          "title": "Maßnahme",
          "type": "string"
        },
        "organisation": {
          "title": "Wer baut da?",
          "type": "string"
        },
        "anlass": {
          "title": "Anlass der Baustelle",
          "type": "string"
        },
        "umfang": {
          "title": "Welchen Umfang hat die Baustelle?",
          "type": "string"
        },
        "baubeginn": {
          "title": "Baubeginn",
          "type": "string"
        },
        "bauende": {
          "title": "Bauende",
          "type": "string"
        },
        "letzteaktualisierung": {
          "title": "letzteaktualisierung",
          "type": "string"
        },
        "istzugangeingeschraenkt": {
          "title": "istzugangeingeschraenkt",
          "type": "boolean"
        },
        "einschraenkungsbegruendung": {
          "title": "Einschränkungen",
          "type": "string"
        },
        "koordinate_attr_nilreason": {
          "title": "koordinate_attr_nilreason",
          "type": "string"
        },
        "koordinate_attr_gml_remoteschema": {
          "title": "koordinate_attr_gml_remoteschema",
          "type": "string"
        },
        "koordinate_attr_owns": {
          "title": "koordinate_attr_owns",
          "type": "boolean"
        },
        "iststoerung": {
          "title": "iststoerung",
          "type": "boolean"
        },
        "isthotspot": {
          "title": "isthotspot",
          "type": "boolean"
        },
        "istfreigegeben": {
          "title": "istfreigegeben",
          "type": "boolean"
        },
        "mehrwert": {
          "title": "Mehrwert",
          "type": "string"
        },
        "istoepnveingeschraenkt": {
          "title": "istoepnveingeschraenkt",
          "type": "boolean"
        },
        "oevnveinschraenkungen": {
          "title": "Einschränkung ÖPNV",
          "type": "string"
        },
        "hatinternetlink": {
          "title": "hatinternetlink",
          "type": "boolean"
        },
        "internetlink": {
          "title": "Internetlink",
          "type": "string"
        },
        "hatumleitungsbeschreibung": {
          "title": "hatumleitungsbeschreibung",
          "type": "boolean"
        },
        "umleitungsbeschreibung": {
          "title": "Umleitungsbeschreibung",
          "type": "string"
        },
        "istparkraumeingeschraenkt": {
          "title": "istparkraumeingeschraenkt",
          "type": "boolean"
        },
        "parkraumeinschraenkung": {
          "title": "Hat Parkraumeinschränkung",
          "type": "string"
        },
        "einsatzkraefte": {
          "title": "Einsatzkräfte",
          "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"
        }
      }
    }
  }
}