| 1 | { |
| 2 | "$id": "response.json#", |
| 3 | "$schema": "http://json-schema.org/draft-06/schema#", |
| 4 | "type": "object", |
| 5 | "required": [ |
| 6 | "status", |
| 7 | "statusText", |
| 8 | "httpVersion", |
| 9 | "cookies", |
| 10 | "headers", |
| 11 | "content", |
| 12 | "redirectURL", |
| 13 | "headersSize", |
| 14 | "bodySize" |
| 15 | ], |
| 16 | "properties": { |
| 17 | "status": { |
| 18 | "type": "integer" |
| 19 | }, |
| 20 | "statusText": { |
| 21 | "type": "string" |
| 22 | }, |
| 23 | "httpVersion": { |
| 24 | "type": "string" |
| 25 | }, |
| 26 | "cookies": { |
| 27 | "type": "array", |
| 28 | "items": { |
| 29 | "$ref": "cookie.json#" |
| 30 | } |
| 31 | }, |
| 32 | "headers": { |
| 33 | "type": "array", |
| 34 | "items": { |
| 35 | "$ref": "header.json#" |
| 36 | } |
| 37 | }, |
| 38 | "content": { |
| 39 | "$ref": "content.json#" |
| 40 | }, |
| 41 | "redirectURL": { |
| 42 | "type": "string" |
| 43 | }, |
| 44 | "headersSize": { |
| 45 | "type": "integer" |
| 46 | }, |
| 47 | "bodySize": { |
| 48 | "type": "integer" |
| 49 | }, |
| 50 | "comment": { |
| 51 | "type": "string" |
| 52 | } |
| 53 | } |
| 54 | } |