[
	{
		"description": "boolean schema 'true'",
		"schema": true,
		"tests": [
			{
				"description": "number is valid",
				"data": 1,
				"valid": true
			},
			{
				"description": "string is valid",
				"data": "foo",
				"valid": true
			},
			{
				"description": "boolean true is valid",
				"data": true,
				"valid": true
			},
			{
				"description": "boolean false is valid",
				"data": false,
				"valid": true
			},
			{
				"description": "null is valid",
				"data": null,
				"valid": true
			},
			{
				"description": "object is valid",
				"data": {
					"foo": "bar"
				},
				"valid": true
			},
			{
				"description": "empty object is valid",
				"data": {},
				"valid": true
			},
			{
				"description": "array is valid",
				"data": [
					"foo"
				],
				"valid": true
			},
			{
				"description": "empty array is valid",
				"data": [],
				"valid": true
			}
		]
	},
	{
		"description": "boolean schema 'false'",
		"schema": false,
		"skip": {
			"v2": "extract error: cannot compile resulting schema: explicit error (_|_ literal) in source:\n    generated.cue:2:1\n",
			"v3": "extract error: cannot compile resulting schema: explicit error (_|_ literal) in source:\n    generated.cue:2:1\n"
		},
		"tests": [
			{
				"description": "number is invalid",
				"data": 1,
				"valid": false,
				"skip": {
					"v2": "could not compile schema",
					"v3": "could not compile schema"
				}
			},
			{
				"description": "string is invalid",
				"data": "foo",
				"valid": false,
				"skip": {
					"v2": "could not compile schema",
					"v3": "could not compile schema"
				}
			},
			{
				"description": "boolean true is invalid",
				"data": true,
				"valid": false,
				"skip": {
					"v2": "could not compile schema",
					"v3": "could not compile schema"
				}
			},
			{
				"description": "boolean false is invalid",
				"data": false,
				"valid": false,
				"skip": {
					"v2": "could not compile schema",
					"v3": "could not compile schema"
				}
			},
			{
				"description": "null is invalid",
				"data": null,
				"valid": false,
				"skip": {
					"v2": "could not compile schema",
					"v3": "could not compile schema"
				}
			},
			{
				"description": "object is invalid",
				"data": {
					"foo": "bar"
				},
				"valid": false,
				"skip": {
					"v2": "could not compile schema",
					"v3": "could not compile schema"
				}
			},
			{
				"description": "empty object is invalid",
				"data": {},
				"valid": false,
				"skip": {
					"v2": "could not compile schema",
					"v3": "could not compile schema"
				}
			},
			{
				"description": "array is invalid",
				"data": [
					"foo"
				],
				"valid": false,
				"skip": {
					"v2": "could not compile schema",
					"v3": "could not compile schema"
				}
			},
			{
				"description": "empty array is invalid",
				"data": [],
				"valid": false,
				"skip": {
					"v2": "could not compile schema",
					"v3": "could not compile schema"
				}
			}
		]
	}
]
