-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or requestv1.0.0Initial release of reference server with MongoDB and DD 2.0 CertificationInitial release of reference server with MongoDB and DD 2.0 Certification
Milestone
Description
We want enumeration data to be stored alongside other data in each table. For example, the AccessibilityFeatures field in the Property Resource should allow for data that is a multiple-enumeration.
A consideration needs to be made for the rowsize in this case since the Property Resource is already at the limit for a MySQL/MariaDB database. For this reason, TEXT fields were used for any string field that was greater than 80 characters, since TEXT is not counted like Varchar.
It's possible that JSON data types can be used, in which case the value for the multiple enumeration would be a JSON array containing the selected values for the given field.
Considerations:
- Are JSON data types treated similarly to TEXT, so that the rowsize limits won't be exceeded?
- Do JSON data types support the queries needed for the Web API spec?
- Single-valued: These probably don't need the JSON data type, but it might be nice from a consistency perspective to use the same mechanism for both single- and multi- valued enumerations. Single-valued items need to support
eq,ne, - Multi-valued enumerations need to support queries for
any,all, andin.
- Single-valued: These probably don't need the JSON data type, but it might be nice from a consistency perspective to use the same mechanism for both single- and multi- valued enumerations. Single-valued items need to support
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestv1.0.0Initial release of reference server with MongoDB and DD 2.0 CertificationInitial release of reference server with MongoDB and DD 2.0 Certification