Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON mapping of ID, IDREF and IDREFS types incomplete #23

Open
JDziurlaj opened this issue Apr 5, 2024 · 0 comments
Open

JSON mapping of ID, IDREF and IDREFS types incomplete #23

JDziurlaj opened this issue Apr 5, 2024 · 0 comments

Comments

@JDziurlaj
Copy link
Collaborator

Organization Name: The Turnout

Organization Type: 1 (CTR)

Comment (Include rationale for comment): JSON Schemas map xsd:ID, xsd:IDREF and xsd:IDREFS typed properties to the plain JSON Schema String. However, all are derived from xs:NCName which has the lexical space of [\i-[:]][\c-[:]]*. IDREFS has more restrictions besides. See XML Schema Part 2: Datatypes Second Edition sections 3.3.8, 3.3.9, 3.3.10.

Suggested Change:

Add pattern constraint of [\i-[:]][\c-[:]]* for JSON equivalents of xsd:ID, xsd:IDREF and xsd:IDREFS.


Organization Type: 1 = Federal, 2 = Industry, 3 = Academia, 4 = Self, 5 = Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant