--- title: "Check schema validity" slug: "ai-application-service-aitems-schema-validation" updated: 2026-09-17T09:35:47Z published: 2026-09-17T09:35:47Z canonical: "api.ncloud-docs.com/ai-application-service-aitems-schema-validation" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Check schema validity Available in Classic and VPC Validate the availability of the schema information entered. ## Request This section describes the request format. The method and URI are as follows: | Method | URI | | --- | --- | | POST | /schemas/validation-check | ### Request headers For information about the headers common to all AiTEMS APIs, see [AiTEMS request headers](/docs/en/aitems-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94). ### Request body You can include the following data in the body of your request: | Field | Type | Required | Description | | --- | --- | --- | --- | | `datasetType` | String | Required | Dataset type - `user` \| `item` \| `interaction` - `user`: Data containing user information (age, gender, etc.) - `item`: Data with product-related information (price, release date, category, etc.) - `interaction`: Data that captures the history of interactions between users and products | | `name` | String | Required | Schema name - Enter 3-20 characters using a combination of English letters, numbers, and special characters "_" and "-". - The string must begin with an English letter. | | `fields` | Array | Required | Schema field information: [fields](/docs/en/ai-application-service-aitems-schema-validation#fields) | | `description` | String | Required | Schema description - 0-100 characters | #### `fields` The following describes `fields`. | Field | Type | Required | Description | | --- | --- | --- | --- | | `name` | String | Required | Schema field name - Enter the same field names as in the data file - Check basic schema fields by dataset type with [Get basic schema information](/docs/en/ai-application-service-aitems-schema-default) | | `type` | Array | Required | Schema field data type - `string` \| `int` \| `long` \| `boolean` \| `null` | | `categorical` | Boolean | Required | Whether the field is categorical - `true` \| `false` - `true`: Categorical data - `false`: Uncategorical data | ### Request example The request example is as follows: ``` curl --location --request POST 'https://aitems.apigw.ntruss.com/api/v1/schemas/validation-check' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' \ --data '{ "datasetType": "user", "name": "user_schema", "fields": [ { "name": "USER_ID", "type": [ "string" ], "categorical": false } ], "description": "desc" }' ``` ## Response This section describes the response format. ### Response body The response body includes the following data: | Field | Type | Required | Description | | --- | --- | --- | --- | | `name` | String | - | Schema field name | | `type` | Array | - | Schema field data type - `string` \| `int` \| `long` \| `boolean` \| `null` | | `categorical` | Boolean | - | Whether the field is categorical - `true` \| `false` - `true`: Categorical data - `false`: Uncategorical data - Not displayed when `false` | ### Response status codes For information about the HTTP status codes common to all AiTEMS APIs, see [AiTEMS response status codes](/docs/en/aitems-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C). ### Response example The response example is as follows: ``` [ { "name": "USER_ID", "type": [ "string" ] } ] ```