Fix Variable JSON Schema

This commit is contained in:
Matija Čupić 2018-02-01 22:18:03 +01:00
parent 558057010f
commit 434a6158ad
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -1,6 +1,24 @@
{
"id": "string",
"key": "string",
"value": "string",
"protected": "boolean"
"type": "object",
"required": ["variables"],
"properties": {
"variables": {
"type": "array",
"items": {
"required": [
"id",
"key",
"value",
"protected"
],
"properties": {
"id": { "type": "integer" },
"key": { "type": "string" },
"value": { "type": "string" },
"protected": { "type": "boolean" }
}
}
}
},
"additionalProperties": false
}