# RequiredCommandValidationResult

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the result of validating a required command.

## Definition

```typescript
interface RequiredCommandValidationResult {
  readonly isValid: boolean;
  readonly validationMessage: string;
}
```

## Properties

- `isValid`: `boolean` `get` -- Gets a value indicating whether the command validation succeeded.
- `validationMessage`: `string` `get` -- Gets an optional validation message describing why validation failed.
