GAMESCONFIGURATION

gamesConfiguration.achievementConfigurations.delete

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

gamesConfiguration.achievementConfigurations.get

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

gamesConfiguration.achievementConfigurations.insert

enum_AchievementConfigurationAchievementType := [ "ACHIEVEMENT_TYPE_UNSPECIFIED", "STANDARD", "INCREMENTAL" ]
enum_AchievementConfigurationInitialState := [ "INITIAL_STATE_UNSPECIFIED", "HIDDEN", "REVEALED" ]

valid {
    input.Body.achievementType == enum_AchievementConfigurationAchievementType[_]
    input.Body.draft.description.kind == STRING
    input.Body.draft.description.translations[_].kind == STRING
    input.Body.draft.description.translations[_].locale == STRING
    input.Body.draft.description.translations[_].value == STRING
    input.Body.draft.iconUrl == STRING
    input.Body.draft.kind == STRING
    input.Body.draft.name.kind == STRING
    input.Body.draft.name.translations[_].kind == STRING
    input.Body.draft.name.translations[_].locale == STRING
    input.Body.draft.name.translations[_].value == STRING
    input.Body.draft.pointValue == INTEGER
    input.Body.draft.sortRank == INTEGER
    input.Body.id == STRING
    input.Body.initialState == enum_AchievementConfigurationInitialState[_]
    input.Body.kind == STRING
    input.Body.published.description.kind == STRING
    input.Body.published.description.translations[_].kind == STRING
    input.Body.published.description.translations[_].locale == STRING
    input.Body.published.description.translations[_].value == STRING
    input.Body.published.iconUrl == STRING
    input.Body.published.kind == STRING
    input.Body.published.name.kind == STRING
    input.Body.published.name.translations[_].kind == STRING
    input.Body.published.name.translations[_].locale == STRING
    input.Body.published.name.translations[_].value == STRING
    input.Body.published.pointValue == INTEGER
    input.Body.published.sortRank == INTEGER
    input.Body.stepsToUnlock == INTEGER
    input.Body.token == STRING
    input.ReqMap.applicationId == STRING
    input.ProviderMetadata.Region == STRING
}

gamesConfiguration.achievementConfigurations.list

