45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "Crabpot fixture manifest",
|
|
"type": "object",
|
|
"required": ["version", "submoduleRoot", "fixtures"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"version": { "type": "integer", "minimum": 1 },
|
|
"submoduleRoot": { "type": "string", "pattern": "^[^/].*" },
|
|
"openclaw": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"minimumNode": { "type": "string" },
|
|
"defaultCheckoutPath": { "type": "string" }
|
|
}
|
|
},
|
|
"fixtures": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["id", "name", "repo", "path", "priority", "seams", "why"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$" },
|
|
"name": { "type": "string", "minLength": 1 },
|
|
"repo": { "type": "string", "pattern": "^https://github.com/.+\\.git$" },
|
|
"path": { "type": "string", "pattern": "^plugins/[a-z0-9][a-z0-9-]*$" },
|
|
"subdir": { "type": "string", "minLength": 1 },
|
|
"priority": { "enum": ["high", "medium", "low"] },
|
|
"seams": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$" },
|
|
"uniqueItems": true
|
|
},
|
|
"why": { "type": "string", "minLength": 1 }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|