{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A host's bookable meeting type. Owned by the host; anyone may read it and book a slot on it (see boo.sky.convene.booking).",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Creation instant.",
            "format": "datetime",
            "type": "string"
          },
          "dayEnd": {
            "description": "Last bookable minute of each day (exclusive), minutes from midnight.",
            "type": "integer"
          },
          "dayStart": {
            "description": "First bookable minute of each day, minutes from midnight.",
            "type": "integer"
          },
          "daysOfWeek": {
            "description": "Optional local weekdays (0 = Sunday .. 6 = Saturday) the host is bookable. When present, only those weekdays are bookable; when absent, every day in the window is.",
            "items": {
              "maximum": 6,
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "description": {
            "description": "Optional longer description shown on the booking page.",
            "maxLength": 2000,
            "type": "string"
          },
          "durationMinutes": {
            "description": "Meeting length in minutes. Also the bookable-slot grid step: the host offers slots every durationMinutes, exactly like Calendly.",
            "minimum": 5,
            "type": "integer"
          },
          "endDate": {
            "description": "Last day the host is bookable, local date, inclusive.",
            "format": "date",
            "type": "string"
          },
          "location": {
            "description": "Optional free-text location, e.g. 'Zoom' or a street address.",
            "maxLength": 300,
            "type": "string"
          },
          "startDate": {
            "description": "First day the host is bookable, local date, inclusive.",
            "format": "date",
            "type": "string"
          },
          "timezone": {
            "description": "IANA timezone name (e.g. 'America/New_York') for interpreting the day window and daysOfWeek.",
            "type": "string"
          },
          "title": {
            "description": "Short name of the meeting type, e.g. 'Intro call'.",
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "title",
          "durationMinutes",
          "timezone",
          "startDate",
          "endDate",
          "dayStart",
          "dayEnd",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "boo.sky.convene.eventType",
  "lexicon": 1
}
