ServiceNow · JSON Structure

Trouble Ticket Note Input Structure

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

NoteInput 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

text @type

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "NoteInput",
  "properties": {
    "text": {
      "type": "string",
      "description": "Note text"
    },
    "@type": {
      "type": "string",
      "description": "Type of note (determines whether recorded in Work notes or Additional comments field)",
      "enum": [
        "comments",
        "work_notes"
      ]
    }
  },
  "required": [
    "text",
    "@type"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}