Skip to content

Commit

Permalink
Update PortalDataset.yaml (#496)
Browse files Browse the repository at this point in the history
* Update PortalDataset.yaml

* Rebuild NF.jsonld, json

---------

Co-authored-by: Anh Nguyet Vu <[email protected]>
Co-authored-by: nf-osi[bot] <[email protected]>
  • Loading branch information
3 people authored Aug 20, 2024
1 parent a6c3c47 commit 081f163
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 60 deletions.
20 changes: 20 additions & 0 deletions NF.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -13642,6 +13642,9 @@
},
{
"@id": "bts:YearPublished"
},
{
"@id": "bts:IsGlobalFeatured"
}
],
"sms:validationRules": []
Expand Down Expand Up @@ -13800,6 +13803,23 @@
"int"
]
},
{
"@id": "bts:IsGlobalFeatured",
"@type": "rdfs:Class",
"rdfs:comment": "TBD",
"rdfs:label": "IsGlobalFeatured",
"rdfs:subClassOf": [
{
"@id": "bts:Thing"
}
],
"schema:isPartOf": {
"@id": "http://schema.biothings.io"
},
"sms:displayName": "isGlobalFeatured",
"sms:required": "sms:false",
"sms:validationRules": []
},
{
"@id": "bts:FlowCytometryTemplate",
"@type": "rdfs:Class",
Expand Down
3 changes: 3 additions & 0 deletions modules/Template/PortalDataset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,7 @@ classes:
yearPublished:
range: integer
required: false
isGlobalFeatured:
range: boolean
required: false

43 changes: 11 additions & 32 deletions registered-json-schemas/PortalDataset.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,7 @@
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
"type": "array"
},
"creator": {
"type": "string"
Expand Down Expand Up @@ -254,10 +251,7 @@
"title": "dataType"
},
"description": {
"type": [
"string",
"null"
]
"type": "string"
},
"diseaseFocus": {
"items": {
Expand Down Expand Up @@ -293,6 +287,9 @@
"type": "array",
"title": "fundingAgency"
},
"isGlobalFeatured": {
"type": "boolean"
},
"license": {
"description": "License attached to the data. If indicates UNKNOWN or RESTRICTED-USE, data may not be used without further contact for terms.",
"enum": [
Expand Down Expand Up @@ -340,17 +337,11 @@
"title": "ManifestationEnum",
"type": "string"
},
"type": [
"array",
"null"
],
"type": "array",
"title": "manifestation"
},
"series": {
"type": [
"string",
"null"
]
"type": "string"
},
"species": {
"items": {
Expand All @@ -371,10 +362,7 @@
"title": "SpeciesEnum",
"type": "string"
},
"type": [
"array",
"null"
],
"type": "array",
"title": "species"
},
"studyId": {
Expand All @@ -387,22 +375,13 @@
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
"type": "array"
},
"yearProcessed": {
"type": [
"integer",
"null"
]
"type": "integer"
},
"yearPublished": {
"type": [
"integer",
"null"
]
"type": "integer"
}
},
"required": [
Expand Down
35 changes: 7 additions & 28 deletions registered-json-schemas/PortalStudy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@
"$id": "https://repo-prod.prod.sagebase.org/repo/v1/schema/type/registered/org.synapse.nf-portalstudy",
"properties": {
"accessRequirements": {
"type": [
"string",
"null"
]
"type": "string"
},
"acknowledgementStatements": {
"type": [
"string",
"null"
]
"type": "string"
},
"dataStatus": {
"description": "",
Expand Down Expand Up @@ -73,10 +67,7 @@
"title": "Data",
"type": "string"
},
"type": [
"array",
"null"
]
"type": "array"
},
"diseaseFocus": {
"items": {
Expand All @@ -94,10 +85,7 @@
"title": "DiseaseFocusEnum",
"type": "string"
},
"type": [
"array",
"null"
]
"type": "array"
},
"fundingAgency": {
"type": "string"
Expand All @@ -106,10 +94,7 @@
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
"type": "array"
},
"initiative": {
"type": "string"
Expand Down Expand Up @@ -451,19 +436,13 @@
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
"type": "array"
},
"relatedStudies": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
"type": "array"
},
"studyFileviewId": {
"type": "string"
Expand Down

0 comments on commit 081f163

Please sign in to comment.