Skip to content

Commit 612cb92

Browse files
m-mohrgadomski
andauthored
Update README.md
Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
1 parent be4ecec commit 612cb92

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ It returns a JSON Schema that defines the properties allowed in `sortby`.
114114
The precise definition of this can be found in the
115115
[OGC API - Features - Part 5: Schemas](https://portal.ogc.org/files/108199#rc_sortables).
116116

117+
In particular:
118+
119+
- No property SHALL be of type "object" or "array".
120+
- No property SHALL be a spatial property.
121+
- If `additionalProperties` is not included or has the default value true, any property name is valid in a sorting expression on the collection that is evaluated by the server and the property reference SHALL evaluate to null, if the property does not exist for a resource.
122+
- If `additionalProperties` is set to false, property references that are not explicitly declared in the sortables schema SHALL result in a 400 response.
123+
117124
All Sortables endpoints SHALL be referenced with a link with the link relation type
118125
`http://www.opengis.net/def/rel/ogc/1.0/sortables`.
119126

0 commit comments

Comments
 (0)