cdisc-org / conformance-rules-editor

MIT License
6 stars 3 forks source link

JSON types added #204

Closed gerrycampion closed 12 months ago

gerrycampion commented 1 year ago

Added the 3 primitive json data types: Boolean, Number, String To confirm this is working, you can take a look at ddf00013 in dev. I changed the rule to use boolean values instead of string "true"/"false". You will see 2 things:

Currently, I am using initcap types (Boolean, Number, String) because these are the types specified by the test data files. I would prefer if we use lowercase types (boolean, number, string), because this is how they are represented in json schema: https://json-schema.org/draft/2020-12/json-schema-validation#section-6.1.1 But I understand this would require us to update the test data files, so let me know if you think we should do this.

github-actions[bot] commented 1 year ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://icy-flower-095494b10-204.centralus.azurestaticapps.net