{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-copilot-root-schema.json",
  "title": "copilotRoot",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-copilot-copilotroot-api-openapi.yml#/components/schemas/microsoft.graph.copilotRoot",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "admin": {
      "anyOf": [
        {
          "$ref": "#/$defs/microsoft.graph.copilotAdmin"
        },
        {
          "type": [
            "object",
            "null"
          ]
        }
      ],
      "x-ms-navigationProperty": true
    },
    "interactionHistory": {
      "anyOf": [
        {
          "$ref": "#/$defs/microsoft.graph.aiInteractionHistory"
        },
        {
          "type": [
            "object",
            "null"
          ]
        }
      ],
      "x-ms-navigationProperty": true
    },
    "reports": {
      "anyOf": [
        {
          "$ref": "#/$defs/microsoft.graph.copilotReportRoot"
        },
        {
          "type": [
            "object",
            "null"
          ]
        }
      ],
      "x-ms-navigationProperty": true
    },
    "users": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/microsoft.graph.aiUser"
      },
      "x-ms-navigationProperty": true
    },
    "@odata.type": {
      "type": "string"
    }
  },
  "$defs": {
    "microsoft.graph.aiInteractionHistory": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "aiInteractionHistory",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.aiInteractionHistory"
    },
    "microsoft.graph.aiUser": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "aiUser",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "interactionHistory": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.aiInteractionHistory"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.aiUser"
    },
    "microsoft.graph.copilotAdmin": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "copilotAdmin",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "settings": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.copilotAdminSetting"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.copilotAdmin"
    },
    "microsoft.graph.copilotAdminLimitedMode": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "copilotAdminLimitedMode",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "groupId": {
              "type": [
                "string",
                "null"
              ]
            },
            "isEnabledForGroup": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.copilotAdminLimitedMode"
    },
    "microsoft.graph.copilotAdminSetting": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "copilotAdminSetting",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "limitedMode": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.copilotAdminLimitedMode"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.copilotAdminSetting"
    },
    "microsoft.graph.copilotReportRoot": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "copilotReportRoot",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.copilotReportRoot"
    },
    "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"
        }
      }
    }
  }
}