| 1 |
{ |
| 2 |
"id": "http://example.com/root.json", |
| 3 |
"definitions": { |
| 4 |
"A": { |
| 5 |
"id": "#foo", |
| 6 |
"type": "integer" |
| 7 |
}, |
| 8 |
"B": { |
| 9 |
"id": "other.json", |
| 10 |
"definitions": { |
| 11 |
"X": { |
| 12 |
"id": "#bar", |
| 13 |
"type": "boolean" |
| 14 |
}, |
| 15 |
"Y": { |
| 16 |
"$ref": "#/definitions/X" |
| 17 |
}, |
| 18 |
"W": { |
| 19 |
"$ref": "#/definitions/Y" |
| 20 |
}, |
| 21 |
"Z": { |
| 22 |
"$ref": "#bar" |
| 23 |
}, |
| 24 |
"N": { |
| 25 |
"properties": { |
| 26 |
"NX": { |
| 27 |
"$ref": "#/definitions/X" |
| 28 |
} |
| 29 |
} |
| 30 |
} |
| 31 |
} |
| 32 |
} |
| 33 |
}, |
| 34 |
"properties": { |
| 35 |
"PA1": { |
| 36 |
"$ref": "http://example.com/root.json#/definitions/A" |
| 37 |
}, |
| 38 |
"PA2": { |
| 39 |
"$ref": "#/definitions/A" |
| 40 |
}, |
| 41 |
"PA3": { |
| 42 |
"$ref": "#foo" |
| 43 |
}, |
| 44 |
"PX1": { |
| 45 |
"$ref": "#/definitions/B/definitions/X" |
| 46 |
}, |
| 47 |
"PX2Y": { |
| 48 |
"$ref": "#/definitions/B/definitions/Y" |
| 49 |
}, |
| 50 |
"PX3Z": { |
| 51 |
"$ref": "#/definitions/B/definitions/Z" |
| 52 |
}, |
| 53 |
"PX4": { |
| 54 |
"$ref": "http://example.com/other.json#/definitions/X" |
| 55 |
}, |
| 56 |
"PX5": { |
| 57 |
"$ref": "other.json#/definitions/X" |
| 58 |
}, |
| 59 |
"PX6": { |
| 60 |
"$ref": "other.json#bar" |
| 61 |
}, |
| 62 |
"PX7W": { |
| 63 |
"$ref": "#/definitions/B/definitions/W" |
| 64 |
}, |
| 65 |
"PX8N": { |
| 66 |
"$ref": "#/definitions/B/definitions/N" |
| 67 |
} |
| 68 |
} |
| 69 |
} |