syntax = "proto3";

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

message ItemType  {
    oneof itemTypeData {

        // Preset item type.
        ItemType preset = 1;
        
        // Custom item type. When none of the preset types are suitable, specifies the custom type.
        string custom = 2;
    }

    enum ItemType {
        UNRECOGNISED = 0;
        PHYSICAL = 1;
        DIGITAL = 2;
        GIFT_CARD = 3;
        SERVICE = 4;
    }

}