Files
bitoduc.fr/vérifications/schéma.json
2019-01-02 14:32:54 +01:00

30 lines
862 B
JSON

{ "type": "array",
"items": {"$ref": "#/definitions/mot"},
"definitions": {
"mot": {
"type": "object",
"properties":
{
"anglais": {"type": "string"},
"français": {"type": "string"},
"classe": {
"type": "string",
"enum": [
"adjectif",
"groupe nominal",
"groupe verbal",
"proposition",
"verbe"
]
},
"genre": {
"type": "string",
"enum": ["f", "m", "n"]
},
"pluriel": {"type": "boolean"}
},
"required": ["anglais", "français", "classe"]
}
}
}