- [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/cx-agent-studio/reference/rest/v1beta/Evaluation.Scenario.Milestone#SCHEMA_REPRESENTATION)

Represents a single milestone in the scenario. Used to guide the behaviour of the user simulator to follow a protocol. The user simulator executes the milestone sequentially and only proceeds to the next one if the successCriteria of that milestone is achieved.

| JSON representation |
|---|
| ``` { "goal": string, "maxTurnCount": integer, "successCriteria": string, "protocol": string, "staticUtterance": string, "event": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/cx-agent-studio/reference/rest/v1beta/Event`) } } ``` |

| Fields ||
|---|---|
| `goal` | `string` Required. The goal of the milestone. |
| `maxTurnCount` | `integer` Optional. The maximum number of turns for this milestone. |
| `successCriteria` | `string` Optional. The success criteria of the milestone. |
| `protocol` | `string` Optional. The guidelines the agent should follow during the conversation. |
| `staticUtterance` | `string` Optional. A static utterance that the simulator will send exactly, instead of dynamically generating user input. |
| `event` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/cx-agent-studio/reference/rest/v1beta/Event`)`` Optional. An event input to send instead of dynamic generation. |