Skip to content
Snippets Groups Projects
Commit f33dff44 authored by Pierre Fleutot's avatar Pierre Fleutot
Browse files

Amélioration schéma json structure entrée minimale

parent 33b1b810
No related branches found
No related tags found
No related merge requests found
{
"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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment