> For the complete documentation index, see [llms.txt](https://docs.guardianservice.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/schemas/system-schemas-apis/creates-new-system-schema.md).

# Creates New System Schema

### CREATES NEW SYSTEM SCHEMA

## Creates new System Schema

<mark style="color:green;">`POST`</mark> `/schemas/system/{username}`

Creates new system schema. Only users with the Standard Registry role are allowed to make the request.

#### Path Parameters

| Name                                       | Type   | Description |
| ------------------------------------------ | ------ | ----------- |
| username<mark style="color:red;">\*</mark> | String | Username    |

#### Request Body

| Name                               | Type   | Description                       |
| ---------------------------------- | ------ | --------------------------------- |
| <mark style="color:red;">\*</mark> | String | Object that contains valid Schema |

{% tabs %}
{% tab title="201: Created Successful Operation" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="401: Unauthorized Unauthorized" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="403: Forbidden Forbidden" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error Internal Server Error" %}

```javascript
{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
}
```

{% endtab %}

{% tab title="422: Unprocessable Entity " %}

{% endtab %}
{% endtabs %}
