<a id="cli-aws-appmonetization-get-plan-recommendation"></a>

# get-plan-recommendation

## Description

Returns a recommended pricing model and plan set for an app, calculated from the billable actions, costs, customer types, alternatives and preferences in the request. Built to be called by an agent working with the developer: most inputs are estimates the agent gathers from the app’s code and from the developer (who the users are, what an action saves them, what it costs to serve), and each optional member’s documentation says what its absence means, so send only the inputs you have a basis for. Stateless: nothing is stored, no app is required, and repeating a request returns the same recommendation unless the service has been updated in between. Every response carries the rendered texts summary and details. Smallest call (MEDIUM confidence): {“segment”:”CONSUMER”,”appType”:”DAILY_WORKFLOW”,”actions”:[{“unitCost”:0.02,”typicalMonthlyUsage”:30,”valuePerUse”:0.40}]}.

See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/appmonetization-2022-07-26/GetPlanRecommendation)

## Synopsis

```
  get-plan-recommendation
[--app-name <value>]
--segment <value>
--app-type <value>
[--value-kind <value>]
--actions <value>
[--hourly-rate <value>]
[--value-share <value>]
[--features <value>]
[--costs <value>]
[--alternatives <value>]
[--market <value>]
[--plan-options <value>]
[--context <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]
```

## Options

`--app-name` (string)

> Display name of the app, used in the rendered text. Absent: `your app` .

> Constraints:

> * min: `1`
> * max: `128`
> * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

`--segment` (string) [required]

> Who buys the app.

> Possible values:

> * `CONSUMER`
> * `PROSUMER`
> * `ENTERPRISE`

`--app-type` (string) [required]

> Kind of app. It sets the service’s usage and value benchmarks for this kind of app.

> Possible values:

> * `INFRASTRUCTURE`
> * `DAILY_WORKFLOW`
> * `PERIODIC_WORKFLOW`
> * `POINT_UTILITY`
> * `CREATIVE`
> * `API_WRAPPER`

`--value-kind` (string)

> What kind of value the app gives its users. Absent: PRODUCTIVITY. An experiential app has no time or money value, so with EXPERIENTIAL each of `actions[].minutesSaved` , `actions[].moneySaved` , `actions[].valuePerUse` , `hourlyRate` and `valueShare` that is sent is rejected. With EXPERIENTIAL, no `planOptions.publishedPrice` and no comparables used, a CONSUMER app is valued at the typical monthly price of public apps of its `appType` (there is none for API_WRAPPER), shown as an estimate. That estimate is not used when it is too close to a typical user’s usage cost, so the estimate alone never makes the verdict NOT_MONETIZABLE. The estimate exists only for CONSUMER: a PROSUMER or ENTERPRISE experiential app with no `planOptions.publishedPrice` and no usable comparables is priced from cost (verdict COST_ONLY, or COST_NOT_CHECKED when costs are not checked: no `unitCost` , or `costs.source` NONE; confidence LOW).

> Possible values:

> * `PRODUCTIVITY`
> * `EXPERIENTIAL`

`--actions` (list) [required]

> The things that your app charges for, each with its cost to serve, typical usage, and value to a customer. Names must be unique. Give a value basis (`minutesSaved` , `moneySaved` or `valuePerUse` , one per action) on every action or on none: when no action has a value basis and there is no experiential estimate (see `valueKind` ), the price is based on cost (and comparables, if opted in, or `planOptions.publishedPrice` ) and the confidence is LOW. Give `unitCost` on every action or on none.

> Constraints:

> * min: `1`
> * max: `10`

> (structure)

> > One billable action: something a user does that costs money to serve and can be charged for.

> > name -> (string)

> > > Action name, used as the metric key in `plans` , `unitPrices` and `creditPacks` . Unique within the request. Required when there is more than one action. Absent with exactly one action: `usage` .

> > > Constraints:

> > > * min: `1`
> > > * max: `64`
> > > * pattern: `[A-Za-z0-9_-]+`

> > unit -> (string)

> > > Unit the action is counted in, for example `lesson` or `report` . Defaults to `name` .

> > > Constraints:

> > > * min: `1`
> > > * max: `64`
> > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > unitCost -> (double)

> > > Cost to serve one unit, in USD. Give it on every action or on none: required when another action has `unitCost` , and when `costs.source` is ACTUALS, LIVE or ESTIMATE. Absent on every action: cost to serve is not checked (`costs.source` NONE). When any action’s `unitCost` is 0, `costs.source` is required.

> > > Constraints:

> > > * min: `0`
> > > * max: `1000000`

> > typicalMonthlyUsage -> (double) [required]

> > > Typical number of units one user consumes per month.

> > > Constraints:

> > > * min: `0.0001`
> > > * max: `1000000000`

> > minutesSaved -> (double)

> > > Minutes one unit saves a customer compared with doing the task by hand. Sets the value of one use, together with `hourlyRate` (required with it): `minutesSaved` / 60 x `hourlyRate` x the value share that `valueShare` describes. Give at most one of `minutesSaved` , `moneySaved` and `valuePerUse` per action: a request that gives two on the same action is rejected. Rejected with `valueKind` EXPERIENTIAL, as are `moneySaved` and `valuePerUse` . Absent: this action’s value, if any, is `moneySaved` or `valuePerUse` (see `valuePerUse` for no value).

> > > Constraints:

> > > * min: `0`
> > > * max: `1000000000`

> > moneySaved -> (double)

> > > Money one use saves the buyer, in USD: what they would otherwise spend on it (a service, a contractor, compute or paid staff time). The server values one use at a share of it; the share is set server-side, not an input (`valueShare` does not apply). Give at most one of `minutesSaved` , `moneySaved` and `valuePerUse` per action: a request that gives two on the same action is rejected. Use `valuePerUse` when you have already worked out the dollar value of one use. Rejected with `valueKind` EXPERIENTIAL. Absent: this action’s value, if any, is `minutesSaved` or `valuePerUse` (see `valuePerUse` for no value).

> > > Constraints:

> > > * min: `0`
> > > * max: `1000000`

> > valuePerUse -> (double)

> > > Value of one unit to a typical customer, in USD: the final dollar value of one use (`valueShare` does not apply), for an action that saves no time or money but has a dollar value (for example a lead worth 2 USD). Give at most one of `minutesSaved` , `moneySaved` and `valuePerUse` per action: a request that gives two on the same action is rejected. One of them is required when another action has a value basis (0 is allowed). When no action has a value basis and there is no experiential estimate (see `valueKind` ), the price is based on cost (and comparables, if opted in, or `planOptions.publishedPrice` ) and the confidence is LOW. For an action whose value is the time it saves, give `minutesSaved` instead; say how the figures were worked out in `context.valueBasis` . Rejected with `valueKind` EXPERIENTIAL.

> > > Constraints:

> > > * min: `0`
> > > * max: `1000000`

Shorthand Syntax:

```
name=string,unit=string,unitCost=double,typicalMonthlyUsage=double,minutesSaved=double,moneySaved=double,valuePerUse=double ...
```

JSON Syntax:

```json
[
  {
    "name": "string",
    "unit": "string",
    "unitCost": double,
    "typicalMonthlyUsage": double,
    "minutesSaved": double,
    "moneySaved": double,
    "valuePerUse": double
  }
  ...
]
```

`--hourly-rate` (double)

