WHO SMART Trust
1.1.6 - CI Build International flag

WHO SMART Trust, published by WHO. This guide is not an authorized publication; it is the continuous build for version 1.1.6 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/main 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.1.6
Active as of 2025-12-04 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 Implementation Guide

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CWT 0..* Base This is an abstract type.
CBOR Web Token (CWT) Claim
... header 0..1 COSEHeader COSE Header
... payload 0..1 CWTPayload CWT Payload
... signature 0..1 string Signature

doco 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

Schema ID: http://smart.who.int/base/StructureDefinition-CWT.schema.json

Properties

  • resourceType (string): Resource type identifier for CWT logical model
  • header (unknown): Header
  • payload (unknown): Payload
  • signature (string): Signature

Required fields: resourceType

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"
  ],
  "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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CWT 0..* Base This is an abstract type.
CBOR Web Token (CWT) Claim
... header 0..1 COSEHeader COSE Header
... payload 0..1 CWTPayload CWT Payload
... signature 0..1 string Signature

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CWT 0..* Base This is an abstract type.
CBOR Web Token (CWT) Claim
... header 0..1 COSEHeader COSE Header
... payload 0..1 CWTPayload CWT Payload
... signature 0..1 string Signature

doco Documentation for this format

This structure is derived from Base

Summary

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CWT 0..* Base This is an abstract type.
CBOR Web Token (CWT) Claim
... header 0..1 COSEHeader COSE Header
... payload 0..1 CWTPayload CWT Payload
... signature 0..1 string Signature

doco Documentation for this format

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CWT 0..* Base This is an abstract type.
CBOR Web Token (CWT) Claim
... header 0..1 COSEHeader COSE Header
... payload 0..1 CWTPayload CWT Payload
... signature 0..1 string Signature

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CWT 0..* Base This is an abstract type.
CBOR Web Token (CWT) Claim
... header 0..1 COSEHeader COSE Header
... payload 0..1 CWTPayload CWT Payload
... signature 0..1 string Signature

doco Documentation for this format

This structure is derived from Base

Summary

 

Other representations of profile: CSV, Excel