{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A confirmed 1:1 booking made through the host's booking page.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "endsAt": {
            "format": "datetime",
            "type": "string"
          },
          "guestEmail": {
            "maxLength": 500,
            "type": "string"
          },
          "guestName": {
            "maxLength": 300,
            "type": "string"
          },
          "guestTimezone": {
            "type": "string"
          },
          "note": {
            "maxLength": 3000,
            "type": "string"
          },
          "startsAt": {
            "format": "datetime",
            "type": "string"
          },
          "status": {
            "enum": [
              "confirmed",
              "cancelled"
            ],
            "type": "string"
          }
        },
        "required": [
          "guestName",
          "startsAt",
          "endsAt",
          "status",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "space.intandem.booking",
  "lexicon": 1
}
