You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSON-FG SWG has introduced a key that allow the feature type of a feature in a collection to be asserted.
Using the currently proposed schema mechanism, if one wanted to get the schema of a specific feature type they would need to get the schema of the collection (say the create schema) and then -- depending on how the server encoded the schema -- search the response to find the schema of the desired feature type or feature types.
When generating the schema of a collection, a server can either generate a super-set schema that contains the properties found in all features of the collections or the server can generate a oneOf array with the schema of each feature type that might appear in the collection. In either case, getting the schema for a specific feature type(s) is a bit tedious.
It would be nice to introduce a mechanism for requesting the schema of a specific feature type or set of feature types. Perhaps by overloading the semantics of the type parameter in the schema proposal OR introducing another parameter featureTypes where a list of desired feature types could be listed.
The text was updated successfully, but these errors were encountered:
The JSON-FG SWG has introduced a key that allow the feature type of a feature in a collection to be asserted.
Using the currently proposed schema mechanism, if one wanted to get the schema of a specific feature type they would need to get the schema of the collection (say the create schema) and then -- depending on how the server encoded the schema -- search the response to find the schema of the desired feature type or feature types.
When generating the schema of a collection, a server can either generate a super-set schema that contains the properties found in all features of the collections or the server can generate a
oneOf
array with the schema of each feature type that might appear in the collection. In either case, getting the schema for a specific feature type(s) is a bit tedious.It would be nice to introduce a mechanism for requesting the schema of a specific feature type or set of feature types. Perhaps by overloading the semantics of the
type
parameter in the schema proposal OR introducing another parameterfeatureTypes
where a list of desired feature types could be listed.The text was updated successfully, but these errors were encountered: