{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/offlineprotocol-com/json-schema/offlineprotocol-com-get-connections-username-response-schema.json",
  "title": "GetConnectionsUsernameResponse",
  "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/GetConnectionsUsernameResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "description": "Contains the connections array"
    },
    "data.connections": {
      "type": "array",
      "description": "List of connection objects"
    },
    "data.connections[].id": {
      "type": "string",
      "description": "Connection identifier"
    },
    "data.connections[].peer": {
      "type": "string",
      "description": "Peer identifier"
    },
    "data.connections[].sharingLocationWithThem": {
      "type": "boolean",
      "description": "Whether you share your location with the peer"
    },
    "data.connections[].sharingLocationWithMe": {
      "type": "boolean",
      "description": "Whether the peer shares their location with you"
    },
    "message": {
      "type": "string",
      "description": "Response message"
    }
  }
}