blob: 43e2370087d286cd7e2d95fad0adc8c7f59ef936 [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-04/schema",
"type": "object",
"id": "#",
"properties": {
"count": {
"type": "number",
"id": "count"
},
"forums": {
"items": {
"type": "object",
"id": "0",
"properties": {
"num_topics": {
"type": "number",
"id": "num_topics"
},
"url": {
"type": "string",
"id": "url"
},
"name": {
"type": "string",
"id": "name"
},
"shortname": {
"type": "string",
"id": "shortname"
},
"_id": {
"type": "string",
"id": "_id"
},
"last_post": {
"type": ["object", "null"],
"id": "last_post",
"properties": {
"status": {
"type": "string",
"id": "status"
},
"last_edited": {
"type": ["string", "null"],
"id": "last_edited"
},
"author": {
"type": "string",
"id": "author"
},
"timestamp": {
"type": "string",
"id": "timestamp"
},
"thread_id": {
"type": "string",
"id": "thread_id"
},
"text": {
"type": "string",
"id": "text"
},
"author_id": {
"type": "string",
"id": "author_id"
},
"_id": {
"type": "string",
"id": "_id"
},
"slug": {
"type": "string",
"id": "slug"
},
"subject": {
"type": "string",
"id": "subject"
}
}
},
"description": {
"type": "string",
"id": "description"
}
}
},
"type": "array",
"id": "forums"
},
"limit": {
"type": "number",
"id": "limit"
},
"page": {
"type": "number",
"id": "page"
}
}
}