{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-365/json-schema/microsoft-365-microsoft-graph-level-map-schema.json",
  "title": "microsoft.graph.levelMap",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-365-places-buildingmap-api-openapi.yml#/components/schemas/microsoft.graph.levelMap",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.baseMapFeature"
    },
    {
      "title": "levelMap",
      "type": "object",
      "properties": {
        "placeId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Identifier of the floor to which this levelMap belongs."
        },
        "fixtures": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.fixtureMap"
          },
          "description": "Collection of fixtures (such as furniture or equipment) on this level. Supports upsert.",
          "x-ms-navigationProperty": true
        },
        "sections": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.sectionMap"
          },
          "description": "Collection of sections (such as zones or partitions) on this level. Supports upsert.",
          "x-ms-navigationProperty": true
        },
        "units": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.unitMap"
          },
          "description": "Collection of units (such as rooms or offices) on this level. Supports upsert.",
          "x-ms-navigationProperty": true
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.baseMapFeature": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "baseMapFeature",
          "type": "object",
          "properties": {
            "properties": {
              "type": [
                "string",
                "null"
              ],
              "description": "Concatenated key-value pair of all properties of a GeoJSON file for this baseMapFeature."
            }
          },
          "additionalProperties": {
            "type": "object"
          }
        }
      ]
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.fixtureMap": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.baseMapFeature"
        },
        {
          "title": "fixtureMap",
          "type": "object",
          "properties": {
            "placeId": {
              "type": [
                "string",
                "null"
              ],
              "description": "Identifier for the floor to which this fixtureMap belongs."
            }
          },
          "additionalProperties": {
            "type": "object"
          }
        }
      ]
    },
    "microsoft.graph.sectionMap": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.baseMapFeature"
        },
        {
          "title": "sectionMap",
          "type": "object",
          "properties": {
            "placeId": {
              "type": [
                "string",
                "null"
              ],
              "description": "Identifier of the section to which this sectionMap belongs."
            }
          },
          "additionalProperties": {
            "type": "object"
          }
        }
      ]
    },
    "microsoft.graph.unitMap": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.baseMapFeature"
        },
        {
          "title": "unitMap",
          "type": "object",
          "properties": {
            "placeId": {
              "type": [
                "string",
                "null"
              ],
              "description": "Identifier of the place (such as a room) to which this unitMap belongs."
            }
          },
          "additionalProperties": {
            "type": "object"
          }
        }
      ]
    }
  }
}