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

[📝 Docs]: Formatting issues in example on Regular Expressions page #1140

Open
1 task done
Vaent opened this issue Nov 25, 2024 · 0 comments
Open
1 task done

[📝 Docs]: Formatting issues in example on Regular Expressions page #1140

Vaent opened this issue Nov 25, 2024 · 0 comments
Labels
📝 Documentation Indicates improvements or additions to documentation. Status: Triage This is the initial status for an issue that requires triage.

Comments

@Vaent
Copy link

Vaent commented Nov 25, 2024

What Docs changes are you proposing?

The page at https://json-schema.org/understanding-json-schema/reference/regular_expressions contains two examples.

The first example (North American telephone number) identifies the schema and identifies whether or not each data sample complies with the schema.

The second example (string wrapped in curly braces permitting newlines) presents the schema as a data sample and doesn't identify which of the actual data samples would be compliant.

I've opened pull request #1115 to format the second example like the first if this issue is accepted (thanks @gregsdennis for the steer!)

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Vaent Vaent added Status: Triage This is the initial status for an issue that requires triage. 📝 Documentation Indicates improvements or additions to documentation. labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 Documentation Indicates improvements or additions to documentation. Status: Triage This is the initial status for an issue that requires triage.
Projects
None yet
Development

No branches or pull requests

1 participant