valid {
    input.ReqMap.applicationId == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

gamesConfiguration.achievementConfigurations.update

enum_AchievementConfigurationAchievementType := [ "ACHIEVEMENT_TYPE_UNSPECIFIED", "STANDARD", "INCREMENTAL" ]
enum_AchievementConfigurationInitialState := [ "INITIAL_STATE_UNSPECIFIED", "HIDDEN", "REVEALED" ]

valid {
    input.Body.achievementType == enum_AchievementConfigurationAchievementType[_]
    input.Body.draft.description.kind == STRING
    input.Body.draft.description.translations[_].kind == STRING
    input.Body.draft.description.translations[_].locale == STRING
    input.Body.draft.description.translations[_].value == STRING
    input.Body.draft.iconUrl == STRING
    input.Body.draft.kind == STRING
    input.Body.draft.name.kind == STRING
    input.Body.draft.name.translations[_].kind == STRING
    input.Body.draft.name.translations[_].locale == STRING
    input.Body.draft.name.translations[_].value == STRING
    input.Body.draft.pointValue == INTEGER
    input.Body.draft.sortRank == INTEGER
    input.Body.id == STRING
    input.Body.initialState == enum_AchievementConfigurationInitialState[_]
    input.Body.kind == STRING
    input.Body.published.description.kind == STRING
    input.Body.published.description.translations[_].kind == STRING
    input.Body.published.description.translations[_].locale == STRING
    input.Body.published.description.translations[_].value == STRING
    input.Body.published.iconUrl == STRING
    input.Body.published.kind == STRING
    input.Body.published.name.kind == STRING
    input.Body.published.name.translations[_].kind == STRING
    input.Body.published.name.translations[_].locale == STRING
    input.Body.published.name.translations[_].value == STRING
    input.Body.published.pointValue == INTEGER
    input.Body.published.sortRank == INTEGER
    input.Body.stepsToUnlock == INTEGER
    input.Body.token == STRING
    input.ReqMap.achievementId == STRING
    input.ProviderMetadata.Region == STRING
}

gamesConfiguration.leaderboardConfigurations.delete

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

gamesConfiguration.leaderboardConfigurations.get

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

gamesConfiguration.leaderboardConfigurations.insert

enum_GamesNumberFormatConfigurationNumberFormatType := [ "NUMBER_FORMAT_TYPE_UNSPECIFIED", "NUMERIC", "TIME_DURATION", "CURRENCY" ]
enum_LeaderboardConfigurationScoreOrder := [ "SCORE_ORDER_UNSPECIFIED", "LARGER_IS_BETTER", "SMALLER_IS_BETTER" ]

valid {
    input.Body.draft.iconUrl == STRING
    input.Body.draft.kind == STRING
    input.Body.draft.name.kind == STRING
    input.Body.draft.name.translations[_].kind == STRING
    input.Body.draft.name.translations[_].locale == STRING
    input.Body.draft.name.translations[_].value == STRING
    input.Body.draft.scoreFormat.currencyCode == STRING
    input.Body.draft.scoreFormat.numDecimalPlaces == INTEGER
    input.Body.draft.scoreFormat.numberFormatType == enum_GamesNumberFormatConfigurationNumberFormatType[_]
    input.Body.draft.scoreFormat.suffix.few.kind == STRING
    input.Body.draft.scoreFormat.suffix.few.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.few.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.few.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.many.kind == STRING
    input.Body.draft.scoreFormat.suffix.many.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.many.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.many.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.one.kind == STRING
    input.Body.draft.scoreFormat.suffix.one.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.one.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.one.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.other.kind == STRING
    input.Body.draft.scoreFormat.suffix.other.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.other.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.other.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.two.kind == STRING
    input.Body.draft.scoreFormat.suffix.two.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.two.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.two.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.zero.kind == STRING
    input.Body.draft.scoreFormat.suffix.zero.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.zero.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.zero.translations[_].value == STRING
    input.Body.draft.sortRank == INTEGER
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.published.iconUrl == STRING
    input.Body.published.kind == STRING
    input.Body.published.name.kind == STRING
    input.Body.published.name.translations[_].kind == STRING
    input.Body.published.name.translations[_].locale == STRING
    input.Body.published.name.translations[_].value == STRING
    input.Body.published.scoreFormat.currencyCode == STRING
    input.Body.published.scoreFormat.numDecimalPlaces == INTEGER
    input.Body.published.scoreFormat.numberFormatType == enum_GamesNumberFormatConfigurationNumberFormatType[_]
    input.Body.published.scoreFormat.suffix.few.kind == STRING
    input.Body.published.scoreFormat.suffix.few.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.few.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.few.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.many.kind == STRING
    input.Body.published.scoreFormat.suffix.many.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.many.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.many.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.one.kind == STRING
    input.Body.published.scoreFormat.suffix.one.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.one.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.one.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.other.kind == STRING
    input.Body.published.scoreFormat.suffix.other.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.other.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.other.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.two.kind == STRING
    input.Body.published.scoreFormat.suffix.two.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.two.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.two.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.zero.kind == STRING
    input.Body.published.scoreFormat.suffix.zero.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.zero.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.zero.translations[_].value == STRING
    input.Body.published.sortRank == INTEGER
    input.Body.scoreMax == STRING
    input.Body.scoreMin == STRING
    input.Body.scoreOrder == enum_LeaderboardConfigurationScoreOrder[_]
    input.Body.token == STRING
    input.ReqMap.applicationId == STRING
    input.ProviderMetadata.Region == STRING
}

gamesConfiguration.leaderboardConfigurations.list

valid {
    input.ReqMap.applicationId == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

gamesConfiguration.leaderboardConfigurations.update

enum_GamesNumberFormatConfigurationNumberFormatType := [ "NUMBER_FORMAT_TYPE_UNSPECIFIED", "NUMERIC", "TIME_DURATION", "CURRENCY" ]
enum_LeaderboardConfigurationScoreOrder := [ "SCORE_ORDER_UNSPECIFIED", "LARGER_IS_BETTER", "SMALLER_IS_BETTER" ]

valid {
    input.Body.draft.iconUrl == STRING
    input.Body.draft.kind == STRING
    input.Body.draft.name.kind == STRING
    input.Body.draft.name.translations[_].kind == STRING
    input.Body.draft.name.translations[_].locale == STRING
    input.Body.draft.name.translations[_].value == STRING
    input.Body.draft.scoreFormat.currencyCode == STRING
    input.Body.draft.scoreFormat.numDecimalPlaces == INTEGER
    input.Body.draft.scoreFormat.numberFormatType == enum_GamesNumberFormatConfigurationNumberFormatType[_]
    input.Body.draft.scoreFormat.suffix.few.kind == STRING
    input.Body.draft.scoreFormat.suffix.few.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.few.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.few.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.many.kind == STRING
    input.Body.draft.scoreFormat.suffix.many.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.many.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.many.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.one.kind == STRING
    input.Body.draft.scoreFormat.suffix.one.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.one.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.one.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.other.kind == STRING
    input.Body.draft.scoreFormat.suffix.other.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.other.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.other.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.two.kind == STRING
    input.Body.draft.scoreFormat.suffix.two.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.two.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.two.translations[_].value == STRING
    input.Body.draft.scoreFormat.suffix.zero.kind == STRING
    input.Body.draft.scoreFormat.suffix.zero.translations[_].kind == STRING
    input.Body.draft.scoreFormat.suffix.zero.translations[_].locale == STRING
    input.Body.draft.scoreFormat.suffix.zero.translations[_].value == STRING
    input.Body.draft.sortRank == INTEGER
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.published.iconUrl == STRING
    input.Body.published.kind == STRING
    input.Body.published.name.kind == STRING
    input.Body.published.name.translations[_].kind == STRING
    input.Body.published.name.translations[_].locale == STRING
    input.Body.published.name.translations[_].value == STRING
    input.Body.published.scoreFormat.currencyCode == STRING
    input.Body.published.scoreFormat.numDecimalPlaces == INTEGER
    input.Body.published.scoreFormat.numberFormatType == enum_GamesNumberFormatConfigurationNumberFormatType[_]
    input.Body.published.scoreFormat.suffix.few.kind == STRING
    input.Body.published.scoreFormat.suffix.few.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.few.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.few.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.many.kind == STRING
    input.Body.published.scoreFormat.suffix.many.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.many.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.many.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.one.kind == STRING
    input.Body.published.scoreFormat.suffix.one.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.one.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.one.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.other.kind == STRING
    input.Body.published.scoreFormat.suffix.other.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.other.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.other.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.two.kind == STRING
    input.Body.published.scoreFormat.suffix.two.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.two.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.two.translations[_].value == STRING
    input.Body.published.scoreFormat.suffix.zero.kind == STRING
    input.Body.published.scoreFormat.suffix.zero.translations[_].kind == STRING
    input.Body.published.scoreFormat.suffix.zero.translations[_].locale == STRING
    input.Body.published.scoreFormat.suffix.zero.translations[_].value == STRING
    input.Body.published.sortRank == INTEGER
    input.Body.scoreMax == STRING
    input.Body.scoreMin == STRING
    input.Body.scoreOrder == enum_LeaderboardConfigurationScoreOrder[_]
    input.Body.token == STRING
    input.ReqMap.leaderboardId == STRING
    input.ProviderMetadata.Region == STRING
}