92 lines
2.0 KiB
JSON
92 lines
2.0 KiB
JSON
{
|
|
"$ref": "#/definitions/glossaire",
|
|
"definitions": {
|
|
"glossaire": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"term": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"aliases": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"default": []
|
|
},
|
|
"edition": {
|
|
"type": "string",
|
|
"const": "glossaire"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"const": "referentiel"
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"definitionShort": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"concepts": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"default": []
|
|
},
|
|
"links": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"definition",
|
|
"appui",
|
|
"transposition"
|
|
]
|
|
},
|
|
"target": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"note": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"target"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"default": []
|
|
},
|
|
"$schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"title",
|
|
"term",
|
|
"edition",
|
|
"status",
|
|
"version",
|
|
"definitionShort"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
} |