Closed pvretano closed 2 years ago
20-NOV-2021: The consensus of the people on the call is that we don't need to have named subsets of presentables especially considering that features or common will be introducing projection capabilities so people can explicitly list which properties they want to see in the output. For sure this is not a core requirement and unless there is a more cogent case, we will close this issues for now. If anyone feels strongly that we need this capability, they can reopen the issue and provide more feedback.
Uwe asked whether the concept of "element set" from csw 2/3 has been considered. The short answer is no.
Adding the parameter itself would be fairly easy:
The trickier part is discovering which properties are part of a specific element set. For that, we can probably leverage and extend/modify the feature schema mechanism being defined in Features Part 4. Right now Features defines a parameter called
type
with valuescreate
,replace
,update
to get the schema of various views of the feature. We could generalizetype
or reuseelementset
to get the schema of a particular element set. For exampleGET /collections/{catalogueId}/schema?elementset=brief
would return the schema of thebrief
element set. Which element sets are available would be something that could be discovered from the Open API document; the definition of theelementset
parameter would include anenum
of the possible values. There is also the possibility of using theOPTIONS
method on the.../schema
endpoint to discover that information too (see issue #92).