1
{2
"$schema": "https://json-schema.org/draft/2020-12/schema",3
"$id": "https://github.com/hovtgc/human-to-agents/raw/main/schema/mapping.schema.json",4
"title": "Axiom channel mapping",5
"type": "object",6
"required": ["workspace", "platform", "scope", "agent", "channels"],7
"additionalProperties": false,8
"properties": {9
"workspace": { "type": "string", "minLength": 1 },10
"platform": { "enum": ["slack", "discord"] },11
"scope": { "type": "string", "minLength": 1 },12
"agent": { "type": "string", "minLength": 1 },13
"collect_seconds": { "type": "integer", "minimum": 5, "maximum": 600 },14
"channels": {15
"type": "array",16
"minItems": 2,17
"items": {18
"type": "object",19
"required": ["id", "name", "role", "direction"],20
"additionalProperties": false,21
"properties": {22
"id": { "type": "string", "minLength": 1 },23
"name": { "type": "string" },24
"role": { "enum": ["management", "room", "reports"] },25
"direction": { "enum": ["in", "out", "both"] }26
}27
}28
}29
}30
}31