Skip to main content
POST
Upload an XSD Schema

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider. Send it in the Authorization header as Bearer <token>.

Cabeçalhos

Authorization
string

Bearer token forwarded to the XSD validator sidecar for import resolution.

Corpo

multipart/form-data
file
file
obrigatório

XSD schema file.

name
string
obrigatório

Schema name.

Exemplo:

"pain-001"

version
string
obrigatório

Schema version.

Exemplo:

"v1.0.0"

imports
string[] | null

Imported schema names (repeatable).

Resposta

Indicates that the resource was successfully created and the operation was completed as expected.

byteSize
integer<int64>
obrigatório

Size of the schema content in bytes.

Exemplo:

4096

contentHash
string
obrigatório

Hash of the schema content for integrity verification.

Exemplo:

"sha256:9f2c8b1a4d7e0f3c6b5a8d2e1f4c7b0a3d6e9f2c5b8a1d4e7f0c3b6a9d2e5f8c"

createdAt
string<date-time>
obrigatório

Creation timestamp (RFC 3339).

Exemplo:

"2026-01-15T10:30:00Z"

createdBy
string
obrigatório

Identity that uploaded the schema.

Exemplo:

"user@example.com"

id
string<uuid>
obrigatório

XSD schema identifier.

Exemplo:

"018f3e2a-1c4d-7b9e-a1b2-c3d4e5f6a7b8"

imports
string[] | null
obrigatório

Namespaces imported/included by this schema.

Exemplo:
name
string
obrigatório

Schema name.

Exemplo:

"pain.001"

targetNamespace
string
obrigatório

XSD targetNamespace declared by the schema.

Exemplo:

"urn:iso:std:iso:20022:tech:xsd:pain.001.001.09"

version
string
obrigatório

Schema version.

Exemplo:

"1"