{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "land_use",
  "description": "Land use features from OpenStreetMap",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "https://ogcincubator.github.io/bblocks-overturemaps/build/annotated/overturemaps/schemas/definitions/schema.json#/$defs/propertyDefinitions/id"
    },
    "geometry": {
      "description": "Classifications of the human use of a section of land. Translates `landuse` from OpenStreetMap tag from OpenStreetMap.",
      "unevaluatedProperties": false,
      "oneOf": [
        {
          "$ref": "https://geojson.org/schema/Point.json"
        },
        {
          "$ref": "https://geojson.org/schema/LineString.json"
        },
        {
          "$ref": "https://geojson.org/schema/Polygon.json"
        },
        {
          "$ref": "https://geojson.org/schema/MultiPolygon.json"
        }
      ]
    },
    "properties": {
      "unevaluatedProperties": false,
      "allOf": [
        {
          "$ref": "https://ogcincubator.github.io/bblocks-overturemaps/build/annotated/overturemaps/schemas/definitions/schema.json#/$defs/propertyContainers/overtureFeaturePropertiesContainer"
        },
        {
          "$ref": "https://ogcincubator.github.io/bblocks-overturemaps/build/annotated/overturemaps/schemas/definitions/schema.json#/$defs/propertyContainers/namesContainer"
        },
        {
          "$ref": "https://ogcincubator.github.io/bblocks-overturemaps/build/annotated/overturemaps/schemas/definitions/schema.json#/$defs/propertyContainers/levelContainer"
        },
        {
          "$ref": "https://ogcincubator.github.io/bblocks-overturemaps/build/annotated/overturemaps/schemas/base/definitions/schema.json#/$defs/propertyContainers/osmPropertiesContainer"
        }
      ],
      "required": [
        "theme",
        "type",
        "subtype",
        "class"
      ],
      "properties": {
        "theme": {
          "const": "base"
        },
        "type": {
          "const": "land_use"
        },
        "subtype": {
          "description": "Broad type of land",
          "type": "string",
          "enum": [
            "agriculture",
            "aquaculture",
            "campground",
            "cemetery",
            "construction",
            "developed",
            "education",
            "entertainment",
            "golf",
            "grass",
            "horticulture",
            "landfill",
            "managed",
            "medical",
            "military",
            "park",
            "pedestrian",
            "protected",
            "recreation",
            "religious",
            "residential",
            "resource_extraction",
            "transportation",
            "winter_sports"
          ]
        },
        "class": {
          "description": "Further classification of the land use",
          "type": "string",
          "enum": [
            "aboriginal_land",
            "airfield",
            "allotments",
            "animal_keeping",
            "aquaculture",
            "barracks",
            "base",
            "beach_resort",
            "brownfield",
            "bunker",
            "camp_site",
            "cemetery",
            "clinic",
            "college",
            "commercial",
            "connection",
            "construction",
            "danger_area",
            "doctors",
            "dog_park",
            "downhill",
            "driving_range",
            "driving_school",
            "education",
            "environmental",
            "fairway",
            "farmland",
            "farmyard",
            "fatbike",
            "flowerbed",
            "forest",
            "garages",
            "garden",
            "golf_course",
            "grass",
            "grave_yard",
            "green",
            "greenfield",
            "greenhouse_horticulture",
            "highway",
            "hike",
            "hospital",
            "ice_skate",
            "industrial",
            "institutional",
            "kindergarten",
            "landfill",
            "lateral_water_hazard",
            "logging",
            "marina",
            "meadow",
            "military",
            "military_hospital",
            "military_school",
            "music_school",
            "national_park",
            "natural_monument",
            "nature_reserve",
            "naval_base",
            "nordic",
            "nuclear_explosion_site",
            "obstacle_course",
            "orchard",
            "park",
            "peat_cutting",
            "pedestrian",
            "pitch",
            "plant_nursery",
            "playground",
            "plaza",
            "protected",
            "protected_landscape_seascape",
            "quarry",
            "railway",
            "range",
            "recreation_ground",
            "religious",
            "residential",
            "resort",
            "retail",
            "rough",
            "salt_pond",
            "school",
            "schoolyard",
            "ski_jump",
            "skitour",
            "sled",
            "sleigh",
            "snow_park",
            "species_management_area",
            "stadium",
            "state_park",
            "static_caravan",
            "strict_nature_reserve",
            "tee",
            "theme_park",
            "track",
            "traffic_island",
            "training_area",
            "trench",
            "university",
            "village_green",
            "vineyard",
            "water_hazard",
            "water_park",
            "wilderness_area",
            "winter_sports",
            "works",
            "zoo"
          ]
        },
        "elevation": {
          "$ref": "https://ogcincubator.github.io/bblocks-overturemaps/build/annotated/overturemaps/schemas/base/definitions/schema.json#/$defs/propertyDefinitions/elevation"
        },
        "surface": {
          "$ref": "https://ogcincubator.github.io/bblocks-overturemaps/build/annotated/overturemaps/schemas/base/definitions/schema.json#/$defs/propertyDefinitions/surface"
        }
      }
    }
  }
}