{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record noting an emoji reaction to something in the atmosphere.",
      "key": "tid",
      "record": {
        "properties": {
          "comment": {
            "description": "An optional comment to include with the reaction.",
            "format": "uri",
            "type": "string"
          },
          "createdAt": {
            "description": "The time when the reaction occurred or was recorded.",
            "format": "datetime",
            "type": "string"
          },
          "emoji": {
            "description": "An optional emoji to express instead of the default smile (😊).",
            "maxGraphemes": 1,
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          },
          "lang": {
            "description": "An optional language identifier for the comment.",
            "format": "language",
            "type": "string"
          },
          "offset": {
            "description": "A time offset (in seconds) for the reaction to use with recorded media",
            "type": "integer"
          },
          "subject": {
            "description": "A URI indicating the subject of the record owner's reaction.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Reactions in the atmosphere.",
  "id": "at.smiled.reaction",
  "lexicon": 1
}
