Add geo location as ROS type

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2021-04-26 14:43:08 +02:00
parent aa651fd629
commit 7d3c135146
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 31 additions and 0 deletions

View File

@ -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' => [
'author' => 'Maxence Lange',
'app' => 'mood',