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

Define and support a UUID data type. #32

Closed
4 tasks
wendellpiez opened this issue Jan 29, 2020 · 1 comment
Closed
4 tasks

Define and support a UUID data type. #32

wendellpiez opened this issue Jan 29, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@wendellpiez
Copy link
Collaborator

wendellpiez commented Jan 29, 2020

User Story:

We currently have no support for validating a UUID value as such. This necessitates a workaround --
either defining a data point (expected to be a UUID) as a string, which permits spaces and characters not in UUIDs; or as XML NCName, which is a little better but also not right. Consequently, UUIDs are now being prefixed with uuid- simply to ensure validity, since NCName cannot begin with a digit, and a UUID can.

Goals:

  • Support a UUID data type with appropriate lexical constraints over UUIDs
  • Revise models in OSCAL to take advantage of this datatype in document-level ID values or wherever UUIDs are called for.

The second of these items will be done in the OSCAL repo.

Dependencies:

This work should be done under unit testing and requires unit tests.

Acceptance Criteria

  • All website and readme documentation affected by the changes in this issue have been updated. Changes to the website can be made in the docs/content directory of your branch. Applies to Metaschema work
  • A Pull Request (PR) is submitted that fully addresses the first goal of this User Story. This issue is referenced in the PR.
  • The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.
  • An Issue has been created in the OSCAL repo to support the second goal, assuming it remains a goal.

{The items above are general acceptance criteria for all User Stories. Please describe anything else that must be completed for this issue to be considered resolved.}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants