{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aimeat-io/json-schema/aimeat-io-connection-reply-schema.json",
  "title": "ConnectionReply",
  "description": "One answer somebody wrote to a published item, in one shape for every network (Mastodon, Bluesky, YouTube, X, a Facebook Page, Instagram, Reddit). Read from the provider when asked and never stored on this node.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aimeat-io-connections-api-openapi.yml#/components/schemas/ConnectionReply",
  "type": "object",
  "required": [
    "id",
    "author",
    "authorHandle",
    "text",
    "createdAt",
    "url",
    "parentId",
    "likes"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The provider's own id for the reply."
    },
    "author": {
      "type": "string",
      "description": "The name the writer shows."
    },
    "authorHandle": {
      "type": [
        "string",
        "null"
      ],
      "description": "The writer's handle where the network has one (`@name@instance`, `name.bsky.social`, `u/name`)."
    },
    "text": {
      "type": "string",
      "description": "Plain text. HTML is stripped and entities are decoded."
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Where a person opens the reply."
    },
    "parentId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The reply this one answers. Null for a reply to the post itself."
    },
    "likes": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Likes, favourites or score as the network reports it. Null when it does not report one."
    }
  }
}