MANUFACTURERS

manufacturers.accounts.languages.productCertifications.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

manufacturers.accounts.languages.productCertifications.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

manufacturers.accounts.languages.productCertifications.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

manufacturers.accounts.languages.productCertifications.patch

valid {
    input.Body.brand == STRING
    input.Body.certification[_].authority == STRING
    input.Body.certification[_].code == STRING
    input.Body.certification[_].link == STRING
    input.Body.certification[_].logo == STRING
    input.Body.certification[_].name == STRING
    input.Body.certification[_].validUntil == STRING
    input.Body.certification[_].value == STRING
    input.Body.countryCode[_] == STRING
    input.Body.mpn[_] == STRING
    input.Body.name == STRING
    input.Body.productCode[_] == STRING
    input.Body.productType[_] == STRING
    input.Body.title == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

manufacturers.accounts.products.delete

valid {
    input.ReqMap.name == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

manufacturers.accounts.products.get

enum_IncludeParameter := [ "UNKNOWN", "ATTRIBUTES", "ISSUES", "DESTINATION_STATUSES" ]

valid {
    input.ReqMap.name == STRING
    input.ReqMap.parent == STRING
    input.Qs.include == enum_IncludeParameter[_]
    input.ProviderMetadata.Region == STRING
}

manufacturers.accounts.products.list

enum_IncludeParameter := [ "UNKNOWN", "ATTRIBUTES", "ISSUES", "DESTINATION_STATUSES" ]

valid {
    input.ReqMap.parent == STRING
    input.Qs.include == enum_IncludeParameter[_]
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

manufacturers.accounts.products.update

enum_ImageStatus := [ "STATUS_UNSPECIFIED", "PENDING_PROCESSING", "PENDING_CRAWL", "OK", "ROBOTED", "XROBOTED", "CRAWL_ERROR", "PROCESSING_ERROR", "DECODING_ERROR", "TOO_BIG", "CRAWL_SKIPPED", "HOSTLOADED", "HTTP_404" ]
enum_ImageType := [ "TYPE_UNSPECIFIED", "CRAWLED", "UPLOADED" ]

valid {
    input.Body.additionalImageLink[_].imageUrl == STRING
    input.Body.additionalImageLink[_].status == enum_ImageStatus[_]
    input.Body.additionalImageLink[_].type == enum_ImageType[_]
    input.Body.ageGroup == STRING
    input.Body.brand == STRING
    input.Body.capacity.unit == STRING
    input.Body.capacity.value == STRING
    input.Body.certification[_].authority == STRING
    input.Body.certification[_].code == STRING
    input.Body.certification[_].name == STRING
    input.Body.color == STRING
    input.Body.count.unit == STRING
    input.Body.count.value == STRING
    input.Body.description == STRING
    input.Body.disclosureDate == STRING
    input.Body.excludedDestination[_] == STRING
    input.Body.featureDescription[_].headline == STRING
    input.Body.featureDescription[_].image.imageUrl == STRING
    input.Body.featureDescription[_].image.status == enum_ImageStatus[_]
    input.Body.featureDescription[_].image.type == enum_ImageType[_]
    input.Body.featureDescription[_].text == STRING
    input.Body.flavor == STRING
    input.Body.format == STRING
    input.Body.gender == STRING
    input.Body.grocery.activeIngredients == STRING
    input.Body.grocery.alcoholByVolume == NUMBER
    input.Body.grocery.allergens == STRING
    input.Body.grocery.derivedNutritionClaim[_] == STRING
    input.Body.grocery.directions == STRING
    input.Body.grocery.indications == STRING
    input.Body.grocery.ingredients == STRING
    input.Body.grocery.nutritionClaim[_] == STRING
    input.Body.grocery.storageInstructions == STRING
    input.Body.gtin[_] == STRING
    input.Body.imageLink.imageUrl == STRING
    input.Body.imageLink.status == enum_ImageStatus[_]
    input.Body.imageLink.type == enum_ImageType[_]
    input.Body.includedDestination[_] == STRING
    input.Body.intendedCountry[_] == STRING
    input.Body.itemGroupId == STRING
    input.Body.material == STRING
    input.Body.mpn == STRING
    input.Body.nutrition.addedSugars.amount == NUMBER
    input.Body.nutrition.addedSugars.unit == STRING
    input.Body.nutrition.addedSugarsDailyPercentage == NUMBER
    input.Body.nutrition.calcium.amount == NUMBER
    input.Body.nutrition.calcium.unit == STRING
    input.Body.nutrition.calciumDailyPercentage == NUMBER
    input.Body.nutrition.cholesterol.amount == NUMBER
    input.Body.nutrition.cholesterol.unit == STRING
    input.Body.nutrition.cholesterolDailyPercentage == NUMBER
    input.Body.nutrition.dietaryFiber.amount == NUMBER
    input.Body.nutrition.dietaryFiber.unit == STRING
    input.Body.nutrition.dietaryFiberDailyPercentage == NUMBER
    input.Body.nutrition.energy.amount == NUMBER
    input.Body.nutrition.energy.unit == STRING
    input.Body.nutrition.energyFromFat.amount == NUMBER
    input.Body.nutrition.energyFromFat.unit == STRING
    input.Body.nutrition.folateDailyPercentage == NUMBER
    input.Body.nutrition.folateFolicAcid.amount == NUMBER
    input.Body.nutrition.folateFolicAcid.unit == STRING
    input.Body.nutrition.folateMcgDfe == NUMBER
    input.Body.nutrition.iron.amount == NUMBER
    input.Body.nutrition.iron.unit == STRING
    input.Body.nutrition.ironDailyPercentage == NUMBER
    input.Body.nutrition.monounsaturatedFat.amount == NUMBER
    input.Body.nutrition.monounsaturatedFat.unit == STRING
    input.Body.nutrition.nutritionFactMeasure == STRING
    input.Body.nutrition.polyols.amount == NUMBER
    input.Body.nutrition.polyols.unit == STRING
    input.Body.nutrition.polyunsaturatedFat.amount == NUMBER
    input.Body.nutrition.polyunsaturatedFat.unit == STRING
    input.Body.nutrition.potassium.amount == NUMBER
    input.Body.nutrition.potassium.unit == STRING
    input.Body.nutrition.potassiumDailyPercentage == NUMBER
    input.Body.nutrition.preparedSizeDescription == STRING
    input.Body.nutrition.protein.amount == NUMBER
    input.Body.nutrition.protein.unit == STRING
    input.Body.nutrition.proteinDailyPercentage == NUMBER
    input.Body.nutrition.saturatedFat.amount == NUMBER
    input.Body.nutrition.saturatedFat.unit == STRING
    input.Body.nutrition.saturatedFatDailyPercentage == NUMBER
    input.Body.nutrition.servingSizeDescription == STRING
    input.Body.nutrition.servingSizeMeasure.amount == NUMBER
    input.Body.nutrition.servingSizeMeasure.unit == STRING
    input.Body.nutrition.servingsPerContainer == STRING
    input.Body.nutrition.sodium.amount == NUMBER
    input.Body.nutrition.sodium.unit == STRING
    input.Body.nutrition.sodiumDailyPercentage == NUMBER
    input.Body.nutrition.starch.amount == NUMBER
    input.Body.nutrition.starch.unit == STRING
    input.Body.nutrition.totalCarbohydrate.amount == NUMBER
    input.Body.nutrition.totalCarbohydrate.unit == STRING
    input.Body.nutrition.totalCarbohydrateDailyPercentage == NUMBER
    input.Body.nutrition.totalFat.amount == NUMBER
    input.Body.nutrition.totalFat.unit == STRING
    input.Body.nutrition.totalFatDailyPercentage == NUMBER
    input.Body.nutrition.totalSugars.amount == NUMBER
    input.Body.nutrition.totalSugars.unit == STRING
    input.Body.nutrition.totalSugarsDailyPercentage == NUMBER
    input.Body.nutrition.transFat.amount == NUMBER
    input.Body.nutrition.transFat.unit == STRING
    input.Body.nutrition.transFatDailyPercentage == NUMBER
    input.Body.nutrition.vitaminD.amount == NUMBER
    input.Body.nutrition.vitaminD.unit == STRING
    input.Body.nutrition.vitaminDDailyPercentage == NUMBER
    input.Body.nutrition.voluntaryNutritionFact[_].dailyPercentage == NUMBER
    input.Body.nutrition.voluntaryNutritionFact[_].name == STRING
    input.Body.nutrition.voluntaryNutritionFact[_].value.amount == NUMBER
    input.Body.nutrition.voluntaryNutritionFact[_].value.unit == STRING
    input.Body.pattern == STRING
    input.Body.productDetail[_].attributeName == STRING
    input.Body.productDetail[_].attributeValue == STRING
    input.Body.productDetail[_].sectionName == STRING
    input.Body.productHighlight[_] == STRING
    input.Body.productLine == STRING
    input.Body.productName == STRING
    input.Body.productPageUrl == STRING
    input.Body.productType[_] == STRING
    input.Body.releaseDate == STRING
    input.Body.richProductContent[_] == STRING
    input.Body.scent == STRING
    input.Body.size == STRING
    input.Body.sizeSystem == STRING
    input.Body.sizeType[_] == STRING
    input.Body.suggestedRetailPrice.amount == STRING
    input.Body.suggestedRetailPrice.currency == STRING
    input.Body.targetClientId == STRING
    input.Body.theme == STRING
    input.Body.title == STRING
    input.Body.videoLink[_] == STRING
    input.Body.virtualModelLink == STRING
    input.ReqMap.name == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}