syntax = "proto3";

package wix.rich_content.v1;
import "wix/api/validations.proto";
import "wix/rich_content/v1/common.proto";
import "google/protobuf/wrappers.proto";

message GIFData {
    enum GIFType {
        NORMAL = 0;
        STICKER = 1;
    }

    PluginContainerData container_data = 1; // Styling for the GIF's container.
    GIF original = 2; // The source of the full size GIF.
    GIF downsized = 3; // The source of the downsized GIF.
    int32 height = 4; // Height in pixels.
    int32 width = 5; // Width in pixels.
    GIFType gif_type = 6; // Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`.
}

message GIF {
    google.protobuf.StringValue gif = 1 [(wix.api.format) = WEB_URL]; // GIF format URL.
    google.protobuf.StringValue mp4 = 2 [(wix.api.format) = WEB_URL]; // MP4 format URL.
    google.protobuf.StringValue still = 3 [(wix.api.format) = WEB_URL]; // Thumbnail URL.
}