{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Profile",
  "title": "Profile",
  "type": "object",
  "description": "A trading profile",
  "properties": {
    "id": {
      "type": "string",
      "description": "Profile identifier"
    },
    "user_id": {
      "type": "string",
      "description": "User identifier"
    },
    "name": {
      "type": "string",
      "description": "Profile name"
    },
    "active": {
      "type": "boolean",
      "description": "Whether the profile is active"
    },
    "is_default": {
      "type": "boolean",
      "description": "Whether this is the default profile"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the profile was created"
    }
  }
}