@wmfs/tymly
Version:
A framework for building and sharing workflows in Node.js
31 lines (23 loc) • 488 B
JSON
{
"name": "cat",
"version": "1.0",
"plural": "cats",
"primaryKey": ["name"],
"description": "Model for storing cat details",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The cat's name."
},
"size": {
"type": "string",
"enum": ["small", "medium", "large", "alan"],
"description": "How big is the cat?"
},
"comment": {
"type": "string"
}
},
"required": ["name", "size"]
}