diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-04-27 13:54:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 13:54:28 +0200 |
commit | bf1c875425e7fdf5ffd3c233ddf1f567428b4168 (patch) | |
tree | fa5e45f161c59edbb4bd5a7c3da91c00cff348d3 | |
parent | 9de6efd14e4fd8bbf3c9cacde7524b205ca7e93e (diff) | |
parent | 7d3c1351467a0ffe76fb521cb1fb6743f743de18 (diff) | |
download | nextcloud-server-bf1c875425e7fdf5ffd3c233ddf1f567428b4168.tar.gz nextcloud-server-bf1c875425e7fdf5ffd3c233ddf1f567428b4168.zip |
Merge pull request #26764 from nextcloud/feature/noid/add-geo-location-as-ROS-type
Add geo location as ROS type
-rw-r--r-- | lib/public/RichObjectStrings/Definitions.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index c59855e957b..5c85a163233 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -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', |