Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Boring Schema API
description: 'Small, deterministic analysis APIs for business tables: supplier price list comparison, PDF table extraction, product feed validation and product data mapping into import files. Open with a rate limit; an optional X-API-Key raises it. Answers carry source locations and a quality level. Responses are English with language-neutral codes; input headers are recognised in many languages. For agents also as MCP at /mcp; overview at /llms.txt.'
version: 0.10.0
servers:
- url: https://api.relaex-engineers.de
tags:
- name: Schema
description: 'Turns a supplier list, ERP or shop export into an import-ready product file for Shopify, Google Merchant Center or WooCommerce, or into the columns of your own JSON Schema: recognises the source columns, converts prices, currencies, weights, GTINs and availability, reports per target column where its values come from and checks the result against the platform''s feed rules. Unclear values stay empty with an issue instead of being guessed.'
paths:
/v1/schema/normalize:
post:
tags:
- Schema
summary: Convert a product table into a Shopify, Google, WooCommerce or custom import…
description: 'Converts a product table into an import file for a target format.
**Input:** multipart `file` (CSV, TSV or XLSX up to 20 MiB, 250,000 rows), `target` as form field
or in `options` (`shopify_products_csv`, `google_merchant`, `woocommerce_products_csv`,
`json_schema`) and optional `options` as a JSON string following
`/v1/schemas/schema-normalize-options`: `json_schema` (for target `json_schema`: an object with
`properties` of type string, number, integer or boolean, optional `enum`, `title`, `x-aliases`,
`x-canonical` and `required`), `column_overrides` (product field or property → column header),
`defaults` (e.g. `{"brand": "Acme", "condition": "new"}`), `default_currency`, `weight_unit`,
`availability_from_stock`, `max_output_rows`, `output` (`json` or `csv`).
**Behaviour:** the header row and columns are recognised via a versioned multilingual alias set
of 22 product fields (SKU, title, description, prices, currency, GTIN, brand, stock, weight,
images, …). Number formats are inferred per column, currencies from a column or the price
text, weights converted from the unit in the header, GTINs checked for length (a lost leading
zero is restored only for numeric cells), availability mapped from local words or derived
from the stock quantity. Each target column reports its source (`column`, `derived`,
`default`, `constant`, `missing`). Shopify and Google outputs are validated with the feed
rules of `/v1/merchant/validate`; `summary.import_ready` is true only without errors.
**Output:** `ApiResponse` with `NormalizeResult` (mapping, issues, summary, output CSV), or with
`output=csv` the CSV file itself with headers `X-Import-Ready` and `X-Confidence`.
**Errors:** 400 invalid file, 413 too large, 422 no header row, invalid options or schema, 429
rate limit, 504 timeout.
**Languages:** responses are in English. Error, warning and rule codes are stable and
language-neutral; agents may translate messages for the user. Column headers and common cell words are recognised in English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Turkish, Swedish, Danish, Norwegian, Finnish, Korean, Japanese and Chinese; numbers in both 1.234,56 and 1,234.56 style; any ISO 4217 currency (no conversion).
**Access:** open, rate-limited per IP and per MCP session; an `X-API-Key` header raises the
limit. Uploaded files are processed in memory and never stored. Also available as MCP tool
`schema_normalize` at `/mcp` (Streamable HTTP).'
operationId: schema_normalize_v1_schema_normalize_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_schema_normalize_v1_schema_normalize_post'
responses:
'200':
description: ApiResponse with NormalizeResult, or text/csv with output=csv
content:
application/json:
schema: {}
'400':
description: INVALID_FILE, EMPTY_FILE, UNSUPPORTED_FORMAT, INVALID_ENCODING
'413':
description: FILE_TOO_LARGE, ROW_LIMIT_EXCEEDED
'422':
description: HEADER_NOT_FOUND, SHEET_NOT_FOUND, INVALID_OPTIONS
'429':
description: RATE_LIMITED
'504':
description: ANALYSIS_TIMEOUT
components:
schemas:
Body_schema_normalize_v1_schema_normalize_post:
properties:
file:
anyOf:
- type: string
contentMediaType: application/octet-stream
- type: 'null'
title: File
options:
anyOf:
- type: string
- type: 'null'
title: Options
target:
anyOf:
- type: string
- type: 'null'
title: Target
file_url:
anyOf:
- type: string
- type: 'null'
title: File Url
type: object
title: Body_schema_normalize_v1_schema_normalize_post