From 58d5987a046401381c71ab5869f6d38c299d45cd Mon Sep 17 00:00:00 2001 From: Panagiotis Vretanos Date: Sun, 27 Oct 2024 23:14:59 -0400 Subject: [PATCH] Add service link recommendation. --- .../ogc-process-description/REC_links.adoc | 16 ++++++++++++++++ core/sections/clause_5_conventions.adoc | 4 ++-- .../clause_8_ogc-process-description.adoc | 2 ++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 core/recommendations/ogc-process-description/REC_links.adoc diff --git a/core/recommendations/ogc-process-description/REC_links.adoc b/core/recommendations/ogc-process-description/REC_links.adoc new file mode 100644 index 00000000..7921726b --- /dev/null +++ b/core/recommendations/ogc-process-description/REC_links.adoc @@ -0,0 +1,16 @@ +[[rec_ogc-process-description_process-links]] +[recommendation] +==== +[%metadata] +identifier:: /rec/ogc-process-description/process-links + +[.component,class=part] +-- +Each process description SHOULD include a link (`rel="service"`) pointing to the landing page of the service offering this process. +-- + +[.component,class=part] +-- +All links SHOULD include the `rel` and `type` link parameters. +-- +==== diff --git a/core/sections/clause_5_conventions.adoc b/core/sections/clause_5_conventions.adoc index d6908e79..b96409b1 100644 --- a/core/sections/clause_5_conventions.adoc +++ b/core/sections/clause_5_conventions.adoc @@ -26,9 +26,9 @@ To express relationships between resources, <> i The following https://www.iana.org/assignments/link-relations/link-relations.xhtml[link relation types] are used in this document. -* **alternate**: Refers to a substitute for the link's context. +* **service**: Indicates a URI that can be used to retrieve a service document (e.g. a service landing page). -* **license**: Refers to a license associated with the link's context. +* **alternate**: Refers to a substitute for the link's context. * **monitor**: Identifies a resource that can use used to monitor changes in a resource. diff --git a/core/sections/clause_8_ogc-process-description.adoc b/core/sections/clause_8_ogc-process-description.adoc index 25468f09..f9319e9c 100644 --- a/core/sections/clause_8_ogc-process-description.adoc +++ b/core/sections/clause_8_ogc-process-description.adoc @@ -37,6 +37,8 @@ include::../requirements/ogc-process-description/REQ_json-encoding.adoc[] include::../requirements/ogc-process-description/REQ_links.adoc[] +include::../recommendations/ogc-process-description/REC_links.adoc[] + .Schema for a process [source,yaml] ----