WHO SMART Trust
1.6.0 - ci-build

WHO SMART Trust, published by WHO. This guide is not an authorized publication; it is the continuous build for version 1.6.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-trust/tree/MeowUpdates and changes regularly. See the Directory of published versions

## Logical Model: CBOR Web Token (CWT) Claim ( Abstract )

Official URL: http://smart.who.int/trust/StructureDefinition/CWT | Version: 1.6.0
Active as of 2026-07-29 | Computable Name: CWT

Logical Model for Data elements in CBOR Web Token (CWT) https://www.iana.org/assignments/cwt/cwt.xhtml

Usages:

- This Logical Model is not used by any profiles in this Specification

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CWT |  | 0..* | Base | This is an abstract type. CBOR Web Token (CWT) Claim
header |  | 1..1 | COSEHeader | COSE Header
payload |  | 1..1 | CWTPayload | CWT Payload
signature |  | 1..1 | string | Signature
Documentation for this format

## API Information

##### CBOR Web Token (CWT) Claim API

Logical Model for Data elements in CBOR Web Token (CWT) https://www.iana.org/assignments/cwt/cwt.xhtml

Version: 1.0.0

## Endpoints

### GET /StructureDefinition-CWT.schema.json

#### JSON Schema definition for the Logical Model StructureDefinition-CWT

This endpoint serves the JSON Schema definition for the Logical Model StructureDefinition-CWT.

## Schema Definition

### StructureDefinition-CWT

Description: Logical Model for Data elements in CBOR Web Token (CWT) https://www.iana.org/assignments/cwt/cwt.xhtml

Type: object

Full Schema (JSON)

    {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "$id": "http://smart.who.int/base/StructureDefinition-CWT.schema.json",
      "title": "CBOR Web Token (CWT) Claim",
      "description": "Logical Model for Data elements in CBOR Web Token (CWT) https://www.iana.org/assignments/cwt/cwt.xhtml",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "const": "CWT",
          "description": "Resource type identifier for CWT logical model"
        },
        "header": {
          "$ref": "http://smart.who.int/base/StructureDefinition-COSEHeader.schema.json",
          "description": "Header"
        },
        "payload": {
          "$ref": "http://smart.who.int/base/StructureDefinition-CWTPayload.schema.json",
          "description": "Payload"
        },
        "signature": {
          "type": "string",
          "description": "Signature"
        }
      },
      "required": [
        "resourceType",
        "header",
        "payload",
        "signature"
      ],
      "resourceDefinition": "http://smart.who.int/trust/StructureDefinition/CWT",
      "fhir:parent": "http://hl7.org/fhir/StructureDefinition/Base"
    }

This documentation is automatically generated from the OpenAPI specification.

This structure is derived from Base

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CWT |  | 0..* | Base | This is an abstract type. CBOR Web Token (CWT) Claim
header |  | 1..1 | COSEHeader | COSE Header
payload |  | 1..1 | CWTPayload | CWT Payload
signature |  | 1..1 | string | Signature
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CWT |  | 0..* | Base | This is an abstract type. CBOR Web Token (CWT) Claim
header |  | 1..1 | COSEHeader | COSE Header
payload |  | 1..1 | CWTPayload | CWT Payload
signature |  | 1..1 | string | Signature
Documentation for this format

This structure is derived from Base

Summary

Mandatory: 0 element(3 nested mandatory elements)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CWT |  | 0..* | Base | This is an abstract type. CBOR Web Token (CWT) Claim
header |  | 1..1 | COSEHeader | COSE Header
payload |  | 1..1 | CWTPayload | CWT Payload
signature |  | 1..1 | string | Signature
Documentation for this format

Differential View

This structure is derived from Base

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CWT |  | 0..* | Base | This is an abstract type. CBOR Web Token (CWT) Claim
header |  | 1..1 | COSEHeader | COSE Header
payload |  | 1..1 | CWTPayload | CWT Payload
signature |  | 1..1 | string | Signature
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CWT |  | 0..* | Base | This is an abstract type. CBOR Web Token (CWT) Claim
header |  | 1..1 | COSEHeader | COSE Header
payload |  | 1..1 | CWTPayload | CWT Payload
signature |  | 1..1 | string | Signature
Documentation for this format

This structure is derived from Base

Summary

Mandatory: 0 element(3 nested mandatory elements)

Other representations of profile: CSV, Excel