ServiceNow · JSON Structure

Trouble Ticket Related Party Input Structure

Type: object Properties: 2 Required: 2
AutomationCloud ServicesDigital WorkflowsEnterprise PlatformIT Service ManagementITSMProcessesT1Workflow AutomationWorkflows

RelatedPartyInput is a JSON Structure definition published by ServiceNow, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

id @referredType

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "RelatedPartyInput",
  "properties": {
    "id": {
      "type": "string",
      "description": "Sys_id of the related party"
    },
    "@referredType": {
      "type": "string",
      "description": "Type of related party:\n- customer: Company or account for the ticket\n- customer_contact: Caller or contact for the ticket\n",
      "enum": [
        "customer",
        "customer_contact"
      ]
    }
  },
  "required": [
    "id",
    "@referredType"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}