Skip to main content

Uniphore Customer Portal

3. Disposition Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "sessionId": {
      "type": "string"
    },
    "startTime": {
      "type": "integer"
    },
    "lang": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "properties": {
        "agentId": {
          "type": "string"
        },
        "customerId": {
          "type": "string"
        },
        "contactType": {
          "type": "string"
        },
        "journeyId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "organizationId": {
          "type": "string"
        },
        "categoryId": {
          "type": "string"
        }
      },
      "required": [
        "agentId",
        "customerId",
        "contactType",
        "journeyId",
        "tenantId",
        "organizationId",
        "categoryId"
      ]
    },
    "isReviewed": {
      "type": "boolean"
    },
    "resolution": {
      "type": "object",
      "properties": {
        "hierarchy": {
          "type": "string"
        },
        "data": {
          "type": "string"
        }
      },
      "required": [
        "hierarchy",
        "data"
      ]
    },
    "manualEdits": {
      "type": "object",
      "properties": {
        "userId": {
          "type": "string"
        },
        "ts": {
          "type": "integer"
        },
        "hierarchy": {
          "type": "string"
        },
        "data": {
          "type": "string"
        }
      },
      "required": [
        "userId",
        "ts",
        "hierarchy",
        "data"
      ]
    }
  },
  "required": [
    "sessionId",
    "startTime",
    "lang",
    "metadata",
    "isReviewed",
    "resolution",
    "manualEdits"
  ]
}