[
	{
		"description": "invalid type for default",
		"schema": {
			"properties": {
				"foo": {
					"type": "integer",
					"default": []
				}
			}
		},
		"skip": {
			"v3-roundtrip": "generation only supported in version https://json-schema.org/draft/2020-12/schema"
		},
		"tests": [
			{
				"description": "valid when property is specified",
				"data": {
					"foo": 13
				},
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "still valid when the invalid default is used",
				"data": {},
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			}
		]
	},
	{
		"description": "invalid string value for default",
		"schema": {
			"properties": {
				"bar": {
					"type": "string",
					"minLength": 4,
					"default": "bad"
				}
			}
		},
		"skip": {
			"v3-roundtrip": "generation only supported in version https://json-schema.org/draft/2020-12/schema"
		},
		"tests": [
			{
				"description": "valid when property is specified",
				"data": {
					"bar": "good"
				},
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "still valid when the invalid default is used",
				"data": {},
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			}
		]
	},
	{
		"description": "the default keyword does not do anything if the property is missing",
		"schema": {
			"type": "object",
			"properties": {
				"alpha": {
					"type": "number",
					"maximum": 3,
					"default": 5
				}
			}
		},
		"skip": {
			"v3-roundtrip": "generation only supported in version https://json-schema.org/draft/2020-12/schema"
		},
		"tests": [
			{
				"description": "an explicit property value is checked against maximum (passing)",
				"data": {
					"alpha": 1
				},
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "an explicit property value is checked against maximum (failing)",
				"data": {
					"alpha": 5
				},
				"valid": false,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "missing properties are not filled in with the default",
				"data": {},
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			}
		]
	}
]
