| 1 | { |
| 2 | "$id": "cookie.json#", |
| 3 | "$schema": "http://json-schema.org/draft-06/schema#", |
| 4 | "type": "object", |
| 5 | "required": [ |
| 6 | "name", |
| 7 | "value" |
| 8 | ], |
| 9 | "properties": { |
| 10 | "name": { |
| 11 | "type": "string" |
| 12 | }, |
| 13 | "value": { |
| 14 | "type": "string" |
| 15 | }, |
| 16 | "path": { |
| 17 | "type": "string" |
| 18 | }, |
| 19 | "domain": { |
| 20 | "type": "string" |
| 21 | }, |
| 22 | "expires": { |
| 23 | "type": ["string", "null"], |
| 24 | "format": "date-time" |
| 25 | }, |
| 26 | "httpOnly": { |
| 27 | "type": "boolean" |
| 28 | }, |
| 29 | "secure": { |
| 30 | "type": "boolean" |
| 31 | }, |
| 32 | "comment": { |
| 33 | "type": "string" |
| 34 | } |
| 35 | } |
| 36 | } |