{
	"$ref": "#/definitions/SeedCollection",
	"$schema": "http://json-schema.org/draft-07/schema#",
	"definitions": {
		"CollectionAdminConfig": {
			"additionalProperties": false,
			"description": "Collection-level admin presentation options.",
			"properties": {
				"listColumns": {
					"description": "Custom field slugs to show in the content list.",
					"items": {
						"type": "string"
					},
					"type": "array"
				}
			},
			"type": "object"
		},
		"FieldType": {
			"description": "Supported field types",
			"enum": [
				"string",
				"text",
				"url",
				"number",
				"integer",
				"boolean",
				"datetime",
				"select",
				"multiSelect",
				"portableText",
				"image",
				"file",
				"reference",
				"json",
				"slug",
				"repeater"
			],
			"type": "string"
		},
		"SeedCollection": {
			"additionalProperties": false,
			"description": "Collection definition in seed",
			"properties": {
				"admin": {
					"$ref": "#/definitions/CollectionAdminConfig"
				},
				"commentsEnabled": {
					"description": "Enable comments on this collection",
					"type": "boolean"
				},
				"dateField": {
					"description": "Field slug (a datetime field) powering the admin list Date column (defaults to last-updated)",
					"type": "string"
				},
				"description": {
					"type": "string"
				},
				"fields": {
					"items": {
						"$ref": "#/definitions/SeedField"
					},
					"type": "array"
				},
				"hidden": {
					"description": "Omit this collection from the admin sidebar. It stays reachable through the API, MCP, plugin hooks, and direct `/content/:collection` URLs.",
					"type": "boolean"
				},
				"icon": {
					"type": "string"
				},
				"label": {
					"type": "string"
				},
				"labelSingular": {
					"type": "string"
				},
				"routable": {
					"description": "Require a slug before an entry can be published. Defaults to true.",
					"type": "boolean"
				},
				"slug": {
					"type": "string"
				},
				"sortOrder": {
					"description": "Explicit position in the admin sidebar (ascending). Collections without a `sortOrder` keep the alphabetical order and follow the ordered ones.",
					"type": "number"
				},
				"supports": {
					"items": {
						"enum": [
							"drafts",
							"revisions",
							"preview",
							"scheduling",
							"search",
							"seo"
						],
						"type": "string"
					},
					"type": "array"
				},
				"titleField": {
					"description": "Field slug powering the admin list Title column (defaults to title display)",
					"type": "string"
				},
				"urlPattern": {
					"type": "string"
				}
			},
			"required": [
				"slug",
				"label",
				"fields"
			],
			"type": "object"
		},
		"SeedField": {
			"additionalProperties": false,
			"description": "Field definition in seed",
			"properties": {
				"defaultValue": {},
				"indexed": {
					"type": "boolean"
				},
				"label": {
					"type": "string"
				},
				"options": {
					"additionalProperties": {},
					"type": "object"
				},
				"required": {
					"type": "boolean"
				},
				"searchable": {
					"type": "boolean"
				},
				"slug": {
					"type": "string"
				},
				"type": {
					"$ref": "#/definitions/FieldType"
				},
				"unique": {
					"type": "boolean"
				},
				"validation": {
					"additionalProperties": {},
					"type": "object"
				},
				"widget": {
					"type": "string"
				}
			},
			"required": [
				"slug",
				"label",
				"type"
			],
			"type": "object"
		}
	},
	"$id": "https://premium-cms.com/schemas/seed/collection.schema.json",
	"title": "SeedCollection"
}
