Skip to content

feat(gdd): add select-multiple GDD type (Issue ebu#37)#70

Open
Richardpwe wants to merge 1 commit into
ebu:mainfrom
Richardpwe:feature/issue-37
Open

feat(gdd): add select-multiple GDD type (Issue ebu#37)#70
Richardpwe wants to merge 1 commit into
ebu:mainfrom
Richardpwe:feature/issue-37

Conversation

@Richardpwe
Copy link
Copy Markdown
Contributor

Adds a select-multiple GDD type for selecting zero, one, or multiple values from a fixed list of options.

select-multiple uses type: "array" and supports string, integer, and number values through items.type. The available options are defined in items.enum, so each selected array item can be validated against the allowed values.

This intentionally differs slightly from the issue examples, which show enum on the top-level schema. Since the field value is an array, this PR places the enum on items.enum to match JSON Schema semantics.

Closes #37.

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

Successfully merging this pull request may close these issues.

Proposal for new GDD Type: select multiple

1 participant