add schema validation for assets.storage_info

pull/11034/head
Guido Fioravantti 8 years ago
parent 2472d0d88a
commit f1da51f2e7

@ -0,0 +1,18 @@
{
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"description": "Describes in what service an asset is hosted",
"enum": [ "s3", "local" ]
},
"location": {
"description": "The sub-level in which the asset is located (i.e: bucket, subdirectory)",
"type": "string"
},
"identifier": {
"description": "Must identify an asset within a location uniquely (i.e: full path)",
"type": "string"
}
}
}
Loading…
Cancel
Save