export const rawValidationErrors = [
	{
		sanitized: true,
		title: 'Invalid script: <code>jquery.js</code>',
		error: {
			node_name: 'script',
			parent_name: 'head',
			code: 'DISALLOWED_TAG',
			type: 'js_error',
			node_attributes: {
				src: 'https://test.site/wp-includes/js/jquery/jquery.js?ver=__normalized__',
				id: 'jquery-core-js',
			},
			node_type: 1,
			sources: [],
		},
		status: 3,
		term_status: 3,
		forced: false,
		term_id: 12,
	},
	{
		sanitized: false,
		title: 'Invalid attribute: <code>bad-attr</code>',
		error: {
			code: 'DISALLOWED_ATTR',
			element_attributes: {
				'bad-attr': 'bad-attr',
			},
			node_name: 'bad-attr',
			parent_name: 'div',
			type: 'html_attribute_error',
			node_type: 2,
			sources: [
				{
					hook: 'the_content',
					filter: true,
					post_id: 1,
					post_type: 'post',
					sources: [],
				},
				{
					block_name: 'core/html',
					post_id: 1,
					block_content_index: 1,
				},
			],
		},
		status: 1,
		term_status: 1,
		forced: false,
		term_id: 27,
	},
	{
		sanitized: false,
		title: 'Invalid element: <code>&lt;bad-element&gt;</code>',
		error: {
			node_name: 'bad-element',
			parent_name: 'div',
			code: 'DISALLOWED_TAG',
			type: 'html_element_error',
			node_attributes: [],
			node_type: 1,
			sources: [
				{
					hook: 'the_content',
					filter: true,
					post_id: 1,
					post_type: 'post',
					sources: [],
				},
				{
					block_name: 'core/html',
					post_id: 1,
					block_content_index: 2,
				},
			],
		},
		status: 1,
		term_status: 1,
		forced: false,
		term_id: 28,
	},
	{
		sanitized: false,
		title: 'Invalid inline script',
		error: {
			node_name: 'script',
			parent_name: 'p',
			code: 'DISALLOWED_TAG',
			type: 'js_error',
			node_attributes: [],
			text: "alert('danger');",
			node_type: 1,
			sources: [
				{
					hook: 'the_content',
					filter: true,
					post_id: 1,
					post_type: 'post',
					sources: [],
				},
				{
					block_name: 'core/html',
					post_id: 1,
					block_content_index: 3,
				},
			],
		},
		status: 1,
		term_status: 1,
		forced: false,
		term_id: 29,
	},
	{
		sanitized: false,
		title: 'Invalid inline script',
		error: {
			node_name: 'script',
			parent_name: 'div',
			code: 'DISALLOWED_TAG',
			type: 'js_error',
			node_attributes: {
				class: 'wp-block-bad-blocks-script',
			},
			text: 'alert("hello")',
			node_type: 1,
			sources: [
				{
					hook: 'the_content',
					filter: true,
					post_id: 1,
					post_type: 'post',
					sources: [],
				},
				{
					block_name: 'bad-blocks/script',
					post_id: 1,
					block_content_index: 10,
				},
			],
		},
		status: 1,
		term_status: 1,
		forced: false,
		term_id: 33,
	},
	{
		sanitized: false,
		title: 'Invalid element: <code>&lt;unknown-element&gt;</code>',
		error: {
			node_name: 'unknown-element',
			parent_name: 'div',
			code: 'DISALLOWED_TAG',
			type: 'html_element_error',
			node_attributes: {
				class: 'wp-block-bad-blocks-unknown-element',
			},
			node_type: 1,
			sources: [
				{
					hook: 'the_content',
					filter: true,
					post_id: 1,
					post_type: 'post',
					sources: [],
				},
				{
					block_name: 'bad-blocks/unknown-element',
					post_id: 1,
					block_content_index: 11,
				},
			],
		},
		status: 1,
		term_status: 1,
		forced: false,
		term_id: 34,
	},
	{
		sanitized: false,
		title: 'Invalid inline script',
		error: {
			node_name: 'script',
			parent_name: 'body',
			code: 'DISALLOWED_TAG',
			type: 'js_error',
			node_attributes: [],
			text: "\n\t\t( function ( body ) {\n\t\t\t'use strict';\n\t\t\tbody.className = body.className.replace( /\\bTest-no-js\\b/, 'Test-js' );\n\t\t} )( document.body );\n\t\t",
			node_type: 1,
			sources: [
				{
					type: 'plugin',
					name: 'the-test-calendar',
					file: 'common/src/Test/Main.php',
					line: 401,
					function: 'Test__Main::toggle_js_class',
					hook: 'wp_footer',
					priority: 10,
				},
			],
		},
		status: 2,
		term_status: 2,
		forced: false,
		term_id: 10,
	},
	{
		sanitized: true,
		title: 'Invalid inline script',
		error: {
			node_name: 'script',
			parent_name: 'body',
			code: 'DISALLOWED_TAG',
			type: 'js_error',
			node_attributes: [],
			text: ' /* <![CDATA[ */var Test_l10n_datatables = {"aria":{"sort_ascending":": activate to sort column ascending","sort_descending":": activate to sort column descending"},"length_menu":"Show _MENU_ entries","empty_table":"No data available in table","info":"Showing _START_ to _END_ of _TOTAL_ entries","info_empty":"Showing 0 to 0 of 0 entries","info_filtered":"(filtered from _MAX_ total entries)","zero_records":"No matching records found","search":"Search:","all_selected_text":"All items on this page were selected. ","select_all_link":"Select all pages","clear_selection":"Clear Selection.","pagination":{"all":"All","next":"Next","previous":"Previous"},"select":{"rows":{"0":"","_":": Selected %d rows","1":": Selected 1 row"}},"datepicker":{"dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesMin":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Prev","currentText":"Today","closeText":"Done","today":"Today","clear":"Clear"}};/* ]]> */ ',
			node_type: 1,
			sources: [
				{
					type: 'plugin',
					name: 'the-test-calendar',
					file: 'common/src/Test/Asset/Data.php',
					line: 54,
					function: 'Test__Asset__Data::render_json',
					hook: 'wp_footer',
					priority: 10,
				},
			],
		},
		status: 3,
		term_status: 3,
		forced: false,
		term_id: 11,
	},
];
