Credential Schemas
Credential Schemas define the structure and validation rules for your verifiable credentials.
A schema specifies:
- The credential type (e.g., “EmployeeBadgeCredential”)
- The claims/fields the credential contains (name, title, department, etc.)
- Validation rules for each field (required, format, allowed values)
- Supported credential formats (JWT-VC, SD-JWT-VC, mdoc)
Workflow: Create a schema first, then use it when issuing credentials or setting up automations.
New schemas start in “draft” status and must be activated before use.
Endpoints
/v1/issuer/schemas
List issuer credential schemas
/v1/issuer/schemas/{id}
Get credential schema details
/v1/issuer/schemas
Create a credential schema
/v1/issuer/schemas/{id}
Update a draft credential schema
/v1/issuer/schemas/{id}
Delete a draft credential schema
/v1/issuer/schemas/{id}/activate
Activate a draft credential schema
/v1/issuer/schemas/{id}/archive
Archive an active credential schema