Microsoft Defender · Schema

microsoft.graph.security.labelsRoot

Cloud SecurityData ProtectionThreat IntelligenceEmail SecurityEndpoint Security

Properties

Name Type Description
id string The unique identifier for an entity. Read-only.
@odata.type string
authorities array Specifies the underlying authority that describes the type of content to be retained and its retention schedule.
categories array Specifies a group of similar types of content in a particular department.
citations array The specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted.
departments array Specifies the department or business unit of an organization to which a label belongs.
filePlanReferences array Specifies a unique alpha-numeric identifier for an organization’s retention schedule.
retentionLabels array Represents how customers can manage their data, whether and for how long to retain or delete it.
View JSON Schema on GitHub

JSON Schema

microsoft-defender-microsoft-graph-security-labels-root-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-security-labels-root-schema.json",
  "title": "microsoft.graph.security.labelsRoot",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-defender-security-labelsroot-api-openapi.yml#/components/schemas/microsoft.graph.security.labelsRoot",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "labelsRoot",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "authorities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.authorityTemplate"
          },
          "description": "Specifies the underlying authority that describes the type of content to be retained and its retention schedule.",
          "x-ms-navigationProperty": true
        },
        "categories": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.categoryTemplate"
          },
          "description": "Specifies a group of similar types of content in a particular department.",
          "x-ms-navigationProperty": true
        },
        "citations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.citationTemplate"
          },
          "description": "The specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted.",
          "x-ms-navigationProperty": true
        },
        "departments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.departmentTemplate"
          },
          "description": "Specifies the department or business unit of an organization to which a label belongs.",
          "x-ms-navigationProperty": true
        },
        "filePlanReferences": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.filePlanReferenceTemplate"
          },
          "description": "Specifies a unique alpha-numeric identifier for an organization’s retention schedule.",
          "x-ms-navigationProperty": true
        },
        "retentionLabels": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.retentionLabel"
          },
          "description": "Represents how customers can manage their data, whether and for how long to retain or delete it.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.security.labelsRoot",
  "$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.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.security.actionAfterRetentionPeriod": {
      "title": "actionAfterRetentionPeriod",
      "enum": [
        "none",
        "delete",
        "startDispositionReview",
        "relabel",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.authorityTemplate": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorTemplate"
        },
        {
          "title": "authorityTemplate",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.authorityTemplate"
    },
    "microsoft.graph.security.behaviorDuringRetentionPeriod": {
      "title": "behaviorDuringRetentionPeriod",
      "enum": [
        "doNotRetain",
        "retain",
        "retainAsRecord",
        "retainAsRegulatoryRecord",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.categoryTemplate": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorTemplate"
        },
        {
          "title": "categoryTemplate",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "subcategories": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.security.subcategoryTemplate"
              },
              "description": "Represents all subcategories under a particular category.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.categoryTemplate"
    },
    "microsoft.graph.security.citationTemplate": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorTemplate"
        },
        {
          "title": "citationTemplate",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "citationJurisdiction": {
              "type": [
                "string",
                "null"
              ],
              "description": "Represents the jurisdiction or agency that published the citation."
            },
            "citationUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "Represents the URL to the published citation."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.citationTemplate"
    },
    "microsoft.graph.security.defaultRecordBehavior": {
      "title": "defaultRecordBehavior",
      "enum": [
        "startLocked",
        "startUnlocked",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.departmentTemplate": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorTemplate"
        },
        {
          "title": "departmentTemplate",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.departmentTemplate"
    },
    "microsoft.graph.security.dispositionReviewStage": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "dispositionReviewStage",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "name": {
              "type": [
                "string",
                "null"
              ],
              "description": "Name representing each stage within a collection."
            },
            "reviewersEmailAddresses": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": "A collection of reviewers at each stage."
            },
            "stageNumber": {
              "type": "string",
              "description": "The unique sequence number for each stage of the disposition review."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.dispositionReviewStage"
    },
    "microsoft.graph.security.filePlanAppliedCategory": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorBase"
        },
        {
          "title": "filePlanAppliedCategory",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "subcategory": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.filePlanSubcategory"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Represents the file plan descriptor for a subcategory under a specific category, which has been assigned to a particular retention label."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.filePlanAppliedCategory"
    },
    "microsoft.graph.security.filePlanAuthority": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorBase"
        },
        {
          "title": "filePlanAuthority",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.filePlanAuthority"
    },
    "microsoft.graph.security.filePlanCitation": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorBase"
        },
        {
          "title": "filePlanCitation",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "citationJurisdiction": {
              "type": [
                "string",
                "null"
              ],
              "description": "Represents the jurisdiction or agency that published the filePlanCitation."
            },
            "citationUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "Represents the URL to the published filePlanCitation."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.filePlanCitation"
    },
    "microsoft.graph.security.filePlanDepartment": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorBase"
        },
        {
          "title": "filePlanDepartment",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.filePlanDepartment"
    },
    "microsoft.graph.security.filePlanDescriptor": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "filePlanDescriptor",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "authority": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.filePlanAuthority"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Represents the file plan descriptor of type authority applied to a particular retention label."
            },
            "category": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.filePlanAppliedCategory"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ]
            },
            "citation": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.filePlanCitation"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Represents the file plan descriptor of type citation applied to a particular retention label."
            },
            "department": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.filePlanDepartment"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Represents the file plan descriptor of type department applied to a particular retention label."
            },
            "filePlanReference": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.filePlanReference"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Represents the file plan descriptor of type filePlanReference applied to a particular retention label."
            },
            "authorityTemplate": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.authorityTemplate"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies the underlying authority that describes the type of content to be retained and its retention schedule.",
              "x-ms-navigationProperty": true
            },
            "categoryTemplate": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.categoryTemplate"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies a group of similar types of content in a particular department.",
              "x-ms-navigationProperty": true
            },
            "citationTemplate": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.citationTemplate"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted.",
              "x-ms-navigationProperty": true
            },
            "departmentTemplate": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.departmentTemplate"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies the  department or business unit of an organization to which a label belongs.",
              "x-ms-navigationProperty": true
            },
            "filePlanReferenceTemplate": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.filePlanReferenceTemplate"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies a unique alpha-numeric identifier for an organization’s retention schedule.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.filePlanDescriptor"
    },
    "microsoft.graph.security.filePlanDescriptorBase": {
      "title": "filePlanDescriptorBase",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique string that defines the name for the file plan descriptor associated with a particular retention label."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.security.filePlanDescriptorTemplate": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "filePlanDescriptorTemplate",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "createdBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Represents the user who created the filePlanDescriptorTemplate column."
            },
            "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": "Represents the date and time in which the filePlanDescriptorTemplate is created.",
              "format": "date-time"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "Unique string that defines a filePlanDescriptorTemplate name."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.security.filePlanReference": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorBase"
        },
        {
          "title": "filePlanReference",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.filePlanReference"
    },
    "microsoft.graph.security.filePlanReferenceTemplate": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorTemplate"
        },
        {
          "title": "filePlanReferenceTemplate",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.filePlanReferenceTemplate"
    },
    "microsoft.graph.security.filePlanSubcategory": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptorBase"
        },
        {
          "title": "filePlanSubcategory",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.filePlanSubcategory"
    },
    "microsoft.graph.security.retentionDuration": {
      "title": "retentionDuration",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.security.retentionEventType": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "retentionEventType",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "createdBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The user who created the retentionEventType."
            },
            "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 time when the retentionEventType was created.",
              "format": "date-time"
            },
            "description": {
              "type": [
                "string",
                "null"
              ],
              "description": "Optional information about the event type."
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "Name of the event type."
            },
            "lastModifiedBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The user who last modified the retentionEventType."
            },
            "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 latest date time when the retentionEventType was modified.",
              "format": "date-time"
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.retentionEventType"
    },
    "microsoft.graph.security.retentionLabel": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "retentionLabel",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "actionAfterRetentionPeriod": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.actionAfterRetentionPeriod"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies the action to take on the labeled document after the period specified by the retentionDuration property expires. The possible values are: none, delete, startDispositionReview, unknownFutureValue."
            },
            "behaviorDuringRetentionPeriod": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.behaviorDuringRetentionPeriod"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies how the behavior of a document with this label should be during the retention period. The possible values are: doNotRetain, retain, retainAsRecord, retainAsRegulatoryRecord, unknownFutureValue."
            },
            "createdBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Represents the user who created the retentionLabel."
            },
            "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": "Represents the date and time in which the retentionLabel is created.",
              "format": "date-time"
            },
            "defaultRecordBehavior": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.defaultRecordBehavior"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies the locked or unlocked state of a record label when it is created.The possible values are: startLocked, startUnlocked, unknownFutureValue."
            },
            "descriptionForAdmins": {
              "type": [
                "string",
                "null"
              ],
              "description": "Provides label information for the admin. Optional."
            },
            "descriptionForUsers": {
              "type": [
                "string",
                "null"
              ],
              "description": "Provides the label information for the user. Optional."
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "Unique string that defines a label name."
            },
            "isInUse": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Specifies whether the label is currently being used."
            },
            "labelToBeApplied": {
              "type": [
                "string",
                "null"
              ],
              "description": "Specifies the replacement label to be applied automatically after the retention period of the current label ends."
            },
            "lastModifiedBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The user who last modified the retentionLabel."
            },
            "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 latest date time when the retentionLabel was modified.",
              "format": "date-time"
            },
            "retentionDuration": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.retentionDuration"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies the number of days to retain the content."
            },
            "retentionTrigger": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.retentionTrigger"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies whether the retention duration is calculated from the content creation date, labeled date, or last modification date. The possible values are: dateLabeled, dateCreated, dateModified, dateOfEvent, unknownFutureValue."
            },
            "descriptors": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.filePlanDescriptor"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Represents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label.",
              "x-ms-navigationProperty": true
            },
            "dispositionReviewStages": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.security.dispositionReviewStage"
              },
              "description": "When action at the end of retention is chosen as 'dispositionReview', dispositionReviewStages specifies a sequential set of stages with at least one reviewer in each stage.",
              "x-ms-navigationProperty": true
            },
            "retentionEventType": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.retentionEventType"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
         

# --- truncated at 32 KB (33 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-security-labels-root-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-defender-microsoft-graph-security-labels-root"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.