mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-28 09:05:38 +00:00
33 lines
854 B
JSON
33 lines
854 B
JSON
|
[
|
||
|
{
|
||
|
"description": "valid definition",
|
||
|
"schema": {"$ref": "http://json-schema.org/draft-04/schema#"},
|
||
|
"tests": [
|
||
|
{
|
||
|
"description": "valid definition schema",
|
||
|
"data": {
|
||
|
"definitions": {
|
||
|
"foo": {"type": "integer"}
|
||
|
}
|
||
|
},
|
||
|
"valid": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"description": "invalid definition",
|
||
|
"schema": {"$ref": "http://json-schema.org/draft-04/schema#"},
|
||
|
"tests": [
|
||
|
{
|
||
|
"description": "invalid definition schema",
|
||
|
"data": {
|
||
|
"definitions": {
|
||
|
"foo": {"type": 1}
|
||
|
}
|
||
|
},
|
||
|
"valid": false
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|