Microsoft Graph · Schema

microsoft.graph.callRecords.segment

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphcallrecordssegment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.callRecords.segment",
  "title": "microsoft.graph.callRecords.segment",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "segment",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "callee": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.callRecords.endpoint"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Endpoint that answered this segment."
        },
        "caller": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.callRecords.endpoint"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Endpoint that initiated this segment."
        },
        "endDateTime": {
          "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",
          "description": "UTC time when the segment ended. The DateTimeOffset type 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",
          "format": "date-time"
        },
        "failureInfo": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.callRecords.failureInfo"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Failure information associated with the segment if it failed."
        },
        "media": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.callRecords.media"
          },
          "description": "Media associated with this segment."
        },
        "startDateTime": {
          "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",
          "description": "UTC time when the segment started. The DateTimeOffset type 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",
          "format": "date-time"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.callRecords.segment"
}