{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swopme-co/json-schema/swopme-co-get-lookup-response-schema.json",
  "title": "GetLookupResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/swopme-co-openapi-generated.yml#/components/schemas/GetLookupResponse",
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "description": "success"
    },
    "data": {
      "type": "object",
      "description": "Identity object"
    },
    "data.handle": {
      "type": "string",
      "description": "The full swop.id, for example maya.swop.id"
    },
    "data.name": {
      "type": "string",
      "description": "Display name"
    },
    "data.avatar": {
      "type": "string",
      "description": "Avatar image URL"
    },
    "data.primary": {
      "type": "boolean",
      "description": "true if this is the account's primary swop.id"
    },
    "data.evmAddress": {
      "type": "string",
      "description": "The EVM address"
    },
    "data.solanaAddress": {
      "type": "string",
      "description": "The Solana address"
    }
  }
}