3 "description": "root pointer ref",
8 "additionalProperties": false
12 "description": "match",
13 "data": {"foo": false},
17 "description": "recursive match",
18 "data": {"foo": {"foo": false}},
22 "description": "mismatch",
23 "data": {"bar": false},
27 "description": "recursive mismatch",
28 "data": {"foo": {"bar": false}},
34 "description": "relative pointer ref to object",
37 "foo": {"type": "integer"},
38 "bar": {"$ref": "#/properties/foo"}
43 "description": "match",
48 "description": "mismatch",
49 "data": {"bar": true},
55 "description": "relative pointer ref to array",
64 "description": "match array",
69 "description": "mismatch array",
76 "description": "escaped pointer ref",
78 "tilda~field": {"type": "integer"},
79 "slash/field": {"type": "integer"},
80 "percent%field": {"type": "integer"},
82 "tilda": {"$ref": "#/tilda~0field"},
83 "slash": {"$ref": "#/slash~1field"},
84 "percent": {"$ref": "#/percent%25field"}
89 "description": "slash",
90 "data": {"slash": "aoeu"},
94 "description": "tilda",
95 "data": {"tilda": "aoeu"},
99 "description": "percent",
100 "data": {"percent": "aoeu"},
106 "description": "nested refs",
109 "a": {"type": "integer"},
110 "b": {"$ref": "#/definitions/a"},
111 "c": {"$ref": "#/definitions/b"}
113 "$ref": "#/definitions/c"
117 "description": "nested ref valid",
122 "description": "nested ref invalid",
129 "description": "remote ref, containing refs itself",
130 "schema": {"$ref": "http://json-schema.org/draft-04/schema#"},
133 "description": "remote ref valid",
134 "data": {"minLength": 1},
138 "description": "remote ref invalid",
139 "data": {"minLength": -1},
145 "description": "circular refs",
150 "more": {"$ref": "#/definitions/a"}
155 "prop": {"$ref": "#/definitions/a"}