# Create a metadata schema Creates one or more new document schemas. Request: schemas - List of CreateDocumentSchema definitions to create. Response: schemas - List of DocumentSchemaSummary objects for the created schemas. Endpoint: POST /api/v1/schema/create-schema Version: 3.0 Security: bearerAuth ## Request fields (application/json): - `schemas` (array) - `schemas.name` (string) Rule data fields - `schemas.description` (string) Rule data fields - `schemas.schemaType` (integer) Enum: 0, 1, 2, 3 - `schemas.category` (string) Rule data fields - `schemas.fields` (object) - `schemas.fields.required` (array) ## Response 200 fields (application/json): - `schemas` (array) - `schemas.id` (string) Rule data fields - `schemas.name` (string) Rule data fields - `schemas.description` (string) Rule data fields - `schemas.schemaType` (integer) Enum: 0, 1, 2, 3 - `schemas.category` (string) Rule data fields ## Response 400 fields (application/json): - `message` (string) ## Response 401 fields (application/json): - `message` (string) ## Response 403 fields (application/json): - `message` (string) ## Response 404 fields (application/json): - `message` (string) ## Response 409 fields (application/json): - `message` (string) ## Response 429 fields (application/json): - `message` (string) ## Response 499 fields (application/json): - `message` (string) ## Response 500 fields (application/json): - `message` (string) ## Response 501 fields (application/json): - `message` (string) ## Response 503 fields (application/json): - `message` (string) ## Response 504 fields (application/json): - `message` (string)