{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A like record for check-ins in the Anchor app",
      "key": "tid",
      "record": {
        "properties": {
          "checkinRef": {
            "description": "Reference to the check-in being liked",
            "ref": "#strongRef",
            "type": "ref"
          },
          "createdAt": {
            "description": "When the like was created",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "checkinRef"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "strongRef": {
      "description": "A strong reference to another record",
      "properties": {
        "cid": {
          "description": "Content identifier (CID) of the referenced record",
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "description": "AT Protocol URI of the referenced record",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "app.dropanchor.like",
  "lexicon": 1
}
