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

Ensure that JSON XBRL matches specification precisely on both input and output #143

Open
joelebwf opened this issue Feb 19, 2019 · 0 comments
Milestone

Comments

@joelebwf
Copy link
Collaborator

This will require further conversations with XBRL and is being deferred to 1.1.0. One aspect of this is whether input validation is strict (i.e. must match exactly) or if approximate values could be handled. This also will be discussed in 1.1.0.

Notes: This appears to be the best approximation of the XBRL JSON specification. Further clarification is needed. For the time being just apply the correct values for output and determine the long term course on 1.1.0.

Best guess interpretation of XBRL JSON:
"key": false - correct
"key": "false" - incorrect
"key": "False" - incorrect
"key": "0" - incorrect
"key": 0 - incorrect

"key": true - correct
"key": "true" - incorrect
"key": "True" - incorrect
"key": "1" - incorrect
"key": 1 - incorrect

"key": null - correct
"key": "null" - incorrect
"key": "Null" - incorrect
"key": "None" - incorrect

@joelebwf joelebwf added this to the v1.1.0 milestone Feb 19, 2019
@joelebwf joelebwf changed the title Ensure that JSON XBRL matches specificaiton precisely on both input and output Ensure that JSON XBRL matches specification precisely on both input and output Dec 19, 2019
@joelebwf joelebwf self-assigned this Dec 19, 2019
@joelebwf joelebwf modified the milestones: v1.1.0, 1.2.0 Jan 14, 2020
@joelebwf joelebwf removed their assignment Jan 14, 2020
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