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

Distinguish integer-only numeric values #19

Closed
happy5214 opened this issue Oct 12, 2019 · 2 comments
Closed

Distinguish integer-only numeric values #19

happy5214 opened this issue Oct 12, 2019 · 2 comments

Comments

@happy5214
Copy link
Member

There's a semantic distinction between numbers which can only be integers (counters like Attribute/Repetition) and unit-based and other values that can be integers or decimals. Validators could benefit from encoding such counter values in the schema as integer-only.

@VisLab
Copy link
Member

VisLab commented Dec 13, 2019

Add an additional attribute isInteger (which replaces isNumeric when the specified value must be an integer). This requires some addition to the validator and the schema. This will be useful for RDF parsing in the future.

@VisLab
Copy link
Member

VisLab commented Nov 19, 2021

Issue hed-standard/hed-schemas#77 is broader so I am closing this issue.

@VisLab VisLab closed this as completed Nov 19, 2021
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

2 participants