Schemas
Schemas ensure data integrity and provide a better developer experience by defining and validating the structure of entities in your workflows. They enable autocomplete, type checking, and clear documentation of expected data formats.
Schemas are based on the JSON Schema specification — an industry-standard format for describing JSON data structures. SignStack wraps the standard with versioning, identity, and the standard resource lifecycle: iterate in a draft, then publish to an immutable semver. Published versions are frozen so every workflow that validated against 1.0.0 keeps validating against the exact shape it was designed for, even after 2.0.0 ships.
Each schema is identified by a unique key.
Schemas Operations
- get/v1/orgs/{orgId}/namespaces/{namespaceKey}/schemas
- post/v1/orgs/{orgId}/namespaces/{namespaceKey}/schemas
- get/v1/orgs/{orgId}/namespaces/{namespaceKey}/schemas/{key}
- get/v1/orgs/{orgId}/namespaces/{namespaceKey}/schemas/{key}/versions
- put/v1/orgs/{orgId}/namespaces/{namespaceKey}/schemas/{key}/versions/{version}
- delete/v1/orgs/{orgId}/namespaces/{namespaceKey}/schemas/{key}/versions/{version}
- post/v1/orgs/{orgId}/namespaces/{namespaceKey}/schemas/{key}/versions/{version}/publish
