{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A tag added to or removed from a post. The tags a post has now are worked out from these events.",
      "key": "tid",
      "record": {
        "properties": {
          "action": {
            "description": "added or removed. For one post and tag, the first event is added and the two then alternate.",
            "knownValues": [
              "added",
              "removed"
            ],
            "type": "string"
          },
          "createdAt": {
            "description": "When this record was written (UTC).",
            "format": "datetime",
            "type": "string"
          },
          "post": {
            "description": "Id of the post this record belongs to (the rkey of its com.guineeeeeeeeeeeeeeeeeeeeeeeerm.post record, YYYYMMDD-HHMMSS).",
            "type": "string"
          },
          "tag": {
            "description": "Tag name: at most 40 characters, no leading or trailing spaces, no / or \\.",
            "type": "string"
          },
          "why": {
            "description": "Why the author made this change, in their own words.",
            "type": "string"
          }
        },
        "required": [
          "post",
          "tag",
          "action",
          "why",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.guineeeeeeeeeeeeeeeeeeeeeeeerm.tag",
  "lexicon": 1
}