> What one hour of a customer’s time is worth, in USD: the hourly rate of the person whose time the app saves. Required when any action has `minutesSaved` . There is no default. It is used only with `actions[].minutesSaved` : sent when no action has `minutesSaved` , or with `valueKind` EXPERIENTIAL, it is rejected.

> Constraints:

> * min: `0.01`
> * max: `10000`

`--value-share` (double)

> The most a typical customer would pay for the app, as a share of the time value it saves them (`minutesSaved` / 60 times `hourlyRate` ). Above 1 when the minutes understate the value. The value of one use of an action with `minutesSaved` is `minutesSaved` / 60 times `hourlyRate` times the share; the share does not apply to `moneySaved` or `valuePerUse` . When an action’s value is above 0, each outside option’s `monthlyCost` is also weighed at this share (see `OutsideOption` ). Absent: the service’s benchmark share. For PROSUMER this value scales the service’s benchmark share instead of replacing it. With usable comparables the recommended price uses the service’s benchmark share for comparables instead, but this value still sets the price from the app’s value alone, which the confidence and the texts compare with. Rejected unless an action’s `minutesSaved` , `moneySaved` or `valuePerUse` is above 0 and, besides, an action has `minutesSaved` (0 counts) or an outside option’s `monthlyCost` is above 0: otherwise it changes nothing (with no value above 0 there is no value estimate, and an outside option counts in full). Rejected with `valueKind` EXPERIENTIAL.

> Constraints:

> * min: `0.0001`
> * max: `3`

`--features` (structure)

> How this app scores on the characteristics customers decide on, and how much each one matters. Required when a comparable or an outside option in `alternatives` is scored by `features` , and used only then: sent when no comparable and no outside option is scored by `features` , it is rejected. A comparable with `alternatives.comparablesOptIn` OPTED_OUT is validated but not used, so `features` scored only against such comparables is validated with them and changes nothing. Absent: every comparable and outside option is scored by its `quality` .

> appScores -> (map) [required]

> > This app’s score on each characteristic, from 0 to 1 against the best in class.

> > Constraints:

> > * min: `1`
> > * max: `6`

> > key -> (string)

> > > Name of a characteristic customers decide on, for example `privacy` or `speed` .

> > > Constraints:

> > > * min: `1`
> > > * max: `64`
> > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > value -> (double)

> > > A score from 0 to 1 for a characteristic, measured against the best in class.

> > > Constraints:

> > > * min: `0`
> > > * max: `1`

> weights -> (map)

> > How much each characteristic matters, shared by every customer type that has no `featureWeights` of its own; they also rank the comparables when more than 5 are usable. Weights are relative. Absent: equal weights.

> > Constraints:

> > * min: `1`
> > * max: `6`

> > key -> (string)

> > > Name of a characteristic customers decide on, for example `privacy` or `speed` .

> > > Constraints:

> > > * min: `1`
> > > * max: `64`
> > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > value -> (double)

> > > The relative weight of a characteristic in the customer decision.

> > > Constraints:

> > > * min: `0`
> > > * max: `1000`

Shorthand Syntax:

```
appScores={KeyName1=double,KeyName2=double},weights={KeyName1=double,KeyName2=double}
```

JSON Syntax:

```json
{
  "appScores": {"string": double
    ...},
  "weights": {"string": double
    ...}
}
```

`--costs` (structure)

> Cost inputs beyond each action’s `unitCost` : where the costs came from, any costs that could not be priced, fixed monthly cost and target margins. Absent: `costs.source` is inferred from `actions[].unitCost` , and the costs count as complete but unconfirmed (see `costs.unknown` ).

> source -> (string)

> > Where the cost figures came from. Required when any `actions[].unitCost` is 0. Absent: NONE when no action has `unitCost` , ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE need `unitCost` on every action.

> > Possible values:

> > * `ACTUALS`
> > * `LIVE`
> > * `ESTIMATE`
> > * `NONE`

> unknown -> (list)

> > Costs the developer knows exist but could not price, for example `email provider` . Omitted: the costs count as complete but unconfirmed, and the rendered text asks the developer to add any that are missing. Empty (`[]` ): the developer confirmed there are no other costs. One or more items: the costs are incomplete, so `costs.status` in the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. With `source` NONE the items are only shown.

> > Constraints:

> > * min: `0`
> > * max: `10`

> > (string)

> > > Name of a cost the developer could not price, for example “email provider”.

> > > Constraints:

> > > * min: `1`
> > > * max: `100`
> > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> fixedMonthlyCost -> (double)

> > Fixed monthly cost to run the app in USD, including non-AWS fixed costs. Defaults to 0. It raises break-even (fixed cost per payer, with `market.expectedUsers` ), so it can change the verdict and the price.

> > Constraints:

> > * min: `0`
> > * max: `1000000`

> margins -> (list)

> > Margins the developer named, each in [0, 1). `costs.coverPrices` in the response shows the price that covers cost to serve at each margin above 0. The lowest margin also sets the lowest overage and credit-pack price per unit; order does not matter. With no value basis and no experiential estimate (see `valueKind` ) the price is cost to serve at the lowest margin; omitted means a default margin of 0, labelled as a default, which prices at cost, the same as `[0]` . Omitted, or only 0: `costs.coverPrices` in the response is empty.

> > Constraints:

> > * min: `0`
> > * max: `5`

> > (double)

> > > A target margin, as a fraction in [0, 1).

> > > Constraints:

> > > * min: `0`
> > > * max: `0.9999`

Shorthand Syntax:

```
source=string,unknown=string,string,fixedMonthlyCost=double,margins=double,double
```

JSON Syntax:

```json
{
  "source": "ACTUALS"|"LIVE"|"ESTIMATE"|"NONE",
  "unknown": ["string", ...],
  "fixedMonthlyCost": double,
  "margins": [double, ...]
}
```

`--alternatives` (structure)

> What customers could use instead of the app: comparable apps and what they do without any product. Absent: no comparables (`comparablesOptIn` OPTED_OUT) and no outside options.

> comparablesOptIn -> (string)

> > The developer’s explicit answer to whether comparable apps’ public prices may be used. Required when `comparables` is sent. Absent otherwise: OPTED_OUT. Never inferred as OPTED_IN.

> > Possible values:

> > * `OPTED_IN`
> > * `OPTED_OUT`

> comparables -> (list)

> > Comparable apps, each read from its public pricing page, used only when `comparablesOptIn` is OPTED_IN. Each usable one becomes an alternative customers weigh against the app. At most 5 are used, best quality first; the rest, and any that cannot be used, are returned in `alternatives.comparablesDropped` with the reason. With OPTED_OUT they are still validated, but not used and not listed there. Absent: no comparables.

> > Constraints:

> > * min: `0`
> > * max: `10`

> > (structure)

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

> > > name -> (string)

> > > > 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)` .

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `128`
> > > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > > url -> (string) [required]

> > > > The public pricing page the price was read from.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `2048`
> > > > * pattern: `https?://[^\s<>]+`

> > > mechanism -> (string) [required]

> > > > How the comparable charges.

> > > > Possible values:

> > > > * `PAID_SUB`
> > > > * `PER_REQUEST`
> > > > * `FREE_CAPPED`
> > > > * `FREEMIUM`
> > > > * `ONE_TIME`

> > > price -> (structure) [required]

> > > > 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.

> > > > currencyCode -> (string) [required]

> > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > Constraints:

> > > > > * pattern: `[A-Z]{3}`

> > > > amount -> (string) [required]

> > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `20`
> > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > cap -> (double)

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

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1000000000`

> > > includedUnits -> (double)

> > > > 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.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1000000000`

> > > overageRate -> (double)

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

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1000000`

> > > quality -> (double)

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

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `10`

> > > features -> (map)

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

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `6`

> > > > key -> (string)

> > > > > Name of a characteristic customers decide on, for example `privacy` or `speed` .

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `64`
> > > > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > > > value -> (double)

> > > > > A score from 0 to 1 for a characteristic, measured against the best in class.

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1`

> outsideOptions -> (list)

> > What customers do today without any product, such as doing the task by hand. Each one is an alternative customers weigh against the app, at its `monthlyCost` . These are not products, so they need no `comparablesOptIn` . Absent: none.

> > Constraints:

> > * min: `0`
> > * max: `5`

> > (structure)

> > > Something customers do today without any product, such as doing the task by hand. Give `quality` or `features` : one of them is required.

> > > name -> (string) [required]

> > > > Short name, for example `write it by hand` .

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `128`
> > > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > > monthlyCost -> (double) [required]

> > > > What it costs a typical customer per month, in USD, for example the hours they spend on it times what an hour of their time is worth. Give the full cost: when an action’s value is above 0, it is weighed at the value share (see `valueShare` ), the same as the hours it stands for.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1000000`

> > > quality -> (double)

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

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `10`

> > > features -> (map)

> > > > Its scores on the characteristics in `features` , instead of `quality` .

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `6`

> > > > key -> (string)

> > > > > Name of a characteristic customers decide on, for example `privacy` or `speed` .

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `64`
> > > > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > > > value -> (double)

> > > > > A score from 0 to 1 for a characteristic, measured against the best in class.

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1`

JSON Syntax:

```json
{
  "comparablesOptIn": "OPTED_IN"|"OPTED_OUT",
  "comparables": [
    {
      "name": "string",
      "url": "string",
      "mechanism": "PAID_SUB"|"PER_REQUEST"|"FREE_CAPPED"|"FREEMIUM"|"ONE_TIME",
      "price": {
        "currencyCode": "string",
        "amount": "string"
      },
      "cap": double,
      "includedUnits": double,
      "overageRate": double,
      "quality": double,
      "features": {"string": double
        ...}
    }
    ...
  ],
  "outsideOptions": [
    {
      "name": "string",
      "monthlyCost": double,
      "quality": double,
      "features": {"string": double
        ...}
    }
    ...
  ]
}
```

`--market` (structure)

> Who the customers are, how many there are and, for a deployed app, how many pay today; and any checkout drop-off rates to use instead of the benchmarks. Absent: each member’s default (see `MarketInputs` ).

> expectedUsers -> (long)

> > Market size: the number of potential customers, meaning people who have the problem the app solves and would consider paying for a tool to solve it. Paying users are this number times the modeled paying share. Do not count installs, sign-ups or people who would only try the app. It changes paying users, cost to serve and the verdict, and the price only when fixed cost per paying user decides it. Defaults to the service’s pre-launch benchmark.

> > Constraints:

> > * min: `1`
> > * max: `10000000000`

> measuredConversion -> (structure)

> > For a deployed app: how many of its users pay today. It takes effect when at least 30 users pay; with fewer, it is ignored with no error and the segment’s benchmark conversion is used. `payingUsers` must not exceed `users` . Used only without a value estimate (no action has `minutesSaved` , `moneySaved` or `valuePerUse` , and there is no experiential estimate, see `valueKind` ): then paying users are the market size (`expectedUsers` , or its benchmark) times `payingUsers` / `users` instead of times the segment’s benchmark conversion, which sets the fixed and Free-plan cost per paying user behind the cost-based price, the Free plan’s quota (or a trial instead), and the what-if results in `planOptions.evaluatedPlanPrices` . With a value estimate the modeled demand sets the paying share, and the measured conversion is shown in the rendered text but not used. Absent: the segment’s benchmark conversion.

> > payingUsers -> (long) [required]

> > > Users who pay. At most `users` .

> > > Constraints:

> > > * min: `0`
> > > * max: `10000000000`

> > users -> (long) [required]

> > > Users of the app.

> > > Constraints:

> > > * min: `1`
> > > * max: `10000000000`

> customerTypes -> (list)

> > The types of customer who use the app, from one to three, each with its share of users and how its usage and value per use differ from an ordinary user. Absent: one ordinary type.

> > Constraints:

> > * min: `1`
> > * max: `3`

> > (structure)

> > > One type of customer. Usage and value per use are relative to an ordinary user of the app, and independent of each other: a heavy user can be worth less per use.

> > > name -> (string) [required]

> > > > Short name of the customer type, for example `solo devs` .

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `64`
> > > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > > share -> (double) [required]

> > > > Share of users of this type. Shares are relative: they are scaled to sum to 100.

> > > > Constraints:

> > > > * min: `0.0001`
> > > > * max: `100`

> > > usageMultiplier -> (double) [required]

> > > > Uses per month as a multiple of each action’s `typicalMonthlyUsage` (2 = twice as many).

> > > > Constraints:

> > > > * min: `0.0001`
> > > > * max: `1000`

> > > valuePerUseMultiplier -> (double) [required]

> > > > Value of one use as a multiple of an ordinary user’s (0.5 = half, 2 = twice).

> > > > Constraints:

> > > > * min: `0.0001`
> > > > * max: `1000`

> > > usageSpread -> (string)

> > > > How similar customers of this type are in how much they use the app. Absent: the segment’s default.

> > > > Possible values:

> > > > * `SIMILAR`
> > > > * `NORMAL`
> > > > * `VARIED`
> > > > * `EXTREME`

> > > featureWeights -> (map)

> > > > How much each characteristic in `features` matters to this type, when it differs from the shared `features.weights` . Absent: `features.weights` (equal weights when that is absent too). Used only when a comparable or an outside option in `alternatives` is scored by `features` ; sent otherwise, it is rejected.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `6`

> > > > key -> (string)

> > > > > Name of a characteristic customers decide on, for example `privacy` or `speed` .

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `64`
> > > > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > > > value -> (double)

