Skip to content

Commit

Permalink
Add panetId with value panet purl on tech md
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Feb 8, 2022
1 parent 381d9ca commit 596487f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions common/models/technique.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"name": {
"type": "string",
"required": true
},
"panetId": {
"type": "string",
"required": false
}
},
"validations": [],
Expand Down
4 changes: 2 additions & 2 deletions data/db.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
"20.500.12269/panosc-sample1": "{\"pid\":\"20.500.12269/panosc-sample1\",\"name\": \"solid copper cylinder\"}"
},
"Technique": {
"20.500.12269/panosc-tech1": "{\"pid\":\"20.500.12269/panosc-tech1\",\"name\":\"small-angle neutron scattering\"}",
"20.500.12269/panosc-tech2": "{\"pid\":\"20.500.12269/panosc-tech2\",\"name\":\"x-ray absorption\"}"
"20.500.12269/panosc-tech1": "{\"pid\":\"20.500.12269/panosc-tech1\",\"name\":\"small-angle neutron scattering\", \"panetId\": \"http://purl.org/pan-science/PaNET/PaNET01189\"}",
"20.500.12269/panosc-tech2": "{\"pid\":\"20.500.12269/panosc-tech2\",\"name\":\"x-ray absorption\", \"panetId\": \"http://purl.org/pan-science/PaNET/PaNET01227\"}"
},
"User": {}
}
Expand Down

0 comments on commit 596487f

Please sign in to comment.