{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/traydstar-com/json-schema/traydstar-com-me-schema.json",
  "title": "Me",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/traydstar-com-openapi.json#/components/schemas/Me",
  "type": "object",
  "properties": {
    "user": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "display_name": {
          "type": "string"
        },
        "rating_avg": {
          "type": "number"
        },
        "trayd_count": {
          "type": "number"
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "state_region": {
          "type": [
            "string",
            "null"
          ]
        },
        "categories": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      }
    },
    "agent": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "key_id": {
          "type": "string",
          "format": "uuid"
        },
        "scopes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}