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

Feature Request: references should be able to include objects representing restriction objects/arrays #205

Open
3 tasks
joneubank opened this issue May 24, 2024 · 0 comments
Assignees

Comments

@joneubank
Copy link
Contributor

To support the conditional restrictions work, we want to be able to store restrictions in references so that the complex restriction objects are reusable.

Currently, References must be a string, or an array of strings. A string in an array can be a tag pointing to another reference which will result in combing arrays together.

New Reference Rules

  • references must be validated as a string, array of strings, restriction object, or array of restriction objects
  • references that are an array of restrictions can use a reference tag as a value in the array, if that tag points to another restriction object or restriction array
  • a reference tag pointing to a restriction object cannot be used in a code list (array of strings). the schema validation needs to return an error when this occurs
@joneubank joneubank self-assigned this May 26, 2024
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