{
  "openapi": "3.0.3",
  "info": {
    "title": "CBOR Web Token (CWT) Payload (Common) API",
    "description": "Logical Model for CBOR Web Token (CWT) Payload Logical Modelin CWT Payload https://www.iana.org/assignments/cwt/cwt.xhtml ",
    "version": "1.0.0"
  },
  "paths": {
    "/StructureDefinition-CWTPayload.schema.json": {
      "get": {
        "summary": "JSON Schema definition for the Logical Model StructureDefinition-CWTPayload",
        "description": "This endpoint serves the JSON Schema definition for the Logical Model StructureDefinition-CWTPayload.",
        "responses": {
          "200": {
            "description": "The JSON Schema for StructureDefinition-CWTPayload",
            "content": {
              "application/schema+json": {
                "schema": {
                  "$ref": "./StructureDefinition-CWTPayload.schema.json"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "StructureDefinition-CWTPayload": {
        "$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"
      }
    }
  }
}