{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-onenote-page-schema.json",
  "title": "microsoft.graph.onenotePage",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-groups-onenote-api-openapi.yml#/components/schemas/microsoft.graph.onenotePage",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.onenoteEntitySchemaObjectModel"
    },
    {
      "title": "onenotePage",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "content": {
          "type": [
            "string",
            "null"
          ],
          "description": "The page's HTML content.",
          "format": "base64url"
        },
        "contentUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "The URL for the page's HTML content.  Read-only."
        },
        "createdByAppId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique identifier of the application that created the page. Read-only."
        },
        "lastModifiedDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.",
          "format": "date-time"
        },
        "level": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The indentation level of the page. Read-only.",
          "format": "int32"
        },
        "links": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.pageLinks"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only."
        },
        "order": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The order of the page within its parent section. Read-only.",
          "format": "int32"
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "description": "The title of the page."
        },
        "userTags": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "parentNotebook": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.notebook"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The notebook that contains the page.  Read-only.",
          "x-ms-navigationProperty": true
        },
        "parentSection": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.onenoteSection"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The section that contains the page. Read-only.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.onenotePage"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.onenotePage",
  "$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.externalLink": {
      "title": "externalLink",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "href": {
          "type": [
            "string",
            "null"
          ],
          "description": "The URL of the link."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.identity": {
      "title": "identity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta."
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.identitySet": {
      "title": "identitySet",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "application": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The application associated with this action."
        },
        "device": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The device associated with this action."
        },
        "user": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The user associated with this action."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.notebook": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.onenoteEntityHierarchyModel"
        },
        {
          "title": "notebook",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "isDefault": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Indicates whether this is the user's default notebook. Read-only."
            },
            "isShared": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only."
            },
            "links": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.notebookLinks"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web."
            },
            "sectionGroupsUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only."
            },
            "sectionsUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "The URL for the sections navigation property, which returns all the sections in the notebook. Read-only."
            },
            "userRole": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.onenoteUserRole"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only."
            },
            "sectionGroups": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.sectionGroup"
              },
              "description": "The section groups in the notebook. Read-only. Nullable.",
              "x-ms-navigationProperty": true
            },
            "sections": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.onenoteSection"
              },
              "description": "The sections in the notebook. Read-only. Nullable.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.notebook"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.notebook"
    },
    "microsoft.graph.notebookLinks": {
      "title": "notebookLinks",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "oneNoteClientUrl": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.externalLink"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Opens the notebook in the OneNote native client if it's installed."
        },
        "oneNoteWebUrl": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.externalLink"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Opens the notebook in OneNote on the web."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.onenoteEntityBaseModel": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "onenoteEntityBaseModel",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "self": {
              "type": [
                "string",
                "null"
              ],
              "description": "The endpoint where you can get details about the page. Read-only."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.onenoteEntityHierarchyModel": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.onenoteEntitySchemaObjectModel"
        },
        {
          "title": "onenoteEntityHierarchyModel",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "createdBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Identity of the user, device, and application that created the item. Read-only."
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The name of the notebook."
            },
            "lastModifiedBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Identity of the user, device, and application that created the item. Read-only."
            },
            "lastModifiedDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.",
              "format": "date-time"
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.onenoteEntityHierarchyModel"
            }
          }
        }
      ]
    },
    "microsoft.graph.onenoteEntitySchemaObjectModel": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.onenoteEntityBaseModel"
        },
        {
          "title": "onenoteEntitySchemaObjectModel",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "createdDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.",
              "format": "date-time"
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.onenoteEntitySchemaObjectModel"
            }
          }
        }
      ]
    },
    "microsoft.graph.onenotePage": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.onenoteEntitySchemaObjectModel"
        },
        {
          "title": "onenotePage",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "content": {
              "type": [
                "string",
                "null"
              ],
              "description": "The page's HTML content.",
              "format": "base64url"
            },
            "contentUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "The URL for the page's HTML content.  Read-only."
            },
            "createdByAppId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The unique identifier of the application that created the page. Read-only."
            },
            "lastModifiedDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.",
              "format": "date-time"
            },
            "level": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": [
                "number",
                "null"
              ],
              "description": "The indentation level of the page. Read-only.",
              "format": "int32"
            },
            "links": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.pageLinks"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only."
            },
            "order": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": [
                "number",
                "null"
              ],
              "description": "The order of the page within its parent section. Read-only.",
              "format": "int32"
            },
            "title": {
              "type": [
                "string",
                "null"
              ],
              "description": "The title of the page."
            },
            "userTags": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "parentNotebook": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.notebook"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The notebook that contains the page.  Read-only.",
              "x-ms-navigationProperty": true
            },
            "parentSection": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.onenoteSection"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The section that contains the page. Read-only.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.onenotePage"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.onenotePage"
    },
    "microsoft.graph.onenoteSection": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.onenoteEntityHierarchyModel"
        },
        {
          "title": "onenoteSection",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "isDefault": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Indicates whether this is the user's default section. Read-only."
            },
            "links": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.sectionLinks"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote on the web."
            },
            "pagesUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "The pages endpoint where you can get details for all the pages in the section. Read-only."
            },
            "pages": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.onenotePage"
              },
              "description": "The collection of pages in the section.  Read-only. Nullable.",
              "x-ms-navigationProperty": true
            },
            "parentNotebook": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.notebook"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The notebook that contains the section.  Read-only.",
              "x-ms-navigationProperty": true
            },
            "parentSectionGroup": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.sectionGroup"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The section group that contains the section.  Read-only.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.onenoteSection"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.onenoteSection"
    },
    "microsoft.graph.onenoteUserRole": {
      "title": "onenoteUserRole",
      "enum": [
        "None",
        "Owner",
        "Contributor",
        "Reader"
      ],
      "type": "string"
    },
    "microsoft.graph.pageLinks": {
      "title": "pageLinks",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "oneNoteClientUrl": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.externalLink"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Opens the page in the OneNote native client if it's installed."
        },
        "oneNoteWebUrl": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.externalLink"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Opens the page in OneNote on the web."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.sectionGroup": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.onenoteEntityHierarchyModel"
        },
        {
          "title": "sectionGroup",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "sectionGroupsUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only."
            },
            "sectionsUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "The URL for the sections navigation property, which returns all the sections in the section group. Read-only."
            },
            "parentNotebook": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.notebook"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The notebook that contains the section group. Read-only.",
              "x-ms-navigationProperty": true
            },
            "parentSectionGroup": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.sectionGroup"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The section group that contains the section group. Read-only.",
              "x-ms-navigationProperty": true
            },
            "sectionGroups": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.sectionGroup"
              },
              "description": "The section groups in the section. Read-only. Nullable.",
              "x-ms-navigationProperty": true
            },
            "sections": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.onenoteSection"
              },
              "description": "The sections in the section group. Read-only. Nullable.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.sectionGroup"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.sectionGroup"
    },
    "microsoft.graph.sectionLinks": {
      "title": "sectionLinks",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "oneNoteClientUrl": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.externalLink"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Opens the section in the OneNote native client if it's installed."
        },
        "oneNoteWebUrl": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.externalLink"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Opens the section in OneNote on the web."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  }
}