Add geo location as ROS type
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
aa651fd629
commit
7d3c135146
|
@ -418,6 +418,37 @@ class Definitions {
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'geo-location' => [
|
||||||
|
'author' => 'Nextcloud',
|
||||||
|
'app' => 'core',
|
||||||
|
'since' => '22.0.0',
|
||||||
|
'parameters' => [
|
||||||
|
'id' => [
|
||||||
|
'since' => '22.0.0',
|
||||||
|
'required' => true,
|
||||||
|
'description' => 'The geo URI (https://en.wikipedia.org/wiki/Geo_URI_scheme) to identify the location',
|
||||||
|
'example' => 'geo:52.5450511,13.3741463',
|
||||||
|
],
|
||||||
|
'name' => [
|
||||||
|
'since' => '22.0.0',
|
||||||
|
'required' => true,
|
||||||
|
'description' => 'A description of the location',
|
||||||
|
'example' => 'Nextcloud Berlin Office',
|
||||||
|
],
|
||||||
|
'latitude' => [
|
||||||
|
'since' => '22.0.0',
|
||||||
|
'required' => true,
|
||||||
|
'description' => 'The latitude of the location MUST be the same as in the id',
|
||||||
|
'example' => '52.5450511',
|
||||||
|
],
|
||||||
|
'longitude' => [
|
||||||
|
'since' => '22.0.0',
|
||||||
|
'required' => true,
|
||||||
|
'description' => 'The longitude of the location MUST be the same as in the id',
|
||||||
|
'example' => '13.3741463',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
],
|
||||||
'open-graph' => [
|
'open-graph' => [
|
||||||
'author' => 'Maxence Lange',
|
'author' => 'Maxence Lange',
|
||||||
'app' => 'mood',
|
'app' => 'mood',
|
||||||
|
|
Loading…
Reference in New Issue