46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://docforge.local/schema/adapter-launcher-v1.json",
|
|
"title": "DocForge project-owned adapter launcher",
|
|
"type": "object",
|
|
"required": [
|
|
"schema_version",
|
|
"entry_point",
|
|
"project_id",
|
|
"project_root",
|
|
"adapter",
|
|
"descriptor_hash",
|
|
"module"
|
|
],
|
|
"properties": {
|
|
"schema_version": { "const": 1 },
|
|
"entry_point": { "const": "python-module" },
|
|
"project_id": {
|
|
"type": "string",
|
|
"pattern": "^[a-z0-9][a-z0-9._-]{1,127}$"
|
|
},
|
|
"project_root": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 4096
|
|
},
|
|
"adapter": {
|
|
"type": "string",
|
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}@[A-Za-z0-9][A-Za-z0-9_.+-]{0,63}$"
|
|
},
|
|
"descriptor_hash": {
|
|
"type": "string",
|
|
"pattern": "^[0-9a-f]{64}$"
|
|
},
|
|
"module": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 255,
|
|
"anyOf": [
|
|
{ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" },
|
|
{ "const": "docforge.reference_mcp" }
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|