@wmfs/tymly-pg-plugin
Version:
Replace Tymly's out-the-box memory storage with PostgreSQL
34 lines • 647 B
JSON
{
"title": "People",
"description": "Isn't this just a list of people?",
"primaryKey": ["employeeNo"],
"type": "object",
"properties": {
"employeeNo": {
"type": "number"
},
"firstName": {
"type": "string",
"description": "Person's first name"
},
"lastName": {
"type": "string"
},
"age": {
"description": "Age in years",
"type": "integer",
"minimum": 0
},
"children": {
"type": "object"
}
},
"indexes": [
{
"columns": ["firstName", "lastName"],
"unique": true
}
],
"required": ["firstName", "lastName"],
"audit": false
}