{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "user-config.schema.json",
  "title": "AIOX User Configuration (L5)",
  "description": "Cross-project user preferences stored in ~/.aiox/user-config.yaml",
  "type": "object",
  "required": ["user_profile"],
  "properties": {
    "user_profile": {
      "type": "string",
      "enum": ["bob", "advanced"],
      "description": "User interface mode"
    },
    "default_model": {
      "type": "string",
      "description": "Default AI model for agent operations"
    },
    "default_language": {
      "type": "string",
      "description": "Default language for agent responses"
    },
    "educational_mode": {
      "type": "boolean",
      "description": "Enable detailed explanations of actions"
    },
    "coderabbit_integration": {
      "type": "boolean",
      "description": "Enable CodeRabbit automated review"
    }
  },
  "additionalProperties": true
}
