

# Comparable

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

## Contents
<a name="API_Comparable_Contents"></a>

 ** mechanism **   <a name="appmonetization-Type-Comparable-mechanism"></a>
How the comparable charges.  
Type: String  
Valid Values: `PAID_SUB | PER_REQUEST | FREE_CAPPED | FREEMIUM | ONE_TIME`   
Required: Yes

 ** price **   <a name="appmonetization-Type-Comparable-price"></a>
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](API_Price.md) object  
Required: Yes

 ** url **   <a name="appmonetization-Type-Comparable-url"></a>
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 **   <a name="appmonetization-Type-Comparable-cap"></a>
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 **   <a name="appmonetization-Type-Comparable-features"></a>
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 **   <a name="appmonetization-Type-Comparable-includedUnits"></a>
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 **   <a name="appmonetization-Type-Comparable-name"></a>
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 **   <a name="appmonetization-Type-Comparable-overageRate"></a>
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 **   <a name="appmonetization-Type-Comparable-quality"></a>
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
<a name="API_Comparable_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/appmonetization-2022-07-26/Comparable) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmonetization-2022-07-26/Comparable) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmonetization-2022-07-26/Comparable) 