ADSENSEPLATFORM

adsenseplatform.platforms.accounts.close

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

adsenseplatform.platforms.accounts.create

valid {
    input.Body.creationRequestId == STRING
    input.Body.displayName == STRING
    input.Body.regionCode == STRING
    input.Body.timeZone.id == STRING
    input.Body.timeZone.version == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

adsenseplatform.platforms.accounts.events.create

enum_EventEventType := [ "EVENT_TYPE_UNSPECIFIED", "LOG_IN_VIA_PLATFORM", "SIGN_UP_VIA_PLATFORM" ]

valid {
    input.Body.eventInfo.billingAddress.address1 == STRING
    input.Body.eventInfo.billingAddress.address2 == STRING
    input.Body.eventInfo.billingAddress.city == STRING
    input.Body.eventInfo.billingAddress.company == STRING
    input.Body.eventInfo.billingAddress.contact == STRING
    input.Body.eventInfo.billingAddress.fax == STRING
    input.Body.eventInfo.billingAddress.phone == STRING
    input.Body.eventInfo.billingAddress.regionCode == STRING
    input.Body.eventInfo.billingAddress.state == STRING
    input.Body.eventInfo.billingAddress.zip == STRING
    input.Body.eventInfo.email == STRING
    input.Body.eventTime == STRING
    input.Body.eventType == enum_EventEventType[_]
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

adsenseplatform.platforms.accounts.get

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

adsenseplatform.platforms.accounts.list

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

adsenseplatform.platforms.accounts.lookup

valid {
    input.ReqMap.parent == STRING
    input.Qs.creationRequestId == STRING
    input.ProviderMetadata.Region == STRING
}

adsenseplatform.platforms.accounts.sites.create

valid {
    input.Body.domain == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

adsenseplatform.platforms.accounts.sites.delete

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

adsenseplatform.platforms.accounts.sites.get

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

adsenseplatform.platforms.accounts.sites.list

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

adsenseplatform.platforms.accounts.sites.requestReview

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