import { object , optional , Schema , string } from '../schema' ; /**
 * A `CatalogItemOptionValue` links an item variation to an item option as
 * an item option value. For example, a t-shirt item may offer a color option and
 * a size option. An item option value would represent each variation of t-shirt:
 * For example, "Color:Red, Size:Small" or "Color:Blue, Size:Medium".
 */ export interface CatalogItemOptionValueForItemVariation { /** The unique id of an item option. */ itemOptionId ? : string ; /** The unique id of the selected value for the item option. */ itemOptionValueId ? : string ; } export const catalogItemOptionValueForItemVariationSchema = object ( { itemOptionId : [ 'item_option_id' , optional ( string ( ) ) ] , itemOptionValueId : [ 'item_option_value_id' , optional ( string ( ) ) ] , } ) ;