User: dan@sartography.com clicked save for examples/2-in-depth/data-stores/key-value-data-store/addmovie-schema.json

This commit is contained in:
sartography-automated-committer 2024-02-21 18:44:15 +00:00
parent 2e264f4f35
commit b1f148b593

View File

@ -1 +1,44 @@
{}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Title of the movie"
},
"characters": {
"type": "array",
"description": "List of characters in the movie",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the character"
},
"actor": {
"type": "string",
"description": "Actor who portrays the character"
},
"description": {
"type": "string",
"description": "Brief description of the character"
}
},
"required": [
"name",
"actor",
"description"
]
}
},
"required": [
"title",
"characters"
]
}
}
}