{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"type": "object",
	"properties": {
		"$schema": {
			"type": "string"
		},
		"name": {
			"type": "string"
		},
		"title": {
			"type": "string"
		},
		"type": {
			"type": "string",
			"enum": [
				"registry:file",
				"registry:page",
				"registry:ui",
				"registry:component",
				"registry:lib",
				"registry:hook",
				"registry:theme",
				"registry:style",
				"registry:block",
				"registry:example",
				"registry:internal"
			]
		},
		"author": {
			"type": "string",
			"minLength": 2
		},
		"description": {
			"type": "string"
		},
		"dependencies": {
			"type": "array",
			"items": {
				"type": "string"
			}
		},
		"devDependencies": {
			"type": "array",
			"items": {
				"type": "string"
			}
		},
		"registryDependencies": {
			"type": "array",
			"items": {
				"type": "string"
			}
		},
		"meta": {
			"type": "object",
			"propertyNames": {
				"type": "string"
			},
			"additionalProperties": {}
		},
		"docs": {
			"type": "string"
		},
		"categories": {
			"type": "array",
			"items": {
				"type": "string"
			}
		},
		"css": {
			"$ref": "#/$defs/__schema0"
		},
		"cssVars": {
			"type": "object",
			"properties": {
				"theme": {
					"type": "object",
					"propertyNames": {
						"type": "string"
					},
					"additionalProperties": {
						"type": "string"
					}
				},
				"light": {
					"type": "object",
					"propertyNames": {
						"type": "string"
					},
					"additionalProperties": {
						"type": "string"
					}
				},
				"dark": {
					"type": "object",
					"propertyNames": {
						"type": "string"
					},
					"additionalProperties": {
						"type": "string"
					}
				}
			},
			"additionalProperties": false
		},
		"files": {
			"default": [],
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"content": {
						"type": "string"
					},
					"type": {
						"type": "string",
						"enum": [
							"registry:file",
							"registry:page",
							"registry:ui",
							"registry:component",
							"registry:lib",
							"registry:hook",
							"registry:theme",
							"registry:style"
						]
					},
					"target": {
						"type": "string"
					}
				},
				"required": [
					"content",
					"type",
					"target"
				],
				"additionalProperties": false
			}
		}
	},
	"required": [
		"name",
		"type",
		"files"
	],
	"additionalProperties": false,
	"$defs": {
		"__schema0": {
			"type": "object",
			"propertyNames": {
				"type": "string"
			},
			"additionalProperties": {
				"anyOf": [
					{
						"type": "string"
					},
					{
						"$ref": "#/$defs/__schema0"
					}
				]
			}
		}
	}
}