| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "$id": "http://example.com/referencedproduct.schema.json", |
| 4 | "title": "Order", |
| 5 | "description": "Order", |
| 6 | "type": "object", |
| 7 | "properties": { |
| 8 | "order_details": { |
| 9 | "description": "Order Details", |
| 10 | "$ref": "http://example.com/order_details.schema.json" |
| 11 | }, |
| 12 | "order_date": { |
| 13 | "description": "Order Date", |
| 14 | "type": "string", |
| 15 | "format": "date-time" |
| 16 | }, |
| 17 | "product": { |
| 18 | "description": "Product", |
| 19 | "$ref": "http://example.com/product.schema.json" |
| 20 | } |
| 21 | }, |
| 22 | "required": [ |
| 23 | "order_details", "product"] |
| 24 | } |