Ajout du validateur json + correctif factory metadata
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "https://example.invalid/entities.schema.json",
|
||||
"title": "Entities",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [ "name" ],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"fg": { "$ref": "color.schema.json", "default": "Black" }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user