---
title: "POST /v1/{+parent}/schemas"
method: POST
path: "/v1/{+parent}/schemas"
tags: ["projects"]
---

# POST /v1/{+parent}/schemas

`POST /v1/{+parent}/schemas`

Creates a schema.

## Path parameters

- `parent` string, required

## Request body

- GoogleCloudDocumentaiV1NextSchema — NextSchema is a collection of SchemaVersions.
  - `updateTime` string, google-datetime — Output only. The time when the Schema was last updated.
  - `displayName` string — Required. The user-defined name of the Schema.
  - `labels` object — Optional. The {{gcp_name_short}} labels for the Schema.
  - `createTime` string, google-datetime — Output only. The time when the Schema was created.
  - `name` string — Identifier. The resource name of the Schema. Format: `projects/{project}/locations/{location}/schemas/{schema}`

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/documentai.md) · [All operations](https://skmtc.dev/google/apis/documentai/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/documentai/revisions/88d43b76c9f3/schema)
