60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Agent Detector Registry",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": ["schema_version", "detectors"],
|
|
"properties": {
|
|
"schema_version": {
|
|
"const": "agent_detector_registry_v1"
|
|
},
|
|
"updated_at": {
|
|
"type": "string"
|
|
},
|
|
"purpose": {
|
|
"type": "string"
|
|
},
|
|
"detectors": {
|
|
"type": "object",
|
|
"minProperties": 1,
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": ["kind", "automation_level", "description", "issue_codes", "inputs", "check"],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"automation_level": {
|
|
"type": "string",
|
|
"enum": ["automatic", "semi_automatic", "manual_review"]
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"issue_codes": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"inputs": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"check": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|