### NY Liberty Pass Example Schema using PCF's spec (Spec)

#### VC Overhead

Context |
Type |
Issue Date |
Expiration |
Issuer |
ID |

#### Credential Schema

Type |
Id |

#### Subject

FirstName |
LastName |
Date |

#### Credential

Type |
Display |
PassType |

#### Credentials

Private Key (openssl ecparam -name secp256k1 -genkey -out private.key)
-----BEGIN EC PARAMETERS----- BgUrgQQACg== -----END EC PARAMETERS----- -----BEGIN EC PRIVATE KEY----- MHQCAQEEIPWKbSezZMY1gCpvN42yaVv76Lo47FvSsVZpQl0a5lWRoAcGBSuBBAAK oUQDQgAE6DeIun4EgMBLUmbtjQw7DilMJ82YIvOR2jz/IK0R/F7/zXY1z+gqvFXf DcJqR5clbAYlO9lHmvb4lsPLZHjugQ== -----END EC PRIVATE KEY-----
DNS TXT Record of the Public Key (openssl ec -in private.key -pubout -out public.key)
keys.pathcheck.org When ready, change to: ISSUER#key-1
QR Code Format

    cred:type:version:Signature:PubKey:Payload

#### PCF's Format

#### Original IBM Format

    {
        "@context": ["https://www.w3.org/2018/credentials/v1"],
        "id": "did:hpass:b3a918aa1ec2b0f0d58a6ca3e7c8ebb6a631cbb2408ad5e8ecaca9fdb48ee4bf:7210026a6918e3250c1d1094636c0a89cc06468cf302bce2216e20c755d020ac#vc-SOME-LONG-UUID-THAT-LOOKS-LIKE-THIS",
        "type": ["VerifiableCredential"],
        "issuer": "did:hpass:b3a918aa1ec2b0f0d58a6ca3e7c8ebb6a631cbb2408ad5e8ecaca9fdb48ee4bf:7210026a6918e3250c1d1094636c0a89cc06468cf302bce2216e20c755d020ac",
        "issuanceDate": "2021-02-28T11:31:10Z",
        "expirationDate": "2021-02-28T02:21:39Z",
        "credentialSchema": {
            "id": "did:hpass:b3a918aa1ec2b0f0d58a6ca3e7c8ebb6a631cbb2408ad5e8ecaca9fdb48ee4bf:7210026a6918e3250c1d1094636c0a89cc06468cf302bce2216e20c755d020ac;id=libertyhealthpass;version=0.1",
            "type": "JsonSchemaValidator2018"
        },
        "credentialSubject": {
            "display": "#999999E",
            "passType": "COVID-19 Vaccination",
            "subject": {
                "birthDate": "1981-01-01",
                "name": {
                    "family": "Doe",
                    "given": "Jane"
                }
            },
            "type": "Liberty HealthPass"
        },
        "proof": {
            "created": "2021-02-28T12:12:40Z",
            "creator": "did:hpass:b3a918aa1ec2b0f0d58a6ca3e7c8ebb6a631cbb2408ad5e8ecaca9fdb48ee4bf:7210026a6918e3250c1d1094636c0a89cc06468cf302bce2216e20c755d020ac#key-1",
            "nonce": "SOME-LONG-UUID-THAT-LOOKS-LIKE-THIS",
            "signatureValue": "SOME-SUPER-SECURE-BUT-EXTREMELY-LONG-SIGNATURE-THAT-CONTAINS-AT-LEAST-THIS-MANY-CHARACTERS-IN-IT",
            "type": "EcdsaSecp256r1Signature2019"
        }
    }

Verify a QR Code