scinote-web/spec/support/api/schemas/status_items/item.json

37 lines
666 B
JSON
Raw Normal View History

2019-10-21 16:38:20 +08:00
{
"id": "file:/status_items/item.json#",
2019-10-21 16:38:20 +08:00
"type": "object",
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"attributes": {
"type": "object",
"properties": {
"icon": {
"type": "string"
},
"status": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
2019-10-21 16:38:20 +08:00
}
},
"additionalProperties": false,
"required": [
"icon",
"status"
]
}
},
"additionalProperties": false,
"required": ["id", "type", "attributes"]
}