Closed odungern closed 3 years ago
.. .the partial element schemata could be used in the API definition, rather than appending separate schema definitions (@oalt ).
It has been decided not to pursue this goal for v1.0. While a segmented schema with references is preferrable in terms of redundancy avoidance (DRY principle), it is perhaps more difficult to handle, as the complete schema consists of multiple files.
The idea is to provide separate schemata for the SpecIF elements, such as 'dataType', 'resourceClass' or 'resource'. Separate schemata can be used by an API to check incoming data.
There are two alternatives: