Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...
    interface ItemData {
        _id: string | null;
        _stats: DocumentStats;
        effects: ActiveEffectData[];
        flags: DocumentFlags;
        folder: string | null;
        img?: string;
        name: string;
        ownership?: object;
        sort?: number;
        system: object;
        type: string;
    }
    Index

    Properties

    _id: string | null

    The _id which uniquely identifies this Item document

    An object of creation and access information

    effects: ActiveEffectData[]

    A collection of ActiveEffect embedded Documents

    An object of optional key/value flags

    folder: string | null

    The _id of a Folder which contains this Item

    img?: string

    An image file path which provides the artwork for this Item

    name: string

    The name of this Item

    ownership?: object

    An object which configures ownership of this Item

    sort?: number

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

    system: object

    Data for an Item subtype, defined by a System or Module

    type: string

    An Item subtype which configures the system data model applied