Skip to content

Commit

Permalink
add boolean to list of scalars in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkranz committed Jan 5, 2024
1 parent 045dfee commit 4e05314
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion variable-level-metadata-schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,11 @@ To facilitate the mapping of json spec property names to csv property names, th
### Complex `type` restrictions

1. Currently, no complex types (`anyOf`,`oneOf`) are supported and the `type` MUST be specified. This is to ensure coverage for all csv to json translation use cases.
- Each json specification schema property type must be a scalar (e.g., `boolean`,`string`,`integer`,`number`), an `array`, or an `object`
- Each csv specification schema property type must be a scalar (e.g., `boolean`,`string`,`integer`,`number`)
2. `enum` restrictions
- following from (1), an `enum` must only contain values of the same type
- (at least currently) MUST contain only types supported by csv fields which include scalar types (`string`,`integer`,`number`) in addition to type `object` as this has a stringified representation (see above).
- (at least currently) MUST contain only types supported by csv fields which include scalar types (e.g., `boolean`,`string`,`integer`,`number`) in addition to type `object` as this has a stringified representation (see above).


## Considerations
Expand Down

0 comments on commit 4e05314

Please sign in to comment.