| 1 | { |
| 2 | "$id": "request.json#", |
| 3 | "$schema": "http://json-schema.org/draft-06/schema#", |
| 4 | "type": "object", |
| 5 | "required": [ |
| 6 | "method", |
| 7 | "url", |
| 8 | "httpVersion", |
| 9 | "cookies", |
| 10 | "headers", |
| 11 | "queryString", |
| 12 | "headersSize", |
| 13 | "bodySize" |
| 14 | ], |
| 15 | "properties": { |
| 16 | "method": { |
| 17 | "type": "string" |
| 18 | }, |
| 19 | "url": { |
| 20 | "type": "string", |
| 21 | "format": "uri" |
| 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 | "queryString": { |
| 39 | "type": "array", |
| 40 | "items": { |
| 41 | "$ref": "query.json#" |
| 42 | } |
| 43 | }, |
| 44 | "postData": { |
| 45 | "$ref": "postData.json#" |
| 46 | }, |
| 47 | "headersSize": { |
| 48 | "type": "integer" |
| 49 | }, |
| 50 | "bodySize": { |
| 51 | "type": "integer" |
| 52 | }, |
| 53 | "comment": { |
| 54 | "type": "string" |
| 55 | } |
| 56 | } |
| 57 | } |