### DIVOC Credentials Schema using PCF's spec (Spec)

#### VC Overhead

Context |
IssuanceDate |
Issuer |
Type |
NonTransfer |

#### Patient

Type |
ID |
Ref ID |
Name |
Gender |
Age |
Nationality |

#### Location

Address 1 |
Address 2 |
District |
City |
State |
Zip |
Country |

#### Evidence

ID |
Type |
Manuf |
Product |
Batch# |
Date |
EffectiveStart |
EffectiveEnd |
Dose |
Total Doses |
Verifier |

#### Facility

Name |
Address 1 |
Address 2 |
District |
City |
State |
Zip |
Country |

#### 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
QR Code Format

    cred:type:version:Signature:PubKey:Payload

#### PCF's Format (Spec)

#### Original DIVOC Format

    {
        "@context": ["https://www.w3.org/2018/credentials/v1", "https://cowin.gov.in/credentials/vaccination/v1"],
        "type": ["VerifiableCredential", "ProofOfVaccinationCredential"],
        "issuer": "https://cowin.gov.in/",
        "issuanceDate": "2021-01-15T17:21:13.117Z",
        "nonTransferable": "true",
        "credentialSubject": {
            "type": "Person",
            "id": "did:in.gov.uidai.aadhaar:2342343334",
            "refId": "12346",
            "name": "Bhaya Mitra",
            "gender": "Male",
            "age": "27",
            "nationality": "Indian",
            "address": {
                "streetAddress": "",
                "streetAddress2": "",
                "district": "",
                "city": "",
                "addressRegion": "",
                "addressCountry": "IN",
                "postalCode": ""
            }
        },
        "evidence": [{
            "id": "https://cowin.gov.in/vaccine/undefined",
            "feedbackUrl": "https://cowin.gov.in/?undefined",
            "infoUrl": "https://cowin.gov.in/?undefined",
            "type": ["Vaccination"],
            "batch": "MB3428BX",
            "vaccine": "CoVax",
            "manufacturer": "COVPharma",
            "date": "2020-12-02T19:21:18.646Z",
            "effectiveStart": "2020-12-02",
            "effectiveUntil": "2025-12-02",
            "dose": "",
            "totalDoses": "",
            "verifier": {
                "name": "Sooraj Singh"
            },
            "facility": {
                "name": "ABC Medical Center",
                "address": {
                    "streetAddress": "123, Koramangala",
                    "streetAddress2": "",
                    "district": "Bengaluru South",
                    "city": "Bengaluru",
                    "addressRegion": "Karnataka",
                    "addressCountry": "IN",
                    "postalCode": ""
                }
            }
        }],
        "proof": {
            "type": "RsaSignature2018",
            "created": "2021-01-15T17:21:13Z",
            "verificationMethod": "did:india",
            "proofPurpose": "assertionMethod",
            "jws": "eyJhbGciOiJQUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..mJlHZZRD7VQwVJchfI21ZavjxNKglbf3LSaF1SAjELOWn9MARALkugsmOzG0mBon9R7zXSVPkPM8EDbUZxR4FsRlAFFszFv-0BjyAeIqRv-9MRnlm4cScQi8aCBgBnvsWfNIE175cGNbPUluVv5n6G66tVinioL5IL6uCZNQnSGp4jJrEAZa0t5s3jXfq7soHz1LTfQbLs7cH5-fDi3JW1-WeF4_ELy_9l_OxAc2CoACqYLOLJB-NnPsnz2bwAvH8yXHsjZJphzaBNqpn8DmJvcRHzhz7OjpGfhyouiOyGo_XncadFmftqwfilJkC1EISkSb6QVsyhHLOudY4PTTaA"
        }
    }

Verify a QR Code