{
  "$id": "user.param.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "User request parameters",
  "type": "object",
  "required": ["id"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the user",
      "example": "usr_abc123"
    },
    "name": {
      "type": "string",
      "description": "Display name of the user",
      "example": "Jane Smith"
    },
    "age": {
      "type": "integer",
      "description": "Age of the user in years",
      "example": 29,
      "minimum": 0,
      "maximum": 150
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address for the account",
      "example": "jane.smith@example.com"
    },
    "options": {
      "type": "string",
      "description": "Display options",
      "example": "full",
      "enum": ["guest", "full", "minimal"]
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the account is active",
      "example": true
    }
  },
  "additionalProperties": false
}
