{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/derive-to/json-schema/derive-to-follow-schema.json",
  "title": "Follow",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/derive-to-follows-api-openapi.yml#/components/schemas/Follow",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "org_id": {
      "type": "string",
      "description": "The workspace this follow is scoped to; \"*\" (global) for people-follows"
    },
    "user_id": {
      "type": "string",
      "description": "The follower (the signed-in user who owns this follow)"
    },
    "kind": {
      "type": "string",
      "enum": [
        "user"
      ],
      "description": "What's followed: a person"
    },
    "target": {
      "type": "string",
      "description": "The followed person's public @handle"
    },
    "created_at": {
      "type": "string"
    },
    "handle": {
      "type": [
        "string",
        "null"
      ],
      "description": "For people-follows, the followed person's public @handle; absent otherwise"
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "For people-follows, the followed person's display name; absent otherwise"
    },
    "image": {
      "type": [
        "string",
        "null"
      ],
      "description": "For people-follows, the followed person's avatar URL; absent otherwise"
    }
  },
  "required": [
    "id",
    "org_id",
    "user_id",
    "kind",
    "target",
    "created_at"
  ]
}