{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/offlineprotocol-com/json-schema/offlineprotocol-com-get-profiles-username-response-schema.json",
  "title": "GetProfilesUsernameResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/offlineprotocol-com-openapi-generated.yml#/components/schemas/GetProfilesUsernameResponse",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Message string"
    },
    "data": {
      "type": "object",
      "description": "Contains profile and address"
    },
    "data.profile": {
      "type": "object",
      "description": "Profile object"
    },
    "data.profile.username": {
      "type": "string"
    },
    "data.profile.userId": {
      "type": "integer"
    },
    "data.profile.hidden": {
      "type": "boolean"
    },
    "data.profile.status": {
      "type": "string"
    },
    "data.profile.about": {
      "type": "string"
    },
    "data.profile.pfp": {
      "type": "string"
    },
    "data.profile.pfpUnavailable": {
      "type": "boolean"
    },
    "data.profile.pfpPrivacy": {
      "type": "string"
    },
    "data.profile.socials": {
      "type": "object"
    },
    "data.profile.socials.x": {
      "type": "string"
    },
    "data.profile.socials.discord": {
      "type": "string"
    },
    "data.profile.socials.telegram": {
      "type": "string"
    },
    "data.profile.socials.website": {
      "type": "string"
    },
    "data.profile.location": {
      "type": "object"
    },
    "data.profile.location.lat": {
      "type": "number"
    },
    "data.profile.location.lng": {
      "type": "number"
    },
    "data.profile.referral": {
      "type": "string"
    },
    "data.profile.years": {
      "type": "integer"
    },
    "data.profile.streak": {
      "type": "integer"
    },
    "data.profile.connectionCount": {
      "type": "integer"
    },
    "data.profile.createdAt": {
      "type": "string",
      "description": "ISO8601 timestamp"
    },
    "data.profile.updatedAt": {
      "type": "string",
      "description": "ISO8601 timestamp"
    },
    "data.address": {
      "type": "string"
    },
    "error": {
      "type": "object",
      "description": "Error object for non‑200 responses"
    },
    "error.message": {
      "type": "string"
    },
    "error.code": {
      "type": "string"
    },
    "error.retryAfter": {
      "type": "integer"
    },
    "error.currentHourCount": {
      "type": "integer"
    },
    "error.limit": {
      "type": "integer"
    }
  }
}