{
"credential_id": { "type": "string" }, // (Required) Unique identifier for this credential payload
"fields": { // { "type": "object" }, (Required)
"full_name": { "type": "string" }, // (Required)
"credential_name": { "type": "string" }, // (Required)
"credential_category": { "type": "string" }, // (Required) See supported credential categories below
"issuer_name": { "type": "string" }, // (Required)
"expiry_date": { "type": ["string", "null"], "format": "date" }, // (Optional) Date format: "YYYY-MM-DD"
"credential_details": { // (Optional) { "type": ["object", "null"] }
"scope_of_practice": { "type": ["string", "null"] },
"speciality": { "type": ["array", "null"], "items": { "type": "string" } },
"version": { "type": ["string", "null"] },
"date_completed": { "type": ["string", "null"], "format": "date" },
"country": { "type": ["string", "null"] },
"state": { "type": ["string", "null"] },
"province": { "type": ["string", "null"] },
"city": { "type": ["string", "null"] },
"region": { "type": ["string", "null"] },
"place": { "type": ["string", "null"] }
}
},
"assets": [ // (Optional) Omit when there is no supporting document; up to one asset
{
"asset_id": { "type": "string" }, // (Required when assets are present)
"asset_type": { "type": "string" }, // (Required when assets are present) One of "pdf", "jpg", "png"
"asset_data": { "type": ["string", "null"] } // URL or data URL for the document
}
]
}