<commit_before>{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "Product Schema",
	"description": "The Product Archetype - Essential properties that define a product",
	"type": "object",
	"additionalProperties": false,
	"required": ["title", "price", "seller"],
	"properties": {
		"title": {
			"type": "string",
			"description": "The name of the product",
			"maxLength": 140,
			"default": ""
		},
		"price": {
			"type": "integer",
			"description": "Product price in cents as an integer (whole number)",
			"minimum": 0,
			"maximum": 999999999999999,
			"default": 0
		},
		"seller": {
			"type": "string",
			"description": "The person or organization selling the product",
			"maxLength": 70,
			"default": ""
		},
		"category": {
			"type": "string",
			"description": "General category of the product, e.g. Clothing",
			"maxLength": 40,
			"default": ""
		},
		"subcategory": {
			"type": "string",
			"description": "Specific category of the product, e.g. Jeans",
			"maxLength": 40,
			"default": ""
		},
		"condition": {
			"enum": ["new", "refurbished", "used - like new", "used - very good", "used - good", "used - acceptable"],
			"description": "Condition of the product, e.g. New",
			"default": "new"
		},
		"description": {
			"type": "string",
			"description": "Description of the product",
			"maxLength": 5000,
			"default": ""
		},
		"images": {
			"type": "array",
			"description": "Product images with consistent resolutions",
			"uniqueItems": true,
			"additionalItems": false,
			"default": [],
			"maxItems": 15,
			"items": {
				"type": "object",
				"additionalProperties": false,
				"properties": {
					"original": {
						"type": "string",
						"description": "URL (as per RFC 3986) to a picture in JPEG or PNG format at the original resolution it had when it was uploaded",
						"default": ""
					},
					"large": {
						"type": "string",
						"description": "URL (as per RFC 3986) to a picture in JPEG or PNG format at large resolution (640px x 640px)",
						"default": ""
					},
					"medium": {
						"type": "string",
						"description": "URL (as per RFC 3986) to a picture in JPEG or PNG format at medium resolution (240px x 240px)",
						"default": ""
					},
					"small": {
						"type": "string",
						"description": "URL (as per RFC 3986) to a picture in JPEG or PNG format at large resolution (64px x 64px)",
						"default": ""
					}
				}
			}
		},
		"variations": {
			"type": "array",
			"description": "Variations of this product that can be ordered for the same price, e.g. Color.",
			"uniqueItems": true,
			"additionalItems": false,
			"maxItems": 15,
			"default": [],
			"items": {
				"type": "object",
				"additionalProperties": false,
				"required": ["variation_title", "variation_in_stock"],
				"properties": {
					"variation_title": {
						"type": "string",<commit_msg>Added missing validation rules to Product images<commit_after>{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "Product Schema",
	"description": "The Product Archetype - Essential properties that define a product",
	"type": "object",
	"additionalProperties": false,
	"required": ["title", "price", "seller"],
	"properties": {
		"title": {
			"type": "string",
			"description": "The name of the product",
			"maxLength": 140,
			"default": ""
		},
		"price": {
			"type": "integer",
			"description": "Product price in cents as an integer (whole number)",
			"minimum": 0,
			"maximum": 999999999999999,
			"default": 0
		},
		"seller": {
			"type": "string",
			"description": "The person or organization selling the product",
			"maxLength": 70,
			"default": ""
		},
		"category": {
			"type": "string",
			"description": "General category of the product, e.g. Clothing",
			"maxLength": 40,
			"default": ""
		},
		"subcategory": {
			"type": "string",
			"description": "Specific category of the product, e.g. Jeans",
			"maxLength": 40,
			"default": ""
		},
		"condition": {
			"enum": ["new", "refurbished", "used - like new", "used - very good", "used - good", "used - acceptable"],
			"description": "Condition of the product, e.g. New",
			"default": "new"
		},
		"description": {
			"type": "string",
			"description": "Description of the product",
			"maxLength": 5000,
			"default": ""
		},
		"images": {
			"type": "array",
			"description": "Product images with consistent resolutions",
			"uniqueItems": true,
			"additionalItems": false,
			"default": [],
			"maxItems": 15,
			"items": {
				"type": "object",
				"additionalProperties": false,
				"properties": {
					"image_original": {
						"type": "string",
						"description": "URL (as per RFC 3986) to a picture in JPEG or PNG format at the original resolution it had when it was uploaded",
						"default": "",
						"format": "uri",
						"maxLength": 500
					},
					"image_large": {
						"type": "string",
						"description": "URL (as per RFC 3986) to a picture in JPEG or PNG format at large resolution (640px x 640px)",
						"default": "",
						"format": "uri",
						"maxLength": 500
					},
					"image_medium": {
						"type": "string",
						"description": "URL (as per RFC 3986) to a picture in JPEG or PNG format at medium resolution (240px x 240px)",
						"default": "",
						"format": "uri",
						"maxLength": 500
					},
					"image_small": {
						"type": "string",
						"description": "URL (as per RFC 3986) to a picture in JPEG or PNG format at large resolution (64px x 64px)",
						"default": "",
						"format": "uri",
						"maxLength": 500
					}
				}
			}
		},
		"variations": {
			"type": "array",
			"description": "Variations of this product that can be ordered for the same price, e.g. Color.",
			"uniqueItems": true,
			"additionalItems": false,
			"maxItems": 15,
			"default": [],
			"items": {
				"type": "object",
				"additionalProperties": false,
				"required": ["variation_title", "variation_in_stock"],
				"properties": {
					"variation_title": {
						"type": "string",
{'fraction_non_alphanumeric': 0.17966271497745867, 'fraction_numerical': 0.024711971948572383, 'mean_word_length': 3.1568355308813323, 'pattern_counts': {'":': 174, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '127463', 'n_tokens_mistral': 2549, 'n_tokens_neox': 1888, 'n_words': 603}