Create a schema type
Creates a schema type for a content type.
content_type and schema are required. Only one schema type may exist per content type; a duplicate is rejected with a validation error on content_type.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The body of a schema-type create request.
The identifier of the content type (model) this schema describes. Unique across all schema types.
The JSON-schema document describing the model's structured attribute data.
The created schema type.
A schema type — a JSON-schema definition bound to a model (content type).
The unique identifier of the record.
The identifier of the Django content type (model) this schema describes. Set on create; unique across all schema types.
The JSON-schema document describing the model's structured attribute data.
The model name of the content type (e.g. product).
When the record was created.
When the record was last modified.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
POST /api/v1/remote/1/schema_types/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"content_type": 17,
"schema": {
"type": "object",
"properties": {
"material": {
"type": "string"
}
}
}
}{
"pk": 3,
"content_type": 17,
"schema": {
"type": "object",
"properties": {
"material": {
"type": "string"
}
}
},
"model": "product",
"created_date": "2026-06-01T10:00:00Z",
"modified_date": "2026-06-01T10:00:00Z"
}Last updated
Was this helpful?

