Skip to content

Commit

Permalink
codemeta: added identifier to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandromumo authored and slint committed Jul 18, 2024
1 parent 1c605d4 commit 8409162
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 8409162

Please sign in to comment.