scinote-web/spec/support/api/schemas/activities.json
2017-12-14 14:02:40 +01:00

26 lines
722 B
JSON

{
"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" }
}
}
}
}
}
}
}