GigContract
A signed contract or addendum on a gig, as imported from the band’s paper: its number, when it was signed, the PDF, and the lines and discounts it sold, which carry its id. Its total is their sum, computed, and should equal the total the PDF prints.
- attachmentType: string | nullFormat: uuid
_id requiredThe signed PDF. References attachments.id.
- createdType: stringFormat: date-time
_time read-onlyrequiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- footerType: string | nullrequired
Text printed below the total.
- gigType: string | nullFormat: uuid
_id requiredReferences gigs.id.
- headerType: string | nullrequired
Text printed above the lines: the performance clause, a travel-included sentence.
- idType: stringFormat: uuidread-onlyrequired
- kindType: "contract" or "addendum" or nullenumrequired
The first agreement, or a change to it.
- labelType: string | nullrequired
E.g. "Performance Agreement", "Addendum 1".
- lastType: stringFormat: date-time
_edited _time read-onlyrequiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- numberType: string | nullrequired
The band’s contract number as printed, e.g. "260502-IE1", "260502-IE1|A1". Unique.
- signedType: string | null
_at requiredWhen the client signed, from the PDF.
- amountType: integer
_total read-onlyMinor units: the lines sold under this contract after their discounts, minus the gig-level discounts agreed in it. Computed.