{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"PM2 Credential","description":"Schema of a PM2 Verifiable Credential","type":"object","allOf":[{"$ref":"https://api-pilot.ebsi.eu/trusted-schemas-registry/v3/schemas/0x23039e6356ea6b703ce672e7cfac0b42765b150f63df78e2bd18ae785787f6a2"},{"properties":{"credentialSubject":{"description":"Defines additional properties on credentialSubject to describe IDs that do not have a substantial level of assurance.","type":"object","properties":{"id":{"description":"Defines a unique identifier of the credential subject","type":"string"},"givenName":{"description":"Name strings that are the part of a person's name that is not their surname (see RFC4519).","type":"string"},"familyName":{"description":"Name strings that are a person's surname (see RFC4519).","type":"string"},"emailAddress":{"description":"Email address of the user.","type":"string","format":"email"},"courses":{"description":"Courses in this credential","type":"array","items":{"type":"object","properties":{"name":{"description":"Name of course","type":"string"}},"required":["name"]}},"issuerName":{"description":"LE name which issued this credential","type":"string"},"credentialDescription":{"description":"Description for this credential","type":"string"},"credentialId":{"description":"Id for this credential","type":"string"}},"required":["id","givenName","familyName","emailAddress","courses","issuerName","credentialDescription","credentialId"]}}}]}