| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://local.invalid/schemas/agent_analysis_handoff_sources.schema.json",
- "title": "CPLD agent analysis source configuration",
- "type": "object",
- "additionalProperties": false,
- "required": [
- "schema",
- "max_zip_bytes",
- "target_zip_bytes",
- "external_sources",
- "extra_exclusions"
- ],
- "properties": {
- "schema": {
- "const": "cpld-agent-analysis-sources-v1"
- },
- "max_zip_bytes": {
- "type": "integer",
- "minimum": 1
- },
- "target_zip_bytes": {
- "type": "integer",
- "minimum": 1
- },
- "external_sources": {
- "type": "array",
- "items": {
- "$ref": "#/$defs/source"
- }
- },
- "extra_exclusions": {
- "type": "array",
- "items": {
- "$ref": "#/$defs/exclusion"
- }
- }
- },
- "$defs": {
- "source": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "id",
- "category",
- "kind",
- "path_candidates",
- "archive_policy"
- ],
- "properties": {
- "id": {
- "type": "string",
- "pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
- },
- "category": {
- "type": "string",
- "minLength": 1
- },
- "kind": {
- "enum": [
- "directory",
- "file",
- "git_worktree"
- ]
- },
- "path_candidates": {
- "type": "array",
- "minItems": 1,
- "items": {
- "type": "string",
- "minLength": 1
- }
- },
- "archive_policy": {
- "enum": [
- "inspect",
- "copy"
- ]
- }
- }
- },
- "exclusion": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "path",
- "reason"
- ],
- "properties": {
- "path": {
- "type": "string",
- "minLength": 1
- },
- "reason": {
- "type": "string",
- "minLength": 1
- }
- }
- }
- }
- }
|