hyperion.ng/effects/schema/flag.schema.json

29 lines
639 B
JSON
Raw Normal View History

2017-04-16 15:25:18 +02:00
{
"type":"object",
"script" : "flag.py",
2017-04-17 19:16:22 +02:00
"title":"edt_eff_flag_header",
2017-04-16 15:25:18 +02:00
"required":true,
"properties":{
2017-04-17 12:27:48 +02:00
"countries": {
2017-04-16 15:25:18 +02:00
"type": "array",
"format": "select",
2017-04-17 12:27:48 +02:00
"title" : "edt_eff_countries_title",
2017-04-16 15:25:18 +02:00
"uniqueItems": true,
"items": {
"type": "string",
2017-04-17 19:16:22 +02:00
"enum": ["de","at","fr","be","it","es","bg","ee","dk","fi","hu","ie","lv","lt","lu","mt","nl","pl","pt","ro","sl","se","ch"]
2017-04-16 15:25:18 +02:00
},
"propertyOrder" : 1
2017-04-17 14:21:32 +02:00
},
2017-04-16 15:25:18 +02:00
"switch-time": {
"type": "integer",
2017-04-17 19:16:22 +02:00
"title":"edt_eff_interval_title",
2017-04-17 12:27:48 +02:00
"default": 5,
"minimum" : 1,
"append" : "edt_append_s",
2017-04-16 15:25:18 +02:00
"propertyOrder" : 2
}
},
"additionalProperties": false
}