diff --git a/invenio_rdm_records/resources/serializers/codemeta/schema.py b/invenio_rdm_records/resources/serializers/codemeta/schema.py index 1164237ca..3ae948e33 100644 --- a/invenio_rdm_records/resources/serializers/codemeta/schema.py +++ b/invenio_rdm_records/resources/serializers/codemeta/schema.py @@ -20,6 +20,7 @@ class CodemetaSchema(SchemaorgSchema): CodeMeta schema derives from Schema.org """ + identifier = fields.Method("get_id") context = fields.Constant( "https://doi.org/10.5063/schema/codemeta-2.0", data_key="@context" )