{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://dev.xuqinmin.com/schema/xuqm.modules.schema.json", "title": "Xuqm RN 模块配置", "type": "object", "additionalProperties": false, "required": [ "schemaVersion", "appId", "packageName", "mainModuleName", "pluginVersion", "appVersionRange", "modules" ], "properties": { "$schema": { "type": "string" }, "schemaVersion": { "const": 3 }, "appId": { "type": "string", "minLength": 1 }, "packageName": { "type": "string", "minLength": 1 }, "iosBundleId": { "type": "string", "minLength": 1 }, "mainModuleName": { "type": "string", "minLength": 1 }, "pluginVersion": { "type": "string" }, "appVersionRange": { "type": "string" }, "manifestVersion": { "type": "integer", "minimum": 1 }, "outputDir": { "type": "string" }, "metroConfig": { "type": "string" }, "entryGeneration": { "type": "object", "additionalProperties": false, "required": ["appComponent", "startupRegistry", "startupShell", "debugPluginLoader"], "properties": { "appComponent": { "type": "string" }, "startupRegistry": { "type": "string" }, "startupShell": { "type": "string" }, "debugPluginLoader": { "type": "string" }, "commonBootstrap": { "type": "string" }, "appJson": { "type": "string" } } }, "embeddedOutput": { "type": "object", "additionalProperties": false, "properties": { "android": { "type": "string" }, "ios": { "type": "string" } } }, "modules": { "type": "array", "minItems": 1, "items": { "type": "object", "required": ["id", "type", "entry"], "properties": { "id": { "type": "string", "pattern": "^[a-z][a-z0-9-]*$" }, "type": { "enum": ["startup", "common", "app", "buz"] }, "entry": { "type": "string" }, "moduleVersion": { "type": "string" }, "appVersionRange": { "type": "string" }, "commonVersionRange": { "type": "string" }, "minNativeApiLevel": { "type": "integer", "minimum": 1 }, "metroConfig": { "type": "string" }, "ownershipRoots": { "type": "array", "minItems": 1, "items": { "type": "string" } }, "sourceMap": { "type": "boolean" }, "title": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "accentColor": { "type": "string" }, "uniqueId": { "type": "string" }, "link": { "type": "string" } }, "additionalProperties": true } }, "release": { "type": "object" } } }