[
	{
		"description": "reference of a root arbitrary keyword ",
		"schema": {
			"$schema": "https://json-schema.org/draft/2019-09/schema",
			"unknown-keyword": {
				"type": "integer"
			},
			"properties": {
				"bar": {
					"$ref": "#/unknown-keyword"
				}
			}
		},
		"skip": {
			"v3-roundtrip": "generation only supported in version https://json-schema.org/draft/2020-12/schema"
		},
		"tests": [
			{
				"description": "match",
				"data": {
					"bar": 3
				},
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "mismatch",
				"data": {
					"bar": true
				},
				"valid": false,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			}
		]
	},
	{
		"description": "reference of an arbitrary keyword of a sub-schema",
		"schema": {
			"$schema": "https://json-schema.org/draft/2019-09/schema",
			"properties": {
				"foo": {
					"unknown-keyword": {
						"type": "integer"
					}
				},
				"bar": {
					"$ref": "#/properties/foo/unknown-keyword"
				}
			}
		},
		"skip": {
			"v3-roundtrip": "generation only supported in version https://json-schema.org/draft/2020-12/schema"
		},
		"tests": [
			{
				"description": "match",
				"data": {
					"bar": 3
				},
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "mismatch",
				"data": {
					"bar": true
				},
				"valid": false,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			}
		]
	},
	{
		"description": "reference internals of known non-applicator",
		"schema": {
			"$schema": "https://json-schema.org/draft/2019-09/schema",
			"$id": "/base",
			"examples": [
				{
					"type": "string"
				}
			],
			"$ref": "#/examples/0"
		},
		"skip": {
			"v3-roundtrip": "generation only supported in version https://json-schema.org/draft/2020-12/schema"
		},
		"tests": [
			{
				"description": "match",
				"data": "a string",
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "mismatch",
				"data": 42,
				"valid": false,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			}
		]
	}
]
