ServiceNow · JSON Structure

Trouble Ticket Related Entity Input Structure

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

RelatedEntityInput 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": "RelatedEntityInput",
  "properties": {
    "id": {
      "type": "string",
      "description": "Sys_id of the impacted item or service"
    },
    "@referredType": {
      "type": "string",
      "description": "Type of item or service",
      "enum": [
        "asset",
        "product",
        "product_inventory",
        "cmdb_ci",
        "cmdb_ci_service"
      ]
    }
  },
  "required": [
    "id",
    "@referredType"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}