{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/base/StructureDefinition-CWTPayload.schema.json",
  "title": "CBOR Web Token (CWT) Payload (Common)",
  "description": "Logical Model for CBOR Web Token (CWT) Payload Logical Modelin CWT Payload https://www.iana.org/assignments/cwt/cwt.xhtml ",
  "type": "object",
  "properties": {
    "resourceType": {
      "type": "string",
      "const": "CWTPayload",
      "description": "Resource type identifier for CWTPayload logical model"
    },
    "1": {
      "type": "object",
      "description": "Issuer"
    },
    "4": {
      "type": "string",
      "format": "date-time",
      "description": "Expiration Time"
    },
    "6": {
      "type": "string",
      "format": "date-time",
      "description": "Issued At"
    },
    "-260": {
      "$ref": "http://smart.who.int/base/StructureDefinition-HCert.schema.json",
      "description": "HCert"
    }
  },
  "required": [
    "resourceType"
  ],
  "resourceDefinition": "http://smart.who.int/trust/StructureDefinition/CWTPayload",
  "fhir:parent": "http://hl7.org/fhir/StructureDefinition/Base"
}