"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.VariationProperty = void 0;

var _propTypes = _interopRequireDefault(require("prop-types"));

var _variationPropertyValue = require("./variation-property-value");

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */
const VariationProperty = {
  id: _propTypes.default.string.isRequired,
  label: _propTypes.default.string,
  values: _propTypes.default.arrayOf(_propTypes.default.shape(_variationPropertyValue.VariationPropertyValue))
  /**
   * Represents things like "color", "size", "width", etc.
   *
   * @memberOf module:@mobify/commerce-integrations/dist/types
   * @typedef {Object} VariationProperty
   * @property {String} id The variation property id.
   * @property {String} label The variation property label.
   * @property {Array.<module:@mobify/commerce-integrations/dist/types.VariationPropertyValue>} values The variation property values.
   */

};
exports.VariationProperty = VariationProperty;