scinote-web/spec/support/api/schemas/activities.json

27 lines
722 B
JSON
Raw Normal View History

2017-12-14 21:02:40 +08:00
{
"type": "object",
"required": ["global_activities"],
"properties": {
"global_activities": {
"type": "object",
"required": ["activities", "more", "currentPage"],
"properties": {
"more": { "type": "boolean" },
"currentPage": { "type": "integer" },
"activities": {
"type": "array",
"items":{
"required": ["id", "message", "createdAt", "timezone"],
"properties": {
"id": { "type": "integer" },
"message": { "type": "string" },
"createdAt": { "type": "string" },
"timezone": { "type": "string" }
}
}
}
}
}
}
}