# RequiredCommandValidationResult

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

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.
