@itentialopensource/versa-create-new-service-template
Version:
Versa Create New Service Template
84 lines • 2.19 kB
JSON
{
"id": "604661b4812312031d477dc9",
"created": "2021-03-08T17:41:08.557Z",
"createdBy": "admin@pronghorn",
"lastUpdated": "2021-03-09T16:16:11.906Z",
"lastUpdatedBy": "admin@pronghorn",
"name": "Versa Create New Service Template",
"description": "",
"struct": {
"type": "array",
"items": [
{
"nodeId": "116b6707-1ce9-40c3-8cf6-71a44e02dee5",
"type": "string",
"title": "Versa Adapter ID",
"description": "Select an adapter",
"placeholder": "Select an item",
"required": true,
"enum": [],
"binding": true,
"rel": "collection",
"targetPointer": "/enum",
"base": "/health",
"href": "/adapters?equalsField=package_id&equals=@itentialopensource/adapter-versa_director",
"method": "GET",
"sourcePointer": "/results",
"sourceKeyPointer": "/id"
}
]
},
"schema": {
"title": "Versa Create Device Group",
"description": "",
"type": "object",
"required": [],
"properties": {
"versaAdapterId": {
"type": "string",
"title": "Versa Adapter ID",
"description": "Select an adapter",
"enum": []
}
}
},
"uiSchema": {
"versaAdapterId": {
"ui:placeholder": "Select an item"
}
},
"bindingSchema": {
"properties": {
"versaAdapterId": {
"binding:method": "GET",
"binding:link": {
"$ref": "/links",
"rel": "collection"
},
"binding:target": {
"propertyPointer": "/enum"
},
"binding:hyperSchema": {
"type": "object",
"base": "/health",
"links": [
{
"rel": "collection",
"href": "/adapters?equalsField=package_id&equals=@itentialopensource/adapter-versa_director",
"targetMediaType": "application/json",
"targetSchema": {
"$ref": "#"
}
}
]
},
"binding:source": {
"propertyPointer": "/results",
"keyPointer": "/id"
}
}
}
},
"validationSchema": {},
"version": "2020.1"
}