-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: cs01
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Proposal:
Received thru the DSS-X public comments list from Neil Crossley on the 2019-08-23:
xs:anyURI as a formatted string
Swagger:
https://swagger.io/docs/specification/data-models/data-types/#string
JSON schema draft 4 validation:
https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-7.3.6
JSON schema latest validation:
https://json-schema.org/latest/json-schema-validation.html#rfc.section.7.3.5
Random sampling of xs:anyURI in the DSS-X definitions makes it obvious that this information is often lost in the corresponding JSON schema. For example, DetailType has the anyURI-typed element Code and attribute Type, but only type keeps the uri formatting after the transformation. Another example: none of the attributes of DocumentBaseType keep their URI type.