534
edits
(Update package: OSW Base) |
(Update package: OSW Base) |
||
jsonschema | |||
---|---|---|---|
Line 3: | Line 3: | ||
{ | { | ||
"network_port": "Property:HasPort", | "network_port": "Property:HasPort", | ||
"host": "Property:HasHost", | "host": { | ||
"hosted_software": "Property:Hosts", | "@id": "Property:HasHost", | ||
"@type": "@id" | |||
}, | |||
"hosted_software": { | |||
"@id": "Property:Hosts", | |||
"@type": "@id" | |||
}, | |||
"schema": "Property:HasUrlSchema", | |||
"version": "Property:HasVersion", | "version": "Property:HasVersion", | ||
"domain": "Property:HasNetworkDomain", | "domain": "Property:HasNetworkDomain", | ||
"url_path": "Property: | "url_path": "Property:HasUrlPath", | ||
"url": "Property:HasUrl" | "url": "Property:HasUrl" | ||
} | } | ||
], | ], | ||
"allOf": [ | "allOf": [ | ||
{ | { | ||
Line 17: | Line 23: | ||
} | } | ||
], | ], | ||
"type": "object", | |||
"title": "WebService", | "title": "WebService", | ||
"required": [ | |||
"type" | |||
], | |||
"defaultProperties": [ | |||
"hosted_software", | |||
"host", | |||
"schema", | |||
"domain", | |||
"network_port", | |||
"url_path" | |||
], | |||
"properties": { | "properties": { | ||
" | "type": { | ||
"title": " | "default": [ | ||
"Category:OSW8c56fd1e858f499da801691c5f2b7309" | |||
] | |||
}, | |||
"hosted_software": { | |||
"title": "Hosted Software", | |||
"type": "array", | "type": "array", | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": " | "title": "Software", | ||
"type": "string", | "type": "string", | ||
"format": "autocomplete", | "format": "autocomplete", | ||
" | "range": "Category:OSW77e749fc598341ac8b6d2fff21574058" | ||
}, | }, | ||
"minItems": 1 | "minItems": 1 | ||
}, | }, | ||
" | "host": { | ||
"title": "Hosts", | |||
"title": " | |||
"type": "array", | "type": "array", | ||
"format": "table", | "format": "table", | ||
"items": { | "items": { | ||
"title": " | "title": "Host", | ||
"type": "string", | "type": "string", | ||
"format": "autocomplete", | "format": "autocomplete", | ||
" | "range": "Category:OSW02590972aeba46d7864ed492c0c11384" | ||
}, | }, | ||
"minItems": 1 | "minItems": 1 | ||
}, | }, | ||
" | "schema": { | ||
"title": " | "title": "Schema", | ||
"description": " | "description": "e.g. http, https", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 63: | Line 74: | ||
"title": "Domain", | "title": "Domain", | ||
"type": "string" | "type": "string" | ||
}, | |||
"network_port": { | |||
"items": { | |||
"title": "Port", | |||
"type": "integer" | |||
}, | |||
"title": "Ports", | |||
"type": "array" | |||
}, | }, | ||
"url_path": { | "url_path": { | ||
Line 73: | Line 92: | ||
"format": "url" | "format": "url" | ||
}, | }, | ||
" | "version": { | ||
" | "title": "Version", | ||
"description": "Version of the hosted software", | |||
"type": "string" | |||
} | } | ||
} | } | ||
} | } |
edits