Ajout du validateur json + correctif factory metadata
This commit is contained in:
26
lib/All/json-schema-validator/test/issue-311/schema.json
Normal file
26
lib/All/json-schema-validator/test/issue-311/schema.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"element": {
|
||||
"$ref": "#/$defs/element"
|
||||
},
|
||||
"element2": {
|
||||
"$ref": "#/$defs/element/items/0/$defs/element2"
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"element": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"$defs": {
|
||||
"element2": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user