<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/CKDBValidateSchemaResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "struct/CKDBValidateSchemaResponse"
  },
  "title" : "CKDBValidateSchemaResponse"
}
-->

# CKDBValidateSchemaResponse

The response object after validating the uploaded schema string.

```
dictionary CKDBValidateSchemaResponse {
	boolean isValid;
	string? errorMessage;
};
```

## Overview

Contains the status of validation and an error message if the schema is not valid.

In JavaScript, this is a plain object with properties as described.

In TypeScript, this type is imported in the following way:

```javascript
import type { CKDBValidateSchemaResponse } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute string? errorMessage;`](/documentation/CKToolJS/CKDBValidateSchemaResponse/errorMessage)

A message if the schema string is not valid.

[`attribute boolean isValid;`](/documentation/CKToolJS/CKDBValidateSchemaResponse/isValid)

The status of the schema string validation.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)