Skip to content

Is it possible to reference the pattern of a string #3330

Closed Answered by handrews
robp94 asked this question in Q&A
Discussion options

You must be logged in to vote

You can just have a schema that only has {"pattern": "the pattern"} and use "$ref" to include it.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@robp94
Comment options

@robp94
Comment options

@handrews
Comment options

Answer selected by robp94
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants