github.com/alecthomas/jsonschema@v0.0.0-20220216202328-9eeeec9d044b/fixtures/yaml_inline.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "$ref": "#/definitions/TestYamlInline", 4 "definitions": { 5 "Inner": { 6 "required": ["foo"], 7 "properties": { 8 "foo": { 9 "type": "string" 10 } 11 }, 12 "additionalProperties": false, 13 "type": "object" 14 }, 15 "TestYamlInline": { 16 "required": [ 17 "Inlined" 18 ], 19 "properties": { 20 "Inlined": { 21 "$schema": "http://json-schema.org/draft-04/schema#", 22 "$ref": "#/definitions/Inner" 23 } 24 }, 25 "additionalProperties": false, 26 "type": "object" 27 } 28 } 29 }