{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "create-pkgbld extension registry", "description": "Registry file describing extensions available to create-pkgbld.", "type": "object", "required": ["extensions"], "additionalProperties": false, "properties": { "$schema": { "type": "string", "description": "Optional schema reference." }, "extensions": { "type": "array", "description": "List of extensions exposed by this registry.", "items": { "$ref": "#/definitions/extensionEntry" } } }, "definitions": { "extensionEntry": { "type": "object", "required": ["name", "package", "description"], "additionalProperties": false, "properties": { "name": { "type": "string", "minLength": 1, "description": "Unique extension name as referenced from CLI (e.g. `create-pkgbld add `)." }, "package": { "type": "string", "minLength": 1, "pattern": "^(?:@[a-z0-9][a-z0-9._~-]*/)?(?:create-pkgbld-extension-|pkgbld-plugin-)[a-z0-9][a-z0-9._~-]*(?:/extension)?$", "description": "Canonical create-pkgbld extension package or PKG BLD plugin, optionally with /extension." }, "version": { "type": "string", "minLength": 1, "description": "Version range installed in the shared extension cache. Defaults to latest." }, "description": { "type": "string", "description": "Short human description shown in the list / TUI." }, "tags": { "type": "array", "description": "Optional tags for grouping/filtering.", "items": { "type": "string", "minLength": 1 } } } } } }