{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sharepoint/json-schema/sharepoint-microsoft-graph-web-part-position-schema.json",
  "title": "webPartPosition",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sharepoint-sites-basesitepage-api-openapi.yml#/components/schemas/microsoft.graph.webPartPosition",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "columnId": {
      "oneOf": [
        {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        {
          "type": [
            "string",
            "null"
          ]
        },
        {
          "$ref": "#/$defs/ReferenceNumeric"
        }
      ],
      "description": "Indicates the identifier of the column where the web part is located."
    },
    "horizontalSectionId": {
      "oneOf": [
        {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        {
          "type": [
            "string",
            "null"
          ]
        },
        {
          "$ref": "#/$defs/ReferenceNumeric"
        }
      ],
      "description": "Indicates the horizontal section where the web part is located."
    },
    "isInVerticalSection": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Indicates whether the web part is located in the vertical section."
    },
    "webPartIndex": {
      "oneOf": [
        {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        {
          "type": [
            "string",
            "null"
          ]
        },
        {
          "$ref": "#/$defs/ReferenceNumeric"
        }
      ],
      "description": "Index of the current web part. Represents the order of the web part in this column or section."
    },
    "@odata.type": {
      "type": "string"
    }
  },
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    }
  }
}