freebsd-skq/contrib/libucl/tests/schema/definitions.json
2016-04-17 21:30:40 +00:00

33 lines
854 B
JSON

[
{
"description": "valid definition",
"schema": {"$ref": "http://highsecure.ru/ucl-schema/schema#"},
"tests": [
{
"description": "valid definition schema",
"data": {
"definitions": {
"foo": {"type": "integer"}
}
},
"valid": true
}
]
},
{
"description": "invalid definition",
"schema": {"$ref": "http://highsecure.ru/ucl-schema/schema#"},
"tests": [
{
"description": "invalid definition schema",
"data": {
"definitions": {
"foo": {"type": 1}
}
},
"valid": false
}
]
}
]