UNPKG

@itentialopensource/adapter-servicenow

Version:

This adapter integrates with system described as: servicenowMadrid.

150 lines 3.35 kB
{ "$id": "problemSchema.json", "type": "object", "schema": "http://json-schema.org/draft-07/schema#", "translate": true, "dynamicfields": true, "properties": { "ph_request_type": { "type": "string", "description": "type of request (internal to adapter)", "default": "getProblemById", "enum": [ "getProblemById", "updateProblem", "deleteProblem", "getProblems", "createProblem" ], "external_name": "ph_request_type" }, "id": { "type": "string", "description": "the unique id for the Problem", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "sys_id" }, "number": { "type": "string", "description": "the number for the Problem", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "number" }, "summary": { "type": "string", "description": "the summary for the Problem", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "short_description" }, "current_state": { "type": "string", "description": "the current state of the Problem", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "problem_state" }, "created_on": { "type": "string", "description": "when the Problem was created", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "sys_created_on" }, "created_by": { "type": "string", "description": "who the Problem was created by", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "sys_created_by" }, "updated_on": { "type": "string", "description": "when the Problem was last updated", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "sys_updated_on" }, "updated_by": { "type": "string", "description": "who the Problem was last updated by", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "sys_updated_by" }, "resolution": { "type": "string", "description": "how the Problem was resolved", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "close_notes" }, "sysparmQuery": { "description": "E.g. number=CHG12345", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "sysparm_query" } }, "allOf": [ { "if": { "properties": { "ph_request_type": { "enum": [ "createProblem" ] } } }, "then": { "required": [ "summary" ] } } ], "definitions": {} }