{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hamburg-de/json-schema/hamburg-de-feature-collection-geo-json-badegewaesser-proben-schema.json",
  "title": "featureCollectionGeoJson_badegewaesser_proben",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hamburg-de-badegewaesser-openapi.yml#/components/schemas/featureCollectionGeoJson_badegewaesser_proben",
  "required": [
    "features",
    "type"
  ],
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "FeatureCollection"
      ]
    },
    "features": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/featureGeoJson_badegewaesser_proben"
      }
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Link"
      }
    },
    "timeStamp": {
      "type": "string",
      "description": "This property indicates the time and date when the response was generated.",
      "format": "date-time"
    },
    "numberMatched": {
      "minimum": 0,
      "type": "integer",
      "properties": {
        "numberReturned": {
          "minimum": 0,
          "type": "integer",
          "description": "The number of features in the feature collection.\n\nA server may omit this information in a response, if the information about the number of features is not known or difficult to compute.\n\nIf the value is provided, the value shall be identical to the number of items in the \"features\" array.",
          "format": "int32"
        }
      },
      "description": "The number of features of the feature type that match the selection parameters like `bbox`.",
      "format": "int32"
    }
  },
  "$defs": {
    "Link": {
      "required": [
        "href",
        "rel"
      ],
      "type": "object",
      "properties": {
        "href": {
          "type": "string",
          "format": "uri-reference"
        },
        "rel": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    },
    "featureGeoJson_badegewaesser_proben": {
      "title": "badegewaesser_proben",
      "required": [
        "geometry",
        "properties",
        "type"
      ],
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "Feature"
          ]
        },
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "id": {
          "title": "gid",
          "type": "integer",
          "format": "int32",
          "readOnly": true
        },
        "geometry": {
          "nullable": true
        },
        "properties": {
          "type": "object",
          "properties": {
            "tagebuchnummer": {
              "title": "tagebuchnummer",
              "type": "string"
            },
            "fk_messstellennummer": {
              "title": "fk_messstellennummer",
              "type": "integer",
              "format": "int32"
            },
            "bemerkung_bsu": {
              "title": "bemerkung_bsu",
              "type": "string"
            },
            "name_lang": {
              "title": "name_lang",
              "type": "string"
            },
            "badesaison": {
              "title": "badesaison",
              "type": "string"
            },
            "hinweis": {
              "title": "hinweis",
              "type": "string"
            },
            "badegewaesser_typ": {
              "title": "badegewaesser_typ",
              "type": "string"
            },
            "temperatur": {
              "title": "temperatur",
              "type": "string"
            },
            "datum": {
              "title": "datum",
              "type": "string"
            },
            "sichttiefe": {
              "title": "sichttiefe",
              "type": "string"
            },
            "ph_wert": {
              "title": "ph_wert",
              "type": "string"
            },
            "enterokokken": {
              "title": "enterokokken",
              "type": "string"
            },
            "mpn": {
              "title": "mpn",
              "type": "string"
            },
            "farbe": {
              "title": "farbe",
              "type": "string"
            },
            "geruch": {
              "title": "geruch",
              "type": "string"
            },
            "algen": {
              "title": "algen",
              "type": "string"
            },
            "icon": {
              "title": "icon",
              "type": "string"
            }
          }
        }
      }
    }
  }
}