Skip to content

Instantly share code, notes, and snippets.

@viebel
Created September 1, 2021 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viebel/9b89822b78c0a5fde30bf002a89bbd56 to your computer and use it in GitHub Desktop.
Save viebel/9b89822b78c0a5fde30bf002a89bbd56 to your computer and use it in GitHub Desktop.
author-schema.json
{
"type": "object",
"required": ["firstName", "lastName"],
"properties": {
"firstName": {"type": "string"},
"lastName": {"type": "string"},
"bookList": {"type": "array",
"items": {
"type": "object",
"properties": {
"title": {"type": "string"},
"publicationYear": {"type": "integer"}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment