@whitebox-co/walmart-marketplace-api
Version:
A fully typed TypeScript, Javascript, and Node.js API library for the Walmart Marketplace API
897 lines • 419 kB
JavaScript
"use strict";
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Convert = exports.FeedDateFormat = exports.AnimalAccessoriesRequired = exports.SwatchImagesTitle = exports.SmallPartsWarningsTitle = exports.FabricContentTitle = exports.ItemsRequired = exports.CountryOfOriginComponentsType = exports.CountryOfOriginComponentsTitle = exports.ShippingWeightType = exports.ShippingWeightRequired = exports.MinimumAdvertisedPriceType = exports.PurpleType = exports.SkuFormat = void 0;
var SkuFormat;
(function (SkuFormat) {
SkuFormat["URI"] = "uri";
})(SkuFormat = exports.SkuFormat || (exports.SkuFormat = {}));
var PurpleType;
(function (PurpleType) {
PurpleType["Number"] = "number";
PurpleType["String"] = "string";
})(PurpleType = exports.PurpleType || (exports.PurpleType = {}));
var MinimumAdvertisedPriceType;
(function (MinimumAdvertisedPriceType) {
MinimumAdvertisedPriceType["Integer"] = "integer";
MinimumAdvertisedPriceType["Number"] = "number";
})(MinimumAdvertisedPriceType = exports.MinimumAdvertisedPriceType || (exports.MinimumAdvertisedPriceType = {}));
var ShippingWeightRequired;
(function (ShippingWeightRequired) {
ShippingWeightRequired["Measure"] = "measure";
ShippingWeightRequired["Unit"] = "unit";
})(ShippingWeightRequired = exports.ShippingWeightRequired || (exports.ShippingWeightRequired = {}));
var ShippingWeightType;
(function (ShippingWeightType) {
ShippingWeightType["Object"] = "object";
})(ShippingWeightType = exports.ShippingWeightType || (exports.ShippingWeightType = {}));
var CountryOfOriginComponentsTitle;
(function (CountryOfOriginComponentsTitle) {
CountryOfOriginComponentsTitle["AgeGroup"] = "Age Group";
CountryOfOriginComponentsTitle["ColorCategory"] = "Color Category";
CountryOfOriginComponentsTitle["CountryOfOriginComponents"] = "Country of Origin - Components";
CountryOfOriginComponentsTitle["FireExtinguisherClasses"] = "Fire Extinguisher Classes";
CountryOfOriginComponentsTitle["GiftCardCategory"] = "Gift Card Category";
CountryOfOriginComponentsTitle["VariantAttributeNames"] = "Variant Attribute Names";
CountryOfOriginComponentsTitle["VideoGameGenre"] = "Video Game Genre";
})(CountryOfOriginComponentsTitle = exports.CountryOfOriginComponentsTitle || (exports.CountryOfOriginComponentsTitle = {}));
var CountryOfOriginComponentsType;
(function (CountryOfOriginComponentsType) {
CountryOfOriginComponentsType["Array"] = "array";
})(CountryOfOriginComponentsType = exports.CountryOfOriginComponentsType || (exports.CountryOfOriginComponentsType = {}));
var ItemsRequired;
(function (ItemsRequired) {
ItemsRequired["MaterialName"] = "materialName";
})(ItemsRequired = exports.ItemsRequired || (exports.ItemsRequired = {}));
var FabricContentTitle;
(function (FabricContentTitle) {
FabricContentTitle["FabricContent"] = "Fabric Content";
})(FabricContentTitle = exports.FabricContentTitle || (exports.FabricContentTitle = {}));
var SmallPartsWarningsTitle;
(function (SmallPartsWarningsTitle) {
SmallPartsWarningsTitle["SmallPartsWarningCode"] = "Small Parts Warning Code";
})(SmallPartsWarningsTitle = exports.SmallPartsWarningsTitle || (exports.SmallPartsWarningsTitle = {}));
var SwatchImagesTitle;
(function (SwatchImagesTitle) {
SwatchImagesTitle["SwatchImages"] = "Swatch Images";
})(SwatchImagesTitle = exports.SwatchImagesTitle || (exports.SwatchImagesTitle = {}));
var AnimalAccessoriesRequired;
(function (AnimalAccessoriesRequired) {
AnimalAccessoriesRequired["Brand"] = "brand";
AnimalAccessoriesRequired["MainImageURL"] = "mainImageUrl";
AnimalAccessoriesRequired["RequiresTextileActLabeling"] = "requiresTextileActLabeling";
AnimalAccessoriesRequired["ShortDescription"] = "shortDescription";
})(AnimalAccessoriesRequired = exports.AnimalAccessoriesRequired || (exports.AnimalAccessoriesRequired = {}));
var FeedDateFormat;
(function (FeedDateFormat) {
FeedDateFormat["DateTime"] = "date-time";
})(FeedDateFormat = exports.FeedDateFormat || (exports.FeedDateFormat = {}));
// Converts JSON strings to/from your types
// and asserts the results of JSON.parse at runtime
class Convert {
static toAnimal(json) {
return cast(JSON.parse(json), r('Animal'));
}
static animalToJson(value) {
return JSON.stringify(uncast(value, r('Animal')), null, 2);
}
static toArtAndCraftCategory(json) {
return cast(JSON.parse(json), r('ArtAndCraftCategory'));
}
static artAndCraftCategoryToJson(value) {
return JSON.stringify(uncast(value, r('ArtAndCraftCategory')), null, 2);
}
static toBaby(json) {
return cast(JSON.parse(json), r('Baby'));
}
static babyToJson(value) {
return JSON.stringify(uncast(value, r('Baby')), null, 2);
}
static toCarriersAndAccessoriesCategory(json) {
return cast(JSON.parse(json), r('CarriersAndAccessoriesCategory'));
}
static carriersAndAccessoriesCategoryToJson(value) {
return JSON.stringify(uncast(value, r('CarriersAndAccessoriesCategory')), null, 2);
}
static toClothingCategory(json) {
return cast(JSON.parse(json), r('ClothingCategory'));
}
static clothingCategoryToJson(value) {
return JSON.stringify(uncast(value, r('ClothingCategory')), null, 2);
}
static toElectronics(json) {
return cast(JSON.parse(json), r('Electronics'));
}
static electronicsToJson(value) {
return JSON.stringify(uncast(value, r('Electronics')), null, 2);
}
static toFoodAndBeverageCategory(json) {
return cast(JSON.parse(json), r('FoodAndBeverageCategory'));
}
static foodAndBeverageCategoryToJson(value) {
return JSON.stringify(uncast(value, r('FoodAndBeverageCategory')), null, 2);
}
static toFootwearCategory(json) {
return cast(JSON.parse(json), r('FootwearCategory'));
}
static footwearCategoryToJson(value) {
return JSON.stringify(uncast(value, r('FootwearCategory')), null, 2);
}
static toFurnitureCategory(json) {
return cast(JSON.parse(json), r('FurnitureCategory'));
}
static furnitureCategoryToJson(value) {
return JSON.stringify(uncast(value, r('FurnitureCategory')), null, 2);
}
static toGardenAndPatioCategory(json) {
return cast(JSON.parse(json), r('GardenAndPatioCategory'));
}
static gardenAndPatioCategoryToJson(value) {
return JSON.stringify(uncast(value, r('GardenAndPatioCategory')), null, 2);
}
static toHealthAndBeauty(json) {
return cast(JSON.parse(json), r('HealthAndBeauty'));
}
static healthAndBeautyToJson(value) {
return JSON.stringify(uncast(value, r('HealthAndBeauty')), null, 2);
}
static toHome(json) {
return cast(JSON.parse(json), r('Home'));
}
static homeToJson(value) {
return JSON.stringify(uncast(value, r('Home')), null, 2);
}
static toJewelryCategory(json) {
return cast(JSON.parse(json), r('JewelryCategory'));
}
static jewelryCategoryToJson(value) {
return JSON.stringify(uncast(value, r('JewelryCategory')), null, 2);
}
static toMPBulkRetire(json) {
return cast(JSON.parse(json), r('MPBulkRetire'));
}
static mPBulkRetireToJson(value) {
return JSON.stringify(uncast(value, r('MPBulkRetire')), null, 2);
}
static toMPItem(json) {
return cast(JSON.parse(json), r('MPItem'));
}
static mPItemToJson(value) {
return JSON.stringify(uncast(value, r('MPItem')), null, 2);
}
static toMPItemFeed(json) {
return cast(JSON.parse(json), r('MPItemFeed'));
}
static mPItemFeedToJson(value) {
return JSON.stringify(uncast(value, r('MPItemFeed')), null, 2);
}
static toMPItemFeedHeader(json) {
return cast(JSON.parse(json), r('MPItemFeedHeader'));
}
static mPItemFeedHeaderToJson(value) {
return JSON.stringify(uncast(value, r('MPItemFeedHeader')), null, 2);
}
static toMPLogistics(json) {
return cast(JSON.parse(json), r('MPLogistics'));
}
static mPLogisticsToJson(value) {
return JSON.stringify(uncast(value, r('MPLogistics')), null, 2);
}
static toMPOffer(json) {
return cast(JSON.parse(json), r('MPOffer'));
}
static mPOfferToJson(value) {
return JSON.stringify(uncast(value, r('MPOffer')), null, 2);
}
static toMPProduct(json) {
return cast(JSON.parse(json), r('MPProduct'));
}
static mPProductToJson(value) {
return JSON.stringify(uncast(value, r('MPProduct')), null, 2);
}
static toMedia(json) {
return cast(JSON.parse(json), r('Media'));
}
static mediaToJson(value) {
return JSON.stringify(uncast(value, r('Media')), null, 2);
}
static toMusicalInstrument(json) {
return cast(JSON.parse(json), r('MusicalInstrument'));
}
static musicalInstrumentToJson(value) {
return JSON.stringify(uncast(value, r('MusicalInstrument')), null, 2);
}
static toOccasionAndSeasonal(json) {
return cast(JSON.parse(json), r('OccasionAndSeasonal'));
}
static occasionAndSeasonalToJson(value) {
return JSON.stringify(uncast(value, r('OccasionAndSeasonal')), null, 2);
}
static toOfficeCategory(json) {
return cast(JSON.parse(json), r('OfficeCategory'));
}
static officeCategoryToJson(value) {
return JSON.stringify(uncast(value, r('OfficeCategory')), null, 2);
}
static toOtherCategory(json) {
return cast(JSON.parse(json), r('OtherCategory'));
}
static otherCategoryToJson(value) {
return JSON.stringify(uncast(value, r('OtherCategory')), null, 2);
}
static toPhotography(json) {
return cast(JSON.parse(json), r('Photography'));
}
static photographyToJson(value) {
return JSON.stringify(uncast(value, r('Photography')), null, 2);
}
static toSportAndRecreation(json) {
return cast(JSON.parse(json), r('SportAndRecreation'));
}
static sportAndRecreationToJson(value) {
return JSON.stringify(uncast(value, r('SportAndRecreation')), null, 2);
}
static toToolsAndHardware(json) {
return cast(JSON.parse(json), r('ToolsAndHardware'));
}
static toolsAndHardwareToJson(value) {
return JSON.stringify(uncast(value, r('ToolsAndHardware')), null, 2);
}
static toToysCategory(json) {
return cast(JSON.parse(json), r('ToysCategory'));
}
static toysCategoryToJson(value) {
return JSON.stringify(uncast(value, r('ToysCategory')), null, 2);
}
static toVehicle(json) {
return cast(JSON.parse(json), r('Vehicle'));
}
static vehicleToJson(value) {
return JSON.stringify(uncast(value, r('Vehicle')), null, 2);
}
static toWatchesCategory(json) {
return cast(JSON.parse(json), r('WatchesCategory'));
}
static watchesCategoryToJson(value) {
return JSON.stringify(uncast(value, r('WatchesCategory')), null, 2);
}
}
exports.Convert = Convert;
function invalidValue(typ, val, key = '') {
if (key) {
throw Error(`Invalid value for key "${key}". Expected type ${JSON.stringify(typ)} but got ${JSON.stringify(val)}`);
}
throw Error(`Invalid value ${JSON.stringify(val)} for type ${JSON.stringify(typ)}`);
}
function jsonToJSProps(typ) {
if (typ.jsonToJS === undefined) {
const map = {};
typ.props.forEach((p) => (map[p.json] = { key: p.js, typ: p.typ }));
typ.jsonToJS = map;
}
return typ.jsonToJS;
}
function jsToJSONProps(typ) {
if (typ.jsToJSON === undefined) {
const map = {};
typ.props.forEach((p) => (map[p.js] = { key: p.json, typ: p.typ }));
typ.jsToJSON = map;
}
return typ.jsToJSON;
}
function transform(val, typ, getProps, key = '') {
function transformPrimitive(typ, val) {
if (typeof typ === typeof val)
return val;
return invalidValue(typ, val, key);
}
function transformUnion(typs, val) {
// val must validate against one typ in typs
const l = typs.length;
for (let i = 0; i < l; i++) {
const typ = typs[i];
try {
return transform(val, typ, getProps);
}
catch (_) { }
}
return invalidValue(typs, val);
}
function transformEnum(cases, val) {
if (cases.indexOf(val) !== -1)
return val;
return invalidValue(cases, val);
}
function transformArray(typ, val) {
// val must be an array with no invalid elements
if (!Array.isArray(val))
return invalidValue('array', val);
return val.map((el) => transform(el, typ, getProps));
}
function transformDate(val) {
if (val === null) {
return null;
}
const d = new Date(val);
if (isNaN(d.valueOf())) {
return invalidValue('Date', val);
}
return d;
}
function transformObject(props, additional, val) {
if (val === null || typeof val !== 'object' || Array.isArray(val)) {
return invalidValue('object', val);
}
const result = {};
Object.getOwnPropertyNames(props).forEach((key) => {
const prop = props[key];
const v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined;
result[prop.key] = transform(v, prop.typ, getProps, prop.key);
});
Object.getOwnPropertyNames(val).forEach((key) => {
if (!Object.prototype.hasOwnProperty.call(props, key)) {
result[key] = transform(val[key], additional, getProps, key);
}
});
return result;
}
if (typ === 'any')
return val;
if (typ === null) {
if (val === null)
return val;
return invalidValue(typ, val);
}
if (typ === false)
return invalidValue(typ, val);
while (typeof typ === 'object' && typ.ref !== undefined) {
typ = typeMap[typ.ref];
}
if (Array.isArray(typ))
return transformEnum(typ, val);
if (typeof typ === 'object') {
return typ.hasOwnProperty('unionMembers')
? transformUnion(typ.unionMembers, val)
: typ.hasOwnProperty('arrayItems')
? transformArray(typ.arrayItems, val)
: typ.hasOwnProperty('props')
? transformObject(getProps(typ), typ.additional, val)
: invalidValue(typ, val);
}
// Numbers can be parsed by Date but shouldn't be.
if (typ === Date && typeof val !== 'number')
return transformDate(val);
return transformPrimitive(typ, val);
}
function cast(val, typ) {
return transform(val, typ, jsonToJSProps);
}
function uncast(val, typ) {
return transform(val, typ, jsToJSONProps);
}
function a(typ) {
return { arrayItems: typ };
}
function u(...typs) {
return { unionMembers: typs };
}
function o(props, additional) {
return { props, additional };
}
function m(additional) {
return { props: [], additional };
}
function r(name) {
return { ref: name };
}
const typeMap = {
Animal: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'title', js: 'title', typ: '' },
{ json: 'properties', js: 'properties', typ: r('AnimalProperties') },
{ json: 'oneOf', js: 'oneOf', typ: a(r('OneOf')) },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
OneOf: o([{ json: 'required', js: 'required', typ: a('') }], false),
AnimalProperties: o([
{ json: 'AnimalHealthAndGrooming', js: 'AnimalHealthAndGrooming', typ: r('AnimalHealthAndGrooming') },
{ json: 'AnimalAccessories', js: 'AnimalAccessories', typ: r('AnimalAccessoriesClass') },
{ json: 'AnimalFood', js: 'AnimalFood', typ: r('AnimalFood') },
{ json: 'AnimalEverythingElse', js: 'AnimalEverythingElse', typ: r('AnimalAccessoriesClass') },
], false),
AnimalAccessoriesClass: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'properties', js: 'properties', typ: r('AnimalAccessoriesProperties') },
{ json: 'required', js: 'required', typ: a(r('AnimalAccessoriesRequired')) },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
AnimalAccessoriesProperties: o([
{ json: 'shortDescription', js: 'shortDescription', typ: r('Sku') },
{ json: 'keyFeatures', js: 'keyFeatures', typ: r('FabricCareInstructions') },
{ json: 'brand', js: 'brand', typ: r('Sku') },
{ json: 'manufacturer', js: 'manufacturer', typ: r('Sku') },
{ json: 'manufacturerPartNumber', js: 'manufacturerPartNumber', typ: r('Sku') },
{ json: 'modelNumber', js: 'modelNumber', typ: r('Sku') },
{ json: 'multipackQuantity', js: 'multipackQuantity', typ: r('MinimumAdvertisedPrice') },
{ json: 'countPerPack', js: 'countPerPack', typ: r('MinimumAdvertisedPrice') },
{ json: 'count', js: 'count', typ: r('Sku') },
{ json: 'pieceCount', js: 'pieceCount', typ: r('MinimumAdvertisedPrice') },
{ json: 'mainImageUrl', js: 'mainImageUrl', typ: r('Sku') },
{ json: 'productSecondaryImageURL', js: 'productSecondaryImageURL', typ: r('FabricCareInstructions') },
{ json: 'animalType', js: 'animalType', typ: r('Sku') },
{ json: 'animalBreed', js: 'animalBreed', typ: r('Sku') },
{ json: 'animalLifestage', js: 'animalLifestage', typ: r('Sku') },
{ json: 'minimumWeight', js: 'minimumWeight', typ: r('ShippingWeight') },
{ json: 'maximumWeight', js: 'maximumWeight', typ: r('ShippingWeight') },
{ json: 'petSize', js: 'petSize', typ: r('Sku') },
{ json: 'capacity', js: 'capacity', typ: u(undefined, r('Sku')) },
{ json: 'shape', js: 'shape', typ: u(undefined, r('Sku')) },
{ json: 'color', js: 'color', typ: r('Sku') },
{ json: 'colorCategory', js: 'colorCategory', typ: r('CountryOfOriginComponents') },
{ json: 'size', js: 'size', typ: r('Sku') },
{ json: 'assembledProductLength', js: 'assembledProductLength', typ: r('ShippingWeight') },
{ json: 'assembledProductWidth', js: 'assembledProductWidth', typ: r('ShippingWeight') },
{ json: 'assembledProductHeight', js: 'assembledProductHeight', typ: r('ShippingWeight') },
{ json: 'assembledProductWeight', js: 'assembledProductWeight', typ: r('ShippingWeight') },
{ json: 'variantGroupId', js: 'variantGroupId', typ: r('Sku') },
{ json: 'variantAttributeNames', js: 'variantAttributeNames', typ: r('CountryOfOriginComponents') },
{ json: 'isPrimaryVariant', js: 'isPrimaryVariant', typ: r('ProcessMode') },
{ json: 'swatchImages', js: 'swatchImages', typ: r('SwatchImages') },
{ json: 'isProp65WarningRequired', js: 'isProp65WarningRequired', typ: r('ProcessMode') },
{ json: 'prop65WarningText', js: 'prop65WarningText', typ: r('Sku') },
{ json: 'smallPartsWarnings', js: 'smallPartsWarnings', typ: u(undefined, r('SmallPartsWarnings')) },
{ json: 'batteryTechnologyType', js: 'batteryTechnologyType', typ: r('ProcessMode') },
{ json: 'requiresTextileActLabeling', js: 'requiresTextileActLabeling', typ: r('ProcessMode') },
{ json: 'countryOfOriginTextiles', js: 'countryOfOriginTextiles', typ: r('ProcessMode') },
{ json: 'hasExpiration', js: 'hasExpiration', typ: r('ProcessMode') },
{ json: 'hasPricePerUnit', js: 'hasPricePerUnit', typ: r('ProcessMode') },
{ json: 'pricePerUnitQuantity', js: 'pricePerUnitQuantity', typ: r('MinimumAdvertisedPrice') },
{ json: 'pricePerUnitUom', js: 'pricePerUnitUom', typ: r('ProcessMode') },
{ json: 'hasWarranty', js: 'hasWarranty', typ: r('ProcessMode') },
{ json: 'warrantyURL', js: 'warrantyURL', typ: r('Sku') },
{ json: 'warrantyText', js: 'warrantyText', typ: r('Sku') },
{ json: 'hasFuelContainer', js: 'hasFuelContainer', typ: r('ProcessMode') },
{ json: 'material', js: 'material', typ: r('Sku') },
{ json: 'fabricContent', js: 'fabricContent', typ: r('FabricContent') },
{ json: 'fabricCareInstructions', js: 'fabricCareInstructions', typ: r('FabricCareInstructions') },
{ json: 'globalBrandLicense', js: 'globalBrandLicense', typ: r('FabricCareInstructions') },
{ json: 'features', js: 'features', typ: u(undefined, r('FabricCareInstructions')) },
{ json: 'keywords', js: 'keywords', typ: u(undefined, r('Sku')) },
{ json: 'instructions', js: 'instructions', typ: r('Sku') },
{ json: 'batteriesRequired', js: 'batteriesRequired', typ: r('ProcessMode') },
{ json: 'batterySize', js: 'batterySize', typ: u(undefined, r('Sku')) },
{ json: 'character', js: 'character', typ: u(undefined, r('Sku')) },
{ json: 'isFoldable', js: 'isFoldable', typ: r('ProcessMode') },
{ json: 'isReflective', js: 'isReflective', typ: u(undefined, r('ProcessMode')) },
{ json: 'isRetractable', js: 'isRetractable', typ: u(undefined, r('ProcessMode')) },
{ json: 'maximumTemperature', js: 'maximumTemperature', typ: u(undefined, r('ShippingWeight')) },
{ json: 'minimumTemperature', js: 'minimumTemperature', typ: u(undefined, r('ShippingWeight')) },
{ json: 'pattern', js: 'pattern', typ: r('Sku') },
{ json: 'sportsLeague', js: 'sportsLeague', typ: r('Sku') },
{ json: 'sportsTeam', js: 'sportsTeam', typ: r('Sku') },
{ json: 'numberOfSteps', js: 'numberOfSteps', typ: u(undefined, r('MinimumAdvertisedPrice')) },
{ json: 'isAerosol', js: 'isAerosol', typ: u(undefined, r('ProcessMode')) },
{ json: 'hasBatteries', js: 'hasBatteries', typ: u(undefined, r('ProcessMode')) },
{ json: 'isChemical', js: 'isChemical', typ: u(undefined, r('ProcessMode')) },
{ json: 'shelfLife', js: 'shelfLife', typ: u(undefined, r('ShippingWeight')) },
{ json: 'isPortable', js: 'isPortable', typ: u(undefined, r('ProcessMode')) },
{ json: 'autographedBy', js: 'autographedBy', typ: u(undefined, r('Sku')) },
{ json: 'athlete', js: 'athlete', typ: u(undefined, r('Sku')) },
], false),
Sku: o([
{ json: 'type', js: 'type', typ: r('PurpleType') },
{ json: 'title', js: 'title', typ: u(undefined, '') },
{ json: 'minLength', js: 'minLength', typ: 0 },
{ json: 'maxLength', js: 'maxLength', typ: u(undefined, 0) },
{ json: 'format', js: 'format', typ: u(undefined, r('SkuFormat')) },
], false),
ShippingWeight: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'title', js: 'title', typ: '' },
{ json: 'properties', js: 'properties', typ: r('ShippingWeightProperties') },
{ json: 'required', js: 'required', typ: a(r('ShippingWeightRequired')) },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
ShippingWeightProperties: o([
{ json: 'unit', js: 'unit', typ: r('ShippingOverrideActionClass') },
{ json: 'measure', js: 'measure', typ: r('MinimumAdvertisedPrice') },
], false),
MinimumAdvertisedPrice: o([
{ json: 'type', js: 'type', typ: r('MinimumAdvertisedPriceType') },
{ json: 'minimum', js: 'minimum', typ: 0 },
{ json: 'maximum', js: 'maximum', typ: 0 },
{ json: 'exclusiveMaximum', js: 'exclusiveMaximum', typ: true },
{ json: 'multipleOf', js: 'multipleOf', typ: u(undefined, 3.14) },
{ json: 'title', js: 'title', typ: u(undefined, '') },
], false),
ShippingOverrideActionClass: o([
{ json: 'type', js: 'type', typ: r('PurpleType') },
{ json: 'enum', js: 'enum', typ: a('') },
], false),
ProcessMode: o([
{ json: 'type', js: 'type', typ: r('PurpleType') },
{ json: 'title', js: 'title', typ: '' },
{ json: 'enum', js: 'enum', typ: a('') },
], false),
CountryOfOriginComponents: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('CountryOfOriginComponentsType') },
{ json: 'title', js: 'title', typ: r('CountryOfOriginComponentsTitle') },
{ json: 'items', js: 'items', typ: r('ShippingOverrideActionClass') },
{ json: 'minItems', js: 'minItems', typ: 0 },
], false),
FabricCareInstructions: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('CountryOfOriginComponentsType') },
{ json: 'title', js: 'title', typ: '' },
{ json: 'items', js: 'items', typ: r('Sku') },
{ json: 'minItems', js: 'minItems', typ: 0 },
], false),
FabricContent: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('CountryOfOriginComponentsType') },
{ json: 'title', js: 'title', typ: r('FabricContentTitle') },
{ json: 'items', js: 'items', typ: r('FabricContentItems') },
{ json: 'minItems', js: 'minItems', typ: 0 },
], false),
FabricContentItems: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'properties', js: 'properties', typ: r('PurpleProperties') },
{ json: 'required', js: 'required', typ: a(r('ItemsRequired')) },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
PurpleProperties: o([
{ json: 'materialName', js: 'materialName', typ: r('Sku') },
{ json: 'materialPercentage', js: 'materialPercentage', typ: r('MinimumAdvertisedPrice') },
], false),
SmallPartsWarnings: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('CountryOfOriginComponentsType') },
{ json: 'title', js: 'title', typ: r('SmallPartsWarningsTitle') },
{ json: 'items', js: 'items', typ: r('SmallPartsWarningsItems') },
{ json: 'minItems', js: 'minItems', typ: 0 },
], false),
SmallPartsWarningsItems: o([
{ json: 'type', js: 'type', typ: r('MinimumAdvertisedPriceType') },
{ json: 'enum', js: 'enum', typ: a(0) },
], false),
SwatchImages: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('CountryOfOriginComponentsType') },
{ json: 'title', js: 'title', typ: r('SwatchImagesTitle') },
{ json: 'items', js: 'items', typ: r('SwatchImagesItems') },
{ json: 'minItems', js: 'minItems', typ: 0 },
], false),
SwatchImagesItems: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'properties', js: 'properties', typ: r('FluffyProperties') },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
FluffyProperties: o([
{ json: 'swatchVariantAttribute', js: 'swatchVariantAttribute', typ: r('Sku') },
{ json: 'swatchImageUrl', js: 'swatchImageUrl', typ: r('Sku') },
], false),
AnimalFood: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'properties', js: 'properties', typ: r('AnimalFoodProperties') },
{ json: 'required', js: 'required', typ: a(r('AnimalAccessoriesRequired')) },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
AnimalFoodProperties: o([
{ json: 'shortDescription', js: 'shortDescription', typ: r('Sku') },
{ json: 'keyFeatures', js: 'keyFeatures', typ: r('FabricCareInstructions') },
{ json: 'brand', js: 'brand', typ: r('Sku') },
{ json: 'manufacturer', js: 'manufacturer', typ: r('Sku') },
{ json: 'manufacturerPartNumber', js: 'manufacturerPartNumber', typ: r('Sku') },
{ json: 'modelNumber', js: 'modelNumber', typ: r('Sku') },
{ json: 'multipackQuantity', js: 'multipackQuantity', typ: r('MinimumAdvertisedPrice') },
{ json: 'countPerPack', js: 'countPerPack', typ: r('MinimumAdvertisedPrice') },
{ json: 'count', js: 'count', typ: r('Sku') },
{ json: 'mainImageUrl', js: 'mainImageUrl', typ: r('Sku') },
{ json: 'productSecondaryImageURL', js: 'productSecondaryImageURL', typ: r('FabricCareInstructions') },
{ json: 'animalType', js: 'animalType', typ: r('Sku') },
{ json: 'animalBreed', js: 'animalBreed', typ: r('Sku') },
{ json: 'animalLifestage', js: 'animalLifestage', typ: r('Sku') },
{ json: 'minimumWeight', js: 'minimumWeight', typ: r('ShippingWeight') },
{ json: 'maximumWeight', js: 'maximumWeight', typ: r('ShippingWeight') },
{ json: 'petSize', js: 'petSize', typ: r('Sku') },
{ json: 'size', js: 'size', typ: r('Sku') },
{ json: 'petFoodForm', js: 'petFoodForm', typ: r('Sku') },
{ json: 'flavor', js: 'flavor', typ: r('Sku') },
{ json: 'assembledProductLength', js: 'assembledProductLength', typ: r('ShippingWeight') },
{ json: 'assembledProductWidth', js: 'assembledProductWidth', typ: r('ShippingWeight') },
{ json: 'assembledProductHeight', js: 'assembledProductHeight', typ: r('ShippingWeight') },
{ json: 'assembledProductWeight', js: 'assembledProductWeight', typ: r('ShippingWeight') },
{ json: 'variantGroupId', js: 'variantGroupId', typ: r('Sku') },
{ json: 'variantAttributeNames', js: 'variantAttributeNames', typ: r('CountryOfOriginComponents') },
{ json: 'isPrimaryVariant', js: 'isPrimaryVariant', typ: r('ProcessMode') },
{ json: 'swatchImages', js: 'swatchImages', typ: r('SwatchImages') },
{ json: 'isProp65WarningRequired', js: 'isProp65WarningRequired', typ: r('ProcessMode') },
{ json: 'prop65WarningText', js: 'prop65WarningText', typ: r('Sku') },
{ json: 'hasExpiration', js: 'hasExpiration', typ: r('ProcessMode') },
{ json: 'hasPricePerUnit', js: 'hasPricePerUnit', typ: r('ProcessMode') },
{ json: 'pricePerUnitQuantity', js: 'pricePerUnitQuantity', typ: r('MinimumAdvertisedPrice') },
{ json: 'pricePerUnitUom', js: 'pricePerUnitUom', typ: r('ProcessMode') },
{ json: 'hasGMOs', js: 'hasGMOs', typ: r('ProcessMode') },
{ json: 'hasWarranty', js: 'hasWarranty', typ: r('ProcessMode') },
{ json: 'warrantyURL', js: 'warrantyURL', typ: r('Sku') },
{ json: 'warrantyText', js: 'warrantyText', typ: r('Sku') },
{ json: 'isNutritionFactsLabelRequired', js: 'isNutritionFactsLabelRequired', typ: r('ProcessMode') },
{ json: 'nutritionFactsLabel', js: 'nutritionFactsLabel', typ: r('Sku') },
{ json: 'nutritionIngredientsImage', js: 'nutritionIngredientsImage', typ: r('Sku') },
{ json: 'feedingInstructions', js: 'feedingInstructions', typ: r('Sku') },
{ json: 'animalHealthConcern', js: 'animalHealthConcern', typ: r('FabricCareInstructions') },
{ json: 'globalBrandLicense', js: 'globalBrandLicense', typ: r('FabricCareInstructions') },
{ json: 'features', js: 'features', typ: r('FabricCareInstructions') },
{ json: 'keywords', js: 'keywords', typ: r('Sku') },
{ json: 'instructions', js: 'instructions', typ: r('Sku') },
], false),
AnimalHealthAndGrooming: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'properties', js: 'properties', typ: r('AnimalHealthAndGroomingProperties') },
{ json: 'required', js: 'required', typ: a('') },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
AnimalHealthAndGroomingProperties: o([
{ json: 'pieceCount', js: 'pieceCount', typ: r('MinimumAdvertisedPrice') },
{ json: 'shortDescription', js: 'shortDescription', typ: r('Sku') },
{ json: 'keyFeatures', js: 'keyFeatures', typ: r('FabricCareInstructions') },
{ json: 'brand', js: 'brand', typ: r('Sku') },
{ json: 'manufacturer', js: 'manufacturer', typ: r('Sku') },
{ json: 'manufacturerPartNumber', js: 'manufacturerPartNumber', typ: r('Sku') },
{ json: 'modelNumber', js: 'modelNumber', typ: r('Sku') },
{ json: 'multipackQuantity', js: 'multipackQuantity', typ: r('MinimumAdvertisedPrice') },
{ json: 'countPerPack', js: 'countPerPack', typ: r('MinimumAdvertisedPrice') },
{ json: 'count', js: 'count', typ: r('Sku') },
{ json: 'mainImageUrl', js: 'mainImageUrl', typ: r('Sku') },
{ json: 'productSecondaryImageURL', js: 'productSecondaryImageURL', typ: r('FabricCareInstructions') },
{ json: 'animalType', js: 'animalType', typ: r('Sku') },
{ json: 'animalBreed', js: 'animalBreed', typ: r('Sku') },
{ json: 'animalLifestage', js: 'animalLifestage', typ: r('Sku') },
{ json: 'minimumWeight', js: 'minimumWeight', typ: r('ShippingWeight') },
{ json: 'maximumWeight', js: 'maximumWeight', typ: r('ShippingWeight') },
{ json: 'petSize', js: 'petSize', typ: r('Sku') },
{ json: 'size', js: 'size', typ: r('Sku') },
{ json: 'animalHealthConcern', js: 'animalHealthConcern', typ: r('FabricCareInstructions') },
{ json: 'dosage', js: 'dosage', typ: r('Sku') },
{ json: 'assembledProductLength', js: 'assembledProductLength', typ: r('ShippingWeight') },
{ json: 'assembledProductWidth', js: 'assembledProductWidth', typ: r('ShippingWeight') },
{ json: 'assembledProductHeight', js: 'assembledProductHeight', typ: r('ShippingWeight') },
{ json: 'assembledProductWeight', js: 'assembledProductWeight', typ: r('ShippingWeight') },
{ json: 'variantGroupId', js: 'variantGroupId', typ: r('Sku') },
{ json: 'variantAttributeNames', js: 'variantAttributeNames', typ: r('CountryOfOriginComponents') },
{ json: 'isPrimaryVariant', js: 'isPrimaryVariant', typ: r('ProcessMode') },
{ json: 'swatchImages', js: 'swatchImages', typ: r('SwatchImages') },
{ json: 'isProp65WarningRequired', js: 'isProp65WarningRequired', typ: r('ProcessMode') },
{ json: 'prop65WarningText', js: 'prop65WarningText', typ: r('Sku') },
{ json: 'hasExpiration', js: 'hasExpiration', typ: r('ProcessMode') },
{ json: 'hasPricePerUnit', js: 'hasPricePerUnit', typ: r('ProcessMode') },
{ json: 'pricePerUnitQuantity', js: 'pricePerUnitQuantity', typ: r('MinimumAdvertisedPrice') },
{ json: 'pricePerUnitUom', js: 'pricePerUnitUom', typ: r('ProcessMode') },
{ json: 'hasWarranty', js: 'hasWarranty', typ: r('ProcessMode') },
{ json: 'warrantyURL', js: 'warrantyURL', typ: r('Sku') },
{ json: 'warrantyText', js: 'warrantyText', typ: r('Sku') },
{ json: 'isNutritionFactsLabelRequired', js: 'isNutritionFactsLabelRequired', typ: r('ProcessMode') },
{ json: 'nutritionFactsLabel', js: 'nutritionFactsLabel', typ: r('Sku') },
{ json: 'hasIngredientList', js: 'hasIngredientList', typ: r('ProcessMode') },
{ json: 'ingredientListImage', js: 'ingredientListImage', typ: r('Sku') },
{ json: 'ingredients', js: 'ingredients', typ: r('Sku') },
{ json: 'isDrugFactsLabelRequired', js: 'isDrugFactsLabelRequired', typ: r('ProcessMode') },
{ json: 'drugFactsLabel', js: 'drugFactsLabel', typ: r('Sku') },
{ json: 'drugDosageInstructionsImage', js: 'drugDosageInstructionsImage', typ: r('Sku') },
{ json: 'drugActiveInactiveIngredientsImage', js: 'drugActiveInactiveIngredientsImage', typ: r('Sku') },
{ json: 'globalBrandLicense', js: 'globalBrandLicense', typ: r('FabricCareInstructions') },
{ json: 'activeIngredients', js: 'activeIngredients', typ: r('ActiveIngredients') },
{ json: 'inactiveIngredients', js: 'inactiveIngredients', typ: r('FabricCareInstructions') },
{ json: 'stopUseIndications', js: 'stopUseIndications', typ: r('FabricCareInstructions') },
{ json: 'form', js: 'form', typ: r('Sku') },
{ json: 'scent', js: 'scent', typ: r('Sku') },
{ json: 'hairLength', js: 'hairLength', typ: r('FabricCareInstructions') },
{ json: 'powerType', js: 'powerType', typ: r('Sku') },
{ json: 'isDisposable', js: 'isDisposable', typ: r('ProcessMode') },
{ json: 'features', js: 'features', typ: r('FabricCareInstructions') },
{ json: 'keywords', js: 'keywords', typ: r('Sku') },
{ json: 'instructions', js: 'instructions', typ: r('Sku') },
{ json: 'isRetractable', js: 'isRetractable', typ: r('ProcessMode') },
], false),
ActiveIngredients: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('CountryOfOriginComponentsType') },
{ json: 'title', js: 'title', typ: '' },
{ json: 'items', js: 'items', typ: r('ActiveIngredientsItems') },
{ json: 'minItems', js: 'minItems', typ: 0 },
], false),
ActiveIngredientsItems: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'properties', js: 'properties', typ: r('TentacledProperties') },
{ json: 'required', js: 'required', typ: a('') },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
TentacledProperties: o([
{ json: 'activeIngredientName', js: 'activeIngredientName', typ: r('Sku') },
{ json: 'activeIngredientPercentage', js: 'activeIngredientPercentage', typ: r('MinimumAdvertisedPrice') },
], false),
ArtAndCraftCategory: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'title', js: 'title', typ: '' },
{ json: 'properties', js: 'properties', typ: r('ArtAndCraftCategoryProperties') },
{ json: 'oneOf', js: 'oneOf', typ: a(r('OneOf')) },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
ArtAndCraftCategoryProperties: o([{ json: 'ArtAndCraft', js: 'ArtAndCraft', typ: r('ArtAndCraft') }], false),
ArtAndCraft: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'properties', js: 'properties', typ: r('ArtAndCraftProperties') },
{ json: 'required', js: 'required', typ: a(r('AnimalAccessoriesRequired')) },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
ArtAndCraftProperties: o([
{ json: 'shortDescription', js: 'shortDescription', typ: r('Sku') },
{ json: 'keyFeatures', js: 'keyFeatures', typ: r('FabricCareInstructions') },
{ json: 'brand', js: 'brand', typ: r('Sku') },
{ json: 'manufacturer', js: 'manufacturer', typ: r('Sku') },
{ json: 'manufacturerPartNumber', js: 'manufacturerPartNumber', typ: r('Sku') },
{ json: 'modelNumber', js: 'modelNumber', typ: r('Sku') },
{ json: 'multipackQuantity', js: 'multipackQuantity', typ: r('MinimumAdvertisedPrice') },
{ json: 'countPerPack', js: 'countPerPack', typ: r('MinimumAdvertisedPrice') },
{ json: 'count', js: 'count', typ: r('Sku') },
{ json: 'pieceCount', js: 'pieceCount', typ: r('MinimumAdvertisedPrice') },
{ json: 'mainImageUrl', js: 'mainImageUrl', typ: r('Sku') },
{ json: 'productSecondaryImageURL', js: 'productSecondaryImageURL', typ: r('FabricCareInstructions') },
{ json: 'color', js: 'color', typ: r('Sku') },
{ json: 'colorCategory', js: 'colorCategory', typ: r('CountryOfOriginComponents') },
{ json: 'material', js: 'material', typ: r('Sku') },
{ json: 'pattern', js: 'pattern', typ: r('Sku') },
{ json: 'size', js: 'size', typ: r('Sku') },
{ json: 'metal', js: 'metal', typ: r('Sku') },
{ json: 'plating', js: 'plating', typ: r('Sku') },
{ json: 'finish', js: 'finish', typ: r('Sku') },
{ json: 'form', js: 'form', typ: r('Sku') },
{ json: 'shape', js: 'shape', typ: r('Sku') },
{ json: 'scent', js: 'scent', typ: r('Sku') },
{ json: 'gender', js: 'gender', typ: r('ProcessMode') },
{ json: 'ageGroup', js: 'ageGroup', typ: r('CountryOfOriginComponents') },
{ json: 'ageRange', js: 'ageRange', typ: r('AgeRange') },
{ json: 'artPaintType', js: 'artPaintType', typ: r('Sku') },
{ json: 'assembledProductLength', js: 'assembledProductLength', typ: r('ShippingWeight') },
{ json: 'assembledProductWidth', js: 'assembledProductWidth', typ: r('ShippingWeight') },
{ json: 'assembledProductHeight', js: 'assembledProductHeight', typ: r('ShippingWeight') },
{ json: 'assembledProductWeight', js: 'assembledProductWeight', typ: r('ShippingWeight') },
{ json: 'variantGroupId', js: 'variantGroupId', typ: r('Sku') },
{ json: 'variantAttributeNames', js: 'variantAttributeNames', typ: r('CountryOfOriginComponents') },
{ json: 'isPrimaryVariant', js: 'isPrimaryVariant', typ: r('ProcessMode') },
{ json: 'swatchImages', js: 'swatchImages', typ: r('SwatchImages') },
{ json: 'isProp65WarningRequired', js: 'isProp65WarningRequired', typ: r('ProcessMode') },
{ json: 'prop65WarningText', js: 'prop65WarningText', typ: r('Sku') },
{ json: 'smallPartsWarnings', js: 'smallPartsWarnings', typ: r('SmallPartsWarnings') },
{ json: 'batteryTechnologyType', js: 'batteryTechnologyType', typ: r('ProcessMode') },
{ json: 'hasIngredientList', js: 'hasIngredientList', typ: r('ProcessMode') },
{ json: 'ingredientListImage', js: 'ingredientListImage', typ: r('Sku') },
{ json: 'ingredients', js: 'ingredients', typ: r('Sku') },
{ json: 'isAerosol', js: 'isAerosol', typ: r('ProcessMode') },
{ json: 'isChemical', js: 'isChemical', typ: r('ProcessMode') },
{
json: 'compositeWoodCertificationCode',
js: 'compositeWoodCertificationCode',
typ: r('CompositeWoodCertificationCode'),
},
{ json: 'hasExpiration', js: 'hasExpiration', typ: r('ProcessMode') },
{ json: 'hasWarranty', js: 'hasWarranty', typ: r('ProcessMode') },
{ json: 'warrantyURL', js: 'warrantyURL', typ: r('Sku') },
{ json: 'warrantyText', js: 'warrantyText', typ: r('Sku') },
{ json: 'hasFuelContainer', js: 'hasFuelContainer', typ: r('ProcessMode') },
{ json: 'fabricContent', js: 'fabricContent', typ: r('FabricContent') },
{ json: 'fabricCareInstructions', js: 'fabricCareInstructions', typ: r('FabricCareInstructions') },
{ json: 'capacity', js: 'capacity', typ: r('Sku') },
{ json: 'diameter', js: 'diameter', typ: r('ShippingWeight') },
{ json: 'culturalStyle', js: 'culturalStyle', typ: r('Sku') },
{ json: 'subject', js: 'subject', typ: r('Sku') },
{ json: 'theme', js: 'theme', typ: r('Sku') },
{ json: 'occasion', js: 'occasion', typ: r('Sku') },
{ json: 'isAntique', js: 'isAntique', typ: r('ProcessMode') },
{ json: 'isCollectible', js: 'isCollectible', typ: r('ProcessMode') },
{ json: 'character', js: 'character', typ: r('Sku') },
{ json: 'isPowered', js: 'isPowered', typ: r('ProcessMode') },
{ json: 'powerType', js: 'powerType', typ: r('Sku') },
{ json: 'isBulk', js: 'isBulk', typ: r('ProcessMode') },
{ json: 'isHandmade', js: 'isHandmade', typ: r('ProcessMode') },
{ json: 'isSelfAdhesive', js: 'isSelfAdhesive', typ: r('ProcessMode') },
{ json: 'isAntitarnish', js: 'isAntitarnish', typ: r('ProcessMode') },
{ json: 'isReusable', js: 'isReusable', typ: r('ProcessMode') },
{ json: 'isRefillable', js: 'isRefillable', typ: r('ProcessMode') },
{ json: 'isDisposable', js: 'isDisposable', typ: r('ProcessMode') },
{ json: 'isRecyclable', js: 'isRecyclable', typ: r('ProcessMode') },
{ json: 'recommendedUses', js: 'recommendedUses', typ: r('FabricCareInstructions') },
{ json: 'recommendedSurfaces', js: 'recommendedSurfaces', typ: r('FabricCareInstructions') },
{ json: 'chainLength', js: 'chainLength', typ: r('ShippingWeight') },
{ json: 'skillLevel', js: 'skillLevel', typ: r('Sku') },
{ json: 'globalBrandLicense', js: 'globalBrandLicense', typ: r('FabricCareInstructions') },
{ json: 'features', js: 'features', typ: r('FabricCareInstructions') },
{ json: 'keywords', js: 'keywords', typ: r('Sku') },
], false),
AgeRange: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'properties', js: 'properties', typ: r('AgeRangeProperties') },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
AgeRangeProperties: o([
{ json: 'RangeMinimum', js: 'RangeMinimum', typ: r('MinimumAdvertisedPrice') },
{ json: 'RangeMaximum', js: 'RangeMaximum', typ: r('MinimumAdvertisedPrice') },
{ json: 'unit', js: 'unit', typ: r('ProcessMode') },
], false),
CompositeWoodCertificationCode: o([
{ json: 'type', js: 'type', typ: r('MinimumAdvertisedPriceType') },
{ json: 'title', js: 'title', typ: '' },
{ json: 'enum', js: 'enum', typ: a(0) },
], false),
Baby: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'title', js: 'title', typ: '' },
{ json: 'properties', js: 'properties', typ: r('BabyProperties') },
{ json: 'oneOf', js: 'oneOf', typ: a(r('OneOf')) },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
BabyProperties: o([
{ json: 'BabyFood', js: 'BabyFood', typ: r('BabyFood') },
{ json: 'BabyOther', js: 'BabyOther', typ: r('BabyFurniture') },
{ json: 'ChildCarSeats', js: 'ChildCarSeats', typ: r('ChildCarSeats') },
{ json: 'BabyFurniture', js: 'BabyFurniture', typ: r('BabyFurniture') },
{ json: 'BabyToys', js: 'BabyToys', typ: r('BabyFurniture') },
{ json: 'BabyClothing', js: 'BabyClothing', typ: r('BabyClothing') },
], false),
BabyClothing: o([
{ json: '$schema', js: '$schema', typ: '' },
{ json: 'type', js: 'type', typ: r('ShippingWeightType') },
{ json: 'properties', js: 'properties', typ: r('BabyClothingProperties') },
{ json: 'required', js: 'required', typ: a(r('AnimalAccessoriesRequired')) },
{ json: 'additionalProperties', js: 'additionalProperties', typ: true },
], false),
BabyClothingProperties: o([
{ json: 'shortDescription', js: 'shortDescription', typ: r('Sku') },
{ json: 'keyFeatures', js: 'keyFeatures', typ: r('FabricCareInstructions') },
{ json: 'brand', js: 'brand', typ: r('Sku') },
{ json: 'manufacturer', js: 'manufacturer', typ: r('Sku') },
{ json: 'modelNumber', js: 'modelNumber', typ: r('Sku') },
{ json: 'manufacturerPartNumber', js: 'manufacturerPartNumber', typ: r('Sku') },
{ json: 'multipackQuantity', js: 'multipackQuantity', typ: r('MinimumAdvertisedPrice') },
{ json: 'countPerPack', js: 'countPerPack', typ: r('MinimumAdvertisedPrice') },
{ json: 'count', js: 'count', typ: r('Sku') },
{ json: 'pieceCount', js: 'pieceCount', typ: r('MinimumAdvertisedPrice') },
{ json: 'mainImageUrl', js: 'mainImageUrl', typ: r('Sku') },
{ json: 'productSecondaryImageURL', js: 'productSecondaryImageURL', typ: r('FabricCareInstructions') },
{ json: 'color', js: 'color', typ: r('Sku') },
{ json: 'colorCategory', js: 'colorCategory', typ: r('CountryOfOriginComponents') },
{ json: 'gender', js: 'gender', typ: r('ProcessMode') },
{ json: 'babyClothingSize', js: 'babyClothingSize', typ: r('Sku') },
{ json: 'ageGroup', js: 'ageGroup', typ: r('CountryOfOriginComponents') },
{ json: 'ageRange', js: 'ageRange', typ: r('AgeRange') },
{ json: 'minimumWeight', js: 'minimumWeight', typ: r('ShippingWeight') },
{ json: 'maximumWeight', js: 'maximumWeight', typ: r('ShippingWeight') },
{ json: 'season', js: 'season', typ: r('Sku') },
{ json: 'scent', js: 'scent', typ: r('Sku') },
{ json: 'character', js: 'character', typ: r('Sku') },
{ json: 'globalBrandLicense', js: 'globalBrandLicense', typ: r('FabricCareInstructions') },
{ json: 'pattern', js: 'pattern', typ: r('Sku') },
{ json: 'shoeCategory', js: 'shoeCategory', typ: r('ProcessMode') },
{ json: 'shoeStyle', js: 'shoeStyle', typ: r('Sku') },
{ json: 'shoeSize', js: 'shoeSize', typ: r('Sku') },
{ json: 'shoeWidth', js: 'shoeWidth', typ: r('Sku') },
{ json: 'shoeClosure', js: 'shoeClosure', typ: r('Sku') },
{ json: 'variantGroupId', js: 'variantGroupId', typ: r('Sku') },
{ json: 'variantAttributeNames', js: 'variantAttributeNames', typ: r('CountryOfOriginComponents') },
{ json: 'isPrimaryVariant', js: 'isPrimaryVariant', typ: r('ProcessMode') },
{ json: 'swatchImages', js: 'swatchImages', typ: r('SwatchImages') },
{ json: 'isProp65WarningRequired', js: 'isProp65WarningRequired',