-
Notifications
You must be signed in to change notification settings - Fork 3
Description
StationJSON has lots of
additionalProperties=false
in many objects. But StationXML has lots of
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
to allow other elements.
For example, BaseNodeType in StationXML (and hence Network, Station and Channel) all allow additional elements and attributes. But Network, Station and Channel all have additionalProperties=false in StationJSON to deny additions.
I am not sure what the right answer is, but am thinking it would be useful to lay out a rationalization for why expansion of the objects is permitted or denied. In the absence of a good reason to diverge, I guess I would lean toward at least StationXML and StationJSON being compatible, but that still doesn't answer whether to be permissive or restrictive.