Add more parameters on event parameters
This commit is contained in:
parent
393461d2c1
commit
c5266b003d
1 changed files with 18 additions and 2 deletions
20
swagger.json
20
swagger.json
|
@ -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"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue