<commit_before>{
	"$schema": "http://json-schema.org/draft-06/schema#",
	"type": "object",
	"properties": {
		"label": { "type": "string" },
		"name": { "type": "string" },
		"version": { "type" : "integer", "default": 1 },
		"info": { "type": "string" },
		"fields": { "$ref": "#/definitions/field" }
	},
	"required": ["name", "label", "version"],
	"definitions": {
		"field": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"name": { "type": "string" },
					"label": { "type": "string" },
					"info": { "type": "string" },
					"placeholder": { "type": "string" },
					"validation": {
						"type": "array",
						"items": { "type": "string" }
					}
				},
				"required": ["type", "name", "label"],
				"oneOf": [
					{
						"properties": {
							"type": { "enum": ["text", "textarea", "richtext", "link"] },
							"default": { "type": "string" }
						}
					},
					{
						"properties": {
							"type": {
								"enum": [
									"collection", "checkbox", "multiselect", "nested"
								]
							},
							"default": { "type": "array" }
						}
					},
					{
						"properties": {
							"type": { "enum": ["switch"] },
							"default": { "type": "boolean" }
						}
					},
					{
						"properties": {
							"type": { "enum": ["image", "file"] },
							"default": { "type": "object" }
						}
					},
					{
						"properties": {
							"type": {
								"enum": [
									"select", "radio", "buttongroup", "number",
									"slider", "date", "time", "datetime", "group"
								]
							},
							"default": {}
						}
					}
				]
			}
		}
	}
}<commit_msg>Add the header and paragraph field types ("display fields") to our validation script, along with making "label" optional for those fields.<commit_after>{
	"$schema": "http://json-schema.org/draft-06/schema#",
	"type": "object",
	"properties": {
		"label": { "type": "string" },
		"name": { "type": "string" },
		"version": { "type" : "integer", "default": 1 },
		"info": { "type": "string" },
		"fields": { "$ref": "#/definitions/field" }
	},
	"required": ["name", "label", "version"],
	"definitions": {
		"field": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"name": { "type": "string" },
					"label": { "type": "string" },
					"info": { "type": "string" },
					"placeholder": { "type": "string" },
					"validation": {
						"type": "array",
						"items": { "type": "string" }
					}
				},
				"anyOf": [
					{
						"properties": {
							"type": { "enum": ["header", "paragraph"] }
						},
						"required": ["type", "name"]
					},
					{
						"required": ["type", "name", "label"]
					}
				],
				"oneOf": [
					{
						"properties": {
							"type": { "enum": ["text", "textarea", "richtext", "link"] },
							"default": { "type": "string" }
						}
					},
					{
						"properties": {
							"type": {
								"enum": [
									"collection", "checkbox", "multiselect", "nested"
								]
							},
							"default": { "type": "array" }
						}
					},
					{
						"properties": {
							"type": { "enum": ["switch"] },
							"default": { "type": "boolean" }
						}
					},
					{
						"properties": {
							"type": { "enum": ["image", "file"] },
							"default": { "type": "object" }
						}
					},
					{
						"properties": {
							"type": {
								"enum": [
									"select", "radio", "buttongroup", "number",
									"slider", "date", "time", "datetime", "group",
									"header", "paragraph"
								]
							},
							"default": {}
						}
					}
				]
			}
		}
	}
}
{'fraction_non_alphanumeric': 0.2511223344556678, 'fraction_numerical': 0.0016835016835016834, 'mean_word_length': 1.9932829554995801, 'pattern_counts': {'":': 121, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4325580', 'n_tokens_mistral': 1843, 'n_tokens_neox': 1224, 'n_words': 243}