diff --git a/src/JsonSchema/entrySchema.json b/src/JsonSchema/entrySchema.json index 664b47812fdb01c7dd45c54d936bf3b6e62d2217..98faf5ef38f25b4c11de10c93ce481cc0c5dded3 100644 --- a/src/JsonSchema/entrySchema.json +++ b/src/JsonSchema/entrySchema.json @@ -1,51 +1,65 @@ { - "title": "Structure minimale d'une entrée", - "type": "object", - "properties": { - "Headword": { - "type": "string" - }, - "Items": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "PartOfSpeech": "string", - "Sense": { - "type": "object", - "properties": { - "Definitions": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "Def": "string" - }, - "required": ["Def"] + "attributes": { + "title": "Structure minimale d'une entrée", + "type": "object", + "properties": { + "Headword": { + "type": "string" + }, + "Items": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "PartOfSpeech": "string", + "Sense": { + "type": "object", + "properties": { + "Definitions": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "Def": "string" + }, + "required": [ + "Def" + ] + } + }, + "Pronunciations": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "api": "string", + "accent": "string", + "url": "string" + }, + "required": [ + "api" + ] + } } }, - "Pronunciations": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "api": "string", - "accent": "string", - "url": "string" - }, - "required": ["api"] - } - } - }, - "required": ["Definitions"] - } - }, - "required": ["PartOfSpeech", "Sense"] + "required": [ + "Definitions" + ] + } + }, + "required": [ + "PartOfSpeech", + "Sense" + ] + } } - } - }, - "required": ["Headword", "Items"] + }, + "required": [ + "Headword", + "Items" + ] + } } \ No newline at end of file