UNPKG

@itentialopensource/adapter-eai

Version:

Itential Ericsson Adaptive Inventory Adapter

173 lines 3.57 kB
{ "$id": "slot_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": "getSlots", "enum": [ "getSlots", "createSlot", "updateSlot", "deleteSlot" ], "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" }, "dimensionUnits": { "type": "string", "description": "the units of the slot", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "dimensionUnits" }, "distanceToBase": { "type": "number", "description": "the distance to base of the slot", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "dimDistToBase" }, "depth": { "type": "number", "description": "the depth of the slot", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "dimDepth" }, "height": { "type": "number", "description": "the height of the slot", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "dimHeight" }, "width": { "type": "number", "description": "the width of the slot", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "dimWidth" }, "parentShelf": { "type": "array", "items": { "translate": false, "type": "object" }, "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "parentShelf" } }, "allOf": [ { "if": { "properties": { "ph_request_type": { "enum": [ "createSlot" ] } } }, "then": { "required": [ "name", "type", "relOrder", "parentShelf" ] } }, { "if": { "properties": { "ph_request_type": { "enum": [ "updateSlot" ] } } }, "then": { "required": [ "type" ] } } ], "definitions": {} }