{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "array",
"items": {
"$id": "#/items",
"type": "object",
"required": [
"id",
"nom",
"sexe",
"fonctionId",
"fonctionNom",
"photoUrl",
"noOrdreSurListe",
"formatedId",
"liste"
],
"properties": {
"id": {
"$id": "#/items/properties/id",
"type": "integer",
"examples": [
40020001
]
},
"nom": {
"$id": "#/items/properties/nom",
"type": "string",
"examples": [
"MAZZONE Lisa"
],
"pattern": "^(.*)$"
},
"sexe": {
"$id": "#/items/properties/sexe",
"type": "string",
"examples": [
"1"
],
"pattern": "^(.*)$"
},
"fonctionId": {
"$id": "#/items/properties/fonctionId",
"type": "string",
"examples": [
"CN"
],
"pattern": "^(.*)$"
},
"fonctionNom": {
"$id": "#/items/properties/fonctionNom",
"type": "string",
"examples": [
"Conseiller-ère national-e"
],
"pattern": "^(.*)$"
},
"photoUrl": {
"$id": "#/items/properties/photoUrl",
"type": "string",
"examples": [
"MAZZONE_Lisa.jpg"
],
"pattern": "^(.*)$"
},
"noOrdreSurListe": {
"$id": "#/items/properties/noOrdreSurListe",
"type": "string",
"examples": [
"1"
],
"pattern": "^(.*)$"
},
"formatedId": {
"$id": "#/items/properties/formatedId",
"type": "string",
"examples": [
"03.01"
],
"pattern": "^(.*)$"
},
"liste": {
"$id": "#/items/properties/liste",
"type": "object",
"required": [
"id",
"noDepot"
],
"properties": {
"id": {
"$id": "#/items/properties/liste/properties/id",
"type": "integer",
"examples": [
400203
]
},
"noDepot": {
"$id": "#/items/properties/liste/properties/noDepot",
"type": "integer",
"examples": [
3
]
}
}
}
}
}
}