syntax = "proto3";

package com.wix.ecommerce.catalog_spi.api.v1;

import "wix/api/validations.proto";

message SecuredMedia {

    // Media ID in Wix Media Manager.
    string id = 1 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 100];
    
    // Original filename.
    string file_name = 2 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 1000];
    
    // File type.
    FileType file_type = 3;

    enum FileType {
        UNSPECIFIED = 0;
        SECURE_PICTURE = 1;
        SECURE_VIDEO = 2;
        SECURE_DOCUMENT = 3;
        SECURE_MUSIC = 4;
        SECURE_ARCHIVE = 5;
    }
}