ImageData: {
    embeds?: Embed[];
    i18n?: {
        [key: string]: ImageDetailsCultureData;
    };
    markers?: Marker[];
    markerTours?: MarkerTour[];
    music?: {
        items: Audio[];
        loop: boolean;
        volume?: number;
    };
    pages?: Menu[];
    revision?: RevisionType;
    tours?: VideoTour[];
}

The main data JSON structure

Type declaration

  • Optionalembeds?: Embed[]

    In-image embeds

  • Optionali18n?: {
        [key: string]: ImageDetailsCultureData;
    }

    Localized image details

  • Optionalmarkers?: Marker[]

    Markers

  • OptionalmarkerTours?: MarkerTour[]

    Marker tours

  • Optionalmusic?: {
        items: Audio[];
        loop: boolean;
        volume?: number;
    }

    Music playlist

    • items: Audio[]

      The audio assets

    • loop: boolean

      Loop the playlist

    • Optionalvolume?: number

      The music audio volume [0-1] (default: 1)

  • Optionalpages?: Menu[]

    Custom menu pages

  • Optionalrevision?: RevisionType

    V5+: Save revision

  • Optionaltours?: VideoTour[]

    Video tours