Skip to content

Commit

Permalink
Added examples of SciCat dataset and origdatablocks schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrosx authored and YooSunYoung committed Jul 17, 2024
1 parent 2ec9f12 commit 9ce75bb
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 0 deletions.
47 changes: 47 additions & 0 deletions scicat_schemas/dataset.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"pid": "20.500.12269/e3690b21-ee8c-40d6-9409-6b6fdca776d2",
"datasetName": "this is a dataset",
"description": "this is the description of the dataset",
"principalInvestigator": "Massimiliano Novelli",
"creationLocation": "ESS:CODA",
"scientificMetadata": {
"run_number": {
"value": 18856,
"unit": "",
"human_name": "Run Number",
"type": "integer"
},
"sample_temperature": {
"value": 20.4,
"unit": "C",
"human_name": "Sample Temperature",
"type": "quantity"
},
"start_time" : {
"value" : "2024-07-16T09:30:12.987Z",
"unit" : "",
"human_name" : "Start Time",
"type" : "date"
}
},
"owner": "Massimiliano Novelli",
"ownerEmail": "[email protected]",
"sourceFolder": "/ess/data/coda/2024/616254",
"contactEmail": "[email protected]",
"creationTime": "2024-07-16T10:00:00.000Z",
"type": "raw",
"techniques": [
{
"pid": "http://purl.org/pan-science/PaNET/PaNET01155",
"names": "absorption and phase contrast nanotomography"
}
],
"instrumentId": "20.500.12269/765b3dc3-f658-410e-b371-04dd1adcd520",
"sampleId": "bd31725a-dbfd-4c32-87db-1c1ebe61e5ca",
"proposalId": "616254",
"ownerGroup": "ess_proposal_616254",
"accessGroups": [
"scientific information management systems group"
]
}

58 changes: 58 additions & 0 deletions scicat_schemas/origdatablock.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"datasetId": "20.500.12269/53fd2786-3729-11ef-83e5-fa163e9aae0a",
"size": 446630741,
"chkAlg": "blake2b",
"dataFileList": [
{
"path": "ingestor/616254_00016698.message.json",
"size": 1844589,
"time": "2024-06-30T21:55:17.000Z",
"chk": "76199205d543f70b51ce369b9b37e39713a4f458da557628ce36af465b94c42a93092f60c6308a33a8f52a145a258eb24359d7a8898a07d35a63ae0474baf181",
"uid": "1004",
"gid": "1005",
"perm": "33188"
},
{
"path": "ingestor/616254_00016698.hdf_structure.json",
"size": 1487308,
"time": "2024-06-30T21:55:18.000Z",
"chk": "f039cbefcb0a9aa5577048c614023a4b889ca067df0df78bae16f1d2c890f5139adf058f4db1235dbba31895fdd249f38f558d88ccd79c417b8292002b24832b",
"uid": "1004",
"gid": "1005",
"perm": "33188"
},
{
"path": "raw/616254_00016698.hdf",
"size": 443298460,
"time": "2024-06-30T21:55:17.000Z",
"chk": "05d1cf6153f23755557d5147eeaeb0355ed8fcf074a1e89c33d3207ebf89a6234e5f81f7078e1db71d53b7e6cccf58266f10b164d2d7033193f37a71b2fb897a",
"uid": "99",
"gid": "99",
"perm": "33188"
},
{
"path": "ingestor/616254_00016698.message.json.b2b",
"size": 128,
"time": "2024-06-30T21:55:19.000Z",
"uid": "1004",
"gid": "1005",
"perm": "33188"
},
{
"path": "ingestor/616254_00016698.hdf_structure.json.b2b",
"size": 128,
"time": "2024-06-30T21:55:19.000Z",
"uid": "1004",
"gid": "1005",
"perm": "33188"
},
{
"path": "ingestor/616254_00016698.hdf.b2b",
"size": 128,
"time": "2024-06-30T21:55:19.000Z",
"uid": "1004",
"gid": "1005",
"perm": "33188"
}
]
}

0 comments on commit 9ce75bb

Please sign in to comment.