Skip to content

Commit

Permalink
fix ActivityType multiplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
rsc3 committed Dec 6, 2023
1 parent 4df8200 commit df9005b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
21 changes: 6 additions & 15 deletions content/json_schema/AnvilBioCoreFindabilitySubset.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@
"type": "string"
},
"activity_type": {
"description": "A reference to the type of activity, preferably using an identifier in a recommended standard ontology.",
"items": {
"$ref": "#/$defs/ActivityTypes"
},
"type": "array"
"$ref": "#/$defs/ActivityTypes",
"description": "A reference to the type of activity, preferably using an identifier in a recommended standard ontology."
},
"xref_id": {
"description": "other identifiers for the person, e.g. ORCID, etc",
Expand Down Expand Up @@ -456,11 +453,8 @@
"description": "",
"properties": {
"activity_type": {
"description": "A reference to the type of activity, preferably using an identifier in a recommended standard ontology.",
"items": {
"$ref": "#/$defs/ActivityTypes"
},
"type": "array"
"$ref": "#/$defs/ActivityTypes",
"description": "A reference to the type of activity, preferably using an identifier in a recommended standard ontology."
},
"assay_type": {
"description": "A reference to the type of assay, preferably using an identifier in the Ontology for Biomedical Investigations assay entity (http://purl.obolibrary.org/obo/OBI_0000070).",
Expand Down Expand Up @@ -507,11 +501,8 @@
"description": "",
"properties": {
"activity_type": {
"description": "A reference to the type of activity, preferably using an identifier in a recommended standard ontology.",
"items": {
"$ref": "#/$defs/ActivityTypes"
},
"type": "array"
"$ref": "#/$defs/ActivityTypes",
"description": "A reference to the type of activity, preferably using an identifier in a recommended standard ontology."
},
"data_modality": {
"description": "Data modality describes the biological nature of the information gathered as the result of an Activity, independent of the technology or methods used to produce the information.",
Expand Down
2 changes: 1 addition & 1 deletion content/linkml/BioCoreFields.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ slots:
aliases: hasActivityType
description: A reference to the type of activity, preferably using an identifier in a recommended standard ontology.
slot_uri: https://datamodel.terra.bio/TerraCore#hasActivityType
multivalued: true
multivalued: false
range: ActivityTypes
age_category:
aliases: hasAgeCategory
Expand Down

0 comments on commit df9005b

Please sign in to comment.