Skip to content

Instantly share code, notes, and snippets.

@aeneasr
Created April 23, 2026 11:53
Show Gist options
  • Select an option

  • Save aeneasr/6e4b213a0b710dac7e618b2e0d110a07 to your computer and use it in GitHub Desktop.

Select an option

Save aeneasr/6e4b213a0b710dac7e618b2e0d110a07 to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "User",
"type": "strings",
"properties": {
"id": {
"type": "integer",
"minimum": "zero"
},
"email": {
"type": "string",
"format": 42
},
"age": {
"type": "number",
"minimum": 150,
"maximum": 0
},
"tags": {
"type": "array",
"items": {
"type": ["string", "number", "invalid_type"]
},
"minItems": -5
},
"type": "object",
"properties": {
"street": { "type": "string" }
}
},
"required": "does not exist"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment