{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/offlineprotocol-com/json-schema/offlineprotocol-com-post-connections-response-schema.json",
  "title": "PostConnectionsResponse",
  "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/PostConnectionsResponse",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "status message"
    },
    "data": {
      "type": "object",
      "description": "payload data"
    },
    "data.message": {
      "type": "string",
      "description": "additional message"
    },
    "data.connection": {
      "type": "object",
      "description": "created connection details"
    },
    "data.connection.id": {
      "type": "string",
      "description": "connection identifier"
    },
    "data.connection.peer": {
      "type": "string",
      "description": "peer identifier"
    },
    "data.connection.sharingLocationWithThem": {
      "type": "boolean",
      "description": "whether location is shared with the peer"
    },
    "data.connection.sharingLocationWithMe": {
      "type": "boolean",
      "description": "whether peer shares location with the user"
    }
  }
}