Hello,
I’m trying to create certificates containing custom additional fields. My cert-tools conf.ini contains the following line:
additional_global_fields = {"fields": [{"path": "$.badge.xyz_custom_field","value": "this going to contain some data"}]}
When trying to execute the cert-issuer I get the following error:
cert_schema.schema_tools.schema_validator.BlockcertValidationError: There are some fields in the certificate that do not correspond to the expected schema. This has likely been tampered with. Unmapped fields are: <http://fallback.org/xyz_custom_field>
How can I add a custom additional field both as additional_global_fields
and as additional_per_recipient_fields
in the cert-tools conf.ini?
I probably have to add a @context
because of the canonicalization of the JSON-LD certificate. But how can I do this and do I have to do something else?
Thanks in advance!
Kind regards,
uzu