CONSUMERSURVEYS

consumersurveys.mobileapppanels.get

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

consumersurveys.mobileapppanels.list

valid {
    input.Qs.maxResults == INTEGER
    input.Qs.startIndex == INTEGER
    input.Qs.token == STRING
    input.ProviderMetadata.Region == STRING
}

consumersurveys.mobileapppanels.update

valid {
    input.Body.country == STRING
    input.Body.isPublicPanel == BOOLEAN
    input.Body.language == STRING
    input.Body.mobileAppPanelId == STRING
    input.Body.name == STRING
    input.Body.owners[_] == STRING
    input.ReqMap.panelId == STRING
    input.ProviderMetadata.Region == STRING
}

consumersurveys.results.get

valid {
    input.Body.resultMask.fields[_].fields[_] == NESTED
    input.Body.resultMask.fields[_].id == INTEGER
    input.Body.resultMask.projection == STRING
    input.ReqMap.surveyUrlId == STRING
    input.ProviderMetadata.Region == STRING
}

consumersurveys.surveys.delete

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

consumersurveys.surveys.get

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

consumersurveys.surveys.insert

valid {
    input.Body.audience.ages[_] == STRING
    input.Body.audience.country == STRING
    input.Body.audience.countrySubdivision == STRING
    input.Body.audience.gender == STRING
    input.Body.audience.languages[_] == STRING
    input.Body.audience.mobileAppPanelId == STRING
    input.Body.audience.populationSource == STRING
    input.Body.cost.costPerResponseNanos == STRING
    input.Body.cost.currencyCode == STRING
    input.Body.cost.maxCostPerResponseNanos == STRING
    input.Body.cost.nanos == STRING
    input.Body.customerData == STRING
    input.Body.description == STRING
    input.Body.owners[_] == STRING
    input.Body.questions[_].answerOrder == STRING
    input.Body.questions[_].answers[_] == STRING
    input.Body.questions[_].hasOther == BOOLEAN
    input.Body.questions[_].highValueLabel == STRING
    input.Body.questions[_].images[_].altText == STRING
    input.Body.questions[_].images[_].data == STRING
    input.Body.questions[_].images[_].url == STRING
    input.Body.questions[_].lastAnswerPositionPinned == BOOLEAN
    input.Body.questions[_].lowValueLabel == STRING
    input.Body.questions[_].mustPickSuggestion == BOOLEAN
    input.Body.questions[_].numStars == STRING
    input.Body.questions[_].openTextPlaceholder == STRING
    input.Body.questions[_].openTextSuggestions[_] == STRING
    input.Body.questions[_].question == STRING
    input.Body.questions[_].sentimentText == STRING
    input.Body.questions[_].singleLineResponse == BOOLEAN
    input.Body.questions[_].thresholdAnswers[_] == STRING
    input.Body.questions[_].type == STRING
    input.Body.questions[_].unitOfMeasurementLabel == STRING
    input.Body.questions[_].videoId == STRING
    input.Body.rejectionReason.explanation == STRING
    input.Body.rejectionReason.type == STRING
    input.Body.state == STRING
    input.Body.surveyUrlId == STRING
    input.Body.title == STRING
    input.Body.wantedResponseCount == INTEGER
    input.ProviderMetadata.Region == STRING
}

consumersurveys.surveys.list

valid {
    input.Qs.maxResults == INTEGER
    input.Qs.startIndex == INTEGER
    input.Qs.token == STRING
    input.ProviderMetadata.Region == STRING
}

consumersurveys.surveys.start

valid {
    input.Body.maxCostPerResponseNanos == STRING
    input.ReqMap.resourceId == STRING
    input.ProviderMetadata.Region == STRING
}

consumersurveys.surveys.stop

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

consumersurveys.surveys.update

valid {
    input.Body.audience.ages[_] == STRING
    input.Body.audience.country == STRING
    input.Body.audience.countrySubdivision == STRING
    input.Body.audience.gender == STRING
    input.Body.audience.languages[_] == STRING
    input.Body.audience.mobileAppPanelId == STRING
    input.Body.audience.populationSource == STRING
    input.Body.cost.costPerResponseNanos == STRING
    input.Body.cost.currencyCode == STRING
    input.Body.cost.maxCostPerResponseNanos == STRING
    input.Body.cost.nanos == STRING
    input.Body.customerData == STRING
    input.Body.description == STRING
    input.Body.owners[_] == STRING
    input.Body.questions[_].answerOrder == STRING
    input.Body.questions[_].answers[_] == STRING
    input.Body.questions[_].hasOther == BOOLEAN
    input.Body.questions[_].highValueLabel == STRING
    input.Body.questions[_].images[_].altText == STRING
    input.Body.questions[_].images[_].data == STRING
    input.Body.questions[_].images[_].url == STRING
    input.Body.questions[_].lastAnswerPositionPinned == BOOLEAN
    input.Body.questions[_].lowValueLabel == STRING
    input.Body.questions[_].mustPickSuggestion == BOOLEAN
    input.Body.questions[_].numStars == STRING
    input.Body.questions[_].openTextPlaceholder == STRING
    input.Body.questions[_].openTextSuggestions[_] == STRING
    input.Body.questions[_].question == STRING
    input.Body.questions[_].sentimentText == STRING
    input.Body.questions[_].singleLineResponse == BOOLEAN
    input.Body.questions[_].thresholdAnswers[_] == STRING
    input.Body.questions[_].type == STRING
    input.Body.questions[_].unitOfMeasurementLabel == STRING
    input.Body.questions[_].videoId == STRING
    input.Body.rejectionReason.explanation == STRING
    input.Body.rejectionReason.type == STRING
    input.Body.state == STRING
    input.Body.surveyUrlId == STRING
    input.Body.title == STRING
    input.Body.wantedResponseCount == INTEGER
    input.ReqMap.surveyUrlId == STRING
    input.ProviderMetadata.Region == STRING
}