Microsoft Graph · Schema

microsoft.graph.termStore.relation

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphtermstorerelation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.termStore.relation",
  "title": "microsoft.graph.termStore.relation",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "relation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "relationship": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.termStore.relationType"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The type of relation. The possible values are: pin, reuse."
        },
        "fromTerm": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.termStore.term"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set].",
          "x-ms-navigationProperty": true
        },
        "set": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.termStore.set"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The [set] in which the relation is relevant.",
          "x-ms-navigationProperty": true
        },
        "toTerm": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.termStore.term"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The to [term] of the relation. The term to which the relationship is defined.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.termStore.relation"
}