[
	{
		"description": "maxItems validation",
		"schema": {
			"$schema": "https://json-schema.org/draft/2019-09/schema",
			"maxItems": 2
		},
		"skip": {
			"v3-roundtrip": "generation only supported in version https://json-schema.org/draft/2020-12/schema"
		},
		"tests": [
			{
				"description": "shorter is valid",
				"data": [
					1
				],
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "exact length is valid",
				"data": [
					1,
					2
				],
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "too long is invalid",
				"data": [
					1,
					2,
					3
				],
				"valid": false,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "ignores non-arrays",
				"data": "foobar",
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			}
		]
	},
	{
		"description": "maxItems validation with a decimal",
		"schema": {
			"$schema": "https://json-schema.org/draft/2019-09/schema",
			"maxItems": 2.0
		},
		"skip": {
			"v3-roundtrip": "generation only supported in version https://json-schema.org/draft/2020-12/schema"
		},
		"tests": [
			{
				"description": "shorter is valid",
				"data": [
					1
				],
				"valid": true,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			},
			{
				"description": "too long is invalid",
				"data": [
					1,
					2,
					3
				],
				"valid": false,
				"skip": {
					"v3-roundtrip": "could not extract schema"
				}
			}
		]
	}
]
