Add more parameters on event parameters

This commit is contained in:
JonathanMM 2017-05-01 14:50:32 +02:00
parent 393461d2c1
commit c5266b003d

View file

@ -198,7 +198,7 @@
"description": "Geometry type: Point" "description": "Geometry type: Point"
}, },
"coordinates": { "coordinates": {
"description": "Geometry coordinates (latitude; longitude)", "description": "Geometry coordinates (longitude; latitude)",
"type": "array", "type": "array",
"items": { "items": {
"type": "number", "type": "number",
@ -226,11 +226,27 @@
"type": "string", "type": "string",
"description": "Event UUID" "description": "Event UUID"
}, },
"label": {
"type": "string",
"description": "Event label"
},
"lastupdate": { "lastupdate": {
"type": "string", "type": "string",
"format": "date", "format": "date",
"description": "Event last modification timestamp" "description": "Event last modification timestamp"
}, },
"lat": {
"type": "number",
"description": "Event location latitude"
},
"lon": {
"type": "number",
"description": "Event location longitude"
},
"source": {
"type": "string",
"description": "Event source"
},
"start": { "start": {
"type": "string", "type": "string",
"format": "date", "format": "date",
@ -278,6 +294,6 @@
"enum": ["Point"] "enum": ["Point"]
} }
} }
}, }
} }
} }