ANDROIDENTERPRISE

androidenterprise.devices.forceReportUpload

valid {
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.devices.get

valid {
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.devices.getState

valid {
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.devices.list

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.devices.setState

enum_DeviceStateAccountState := [ "enabled", "disabled" ]

valid {
    input.Body.accountState == enum_DeviceStateAccountState[_]
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.devices.update

enum_AutoInstallConstraintChargingStateConstraint := [ "chargingStateConstraintUnspecified", "chargingNotRequired", "chargingRequired" ]
enum_AutoInstallConstraintDeviceIdleStateConstraint := [ "deviceIdleStateConstraintUnspecified", "deviceIdleNotRequired", "deviceIdleRequired" ]
enum_AutoInstallConstraintNetworkTypeConstraint := [ "networkTypeConstraintUnspecified", "anyNetwork", "unmeteredNetwork" ]
enum_AutoInstallPolicyAutoInstallMode := [ "autoInstallModeUnspecified", "doNotAutoInstall", "autoInstallOnce", "forceAutoInstall" ]
enum_DeviceManagementType := [ "managedDevice", "managedProfile", "containerApp", "unmanagedProfile" ]
enum_KeyedAppStateSeverity := [ "severityUnknown", "severityInfo", "severityError" ]
enum_PolicyAutoUpdatePolicy := [ "autoUpdatePolicyUnspecified", "choiceToTheUser", "never", "wifiOnly", "always" ]
enum_PolicyDeviceReportPolicy := [ "deviceReportPolicyUnspecified", "deviceReportDisabled", "deviceReportEnabled" ]
enum_PolicyProductAvailabilityPolicy := [ "productAvailabilityPolicyUnspecified", "whitelist", "all" ]
enum_ProductPolicyAutoUpdateMode := [ "autoUpdateModeUnspecified", "autoUpdateDefault", "autoUpdatePostponed", "autoUpdateHighPriority" ]
enum_ProductPolicyTracks := [ "appTrackUnspecified", "production", "beta", "alpha" ]

valid {
    input.Body.androidId == STRING
    input.Body.device == STRING
    input.Body.latestBuildFingerprint == STRING
    input.Body.maker == STRING
    input.Body.managementType == enum_DeviceManagementType[_]
    input.Body.model == STRING
    input.Body.policy.autoUpdatePolicy == enum_PolicyAutoUpdatePolicy[_]
    input.Body.policy.deviceReportPolicy == enum_PolicyDeviceReportPolicy[_]
    input.Body.policy.maintenanceWindow.durationMs == STRING
    input.Body.policy.maintenanceWindow.startTimeAfterMidnightMs == STRING
    input.Body.policy.productAvailabilityPolicy == enum_PolicyProductAvailabilityPolicy[_]
    input.Body.policy.productPolicy[_].autoInstallPolicy.autoInstallConstraint[_].chargingStateConstraint == enum_AutoInstallConstraintChargingStateConstraint[_]
    input.Body.policy.productPolicy[_].autoInstallPolicy.autoInstallConstraint[_].deviceIdleStateConstraint == enum_AutoInstallConstraintDeviceIdleStateConstraint[_]
    input.Body.policy.productPolicy[_].autoInstallPolicy.autoInstallConstraint[_].networkTypeConstraint == enum_AutoInstallConstraintNetworkTypeConstraint[_]
    input.Body.policy.productPolicy[_].autoInstallPolicy.autoInstallMode == enum_AutoInstallPolicyAutoInstallMode[_]
    input.Body.policy.productPolicy[_].autoInstallPolicy.autoInstallPriority == INTEGER
    input.Body.policy.productPolicy[_].autoInstallPolicy.minimumVersionCode == INTEGER
    input.Body.policy.productPolicy[_].autoUpdateMode == enum_ProductPolicyAutoUpdateMode[_]
    input.Body.policy.productPolicy[_].enterpriseAuthenticationAppLinkConfigs[_].uri == STRING
    input.Body.policy.productPolicy[_].managedConfiguration.configurationVariables.mcmId == STRING
    input.Body.policy.productPolicy[_].managedConfiguration.configurationVariables.variableSet[_].placeholder == STRING
    input.Body.policy.productPolicy[_].managedConfiguration.configurationVariables.variableSet[_].userValue == STRING
    input.Body.policy.productPolicy[_].managedConfiguration.kind == STRING
    input.Body.policy.productPolicy[_].managedConfiguration.managedProperty[_].key == STRING
    input.Body.policy.productPolicy[_].managedConfiguration.managedProperty[_].valueBool == BOOLEAN
    input.Body.policy.productPolicy[_].managedConfiguration.managedProperty[_].valueBundle.managedProperty[_] == NESTED
    input.Body.policy.productPolicy[_].managedConfiguration.managedProperty[_].valueBundleArray[_].managedProperty[_] == NESTED
    input.Body.policy.productPolicy[_].managedConfiguration.managedProperty[_].valueInteger == INTEGER
    input.Body.policy.productPolicy[_].managedConfiguration.managedProperty[_].valueString == STRING
    input.Body.policy.productPolicy[_].managedConfiguration.managedProperty[_].valueStringArray[_] == STRING
    input.Body.policy.productPolicy[_].managedConfiguration.productId == STRING
    input.Body.policy.productPolicy[_].productId == STRING
    input.Body.policy.productPolicy[_].trackIds[_] == STRING
    input.Body.policy.productPolicy[_].tracks[_] == enum_ProductPolicyTracks[_]
    input.Body.product == STRING
    input.Body.report.appState[_].keyedAppState[_].data == STRING
    input.Body.report.appState[_].keyedAppState[_].key == STRING
    input.Body.report.appState[_].keyedAppState[_].message == STRING
    input.Body.report.appState[_].keyedAppState[_].severity == enum_KeyedAppStateSeverity[_]
    input.Body.report.appState[_].keyedAppState[_].stateTimestampMillis == STRING
    input.Body.report.appState[_].packageName == STRING
    input.Body.report.lastUpdatedTimestampMillis == STRING
    input.Body.retailBrand == STRING
    input.Body.sdkVersion == INTEGER
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.acknowledgeNotificationSet

valid {
    input.Qs.notificationSetId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.completeSignup

valid {
    input.Qs.completionToken == STRING
    input.Qs.enterpriseToken == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.createEnrollmentToken

enum_DeviceTypeParameter := [ "unknown", "dedicatedDevice", "knowledgeWorker" ]

valid {
    input.ReqMap.enterpriseId == STRING
    input.Qs.deviceType == enum_DeviceTypeParameter[_]
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.createWebToken

enum_AdministratorWebTokenSpecPermission := [ "unknown", "approveApps", "manageMcm" ]

valid {
    input.Body.managedConfigurations.enabled == BOOLEAN
    input.Body.parent == STRING
    input.Body.permission[_] == enum_AdministratorWebTokenSpecPermission[_]
    input.Body.playSearch.approveApps == BOOLEAN
    input.Body.playSearch.enabled == BOOLEAN
    input.Body.privateApps.enabled == BOOLEAN
    input.Body.storeBuilder.enabled == BOOLEAN
    input.Body.webApps.enabled == BOOLEAN
    input.Body.zeroTouch.enabled == BOOLEAN
    input.ReqMap.enterpriseId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.enroll

valid {
    input.Body.administrator[_].email == STRING
    input.Body.id == STRING
    input.Body.name == STRING
    input.Body.primaryDomain == STRING
    input.Qs.token == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.generateSignupUrl

valid {
    input.Qs.adminEmail == STRING
    input.Qs.callbackUrl == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.get

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

androidenterprise.enterprises.getServiceAccount

enum_KeyTypeParameter := [ "googleCredentials", "pkcs12" ]

valid {
    input.ReqMap.enterpriseId == STRING
    input.Qs.keyType == enum_KeyTypeParameter[_]
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.getStoreLayout

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

androidenterprise.enterprises.list

valid {
    input.Qs.domain == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.pullNotificationSet

enum_RequestModeParameter := [ "waitForNotifications", "returnImmediately" ]

valid {
    input.Qs.requestMode == enum_RequestModeParameter[_]
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.sendTestPushNotification

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

androidenterprise.enterprises.setAccount

valid {
    input.Body.accountEmail == STRING
    input.ReqMap.enterpriseId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.setStoreLayout

enum_StoreLayoutStoreLayoutType := [ "unknown", "basic", "custom" ]

valid {
    input.Body.homepageId == STRING
    input.Body.storeLayoutType == enum_StoreLayoutStoreLayoutType[_]
    input.ReqMap.enterpriseId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.enterprises.unenroll

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

androidenterprise.entitlements.delete

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.entitlementId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.entitlements.get

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.entitlementId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.entitlements.list

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.entitlements.update

enum_EntitlementReason := [ "free", "groupLicense", "userPurchase" ]

valid {
    input.Body.productId == STRING
    input.Body.reason == enum_EntitlementReason[_]
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.entitlementId == STRING
    input.ReqMap.userId == STRING
    input.Qs.install == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

androidenterprise.grouplicenses.get

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.groupLicenseId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.grouplicenses.list

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

androidenterprise.grouplicenseusers.list

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.groupLicenseId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.installs.delete

valid {
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.installId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.installs.get

valid {
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.installId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.installs.list

valid {
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.installs.update

enum_InstallInstallState := [ "installed", "installPending" ]

valid {
    input.Body.installState == enum_InstallInstallState[_]
    input.Body.productId == STRING
    input.Body.versionCode == INTEGER
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.installId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.managedconfigurationsfordevice.delete

valid {
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.managedConfigurationForDeviceId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.managedconfigurationsfordevice.get

valid {
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.managedConfigurationForDeviceId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.managedconfigurationsfordevice.list

valid {
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.managedconfigurationsfordevice.update

valid {
    input.Body.configurationVariables.mcmId == STRING
    input.Body.configurationVariables.variableSet[_].placeholder == STRING
    input.Body.configurationVariables.variableSet[_].userValue == STRING
    input.Body.kind == STRING
    input.Body.managedProperty[_].key == STRING
    input.Body.managedProperty[_].valueBool == BOOLEAN
    input.Body.managedProperty[_].valueBundle.managedProperty[_] == NESTED
    input.Body.managedProperty[_].valueBundleArray[_].managedProperty[_] == NESTED
    input.Body.managedProperty[_].valueInteger == INTEGER
    input.Body.managedProperty[_].valueString == STRING
    input.Body.managedProperty[_].valueStringArray[_] == STRING
    input.Body.productId == STRING
    input.ReqMap.deviceId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.managedConfigurationForDeviceId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.managedconfigurationsforuser.delete

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.managedConfigurationForUserId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.managedconfigurationsforuser.get

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.managedConfigurationForUserId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.managedconfigurationsforuser.list

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.managedconfigurationsforuser.update

valid {
    input.Body.configurationVariables.mcmId == STRING
    input.Body.configurationVariables.variableSet[_].placeholder == STRING
    input.Body.configurationVariables.variableSet[_].userValue == STRING
    input.Body.kind == STRING
    input.Body.managedProperty[_].key == STRING
    input.Body.managedProperty[_].valueBool == BOOLEAN
    input.Body.managedProperty[_].valueBundle.managedProperty[_] == NESTED
    input.Body.managedProperty[_].valueBundleArray[_].managedProperty[_] == NESTED
    input.Body.managedProperty[_].valueInteger == INTEGER
    input.Body.managedProperty[_].valueString == STRING
    input.Body.managedProperty[_].valueStringArray[_] == STRING
    input.Body.productId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.managedConfigurationForUserId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.managedconfigurationssettings.list

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.productId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.permissions.get

valid {
    input.ReqMap.permissionId == STRING
    input.Qs.language == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.products.approve

enum_ProductsApproveRequestApprovedPermissions := [ "currentPermissionsOnly", "allPermissions" ]

valid {
    input.Body.approvalUrlInfo.approvalUrl == STRING
    input.Body.approvedPermissions == enum_ProductsApproveRequestApprovedPermissions[_]
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.productId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.products.generateApprovalUrl

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.productId == STRING
    input.Qs.languageCode == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.products.get

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.productId == STRING
    input.Qs.language == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.products.getAppRestrictionsSchema

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.productId == STRING
    input.Qs.language == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.products.getPermissions

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.productId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.products.list

valid {
    input.ReqMap.enterpriseId == STRING
    input.Qs.approved == BOOLEAN
    input.Qs.language == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.query == STRING
    input.Qs.token == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.products.unapprove

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.productId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.serviceaccountkeys.delete

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.keyId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.serviceaccountkeys.insert

enum_ServiceAccountKeyType := [ "googleCredentials", "pkcs12" ]

valid {
    input.Body.data == STRING
    input.Body.id == STRING
    input.Body.publicData == STRING
    input.Body.type == enum_ServiceAccountKeyType[_]
    input.ReqMap.enterpriseId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.serviceaccountkeys.list

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

androidenterprise.storelayoutclusters.delete

valid {
    input.ReqMap.clusterId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.pageId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.storelayoutclusters.get

valid {
    input.ReqMap.clusterId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.pageId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.storelayoutclusters.insert

valid {
    input.Body.id == STRING
    input.Body.name[_].locale == STRING
    input.Body.name[_].text == STRING
    input.Body.orderInPage == STRING
    input.Body.productId[_] == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.pageId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.storelayoutclusters.list

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.pageId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.storelayoutclusters.update

valid {
    input.Body.id == STRING
    input.Body.name[_].locale == STRING
    input.Body.name[_].text == STRING
    input.Body.orderInPage == STRING
    input.Body.productId[_] == STRING
    input.ReqMap.clusterId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.pageId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.storelayoutpages.delete

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.pageId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.storelayoutpages.get

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.pageId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.storelayoutpages.insert

valid {
    input.Body.id == STRING
    input.Body.link[_] == STRING
    input.Body.name[_].locale == STRING
    input.Body.name[_].text == STRING
    input.ReqMap.enterpriseId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.storelayoutpages.list

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

androidenterprise.storelayoutpages.update

valid {
    input.Body.id == STRING
    input.Body.link[_] == STRING
    input.Body.name[_].locale == STRING
    input.Body.name[_].text == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.pageId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.users.delete

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.users.generateAuthenticationToken

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.users.get

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.users.getAvailableProductSet

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.users.insert

enum_UserAccountType := [ "deviceAccount", "userAccount" ]
enum_UserManagementType := [ "googleManaged", "emmManaged" ]

valid {
    input.Body.accountIdentifier == STRING
    input.Body.accountType == enum_UserAccountType[_]
    input.Body.displayName == STRING
    input.Body.id == STRING
    input.Body.managementType == enum_UserManagementType[_]
    input.Body.primaryEmail == STRING
    input.ReqMap.enterpriseId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.users.list

valid {
    input.ReqMap.enterpriseId == STRING
    input.Qs.email == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.users.revokeDeviceAccess

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.users.setAvailableProductSet

enum_ProductSetProductSetBehavior := [ "unknown", "whitelist", "includeAll", "allApproved" ]
enum_ProductVisibilityTracks := [ "appTrackUnspecified", "production", "beta", "alpha" ]

valid {
    input.Body.productId[_] == STRING
    input.Body.productSetBehavior == enum_ProductSetProductSetBehavior[_]
    input.Body.productVisibility[_].productId == STRING
    input.Body.productVisibility[_].trackIds[_] == STRING
    input.Body.productVisibility[_].tracks[_] == enum_ProductVisibilityTracks[_]
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.users.update

enum_UserAccountType := [ "deviceAccount", "userAccount" ]
enum_UserManagementType := [ "googleManaged", "emmManaged" ]

valid {
    input.Body.accountIdentifier == STRING
    input.Body.accountType == enum_UserAccountType[_]
    input.Body.displayName == STRING
    input.Body.id == STRING
    input.Body.managementType == enum_UserManagementType[_]
    input.Body.primaryEmail == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.webapps.delete

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.webAppId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.webapps.get

valid {
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.webAppId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.webapps.insert

enum_WebAppDisplayMode := [ "displayModeUnspecified", "minimalUi", "standalone", "fullScreen" ]

valid {
    input.Body.displayMode == enum_WebAppDisplayMode[_]
    input.Body.icons[_].imageData == STRING
    input.Body.isPublished == BOOLEAN
    input.Body.startUrl == STRING
    input.Body.title == STRING
    input.Body.versionCode == STRING
    input.Body.webAppId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ProviderMetadata.Region == STRING
}

androidenterprise.webapps.list

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

androidenterprise.webapps.update

enum_WebAppDisplayMode := [ "displayModeUnspecified", "minimalUi", "standalone", "fullScreen" ]

valid {
    input.Body.displayMode == enum_WebAppDisplayMode[_]
    input.Body.icons[_].imageData == STRING
    input.Body.isPublished == BOOLEAN
    input.Body.startUrl == STRING
    input.Body.title == STRING
    input.Body.versionCode == STRING
    input.Body.webAppId == STRING
    input.ReqMap.enterpriseId == STRING
    input.ReqMap.webAppId == STRING
    input.ProviderMetadata.Region == STRING
}