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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

format is listed under DataSchema #1114

Closed
egekorkan opened this issue Apr 28, 2021 · 1 comment
Closed

format is listed under DataSchema #1114

egekorkan opened this issue Apr 28, 2021 · 1 comment

Comments

@egekorkan
Copy link
Contributor

The term format is listed under DataSchema (generic one) even though it applies only to strings. This is also present in the recommendation version and it is a bug in my opinion ( a light one thankfully 馃槉 )

@egekorkan
Copy link
Contributor Author

Call of 21.07: Actually the TD spec is correct. JSON Schema says:

All format attributes defined in this section apply to strings, but a format attribute can be specified to apply to any instance types defined in the data model defined in the core JSON Schema. [CREF1]

However, all the format values currently apply only to strings

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