Skip to content

test: add structural invalid boundary cases for uuid format#855

Closed
severe77 wants to merge 1 commit intojson-schema-org:mainfrom
severe77:test/uuid-structural-invalid
Closed

test: add structural invalid boundary cases for uuid format#855
severe77 wants to merge 1 commit intojson-schema-org:mainfrom
severe77:test/uuid-structural-invalid

Conversation

@severe77
Copy link

Summary

Adds four additional structural invalid boundary cases for the uuid format.

What’s included

The new test cases cover structural violations of the canonical UUID textual representation:

  • Overall length exceeding 36 characters
  • First segment shorter than 8 hexadecimal digits
  • Second segment longer than 4 hexadecimal digits
  • Extra hyphen in an otherwise canonical string

These additions align with the UUID segment structure defined in RFC 4122 (Section 3).

Scope

  • Applied to draft2019-09, draft2020-12, and v1
  • No existing tests were modified
  • No semantic constraints were introduced

@severe77 severe77 requested a review from a team as a code owner February 25, 2026 07:08
@Julian Julian closed this Feb 25, 2026
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.

2 participants