{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/v3-news/json-schema/v3-news-follow-create-schema.json",
  "title": "FollowCreate",
  "description": "Payload for POST /members/me/follows. ``target_type`` +\n``target_id`` together identify the thing being followed.\n\n``notes`` is reserved for a future \"why I'm following\" annotation\nsurface — capped at 280 chars (tweet-shape) to keep the UI\ntreatment simple. Empty/missing is the default.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/v3-news-openapi.json#/components/schemas/FollowCreate",
  "properties": {
    "target_type": {
      "type": "string",
      "pattern": "^(event|decision|outcome|entity|theme)$",
      "title": "Target Type"
    },
    "target_id": {
      "type": "string",
      "format": "uuid",
      "title": "Target Id"
    },
    "notes": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 280
        },
        {
          "type": "null"
        }
      ],
      "title": "Notes"
    }
  },
  "type": "object",
  "required": [
    "target_type",
    "target_id"
  ]
}