81 lines
1.6 KiB
JSON
81 lines
1.6 KiB
JSON
{
|
|
"noproperties":
|
|
{
|
|
"type": "object"
|
|
},
|
|
|
|
"emptyproperties":
|
|
{
|
|
"type": "object",
|
|
"properties": {}
|
|
},
|
|
|
|
"typetests":
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"computer": {
|
|
"type": "string"
|
|
},
|
|
"phone": {
|
|
"type": "integer"
|
|
},
|
|
"switch": {
|
|
"type": "boolean"
|
|
},
|
|
"object": {
|
|
"type": "object"
|
|
},
|
|
"list": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
|
|
"typetests2":
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"computer": {
|
|
"type": "string"
|
|
},
|
|
"phone": {
|
|
"type": "integer"
|
|
},
|
|
"switch": {
|
|
"type": "boolean"
|
|
},
|
|
"object": {
|
|
"type": "object"
|
|
},
|
|
"list": {
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
|
|
"string-properties":
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"computer1": {
|
|
"type": "string"
|
|
},
|
|
"computer2": {
|
|
"type": "string",
|
|
"maxLength": 4
|
|
},
|
|
"computer3": {
|
|
"type": "string",
|
|
"minLength": 2,
|
|
"maxLength": 2
|
|
},
|
|
"computer4": {
|
|
"type": "string",
|
|
"minLength": 3,
|
|
"maxLength": 4
|
|
}
|
|
}
|
|
}
|
|
}
|