{ "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", "nom commun", "nom propre", "proposition", "verbe" ] }, "genre": { "type": "string", "enum": ["f", "m", "n"] } }, "required": ["anglais", "français", "classe"] } } }