Skip to content

Instantly share code, notes, and snippets.

@trnktms
Created November 23, 2022 16:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/Welcome1",
"definitions": {
"Welcome1": {
"type": "object",
"additionalProperties": false,
"properties": {
"SomeObject": {
"$ref": "#/definitions/SomeObject"
}
},
"required": [
"SomeObject"
],
"title": "Welcome1"
},
"SomeObject": {
"type": "object",
"additionalProperties": false,
"properties": {
"SomeStringProperty": {
"type": "string"
},
"SomeNumberProperty": {
"type": "integer"
},
"SomeArrayProperty": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"SomeArrayProperty",
"SomeNumberProperty",
"SomeStringProperty"
],
"title": "SomeObject"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment