{"type":"model","meta":{"id":"/apps/pubhub/media/edm-api-v2/a2a30bcc9ecab5281b65761ae61df7e0031d5691/22db37d1-bb2c-3814-9940-2f648c7f33ab","swagger":"2.0","info":{"contact":{"email":"devmgmt@cisco.com"},"description":"This is the IoT device management core service. The service is responsible for managing the lifecycle of various IoT gateways and endpoints deployed as part of the Field Area Networks","license":{"name":"Licensing is primarily subscription based. Call Andy now!","url":"https://www.cisco.com"},"termsOfService":"http://swagger.io/terms/","title":"IoT Device Lifecycle Management","version":"4.0.0"},"host":"us.ciscoiot.com","basePath":"/nbapi/edm/v2","schemes":["https"],"securityDefinitions":{"bearerAuth":{"description":"This is the bearer Auth token.","in":"header","name":"Authorization","type":"apiKey"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"}}},"spec":{"properties":{"isFormBased":{"example":false,"type":"boolean"},"referenceTemplateUuid":{"example":null,"type":"string"},"templateProperties":{"properties":{"sections":{"items":{"properties":{"enabled":{"type":"boolean"},"info":{"items":{"properties":{"border":{"type":"boolean"},"closeButton":{"type":"boolean"},"filled":{"type":"boolean"},"flavor":{"type":"string"},"iconType":{"type":"string"},"placement":{"type":"string"},"text":{"type":"string"},"type":{"type":"string"}},"type":"object","$$ref":"#/definitions/TemplateVariablesInfo"},"type":"array"},"items":{"items":{"properties":{"cardinality":{"type":"integer"},"default":{"description":"Default Value for the variable","type":"object"},"displayCondition":{"description":"Condition based on which this field should be displayed","type":"string"},"errorMessage":{"description":"populate error message if there is any back end exception","type":"string"},"hiddenCondition":{"items":{"properties":{"field":{"type":"string"},"value":{"description":"can be any data type","type":"object"}},"type":"object","$$ref":"#/definitions/TemplateVariablesHiddenCondition"},"type":"array"},"hiddenConditionOperator":{"description":"logical operator used to evaluate hiddenCondition if more than one field","type":"string"},"info":{"items":{"properties":{"border":{"type":"boolean"},"closeButton":{"type":"boolean"},"filled":{"type":"boolean"},"flavor":{"type":"string"},"iconType":{"type":"string"},"placement":{"type":"string"},"text":{"type":"string"},"type":{"type":"string"}},"type":"object","$$ref":"#/definitions/TemplateVariablesInfo"},"type":"array"},"key":{"description":"Template Variable Key","type":"string"},"linkSectionKey":{"description":"Section Key for Hyperlink","type":"string"},"linkText":{"description":"Hyperlink Text","type":"string"},"maxLength":{"type":"integer"},"minLength":{"type":"integer"},"readOnly":{"type":"boolean"},"required":{"type":"boolean"},"secure":{"type":"boolean"},"seedValues":{"items":{"properties":{"key":{"type":"string"},"value":{"type":"string"}},"type":"object","$$ref":"#/definitions/TemplateVariablesSeedValues"},"type":"array"},"tableColumns":{"items":{"$ref":"#/definitions/TemplateVariablesItem"},"type":"array"},"title":{"type":"string"},"type":{"description":"Template Variable Data Type","type":"string"},"validationType":{"description":"Validation type to be enforced for the variable","type":"string"},"value":{"description":"Current Value assigned for the variable","type":"object"}},"type":"object","$$ref":"#/definitions/TemplateVariablesItem"},"type":"array"},"key":{"description":"Section Key","type":"string"},"readOnly":{"type":"boolean"},"section":{"description":"Section Title","type":"string"},"sections":{"items":{"$ref":"#/definitions/TemplateVariablesSection"},"type":"array"},"showInTree":{"type":"boolean"},"showToggle":{"type":"boolean"},"templateType":{"description":"Template Type","items":{"enum":["CONFIG","EMBEDDED_AP_CONFIG","ROUTER_TUNNEL_ADD","HER_TUNNEL_ADD","HER_TUNNEL_DELETE","FACTORY_CONFIG","ROUTER_TUNNEL_DELETE","GATEWAY_TUNNEL_ADD","GATEWAY_TUNNEL_DELETE"],"type":"string"},"type":"array"}},"type":"object","$$ref":"#/definitions/TemplateVariablesSection"},"type":"array"}},"type":"object","$$ref":"#/definitions/TemplateVariablesResponse"},"templateType":{"enum":["CONFIG","EMBEDDED_AP_CONFIG","ROUTER_TUNNEL_ADD","HER_TUNNEL_ADD","HER_TUNNEL_DELETE","FACTORY_CONFIG","ROUTER_TUNNEL_DELETE","GATEWAY_TUNNEL_ADD","GATEWAY_TUNNEL_DELETE"],"type":"string"},"templateTypeStr":{"example":"FACTORY_CONFIG","type":"string"},"templateValue":{"type":"string"}},"required":["templateType","templateTypeStr"],"type":"object","title":"StarterTemplate"}}