Skip to content
ActivityDraftObject

A strongly-typed, partially-filled activity proposal generated from a plain-text description. Every field is nullable — the generator only fills what the text supports, leaving the rest for the user. Scoped to the verticals enabled for v1: leagues (rules/divisions) and appointment booking are intentionally not generated here.

Fields

nameString
descriptionString

Restricted to class, session, or other for v1.

individualPriceFloat

Individual registration price as the amount the customer pays, in major currency units (e.g. 25 for $25.00, 2000 for ¥2000), interpreted in the business's currency. The form converts it to the currency's subunits on save, so this stays correct for zero- and three-decimal currencies too.

teamPriceFloat

Team registration price in major currency units (see individualPrice).

startDateString

Start date as YYYY-MM-DD.

startTimeString

Start time of day as HH:mm (24-hour), for non-recurring activities.

endDateString

End date as YYYY-MM-DD, for recurring activities.

durationMinutesInt

Session length in minutes.

isRecurringBoolean
assumptions[String!]!

Human-readable notes on assumptions the generator made or details it could not infer — surfaced to the user so they know what to double-check.

Used in

ActivityDraft