dokytree/samples/it_v2/schemas_builder/parts/todo.json

31 lines
485 B
JSON
Raw Normal View History

2024-10-31 17:34:57 +00:00
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"todo": {
"type": "array",
"items": {
"type": "object",
"properties": {
"msg": {
"anyOf": [
{"type": "string"},
{"enum": [
"''"
]}
]
},
"priority": { "type": "integer" },
"duration": {
"anyOf": [
{"type": "integer"},
{"type": "string"},
{"enum": [
"''"
]}
]
}
}
}
}
}
}