diff --git a/schemas/deployedInterface.schema.tpl.json b/schemas/deployedInterface.schema.tpl.json new file mode 100644 index 0000000..9eb622b --- /dev/null +++ b/schemas/deployedInterface.schema.tpl.json @@ -0,0 +1,29 @@ +{ + "_type": "computation:DeployedInterface", + "required": [ + "accessibility", + "interface", + "location" + ], + "properties": { + "accessibility": { + "_instruction": "Add the accessibility of this deployed interface.", + "_linkedTypes": [ + "core:Accessibility" + ] + }, + "interface": { + "_instruction": "Enter the interface version that is deployed.", + "_linkedTypes": [ + "core:InterfaceVersion" + ] + }, + "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..1861bd0 --- /dev/null +++ b/schemas/serviceDeployment.schema.tpl.json @@ -0,0 +1,80 @@ +{ + "_type": "computation:ServiceDeployment", + "required": [ + "name", + "provides", + "service", + "startTime" + ], + "properties": { + "dependsOn": { + "_instruction": "Add the software version and any other relevant research product version that was deployed.", + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_linkedTypes": [ + "computation:WorkflowRecipeVersion", + "core:DatasetVersion", + "core:MetaDataModelVersion", + "core:ModelVersion", + "core:SoftwareVersion", + "sands:AnatomicalAtlasVersion", + "sands:CommonCoordinateFrameworkVersion" + ] + }, + "deploymentType": { + "_instruction": "Enter the type of deployment environment, for example, 'production' or 'integration'.", + "_linkedTypes": [ + "controlledTerms:DeploymentEnvironmentType" + ] + }, + "endTime": { + "type": "string", + "_formats": [ + "datetime" + ], + "_instruction": "Enter the date and time at which this deployment ended, formatted acoording to ISO-8601." + }, + "name": { + "type": "string", + "_instruction": "Enter a label for this service 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 and any other relevant research product versions that are used by this deployment.", + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_linkedTypes": [ + "computation:WorkflowRecipeVersion", + "computation:DeployedInterface", + "core:DatasetVersion", + "core:MetaDataModelVersion", + "core:ModelVersion", + "sands:AnatomicalAtlasVersion", + "sands:CommonCoordinateFrameworkVersion" + ] + } + } +}