{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single Ko-fi payment event. One record per event, rkey is a TID.",
      "key": "tid",
      "record": {
        "properties": {
          "name": {
            "description": "Display name from Ko-fi.",
            "type": "string"
          },
          "tier": {
            "description": "Subscription tier name, if applicable.",
            "type": "string"
          },
          "type": {
            "description": "Ko-fi event type: Donation, Subscription, Commission, or Shop Order.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "uk.ewancroft.support.kofi",
  "lexicon": 1
}
