ogcapi_types/common/
link_rel.rs

1//! Link Relations
2//!
3//! [IANA Link Relations Registry](https://www.iana.org/assignments/link-relations/link-relations.xhtml)
4//! [OGC Link Relation Type Register](http://www.opengis.net/def/rel)
5
6pub const ABOUT: &str = "about";
7
8/// Refers to a substitute for the link’s context.
9pub const ATERNATE: &str = "alternate";
10
11pub const CHILD: &str = "child";
12
13pub const COLLECTION: &str = "collection";
14
15/// Refers to a resource that identifies the specifications that the link’s context conforms to.
16///
17/// See: <http://www.opengis.net/def/rel/ogc/1.0/conformance>
18pub const CONFORMANCE: &str = "conformance";
19
20pub const DATA: &str = "data";
21
22/// Identifies general metadata for the context (dataset or collection) that is primarily intended for consumption by machines.
23///
24/// See: <http://www.opengis.net/def/rel/ogc/1.0/data-meta>
25pub const DATA_META: &str = "data-meta";
26
27/// Refers to a resource providing information about the link’s context.
28pub const DESCRIBEDBY: &str = "describedby";
29
30/// The target URI points to exceptions of a failed process.
31///
32/// See: <http://www.opengis.net/def/rel/ogc/1.0/exceptions>
33pub const EXCEPTIONS: &str = "exceptions";
34
35/// The target URI points to the execution endpoint of the server.
36///
37/// See: <http://www.opengis.net/def/rel/ogc/1.0/execute>
38pub const EXECUTE: &str = "execute";
39
40pub const FIRST: &str = "first";
41
42pub const ITEM: &str = "item";
43
44pub const ITEMS: &str = "items";
45
46/// The target URI points to the list of jobs.
47///
48/// See: <http://www.opengis.net/def/rel/ogc/1.0/job-list>
49pub const JOB_LIST: &str = "job-list";
50
51pub const LAST: &str = "last";
52
53/// Refers to a license associated with the link’s context.
54pub const LICENSE: &str = "license";
55
56pub const METADATA: &str = "metadata";
57
58/// Identifies a resource that can use used to monitor changes in a resource.
59pub const MONITOR: &str = "monitor";
60
61pub const NEXT: &str = "next";
62
63pub const PARENT: &str = "parent";
64
65pub const PREV: &str = "prev";
66
67/// The target URI points to the list of processes the API offers.
68///
69/// See: <http://www.opengis.net/def/rel/ogc/1.0/processes>
70pub const PROCESSES: &str = "processes";
71
72pub const RELATED: &str = "related";
73
74/// The target URI points to the results of a job.
75///
76/// See: <http://www.opengis.net/def/rel/ogc/1.0/results>
77pub const RESULTS: &str = "results";
78
79pub const ROOT: &str = "root";
80
81pub const SEARCH: &str = "search";
82
83/// Conveys an identifier for the link’s context.
84pub const SELF: &str = "self";
85
86/// Identifies service description for the context that is primarily intended for consumption by machines.
87pub const SERVICE_DESC: &str = "service-desc";
88
89/// Identifies service documentation for the context that is primarily intended for human consumption.
90pub const SERVICE_DOC: &str = "service-doc";
91
92/// Identifies general metadata for the context that is primarily intended for consumption by machines.
93pub const SERVICE_META: &str = "service-meta";
94
95pub const START: &str = "start";
96
97/// Identifies a resource that represents the context’s status.
98pub const STATUS: &str = "status";
99
100/// An asset that represents a thumbnail of the Item.
101pub const THUMBNAIL: &str = "thumbnail";
102
103pub const TILES: &str = "tiles";
104
105/// The target IRI points to a resource that describes how to provide tile sets of the context resource in vector format.
106///
107/// See: <http://www.opengis.net/def/rel/ogc/1.0/tilesets-vector>
108pub const TILESETS_VECTOR: &str = "tilesets-vector";
109
110/// The target IRI points to a resource that describes the TileMatrixSet according to the 2D-TMS standard.
111///
112/// See: <http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme>
113pub const TILING_SCHEME: &str = "tiling-scheme";
114
115pub const OVERVIEW: &str = "overview";
116
117/// Refers to a parent document in a hierarchy of documents.
118pub const UP: &str = "up";