Skip to content

Commit

Permalink
Merge schema update (respOrg) from integration into main for release
Browse files Browse the repository at this point in the history
  • Loading branch information
RayPlante committed May 21, 2024
2 parents 9af4c0a + a056b47 commit 8fab428
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
1 change: 1 addition & 0 deletions docker/pymongo/cacerts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ containers, allowing them to safely connect to those external sites.

Be sure the certificates are in PEM format and include a .crt file extension.

Do not remove this README file; doing so may cause a Docker build faiure.
16 changes: 14 additions & 2 deletions model/examples/ceramicsportal.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"@context": "https://data.nist.gov/od/dm/nerdm-pub-context.jsonld",
"_schema": "https://data.nist.gov/od/dm/nerdm-schema/v0.3#",
"_extensionSchemas": [ "https://data.nist.gov/od/dm/nerdm-schema/pub/v0.3#/definitions/DataPublication" ],
"_schema": "https://data.nist.gov/od/dm/nerdm-schema/v0.7#",
"_extensionSchemas": [ "https://data.nist.gov/od/dm/nerdm-schema/pub/v0.7#/definitions/DataPublication" ],

"@type": [ "nrdp:Portal", "nrdp:SRD", "nrdp:PublishedDataResource" ],
"@id": "ark:/88434/sdp0fjspek352",
Expand Down Expand Up @@ -106,6 +106,18 @@
"name": "National Institute of Standards and Technology"
},
"language": [ "en" ],
"responsibleOrganization": [
{
"@type": [ "org:Organization" ],
"title": "National Institute of Standards and Technology (NIST)",
"@id": "https://ror.org/05xpvk416#61/640",
"subunits": [
"Materials Measurement Laboratory",
"Office of Data and Informatics",
"Data Services"
]
}
],
"bureauCode": [
"006:55"
],
Expand Down
18 changes: 17 additions & 1 deletion model/nerdm-pub-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"$extensionSchemas": ["https://data.nist.gov/od/dm/enhanced-json-schema/v0.1#"],
"id": "https://data.nist.gov/od/dm/nerdm-schema/pub/v0.7#",
"rev": "wd1",
"rev": "wd2",
"title": "The NERDm extension metadata for Public Data",
"description": "These classes extend the based NERDm schema to different types of published data",
"definitions": {
Expand Down Expand Up @@ -49,6 +49,22 @@
}
},

"responsibleOrganization": {
"description": "The organizations that are responsible for the work resulting in this resource, from either a supervisory or funding role",
"notes": [
"Similar to bureauCode and programCode, this attribute allows, say, an organization to select resources that they sponsored or otherwise oversaw."
],
"type": "array",
"items": {
"$ref": "#/definitions/Affiliation"
},
"asOntology": {
"@context": "profile-schema-onto.json",
"prefLabel": "Responsible Organization",
"referenceProperty": "cpmeta:hasResponsibleOrganization"
}
},

"bureauCode": {
"title": "Bureau Code",
"description": "an identifier provided by the OMB Circular A-11, Appendix C that identifies the originating federal agency",
Expand Down

0 comments on commit 8fab428

Please sign in to comment.