2019-12-04 20:38:33 +05:30
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"project_id",
|
|
|
|
"https_only",
|
|
|
|
"access_control",
|
|
|
|
"source",
|
|
|
|
"prefix"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"project_id": { "type": "integer" },
|
|
|
|
"https_only": { "type": "boolean" },
|
|
|
|
"access_control": { "type": "boolean" },
|
|
|
|
"source": { "type": "object",
|
|
|
|
"required": ["type", "path"],
|
|
|
|
"properties" : {
|
2021-01-29 00:20:46 +05:30
|
|
|
"type": { "type": "string", "enum": ["file", "zip"] },
|
|
|
|
"path": { "type": "string" },
|
|
|
|
"global_id": { "type": "string" },
|
|
|
|
"sha256": { "type": "string" },
|
|
|
|
"file_size": { "type": "integer" },
|
|
|
|
"file_count": { "type": ["integer", "null"] }
|
2019-12-04 20:38:33 +05:30
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"prefix": { "type": "string" }
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|