1[ 2 { 3 "description": "evaluating the same schema location against the same data location twice is not a sign of an infinite loop", 4 "schema": { 5 "definitions": { 6 "int": { "type": "integer" } 7 }, 8 "allOf": [ 9 { 10 "properties": { 11 "foo": { 12 "$ref": "#/definitions/int" 13 } 14 } 15 }, 16 { 17 "additionalProperties": { 18 "$ref": "#/definitions/int" 19 } 20 } 21 ] 22 }, 23 "tests": [ 24 { 25 "description": "passing case", 26 "data": { "foo": 1 }, 27 "valid": true 28 }, 29 { 30 "description": "failing case", 31 "data": { "foo": "a string" }, 32 "valid": false 33 } 34 ] 35 } 36] 37