Skip to content

Instantly share code, notes, and snippets.

@rwblair
Last active March 31, 2020 15:28
Show Gist options
  • Save rwblair/3ecc156aad2840758e656a14844e6984 to your computer and use it in GitHub Desktop.
Save rwblair/3ecc156aad2840758e656a14844e6984 to your computer and use it in GitHub Desktop.
Nested objects for pet schema.
{
"type": "object",
"properties": {
"info": {
"type": "object"
"properties": {
"Modality": {"type": "string"}
},
"plasma": {
"type": "object"
"properties": {
"FreeFraction": {"type": "number"}
},
"required": ["FreeFraction"]
},
"required": ["info"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment