| { |
| "$schema": "http://json-schema.org/draft-04/schema", |
| "required": [ |
| "sort", |
| "count", |
| "filter_choices", |
| "page", |
| "q", |
| "solr_error", |
| "limit", |
| "tickets", |
| "filter" |
| ], |
| "type": "object", |
| "properties": { |
| "sort": { |
| "type": "null" |
| }, |
| "count": { |
| "type": "number" |
| }, |
| "filter_choices": { |
| "required": [ |
| "status", |
| "reported_by", |
| "_milestone", |
| "assigned_to" |
| ], |
| "type": "object", |
| "properties": { |
| "status": { |
| "items": { |
| "items": [ |
| { |
| "type": "string" |
| }, |
| { |
| "type": "number" |
| } |
| ], |
| "type": "array" |
| }, |
| "type": "array" |
| }, |
| "reported_by": { |
| "items": { |
| "items": [ |
| { |
| "type": "string" |
| }, |
| { |
| "type": "number" |
| } |
| ], |
| "type": "array" |
| }, |
| "type": "array" |
| }, |
| "_milestone": { |
| "items": { |
| "items": [ |
| { |
| "type": "string" |
| }, |
| { |
| "type": "number" |
| } |
| ], |
| "type": "array" |
| }, |
| "type": "array" |
| }, |
| "assigned_to": { |
| "items": { |
| "items": [ |
| { |
| "type": "string" |
| }, |
| { |
| "type": "number" |
| } |
| ], |
| "type": "array" |
| }, |
| "type": "array" |
| } |
| } |
| }, |
| "filter": { |
| "type": "object" |
| }, |
| "q": { |
| "type": "string" |
| }, |
| "solr_error": { |
| "type": "null" |
| }, |
| "limit": { |
| "type": "number" |
| }, |
| "tickets": { |
| "items": { |
| "required": [ |
| "status", |
| "labels", |
| "related_artifacts", |
| "attachments", |
| "reported_by", |
| "reported_by_id", |
| "discussion_disabled", |
| "private", |
| "summary", |
| "assigned_to_id", |
| "assigned_to", |
| "votes_down", |
| "votes_up", |
| "mod_date", |
| "_id", |
| "discussion_thread_url", |
| "ticket_num", |
| "custom_fields", |
| "created_date" |
| ], |
| "type": "object", |
| "properties": { |
| "status": { |
| "type": "string" |
| }, |
| "labels": { |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "related_artifacts": { |
| "type": "array" |
| }, |
| "attachments": { |
| "type": "array" |
| }, |
| "reported_by": { |
| "type": "string" |
| }, |
| "reported_by_id": { |
| "type": "string" |
| }, |
| "discussion_disabled": { |
| "type": "boolean" |
| }, |
| "private": { |
| "type": "boolean" |
| }, |
| "summary": { |
| "type": "string" |
| }, |
| "description": { |
| "type": "string" |
| }, |
| "assigned_to_id": { |
| "type": ["string", "null"] |
| }, |
| "assigned_to": { |
| "type": ["string", "null"] |
| }, |
| "votes_down": { |
| "type": "number" |
| }, |
| "votes_up": { |
| "type": "number" |
| }, |
| "mod_date": { |
| "type": "string" |
| }, |
| "_id": { |
| "type": "string" |
| }, |
| "discussion_thread_url": { |
| "type": "string" |
| }, |
| "ticket_num": { |
| "type": "number" |
| }, |
| "custom_fields": { |
| "required": [ |
| "_component", |
| "_milestone", |
| "_reviewer" |
| ], |
| "type": "object", |
| "properties": { |
| "_component": { |
| "type": "string" |
| }, |
| "_milestone": { |
| "type": "string" |
| }, |
| "_reviewer": { |
| "type": "string" |
| } |
| } |
| }, |
| "created_date": { |
| "type": "string" |
| } |
| } |
| }, |
| "type": "array" |
| }, |
| "page": { |
| "type": "number" |
| } |
| } |
| } |