| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "$id": "http://example.com/customer.schema.json", |
| 4 | "title": "Customer", |
| 5 | "description": "Customer data", |
| 6 | "type": "object", |
| 7 | "properties": { |
| 8 | "name": { |
| 9 | "description": "Customer name", |
| 10 | "type": "string" |
| 11 | }, |
| 12 | "id": { |
| 13 | "description": "Customer id", |
| 14 | "type": "integer" |
| 15 | }, |
| 16 | "email": { |
| 17 | "description": "Customer email", |
| 18 | "type": "string" |
| 19 | } |
| 20 | }, |
| 21 | "required": [ "name", "id"] |
| 22 | } |