UNPKG

@itentialopensource/adapter-eai

Version:

Itential Ericsson Adaptive Inventory Adapter

102 lines 2.06 kB
{ "$id": "slot_template_schema.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": "getSlotTemplates", "enum": [ "getSlotTemplates", "createSlotTemplate", "updateSlotTemplate", "deleteSlotTemplate" ], "external_name": "ph_request_type" }, "id": { "type": "integer", "description": "the slot unique identifier", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "id" }, "name": { "type": "string", "description": "the name of slot", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "name" }, "type": { "type": "string", "description": "the entity", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "type" }, "relOrder": { "type": "number", "description": "the relsative order of the slot", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "relOrder" } }, "allOf": [ { "if": { "properties": { "ph_request_type": { "enum": [ "createSlotTemplate" ] } } }, "then": { "required": [ "name", "type", "relOrder" ] } }, { "if": { "properties": { "ph_request_type": { "enum": [ "updateSlotTemplate" ] } } }, "then": { "required": [ "type" ] } } ], "definitions": {} }