Files
vitify-nuxt/server/api/forms/json/example/schema.json
2025-04-22 10:56:56 +07:00

34 lines
654 B
JSON

{
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "The task's name"
},
"description": {
"title": "Long Description",
"type": "string"
},
"done": {
"type": "boolean"
},
"dueDate": {
"type": "string",
"format": "date",
"description": "The task's due date"
},
"rating": {
"type": "integer",
"maximum": 5
},
"recurrence": {
"type": "string",
"enum": ["Never", "Daily", "Weekly", "Monthly"]
},
"recurrenceInterval": {
"type": "integer",
"description": "Days until recurrence"
}
}
}