{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An athlete reaction or kudos endorsement on a Treeline activity.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Timestamp when the reaction was submitted.",
            "format": "datetime",
            "type": "string"
          },
          "reaction": {
            "default": "nice",
            "description": "Reaction type.",
            "knownValues": [
              "summit",
              "send_it",
              "props",
              "nice"
            ],
            "type": "string"
          },
          "subject": {
            "description": "Target activity strong reference (AT-URI and CID).",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "reaction",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "world.treeline.activity.like",
  "lexicon": 1
}
