Skip to content

Commit 841cd14

Browse files
authored
Merge pull request #197 from isamplesorg/schema_org_JSONLDimplementation
add agent for sample access, Product as type for material value, dist…
2 parents 7b14385 + cd5f7ff commit 841cd14

1 file changed

Lines changed: 16 additions & 20 deletions

File tree

notes/schemaOrg/materialSample-example.json

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -160,22 +160,11 @@
160160
"name": "sample access and use",
161161
"actionStatus": "PotentialActionStatus",
162162
"description": "Samples are viewable by contacting the maintainer identifier in this record. Subsamples might be made available for analysis on a case by case basis",
163-
"participant": {
164-
"@type": "Role",
165-
"roleName": "maintainer",
166-
"participant": {
167-
"@type": "Person",
168-
"identifier": "https://orcid.org/0000-0111-2241-5355",
169-
"name": "Tom Garmin",
170-
"affiliation": {
171-
"@type": "Organization",
172-
"identifier": "https://ror.org/00vcszp55",
173-
"contactPoint": {
174-
"@type": "ContactPoint",
175-
"email": "[email protected]"
176-
}
177-
}
178-
}
163+
"agent": {
164+
"@type": "Person",
165+
"identifier": "https://orcid.org/0000-0111-2241-5355",
166+
"name": "Tom Garmin",
167+
"email": "[email protected]"
179168
}
180169
}
181170
],
@@ -186,9 +175,13 @@
186175
"leaverite"
187176
],
188177
"material": {
189-
"@type": "DefinedTerm",
178+
"@type": [
179+
"Product",
180+
"DefinedTerm"
181+
],
190182
"name": "Rock",
191183
"identifier": "https://w3id.org/isample/vocabulary/material/1.0/rock",
184+
"comment": "@type Product is kludge to get validator to accept DefinedTerm as the value type",
192185
"inDefinedTermSet": {
193186
"@type": "DefinedTermSet",
194187
"identifier": "https://w3id.org/isample/vocabulary/sampleobjecttype/1.0/materialsvocabulary",
@@ -225,10 +218,13 @@
225218
},
226219
{
227220
"@type": "Dataset",
228-
"url": "https://data.org/chem/26357",
221+
"about": "Chemical analysis",
229222
"name": "Chemistry of rock samples from Saddle Mountain",
230-
"encodingType": "text/csv",
231-
"contentType": "Chemical analysis"
223+
"distribution": {
224+
"@type": "DataDownload",
225+
"contentUrl": "https://data.org/chem/26357",
226+
"encodingFormat": "text/csv"
227+
}
232228
}
233229
]
234230
}

0 commit comments

Comments
 (0)