Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental: defining "extension" slot as a list of key-value pairs #263

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion src/sssom_schema/schema/sssom_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -459,12 +459,23 @@ slots:
other:
description: Pipe separated list of key value pairs for properties not part of
the SSSOM spec. Can be used to encode additional provenance data.
range: string
range: key value pair
multivalued: true
inlined_as_list: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is false it makes the serialized dict slightly more idiomatic

recommended: true
comment:
description: Free text field containing either curator notes or text generated
by tool providing additional informative information.
slot_uri: rdfs:comment
range: string
key:
description: Generic slot for key, which should correspond to a entity reference
range: EntityReference
examples:
- value: myapi:mapping_id
value:
description: Generic slot for a value with no restrictions
range: string
classes:
mapping set:
description: Represents a set of mappings
Expand Down Expand Up @@ -563,3 +574,8 @@ classes:
- mapping_set_group
- last_updated
- local_name
key value pair:
description: A simple structure to hold key-value pairs
slots:
- key
- value