View a markdown version of this page

Comparable - AWS App Monetization

Comparable

A comparable app, read from its public pricing page. Give quality or features: one of them is required.

Contents

mechanism

How the comparable charges.

Type: String

Valid Values: PAID_SUB | PER_REQUEST | FREE_CAPPED | FREEMIUM | ONE_TIME

Required: Yes

price

Its price: per month for PAID_SUB, per use for PER_REQUEST, 0 for FREE_CAPPED and FREEMIUM, the one-time price for ONE_TIME. USD only: another currencyCode is rejected.

Type: Price object

Required: Yes

url

The public pricing page the price was read from.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: https?://[^\s<>]+

Required: Yes

cap

Monthly usage cap of the free tier, for FREE_CAPPED and FREEMIUM. A free tier without a cap is not used.

Type: Double

Valid Range: Minimum value of 0. Maximum value of 1000000000.

Required: No

features

Its scores on the characteristics in features, instead of quality. Required when quality is absent.

Type: String to double map

Map Entries: Maximum number of 6 items.

Key Length Constraints: Minimum length of 1. Maximum length of 64.

Key Pattern: [^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?

Valid Range: Minimum value of 0. Maximum value of 1.

Required: No

includedUnits

For PAID_SUB: units of this app's billable action the plan includes per month. With overageRate, a customer pays the plan price plus overage at their own usage; without it, the plan stops at this allowance. Absent: the plan price covers any usage.

Type: Double

Valid Range: Minimum value of 0. Maximum value of 1000000000.

Required: No

name

Short name of the comparable app. Absent: the host of url, lowercased, without a leading www.; when two comparables get the same name, the later ones get (2), (3).

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?

Required: No

overageRate

For PAID_SUB with includedUnits: price per unit past the allowance, in USD. Absent: the plan stops at includedUnits (no overage).

Type: Double

Valid Range: Minimum value of 0. Maximum value of 1000000.

Required: No

quality

How good it is compared with this app, where this app is 1.

Type: Double

Valid Range: Minimum value of 0. Maximum value of 10.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: