interface RollTableData {
    _id: string;
    name: string;
    img: string;
    description: string;
    results: Collection<BaseTableResult>;
    formula: string;
    replacement: boolean;
    displayRoll: boolean;
    folder: string;
    sort: number;
    ownership: object;
    flags: object;
    _stats: DocumentStats;
}

Properties

_id: string

The _id which uniquely identifies this RollTable document

name: string

The name of this RollTable

img: string

An image file path which provides the thumbnail artwork for this RollTable

description: string

The HTML text description for this RollTable document

results: Collection<BaseTableResult>

A Collection of TableResult embedded documents which belong to this RollTable

formula: string

The Roll formula which determines the results chosen from the table

replacement: boolean

Are results from this table drawn with replacement?

displayRoll: boolean

Is the Roll result used to draw from this RollTable displayed in chat?

folder: string

The _id of a Folder which contains this RollTable

sort: number

The numeric sort value which orders this RollTable relative to its siblings

ownership: object

An object which configures ownership of this RollTable

flags: object

An object of optional key/value flags

_stats: DocumentStats

An object of creation and access information