{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"type": "object",
	"properties": {
		"$schema": {
			"type": "string"
		},
		"name": {
			"type": "string"
		},
		"homepage": {
			"type": "string"
		},
		"overrideDependencies": {
			"type": "array",
			"items": {
				"type": "string"
			}
		},
		"aliases": {
			"type": "object",
			"properties": {
				"lib": {
					"type": "string"
				},
				"ui": {
					"type": "string"
				},
				"components": {
					"type": "string"
				},
				"utils": {
					"type": "string"
				},
				"hooks": {
					"type": "string"
				}
			},
			"additionalProperties": false
		},
		"items": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"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": {}
					},
					"files": {
						"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"
								},
								"path": {
									"type": "string"
								}
							},
							"required": [
								"type",
								"path"
							],
							"additionalProperties": false
						}
					},
					"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
					},
					"css": {
						"$ref": "#/$defs/__schema0"
					}
				},
				"required": [
					"name",
					"type",
					"registryDependencies",
					"files"
				],
				"additionalProperties": false
			}
		}
	},
	"required": [
		"name",
		"homepage",
		"items"
	],
	"additionalProperties": false,
	"$defs": {
		"__schema0": {
			"type": "object",
			"propertyNames": {
				"type": "string"
			},
			"additionalProperties": {
				"anyOf": [
					{
						"type": "string"
					},
					{
						"$ref": "#/$defs/__schema0"
					}
				]
			}
		}
	}
}