{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://claude-context.dev/schemas/team-config.schema.json",
  "title": "Claude Context Team Configuration",
  "description": "Schema for team/config.json",
  "type": "object",
  "required": ["version"],
  "properties": {
    "$schema": {
      "type": "string",
      "description": "JSON Schema reference"
    },
    "version": {
      "type": "string",
      "pattern": "^\\d+\\.\\d+\\.\\d+$"
    },
    "team": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "description": { "type": "string" }
      }
    },
    "collaboration": {
      "type": "object",
      "properties": {
        "enabled": { "type": "boolean", "default": true },
        "handoff_required": { "type": "boolean", "default": true },
        "knowledge_sharing": { "type": "boolean", "default": true }
      }
    },
    "notifications": {
      "type": "object",
      "properties": {
        "on_session_end": { "type": "boolean", "default": true },
        "on_gotcha_found": { "type": "boolean", "default": true },
        "on_decision_made": { "type": "boolean", "default": true }
      }
    }
  },
  "additionalProperties": true
}
