{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/felt/json-schema/felt-geo-json-schema.json",
  "title": "GeoJSON",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/felt-elements-api-openapi.yml#/components/schemas/GeoJSON",
  "properties": {
    "features": {
      "items": {
        "properties": {
          "geometry": {
            "properties": {
              "felt:id": {
                "$ref": "#/$defs/FeltID"
              },
              "felt:parentId": {
                "format": "felt_id",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "properties": {
            "type": "object"
          },
          "type": {
            "enum": [
              "Feature"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "type": {
      "enum": [
        "FeatureCollection"
      ],
      "type": "string"
    }
  },
  "required": [
    "type",
    "features"
  ],
  "type": "object",
  "$defs": {
    "FeltID": {
      "format": "felt_id",
      "title": "FeltID",
      "type": "string"
    }
  }
}