fixtures/more_circulars/remote/tree
raw| 1 | { |
| 2 | "id": "http://localhost:1234/tree", |
| 3 | "type": "object", |
| 4 | "required": ["meta", "nodes"], |
| 5 | "properties": { |
| 6 | "meta": {"type": "string"}, |
| 7 | "nodes": { |
| 8 | "type": "array", |
| 9 | "items": {"$ref": "node"} |
| 10 | } |
| 11 | }, |
| 12 | "definitions": { |
| 13 | "node": { |
| 14 | "id": "http://localhost:1234/node", |
| 15 | "type": "object", |
| 16 | "required": ["value"], |
| 17 | "properties": { |
| 18 | "value": {"type": "number"}, |
| 19 | "subtree": {"$ref": "tree"} |
| 20 | } |
| 21 | } |
| 22 | } |
| 23 | } |