diff --git a/schemas/deployedInterface.schema.tpl.json b/schemas/deployedInterface.schema.tpl.json new file mode 100644 index 0000000..e36482b --- /dev/null +++ b/schemas/deployedInterface.schema.tpl.json @@ -0,0 +1,28 @@ +{ + "_type": "computation:DeployedInterface", + "required": [ + "accessibility", + "interface", + "location" + ], + "properties": { + "accessibility": { + "_instruction": "Add the accessibility of this deployed interface.", + "_linkedTypes": [ + "controlledTerms.ProductAccessibility" + ] + }, + "interface": { + "_linkedTypes": [ + "core.Interface" + ] + }, + "location": { + "_instruction": "Add the location (for physical services) or URL (for digital services) where this deployed interface may be accessed.", + "_linkedTypes": [ + "core.Location", + "core.WebResource" + ] + } + } +} diff --git a/schemas/serviceDeployment.schema.tpl.json b/schemas/serviceDeployment.schema.tpl.json new file mode 100644 index 0000000..c032bcd --- /dev/null +++ b/schemas/serviceDeployment.schema.tpl.json @@ -0,0 +1,74 @@ +{ + "_type": "computation:ServiceDeployment", + "required": [ + "name", + "provides", + "service", + "startTime" + ], + "properties": { + "endTime": { + "type": "string", + "_formats": [ + "datetime" + ], + "_instruction": "Enter the date and time at which this deployment ended, formatted acoording to ISO-8601." + }, + "dependsOn": { + "_instruction": "Add the software that was deployed.", + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_linkedTypes": [ + "core:SoftwareVersion" + ] + }, + "deployedBy": { + "_instruction": "Add the provenance of the deployment workflow.", + "_linkedTypes": [ + "computation:WorkflowExecution" + ] + }, + "deploymentType": { + "_instruction": "Enter the type of deployment environment, for example, 'productionù or 'integration'.", + "_linkedTypes": [ + "controlledTerms:DeploymentEnvironmentType" + ] + }, + "name": { + "type": "string", + "_instruction": "Enter a label for this deployment" + }, + "provides": { + "_instruction": "Add the interfaces that have been deployed.", + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_embeddedTypes": [ + "computation.DeployedInterface" + ] + }, + "service": { + "_instruction": "Add the service that has been deployed.", + "_linkedTypes": [ + "core.Service" + ] + }, + "startTime": { + "type": "string", + "_formats": [ + "datetime" + ], + "_instruction": "Enter the date and time at which this deployment was started, formatted acoording to ISO-8601." + }, + "uses": { + "_instruction": "Add the deployed interfaces that are used by this deployment.", + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_embeddedTypes": [ + "computation.DeployedInterface" + ] + } + } +}