tiramisu-api-python/test/data/unicode1_multi_not_equal_co...

156 lines
3.2 KiB
JSON
Raw Normal View History

2019-02-14 21:25:00 +01:00
{
"schema": {
"descr1": {
"name": "descr1",
"properties": {
"descr1.unicode1": {
"name": "descr1.unicode1",
"type": "string",
"title": "Unicode 1, not equal to 'a'"
},
"descr1.unicode1_multi": {
"name": "descr1.unicode1_multi",
"type": "string",
"isMulti": true,
"title": "Multi unicode 1, not equal to 'a' or 'b'"
}
},
"type": "object",
"title": "Common configuration 1"
},
"descr2": {
"name": "descr2",
"properties": {
"descr2.unicode2": {
"name": "descr2.unicode2",
"type": "string",
"value": "a",
"title": "Unicode 2"
},
"descr2.unicode2_multi": {
"name": "descr2.unicode2_multi",
"type": "string",
"value": [
"a",
"b"
],
"isMulti": true,
"title": "Multi unicode 2"
}
},
"type": "object",
"title": "Common configuration 2"
},
"descr3": {
"name": "descr3",
"properties": {
"descr3.unicode3": {
"name": "descr3.unicode3",
"type": "string",
"title": "Unicode 3"
},
"descr3.unicode3_multi": {
"name": "descr3.unicode3_multi",
"type": "string",
"isMulti": true,
"title": "Multi unicode 3"
}
},
"type": "object",
"title": "Common configuration 3"
}
},
"model": [
{
"key": "descr1.unicode1_multi",
"required": true
},
{
"key": "descr2.unicode2",
"value": "a",
"owner": "default"
},
{
"key": "descr2.unicode2_multi",
"required": true,
"value": [
"a",
"b"
],
"owner": "default"
},
{
"key": "descr3.unicode3_multi",
"required": true
}
],
"form": [
{
"key": "descr1.unicode1",
"type": "input",
"not_equal": {"options": [
"descr2.unicode2",
"descr3.unicode3"
]}
},
{
"key": "descr1.unicode1_multi",
"type": "input",
"not_equal": {"options": [
"descr2.unicode2_multi",
"descr3.unicode3_multi"
]}
},
{
"key": "descr2.unicode2",
"clearable": true,
"type": "input",
"not_equal": {"options": [
"descr1.unicode1",
"descr3.unicode3"
]}
},
{
"key": "descr2.unicode2_multi",
"clearable": true,
"type": "input",
"not_equal": {"options": [
"descr1.unicode1_multi",
"descr3.unicode3_multi"
]}
},
{
"key": "descr3.unicode3",
"type": "input",
"not_equal": {"options": [
"descr1.unicode1",
"descr2.unicode2"
]}
},
{
"key": "descr3.unicode3_multi",
"type": "input",
"not_equal": {"options": [
"descr1.unicode1_multi",
"descr2.unicode2_multi"
]}
},
{
"key": "descr1",
"collapse": true
},
{
"key": "descr2",
"collapse": true
},
{
"key": "descr3",
"collapse": true
},
{
"title": "Configurer",
"type": "submit"
}
]
}