> > > > > The relative weight of a characteristic in the customer decision.

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1000`

> checkoutDropOff -> (structure)

> > The developer’s own checkout drop-off rates, one per pricing model, in place of the service’s benchmarks. A member that is absent keeps its benchmark; `{}` keeps all four. Used only with a value estimate; without one the price does not depend on them. Absent: every benchmark.

> > freePlan -> (double)

> > > Share of buyers who start signing up for a Free plan but don’t finish. In [0, 1); 1 is rejected. Absent: the service’s benchmark for that pricing model.

> > > Constraints:

> > > * min: `0`
> > > * max: `1`

> > flat -> (double)

> > > Share of buyers who start a checkout for a flat plan but don’t finish. In [0, 1); 1 is rejected. Absent: the service’s benchmark for that pricing model.

> > > Constraints:

> > > * min: `0`
> > > * max: `1`

> > perUse -> (double)

> > > Share of buyers who start a checkout for per-use pricing but don’t finish. In [0, 1); 1 is rejected. Absent: the service’s benchmark for that pricing model.

> > > Constraints:

> > > * min: `0`
> > > * max: `1`

> > tiered -> (double)

> > > Share of buyers who start a checkout for a tiered plan but don’t finish. In [0, 1); 1 is rejected. Absent: the service’s benchmark for that pricing model.

> > > Constraints:

> > > * min: `0`
> > > * max: `1`

JSON Syntax:

```json
{
  "expectedUsers": long,
  "measuredConversion": {
    "payingUsers": long,
    "users": long
  },
  "customerTypes": [
    {
      "name": "string",
      "share": double,
      "usageMultiplier": double,
      "valuePerUseMultiplier": double,
      "usageSpread": "SIMILAR"|"NORMAL"|"VARIED"|"EXTREME",
      "featureWeights": {"string": double
        ...}
    }
    ...
  ],
  "checkoutDropOff": {
    "freePlan": double,
    "flat": double,
    "perUse": double,
    "tiered": double
  }
}
```

`--plan-options` (structure)

> The pricing model and optional plans to consider, prices to evaluate, and the developer’s own price (`publishedPrice` ). Absent: each member’s default (see `PlanOptions` ); the service chooses the pricing model and plans.

> pricingModelPreference -> (string)

> > Pricing model to use instead of letting the service choose. `planOptions.preferenceOutcome` in the response says whether it was used. Absent: the service chooses (`preferenceOutcome` NOT_REQUESTED). PER_USE_SPLIT needs two or more actions. PER_USE or PER_USE_SPLIT with `freeTierInclusion` , `maxTierInclusion` or `annualPlanInclusion` INCLUDE is rejected, and so is FLAT with `freeTierInclusion` INCLUDE.

> > Possible values:

> > * `FLAT`
> > * `TIERED`
> > * `PER_USE`
> > * `PER_USE_SPLIT`

> freeTierInclusion -> (string)

> > Whether to include a Free plan. Absent: the segment’s default, which considers a Free plan for CONSUMER and PROSUMER and not for ENTERPRISE; with a `pricingModelPreference` , a Free plan is considered only for TIERED. INCLUDE with no `pricingModelPreference` limits the choice to TIERED; INCLUDE with a PER_USE, PER_USE_SPLIT or FLAT preference is rejected. The response’s `planOptions.freeTier` gives the outcome.

> > Possible values:

> > * `INCLUDE`
> > * `EXCLUDE`

> maxTierInclusion -> (string)

> > Whether to include a Max plan for heavy users. On the default menu for CONSUMER and PROSUMER; for ENTERPRISE only when this is INCLUDE. Only with a value estimate: when no action has a value basis (`minutesSaved` , `moneySaved` or `valuePerUse` ) and there is no experiential estimate (see `valueKind` ), the price is cost-based and this is ignored, with no error: the response has no Max plan and no `planOptions.maxTier` outcome. A Max plan goes with a TIERED or FLAT model, never PER_USE or PER_USE_SPLIT: INCLUDE with a PER_USE or PER_USE_SPLIT preference is rejected, and a per-use model the service chooses has no Max plan. Absent, for CONSUMER and PROSUMER: a TIERED recommendation includes it unless it would clearly lower the modeled profit or almost no paying customer would move up to it; a FLAT one includes it only when it improves the recommendation. Absent, for ENTERPRISE: no Max plan. A TIERED Max is unlimited (`includedQuantity` 1,000,000,000 with NO_OVERAGE_THROTTLE) unless its buyers’ usage would cost too much of the Max price; then it has an allowance and overage. A FLAT Max always has an allowance.

> > Possible values:

> > * `INCLUDE`
> > * `EXCLUDE`

> annualPlanInclusion -> (string)

> > Whether to add an annual plan (`Annual` ). Absent: it is added when a subscription (FLAT or TIERED) is recommended, without changing the pricing model, unless every action is used less than once a month on average (`typicalMonthlyUsage` below 1). INCLUDE adds it at any usage and, when the request sends no `pricingModelPreference` , also limits the choice to subscriptions; INCLUDE with a PER_USE or PER_USE_SPLIT preference is rejected. EXCLUDE leaves it out.

> > Possible values:

> > * `INCLUDE`
> > * `EXCLUDE`

> creditPackInclusion -> (string)

> > Whether to add one-time credit packs alongside the plans, the response’s `creditPacks` . Absent: EXCLUDE. INCLUDE is allowed with every pricing model, per-use included.

> > Possible values:

> > * `INCLUDE`
> > * `EXCLUDE`

> planPrices -> (list)

> > Prices to evaluate instead of the recommended ones, one per plan. Each is evaluated against the same modeled demand and returned in `planOptions.evaluatedPlanPrices` , with the recommended plans and credit packs rebuilt at that price; the recommendation itself does not change. A `pro` price is evaluated with the Max plan as recommended; when that Max would sit too close to the `pro` price, Max is re-priced or left out, as the recommendation does when it moves Pro, and the rendered text says which. A `max` price in the same request does not change this, so a `pro` item is the same as for that `pro` price alone. A `max` price must be above Pro’s price, and is evaluated with this request’s `pro` price if it has one. Absent: none, and `planOptions.evaluatedPlanPrices` is empty.

> > Constraints:

> > * min: `0`
> > * max: `5`

> > (structure)

> > > A price to evaluate for one recommended plan, or for one action’s rate on the pay-as-you-go plan.

> > > planCode -> (string) [required]

> > > > Plan code as returned in `plans` , for example `pro` . Each plan code appears once.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `64`
> > > > * pattern: `[A-Za-z0-9_-]+`

> > > actionName -> (string)

> > > > With `pay_as_you_go` only: the action this rate is for, one of `actions[].name` ; the other actions keep their recommended rates. Absent on `pay_as_you_go` : one rate for every charged action, accepted only when `pricingModel` is PER_USE.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `64`
> > > > * pattern: `[A-Za-z0-9_-]+`

> > > price -> (structure) [required]

> > > > Price per billing cycle, or per use for `pay_as_you_go` (at least 0.01). A whole number of cents. USD only: another currencyCode is rejected.

> > > > currencyCode -> (string) [required]

> > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > Constraints:

> > > > > * pattern: `[A-Z]{3}`

> > > > amount -> (string) [required]

> > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `20`
> > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> publishedPrice -> (structure)

> > Your current or intended monthly price, in USD (another currencyCode is rejected). Shown for comparison, except when no action has a value basis and no comparables are used: then it is the recommended price, raised to cost to serve at the lowest margin in `costs.margins` (0, which is cost, when margins are omitted) when it is below that. Absent: no price is shown for comparison, and the price comes from the value estimate, comparables or cost.

> > currencyCode -> (string) [required]

> > > The currency of the price. USD only: another currencyCode is rejected.

> > > Constraints:

> > > * pattern: `[A-Z]{3}`

> > amount -> (string) [required]

> > > The price amount.

> > > Constraints:

> > > * min: `1`
> > > * max: `20`
> > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

JSON Syntax:

```json
{
  "pricingModelPreference": "FLAT"|"TIERED"|"PER_USE"|"PER_USE_SPLIT",
  "freeTierInclusion": "INCLUDE"|"EXCLUDE",
  "maxTierInclusion": "INCLUDE"|"EXCLUDE",
  "annualPlanInclusion": "INCLUDE"|"EXCLUDE",
  "creditPackInclusion": "INCLUDE"|"EXCLUDE",
  "planPrices": [
    {
      "planCode": "string",
      "actionName": "string",
      "price": {
        "currencyCode": "string",
        "amount": "string"
      }
    }
    ...
  ],
  "publishedPrice": {
    "currencyCode": "string",
    "amount": "string"
  }
}
```

`--context` (structure)

> Where the inputs came from, and notes on them. Changes no price, plan, verdict or confidence label: only how `summary` and `details` label and word the inputs. Absent: the rendered text uses default labels.

> nonAwsCostsNote -> (string)

> > The developer’s note on non-AWS costs. Absent: the rendered text says none were found (and names any `costs.unknown` items).

> > Constraints:

> > * min: `1`
> > * max: `256`
> > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> valueBasis -> (string)

> > How the value figures (`minutesSaved` , `moneySaved` or `valuePerUse` , and `valueShare` ) were worked out, for example “drafting a reply by hand takes about 10 minutes”. Shown on the Value row of `summary` , and with the value inputs in `details` . Absent: not shown.

> > Constraints:

> > * min: `1`
> > * max: `256`
> > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> expectedUsersBasis -> (string)

> > Where `market.expectedUsers` came from. Absent: the rendered text labels it a rough guess from the app’s category.

> > Constraints:

> > * min: `1`
> > * max: `256`
> > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> usageSources -> (map)

> > Whether each action’s `typicalMonthlyUsage` is an estimate or was measured on a deployed app (the last 30 days’ average per active user), by action name. Absent for an action: ESTIMATE.

> > Constraints:

> > * min: `1`
> > * max: `10`

> > key -> (string)

> > > A `name` in `actions` : letters, digits, underscores or hyphens, 1-64 characters.

> > > Constraints:

> > > * min: `1`
> > > * max: `64`
> > > * pattern: `[A-Za-z0-9_-]+`

> > value -> (string)

> > > Where an action’s typical usage came from.

> > > Possible values:

> > > * `ESTIMATE`
> > > * `MEASURED`

> customerTypeDescriptions -> (map)

> > One line on who each customer type is, by `market.customerTypes` name. Absent for a type: only its name is shown.

> > Constraints:

> > * min: `1`
> > * max: `3`

> > key -> (string)

> > > Short name of a customer type, for example “solo devs”.

> > > Constraints:

> > > * min: `1`
> > > * max: `64`
> > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > value -> (string)

> > > A free-text note on an input assumption.

> > > Constraints:

> > > * min: `1`
> > > * max: `256`
> > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

Shorthand Syntax:

```
nonAwsCostsNote=string,valueBasis=string,expectedUsersBasis=string,usageSources={KeyName1=string,KeyName2=string},customerTypeDescriptions={KeyName1=string,KeyName2=string}
```

JSON Syntax:

```json
{
  "nonAwsCostsNote": "string",
  "valueBasis": "string",
  "expectedUsersBasis": "string",
  "usageSources": {"string": "ESTIMATE"|"MEASURED"
    ...},
  "customerTypeDescriptions": {"string": "string"
    ...}
}
```

`--cli-input-json` | `--cli-input-yaml` (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by `--generate-cli-skeleton`. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with `--cli-input-yaml`.

`--generate-cli-skeleton` (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value `input`, prints a sample input JSON that can be used as an argument for `--cli-input-json`. Similarly, if provided `yaml-input` it will print a sample input YAML that can be used with `--cli-input-yaml`. If provided with the value `output`, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.

## Global Options

`--debug` (boolean)

Turn on debug logging.

`--endpoint-url` (string)

Override command’s default URL with the given URL.

`--no-verify-ssl` (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

`--no-paginate` (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

`--output` (string)

The formatting style for command output.

* json
* text
* table
* yaml
* yaml-stream
* off

`--query` (string)

A JMESPath query to use in filtering the response data.

`--profile` (string)

Use a specific profile from your credential file.

`--region` (string)

The region to use. Overrides config/env settings.

`--version` (string)

Display the version of this tool.

`--color` (string)

Turn on/off color output.

* on
* off
* auto

`--no-sign-request` (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

`--ca-bundle` (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

`--cli-read-timeout` (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

`--cli-connect-timeout` (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

`--cli-binary-format` (string)

The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob `fileb://` will always be treated as binary and use the file contents directly regardless of the `cli-binary-format` setting. When using `file://` the file contents will need to properly formatted for the configured `cli-binary-format`.

