{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sharepoint/json-schema/sharepoint-microsoft-graph-horizontal-section-schema.json",
  "title": "microsoft.graph.horizontalSection",
  "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.horizontalSection",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "horizontalSection",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "emphasis": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.sectionEmphasisType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Enumeration value that indicates the emphasis of the section background. The possible values are: none, netural, soft, strong, unknownFutureValue."
        },
        "layout": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.horizontalSectionLayoutType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Layout type of the section. The possible values are: none, oneColumn, twoColumns, threeColumns, oneThirdLeftColumn, oneThirdRightColumn, fullWidth, unknownFutureValue."
        },
        "columns": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.horizontalSectionColumn"
          },
          "description": "The set of vertical columns in this section.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.horizontalSection",
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.horizontalSectionColumn": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "horizontalSectionColumn",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "width": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": [
                "number",
                "null"
              ],
              "description": "Width of the column. A horizontal section is divided into 12 grids. A column should have a value of 1-12 to represent its range spans. For example, there can be two columns both have a width of 6 in a section.",
              "format": "int32"
            },
            "webparts": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.webPart"
              },
              "description": "The collection of WebParts in this column.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.horizontalSectionColumn"
    },
    "microsoft.graph.horizontalSectionLayoutType": {
      "title": "horizontalSectionLayoutType",
      "enum": [
        "none",
        "oneColumn",
        "twoColumns",
        "threeColumns",
        "oneThirdLeftColumn",
        "oneThirdRightColumn",
        "fullWidth",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.sectionEmphasisType": {
      "title": "sectionEmphasisType",
      "enum": [
        "none",
        "neutral",
        "soft",
        "strong",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.webPart": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "webPart",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}