deprecated-oc-search/doc/storage.json

61 lines
1.6 KiB
JSON
Raw Permalink Normal View History

2023-08-26 22:04:56 +02:00
{
"$schema": "http://json-schema.org/schema#",
"$id": "Storage",
"type": "object",
"properties": {
"name": {
"description": "Name of the stream that acts as identifier",
"type": "string",
"$comment": "Must have some regex"
},
"description": {
"type": "string",
"description": "General description of the processing unit"
},
"size": {
"type": "object"
},
"encryption": {
"type": "object"
},
"redundancy": {
"type": "object"
},
"throughput": {
"description": "The available performance for the storage",
"type": "object"
},
"booking_price": {
"type": "object"
},
"type": {
"type": "object"
},
"inputs": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "stream.json#/definitions/file"
},
{
"$ref": "stream.json#/definitions/url"
}
]
}
},
"outputs": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "stream.json#/definitions/file"
},
{
"$ref": "stream.json#/definitions/url"
}
]
}
}
}
}