* base64
* raw-in-base64-out

`--no-cli-pager` (boolean)

Disable cli pager for output.

`--cli-auto-prompt` (boolean)

Automatically prompt for CLI input parameters.

`--no-cli-auto-prompt` (boolean)

Disable automatically prompt for CLI input parameters.

`--cli-error-format` (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

* legacy
* json
* yaml
* text
* table
* enhanced

`--help` (boolean)

Display help for the command/subcommand.

## Output

pricingModel -> (string)

> The recommended pricing model. Equals the request’s `planOptions.pricingModelPreference` when `planOptions.preferenceOutcome` is HONORED.

> Possible values:

> * `FLAT`
> * `TIERED`
> * `PER_USE`
> * `PER_USE_SPLIT`

recommendedPrice -> (structure)

> Recommended monthly price of the main paid plan, for FLAT and TIERED. When an annual plan is recommended, it is in `plans` with `billingCycle` ANNUAL; this is still the monthly price.

> currencyCode -> (string) [required]

> > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > Constraints:

> > * pattern: `[A-Z]{3}`

> amount -> (string) [required]

> > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > Constraints:

> > * min: `1`
> > * max: `20`
> > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

recommendedPriceRange -> (structure)

> Prices whose modeled profit is within a few percent of the best, when the profit curve is flat near its top. `recommendedPrice` is the middle of this range.

> low -> (structure) [required]

> > The lowest price in the range.

> > currencyCode -> (string) [required]

> > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > Constraints:

> > > * pattern: `[A-Z]{3}`

> > amount -> (string) [required]

> > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > Constraints:

> > > * min: `1`
> > > * max: `20`
> > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> high -> (structure) [required]

> > The highest price in the range.

> > currencyCode -> (string) [required]

> > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > Constraints:

> > > * pattern: `[A-Z]{3}`

> > amount -> (string) [required]

> > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > Constraints:

> > > * min: `1`
> > > * max: `20`
> > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

unitPrices -> (list)

> Price per use of each action, for PER_USE and PER_USE_SPLIT.

> Constraints:

> * min: `0`
> * max: `10`

> (structure)

> > Price per use of one action.

> > actionName -> (string) [required]

> > > An action’s key within the recommendation, used in `plans` , `unitPrices` and `creditPacks` : a `name` in the request’s `actions` . The developer maps it to the app’s metric.

> > > Constraints:

> > > * min: `1`
> > > * max: `64`
> > > * pattern: `[A-Za-z0-9_-]+`

> > price -> (structure) [required]

> > > The price per use.

> > > currencyCode -> (string) [required]

> > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > Constraints:

> > > > * pattern: `[A-Z]{3}`

> > > amount -> (string) [required]

> > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `20`
> > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

plans -> (list)

> The recommended plans. To create them, map each `actionName` to the app’s metric ID.

> Constraints:

> * min: `0`
> * max: `10`

> (structure)

> > One recommended plan.

> > planCode -> (string) [required]

> > > This plan’s key within the recommendation, for example `pro` . The request’s `planOptions.planPrices` , and this plan’s `upgradePlanCodes` and `downgradePlanCodes` , refer to plans by it. It is not a PlanId: CreatePlan assigns the PlanId when the plan is created.

> > > Constraints:

> > > * min: `1`
> > > * max: `64`
> > > * pattern: `[A-Za-z0-9_-]+`

> > name -> (string) [required]

> > > Plan name shown to buyers, for example `Pro` or `Annual` .

> > > Constraints:

> > > * min: `1`
> > > * max: `128`
> > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > billingCycle -> (string) [required]

> > > How often the plan bills, as in CreatePlan’s `definition.billingCycle` .

> > > Possible values:

> > > * `MONTHLY`
> > > * `ANNUAL`
> > > * `ONE_TIME`

> > price -> (structure) [required]

> > > Subscription price per billing cycle.

> > > currencyCode -> (string) [required]

> > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > Constraints:

> > > > * pattern: `[A-Z]{3}`

> > > amount -> (string) [required]

> > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `20`
> > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > includedQuotas -> (list) [required]

> > > Units included per action, with what happens past them.

> > > Constraints:

> > > * min: `0`
> > > * max: `10`

> > > (structure)

> > > > Included units of one action in a plan.

> > > > actionName -> (string) [required]

> > > > > An action’s key within the recommendation, used in `plans` , `unitPrices` and `creditPacks` : a `name` in the request’s `actions` . The developer maps it to the app’s metric.

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `64`
> > > > > * pattern: `[A-Za-z0-9_-]+`

> > > > includedQuantity -> (long) [required]

> > > > > The number of units included.

> > > > > Constraints:

> > > > > * min: `0`

> > > > overagePolicy -> (string) [required]

> > > > > What happens to usage past the included units.

> > > > > Possible values:

> > > > > * `NO_OVERAGE_THROTTLE`
> > > > > * `APPLY_FIXED_OVERAGE`
> > > > > * `APPLY_TIERED_OVERAGE`

> > > > overagePrice -> (structure)

> > > > > Price per unit past the included quantity. With APPLY_FIXED_OVERAGE only. Overage is not capped.

> > > > > currencyCode -> (string) [required]

> > > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > > Constraints:

> > > > > > * pattern: `[A-Z]{3}`

> > > > > amount -> (string) [required]

> > > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > > Constraints:

> > > > > > * min: `1`
> > > > > > * max: `20`
> > > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > upgradePlanCodes -> (list) [required]

> > > Plan codes a subscriber can upgrade to, cheapest first.

> > > Constraints:

> > > * min: `0`
> > > * max: `10`

> > > (string)

> > > > A plan’s key within one recommendation, for example `pro` or `team` . URL-safe: letters, digits, hyphen, underscore; 1-64 characters.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `64`
> > > > * pattern: `[A-Za-z0-9_-]+`

> > downgradePlanCodes -> (list) [required]

> > > Plan codes a subscriber can downgrade to, cheapest first.

> > > Constraints:

> > > * min: `0`
> > > * max: `10`

> > > (string)

> > > > A plan’s key within one recommendation, for example `pro` or `team` . URL-safe: letters, digits, hyphen, underscore; 1-64 characters.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `64`
> > > > * pattern: `[A-Za-z0-9_-]+`

creditPacks -> (list)

> One-time credit packs sold alongside the plans. Empty unless the request’s `planOptions.creditPackInclusion` was INCLUDE.

> Constraints:

> * min: `0`
> * max: `10`

> (structure)

> > A one-time pack of units of one action.

> > name -> (string) [required]

> > > Pack name shown to buyers.

> > > Constraints:

> > > * min: `1`
> > > * max: `128`
> > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > actionName -> (string) [required]

> > > An action’s key within the recommendation, used in `plans` , `unitPrices` and `creditPacks` : a `name` in the request’s `actions` . The developer maps it to the app’s metric.

> > > Constraints:

> > > * min: `1`
> > > * max: `64`
> > > * pattern: `[A-Za-z0-9_-]+`

> > quantity -> (long) [required]

> > > Units in the pack.

> > > Constraints:

> > > * min: `0`

> > price -> (structure) [required]

> > > The pack price.

> > > currencyCode -> (string) [required]

> > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > Constraints:

> > > > * pattern: `[A-Z]{3}`

> > > amount -> (string) [required]

> > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `20`
> > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

verdict -> (string)

> Viability verdict.

> Possible values:

> * `HEALTHY`
> * `THIN_MARGIN`
> * `NOT_MONETIZABLE`
> * `COST_ONLY`
> * `COST_NOT_CHECKED`

confidence -> (string)

> Confidence in the recommendation.

> Possible values:

> * `HIGH`
> * `MEDIUM`
> * `LOW`

confidenceReason -> (string)

> Why the confidence is what it is.

> Constraints:

> * min: `1`
> * max: `1024`

basis -> (string)

> What the price is based on: modeled demand, or, without a value estimate, cost or comparables.

> Constraints:

> * min: `1`
> * max: `1024`

costs -> (structure)

> How the recommended price relates to cost to serve.

> status -> (string) [required]

> > Whether the costs behind `verdict` and `costs.breakEven` are complete.

> > Possible values:

> > * `COMPLETE`
> > * `INCOMPLETE`
> > * `NOT_CHECKED`

> coverStatus -> (string) [required]

> > Whether the recommended price covers cost to serve as modeled, was raised to cover it, or could not cover it at any price.

> > Possible values:

> > * `MODELED`
> > * `COVERED`
> > * `ARITHMETIC`
> > * `NOT_CHECKED`

> coverPrices -> (list) [required]

> > The price that covers cost to serve at each margin above 0 in the request’s `costs.margins` . Reference only.

> > Constraints:

> > * min: `0`
> > * max: `5`

> > (structure)

> > > The price that covers cost to serve at one margin.

> > > margin -> (double) [required]

> > > > The target margin this price covers.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `0.9999`

> > > price -> (structure) [required]

> > > > Up to 4 decimal places.

> > > > currencyCode -> (string) [required]

> > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > Constraints:

> > > > > * pattern: `[A-Z]{3}`

> > > > amount -> (string) [required]

> > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `20`
> > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> breakEven -> (structure)

> > Cost to serve one payer at the expected number of payers, at one tenth and at ten times.

> > expected -> (structure) [required]

> > > Cost to serve one payer at the expected number of payers.

> > > costPerPayer -> (structure) [required]

> > > > Monthly cost to serve one payer, including the payer’s share of fixed cost and free users. Up to 4 decimal places.

> > > > currencyCode -> (string) [required]

> > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > Constraints:

> > > > > * pattern: `[A-Z]{3}`

> > > > amount -> (string) [required]

> > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `20`
> > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > payers -> (double) [required]

> > > > Modeled number of payers, as a whole number.

> > > > Constraints:

> > > > * min: `0`

> > low -> (structure) [required]

> > > Cost to serve one payer at one tenth the expected number of payers.

> > > costPerPayer -> (structure) [required]

> > > > Monthly cost to serve one payer, including the payer’s share of fixed cost and free users. Up to 4 decimal places.

> > > > currencyCode -> (string) [required]

> > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > Constraints:

> > > > > * pattern: `[A-Z]{3}`

> > > > amount -> (string) [required]

> > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `20`
> > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > payers -> (double) [required]

> > > > Modeled number of payers, as a whole number.

> > > > Constraints:

> > > > * min: `0`

> > high -> (structure) [required]

> > > Cost to serve one payer at ten times the expected number of payers.

> > > costPerPayer -> (structure) [required]

> > > > Monthly cost to serve one payer, including the payer’s share of fixed cost and free users. Up to 4 decimal places.

> > > > currencyCode -> (string) [required]

> > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > Constraints:

> > > > > * pattern: `[A-Z]{3}`

> > > > amount -> (string) [required]

> > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `20`
> > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > payers -> (double) [required]

> > > > Modeled number of payers, as a whole number.

> > > > Constraints:

> > > > * min: `0`

> impliedMargin -> (double)

> > Share of revenue left after cost to serve at the recommended price and expected scale, to 2 decimal places.

alternatives -> (structure)

> Which comparable apps were used and which were not.

> comparablesUsed -> (list) [required]

> > Names of the comparable apps whose prices were used.

> > Constraints:

> > * min: `0`
> > * max: `5`

> > (string)

> > > Short name of a comparable app or outside option.

> > > Constraints:

> > > * min: `1`
> > > * max: `128`
> > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> comparablesDropped -> (list) [required]

> > Comparable apps that were not used, with the reason.

> > Constraints:

> > * min: `0`
> > * max: `10`

> > (structure)

> > > A comparable app that was not used.

> > > name -> (string) [required]

> > > > Name of the comparable app.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `128`
> > > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > > price -> (structure) [required]

> > > > The comparable app’s price.

> > > > currencyCode -> (string) [required]

> > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > Constraints:

> > > > > * pattern: `[A-Z]{3}`

> > > > amount -> (string) [required]

> > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `20`
> > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > reason -> (string) [required]

> > > > Why the comparable app was not used.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `1024`

planOptions -> (structure)

> What became of the request’s `planOptions` : the pricing-model preference, the Free and Max plans and the evaluated plan prices.

> preferenceOutcome -> (string) [required]

> > Whether the request’s `planOptions.pricingModelPreference` was used.

> > Possible values:

> > * `HONORED`
> > * `NOT_HONORED`
> > * `NOT_REQUESTED`

> freeTier -> (structure)

> > The Free plan’s modeled outcome, or the free trial suggested instead of it.

> > status -> (string) [required]

> > > Whether a Free plan is included, or what is suggested instead.

> > > Possible values:

> > > * `INCLUDED`
> > > * `TRIAL_SUGGESTED`
> > > * `NOT_INCLUDED`

> > statusSource -> (string)

> > > Whether `status` follows the request’s `planOptions.freeTierInclusion` or the segment’s default.

> > > Possible values:

> > > * `REQUESTED`
> > > * `SEGMENT_DEFAULT`

> > trialDays -> (integer)

> > > Length of the suggested free trial. TRIAL_SUGGESTED only.

> > > Constraints:

> > > * min: `1`
> > > * max: `365`

> > freeUsers -> (double)

> > > Modeled number of free users, as a whole number. INCLUDED, or NOT_INCLUDED with what a Free plan would cost.

> > > Constraints:

> > > * min: `0`

> > conversion -> (double)

> > > Modeled share of free users who convert to the paid plan. Not returned.

> > > Constraints:

> > > * min: `0`
> > > * max: `1`

> > monthlyCost -> (structure)

> > > Monthly cost of serving the free users: for INCLUDED, the Free plan’s cost; for TRIAL_SUGGESTED and NOT_INCLUDED, what a Free plan at the default quota would cost. Up to 4 decimal places.

> > > currencyCode -> (string) [required]

> > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > Constraints:

> > > > * pattern: `[A-Z]{3}`

> > > amount -> (string) [required]

> > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `20`
> > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> maxTier -> (structure)

> > The Max plan’s modeled outcome. On the default menu for CONSUMER and PROSUMER; for ENTERPRISE only when the request’s `planOptions.maxTierInclusion` is INCLUDE.

> > status -> (string) [required]

> > > Whether a Max plan is included, and why.

> > > Possible values:

> > > * `INCLUDED`
> > > * `INCLUDED_AS_REQUESTED`
> > > * `NOT_INCLUDED`

> > price -> (structure)

> > > The Max plan’s price.

> > > currencyCode -> (string) [required]

> > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > Constraints:

> > > > * pattern: `[A-Z]{3}`

> > > amount -> (string) [required]

> > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `20`
> > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> evaluatedPlanPrices -> (list) [required]

> > Modeled outcome of each price in the request’s `planOptions.planPrices` .

> > Constraints:

> > * min: `0`
> > * max: `5`

> > (structure)

> > > Modeled monthly outcome of one price in the request’s `planOptions.planPrices` .

> > > planCode -> (string) [required]

> > > > The plan code this price was evaluated for.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `64`
> > > > * pattern: `[A-Za-z0-9_-]+`

> > > price -> (structure) [required]

> > > > The price evaluated: for `pay_as_you_go` with an `actionName` in the request, that action’s rate.

> > > > currencyCode -> (string) [required]

> > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > Constraints:

> > > > > * pattern: `[A-Z]{3}`

> > > > amount -> (string) [required]

> > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `20`
> > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > monthlyProfit -> (string) [required]

> > > > Modeled monthly profit at this price, which can be negative.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `24`
> > > > * pattern: `-?(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > paidShare -> (double) [required]

> > > > Modeled share of potential customers who pay, to 2 decimal places.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1`

> > > verdict -> (string) [required]

> > > > Viability verdict at this price.

> > > > Possible values:

> > > > * `HEALTHY`
> > > > * `THIN_MARGIN`
> > > > * `NOT_MONETIZABLE`
> > > > * `COST_ONLY`
> > > > * `COST_NOT_CHECKED`

> > > plans -> (list)

> > > > The recommended plans rebuilt at this price by the same rules, in the same form as the response’s `plans` : a `pro` price sets Pro’s overage rates and the annual plan, and a `pay_as_you_go` rate sets that action’s rate. At the recommended price, equal to `plans` .

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `10`

> > > > (structure)

> > > > > One recommended plan.

> > > > > planCode -> (string) [required]

> > > > > > This plan’s key within the recommendation, for example `pro` . The request’s `planOptions.planPrices` , and this plan’s `upgradePlanCodes` and `downgradePlanCodes` , refer to plans by it. It is not a PlanId: CreatePlan assigns the PlanId when the plan is created.

> > > > > > Constraints:

> > > > > > * min: `1`
> > > > > > * max: `64`
> > > > > > * pattern: `[A-Za-z0-9_-]+`

> > > > > name -> (string) [required]

> > > > > > Plan name shown to buyers, for example `Pro` or `Annual` .

> > > > > > Constraints:

> > > > > > * min: `1`
> > > > > > * max: `128`
> > > > > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > > > > billingCycle -> (string) [required]

> > > > > > How often the plan bills, as in CreatePlan’s `definition.billingCycle` .

> > > > > > Possible values:

> > > > > > * `MONTHLY`
> > > > > > * `ANNUAL`
> > > > > > * `ONE_TIME`

> > > > > price -> (structure) [required]

> > > > > > Subscription price per billing cycle.

> > > > > > currencyCode -> (string) [required]

> > > > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > > > Constraints:

> > > > > > > * pattern: `[A-Z]{3}`

> > > > > > amount -> (string) [required]

> > > > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > > > Constraints:

> > > > > > > * min: `1`
> > > > > > > * max: `20`
> > > > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > > > includedQuotas -> (list) [required]

> > > > > > Units included per action, with what happens past them.

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `10`

> > > > > > (structure)

> > > > > > > Included units of one action in a plan.

> > > > > > > actionName -> (string) [required]

> > > > > > > > An action’s key within the recommendation, used in `plans` , `unitPrices` and `creditPacks` : a `name` in the request’s `actions` . The developer maps it to the app’s metric.

> > > > > > > > Constraints:

> > > > > > > > * min: `1`
> > > > > > > > * max: `64`
> > > > > > > > * pattern: `[A-Za-z0-9_-]+`

> > > > > > > includedQuantity -> (long) [required]

> > > > > > > > The number of units included.

> > > > > > > > Constraints:

> > > > > > > > * min: `0`

> > > > > > > overagePolicy -> (string) [required]

> > > > > > > > What happens to usage past the included units.

> > > > > > > > Possible values:

> > > > > > > > * `NO_OVERAGE_THROTTLE`
> > > > > > > > * `APPLY_FIXED_OVERAGE`
> > > > > > > > * `APPLY_TIERED_OVERAGE`

> > > > > > > overagePrice -> (structure)

> > > > > > > > Price per unit past the included quantity. With APPLY_FIXED_OVERAGE only. Overage is not capped.

> > > > > > > > currencyCode -> (string) [required]

> > > > > > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > > > > > Constraints:

> > > > > > > > > * pattern: `[A-Z]{3}`

> > > > > > > > amount -> (string) [required]

> > > > > > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > > > > > Constraints:

> > > > > > > > > * min: `1`
> > > > > > > > > * max: `20`
> > > > > > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > > > upgradePlanCodes -> (list) [required]

> > > > > > Plan codes a subscriber can upgrade to, cheapest first.

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `10`

> > > > > > (string)

> > > > > > > A plan’s key within one recommendation, for example `pro` or `team` . URL-safe: letters, digits, hyphen, underscore; 1-64 characters.

> > > > > > > Constraints:

> > > > > > > * min: `1`
> > > > > > > * max: `64`
> > > > > > > * pattern: `[A-Za-z0-9_-]+`

> > > > > downgradePlanCodes -> (list) [required]

> > > > > > Plan codes a subscriber can downgrade to, cheapest first.

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `10`

> > > > > > (string)

> > > > > > > A plan’s key within one recommendation, for example `pro` or `team` . URL-safe: letters, digits, hyphen, underscore; 1-64 characters.

> > > > > > > Constraints:

> > > > > > > * min: `1`
> > > > > > > * max: `64`
> > > > > > > * pattern: `[A-Za-z0-9_-]+`

> > > creditPacks -> (list)

> > > > The credit packs at this price, in the same form as the response’s `creditPacks` . At the recommended price, equal to `creditPacks` .

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `10`

> > > > (structure)

> > > > > A one-time pack of units of one action.

> > > > > name -> (string) [required]

> > > > > > Pack name shown to buyers.

> > > > > > Constraints:

> > > > > > * min: `1`
> > > > > > * max: `128`
> > > > > > * pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`

> > > > > actionName -> (string) [required]

> > > > > > An action’s key within the recommendation, used in `plans` , `unitPrices` and `creditPacks` : a `name` in the request’s `actions` . The developer maps it to the app’s metric.

> > > > > > Constraints:

> > > > > > * min: `1`
> > > > > > * max: `64`
> > > > > > * pattern: `[A-Za-z0-9_-]+`

> > > > > quantity -> (long) [required]

> > > > > > Units in the pack.

> > > > > > Constraints:

> > > > > > * min: `0`

> > > > > price -> (structure) [required]

> > > > > > The pack price.

> > > > > > currencyCode -> (string) [required]

> > > > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > > > Constraints:

> > > > > > > * pattern: `[A-Z]{3}`

> > > > > > amount -> (string) [required]

> > > > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > > > Constraints:

> > > > > > > * min: `1`
> > > > > > > * max: `20`
> > > > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

analysis -> (structure)

> How the recommendation compares with other pricing models.

> modelComparison -> (list) [required]

> > Modeled outcome of each pricing model compared, under the same modeled demand.

> > Constraints:

> > * min: `0`
> > * max: `4`

> > (structure)

> > > Modeled monthly outcome of one pricing model.

> > > pricingModel -> (string) [required]

> > > > The pricing model. With a value estimate a per-use model is listed as PER_USE, also when `pricingModel` is PER_USE_SPLIT; without one the only row is `pricingModel` .

> > > > Possible values:

> > > > * `FLAT`
> > > > * `TIERED`
> > > > * `PER_USE`
> > > > * `PER_USE_SPLIT`

> > > monthlyProfit -> (string) [required]

> > > > Modeled monthly profit, which can be negative.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `24`
> > > > * pattern: `-?(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > monthlyRevenue -> (structure) [required]

> > > > Modeled monthly revenue.

> > > > currencyCode -> (string) [required]

> > > > > The ISO 4217 currency code (three uppercase letters, for example, “USD”).

> > > > > Constraints:

> > > > > * pattern: `[A-Z]{3}`

> > > > amount -> (string) [required]

> > > > > An arbitrary-precision decimal represented as a string (for example, “9.99”).

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `20`
> > > > > * pattern: `(0|[1-9][0-9]*)(\.[0-9]+)?`

> > > margin -> (double)

> > > > Profit as a share of revenue, to 2 decimal places. Absent when revenue is zero.

> > > paidShare -> (double) [required]

> > > > Modeled share of potential customers who pay, to 2 decimal places.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1`

> pricingModelCaveats -> (list) [required]

> > Caveats on the comparison of pricing models by modeled profit. Empty when none applies or none was checked (see `PricingModelCaveat` ).

> > Constraints:

> > * min: `0`
> > * max: `10`

> > (string)

> > > A caveat on the comparison of pricing models by modeled profit, which is made only with a value estimate. The comparison picks the most profitable pricing model it may choose, or the simplest of those close to it. It may choose only FLAT or TIERED when `planOptions.annualPlanInclusion` is INCLUDE and the request sends neither `planOptions.pricingModelPreference` nor `planOptions.freeTierInclusion` INCLUDE. `pricingModel` need not be its pick, for example when the request sends one of those two.

> > > Possible values:

> > > * `CLOSE_CALL`
> > > * `CHECKOUT_DROP_OFF`

> frictionAlternative -> (string)

> > The pricing model the comparison would pick if every pricing model lost the same share of buyers at checkout. Present when `pricingModelCaveats` has CHECKOUT_DROP_OFF.

> > Possible values:

> > * `FLAT`
> > * `TIERED`
> > * `PER_USE`
> > * `PER_USE_SPLIT`

recommendationVersion -> (string)

> Identifies the recommendation model and benchmark data behind this answer, for support. It changes when either changes.

> Constraints:

> * min: `1`
> * max: `64`

summary -> (string)

> The recommendation as text for the developer: the price, the plans, the reasons and the assumptions behind them.

> Constraints:

> * min: `1`
> * max: `32768`

details -> (string)

> The same text as `summary` with a Details section on how the recommendation was worked out, for a developer who asks for details. Some figures appear only in `summary` and `details` .

> Constraints:

> * min: `1`
> * max: `32768`
