The SimpleContract is a simplified version of the advanced Contract export SimpleContract

interface SimpleContract {
    avatar?: null | AvatarSize[];
    contract_id?: null | string;
    contract_owner?: AccountUserPersona;
    created_at?: string;
    description?: null | string;
    end_date?: null | string;
    has_private_avatar_image?: boolean;
    header?: ContractHeader;
    id?: null | string;
    incomes?: null | Income[];
    is_active?: boolean;
    last_payment_date?: null | string;
    object?: null | string;
    other_collaborators?: null | AccountUserPersona[];
    partition_key?: null | string;
    private_avatar_image?: null | string;
    recoupables?: null | RecoupableTerm[];
    short_id?: null | string;
    split_tiers?: TieredSplitTieredGroupTerm;
    start_date?: string;
    tags?: null | string[];
    title?: null | string;
}

Properties

avatar?: null | AvatarSize[]

contract avatar

contract_id?: null | string

Shared id of the contract for when multiple revisions may exist

contract_owner?: AccountUserPersona
created_at?: string
description?: null | string

Description

end_date?: null | string

End date of the contract.

has_private_avatar_image?: boolean

avatar image of contract

id?: null | string

Unique Id and primary key of this Contract

incomes?: null | Income[]

One ore more Income terms which help provide scope on how funds flow through the Contract

is_active?: boolean
last_payment_date?: null | string

Last Payment date.

object?: null | string

The name of this object

other_collaborators?: null | AccountUserPersona[]

A list of collaborators who are not recieving splits but are a part of the Contract

partition_key?: null | string
private_avatar_image?: null | string

avatar image of contract

recoupables?: null | RecoupableTerm[]

Recoupables

short_id?: null | string
start_date?: string

Start date of the contract

tags?: null | string[]

Tags to help set and identify the type of SimpleContract

title?: null | string

Display title