# Create a new schema for the subject.

**POST /subjects/{subject}/versions**




## Servers
- http://localhost:8081: http://localhost:8081 ()



## Parameters

### Path parameters
- **subject** (string)
  The subject name. Use [:.<context>:]<subject> for context-qualified subjects, or just <subject> for the default context.

### Query parameters
- **normalize** (boolean)


### Body: application/json (object)

- **subject** (string)

- **version** (integer)

- **id** (integer)

- **schemaType** (string)

- **references** (array[object])

- **metadata** (object)
  A map of user-defined properties associated with this schema
- **schema** (string)



## Responses
### 200
OK

#### Body: application/json (object)
- **id** (integer)

- **version** (integer)

- **schemaType** (string)

- **references** (array[object])

- **metadata** (object)

- **schema** (string)


### 409
Incompatible schema

#### Body: application/json (object)
- **error_code** (integer)

- **message** (string)


### 422
Invalid schema

#### Body: application/json (object)
- **error_code** (integer)

- **message** (string)


### 500
Internal Server Error

#### Body: application/json (object)
- **error_code** (integer)

- **message** (string)



[Powered by Bump.sh](https://bump.sh)
