{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commsharbor/json-schema/commsharbor-platform-activity-schema.json",
  "title": "PlatformActivity",
  "description": "Something that happened with a platform lead — our note about a prospective tenant.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commsharbor-platform-api-openapi.yml#/components/schemas/PlatformActivity",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Activity ID."
    },
    "activity_type": {
      "type": "string",
      "description": "What kind of activity it was, e.g. `note`."
    },
    "note": {
      "type": "string",
      "description": "The text of the activity."
    },
    "lead_id": {
      "type": "string",
      "description": "Lead it refers to."
    },
    "created_at": {
      "type": "string",
      "description": "Creation time (UTC)."
    },
    "url": {
      "type": "string",
      "description": "Absolute URL of this activity."
    }
  },
  "required": [
    "id",
    "activity_type",
    "note",
    "lead_id",
    "created_at",
    "url"
  ]
}