Skip to content

Commit

Permalink
Update Identifier object in all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
samleeflang committed Oct 8, 2024
1 parent ad61b2a commit 527fc90
Show file tree
Hide file tree
Showing 33 changed files with 588 additions and 298 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"@type": "ods:Annotation",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:fdoType": "https://doi.org/21.T11148/bbad8c4e101e8af01115",
"ods:status": "ods:Active",
"ods:status": "Active",
"ods:version": 1,
"oa:motivation": "oa:commenting",
"oa:hasTarget": {
Expand All @@ -25,14 +25,38 @@
"dcterms:creator": {
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "schema:Person",
"schema:name": "John Doe"
"schema:name": "John Doe",
"ods:hasIdentifiers": [
{
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "ods:Identifier",
"dcterms:title": "orcid",
"dcterms:type": "URL",
"dcterms:identifier": "https://orcid.org/0000-0002-5669-2769",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvable",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:created": "2024-06-27T12:00:00.120Z",
"dcterms:modified": "2024-06-27T12:00:00.123Z",
"as:generator": {
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "schema:SoftwareApplication",
"schema:name": "Annotation Generator Service"
"schema:name": "Annotation Generator Service",
"ods:hasIdentifiers": [
{
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "ods:Identifier",
"dcterms:title": "handle",
"dcterms:type": "handle",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvableFDOCompliant",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:issued": "2024-06-27T12:00:00.123Z"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"@type": "ods:Annotation",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:fdoType": "https://doi.org/21.T11148/bbad8c4e101e8af01115",
"ods:status": "ods:Active",
"ods:status": "Active",
"ods:version": 1,
"oa:motivation": "oa:deleting",
"oa:motivatedBy": "This specimen does not have a location",
Expand All @@ -20,14 +20,38 @@
"dcterms:creator": {
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "schema:Person",
"schema:name": "John Doe"
"schema:name": "John Doe",
"ods:hasIdentifiers": [
{
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "ods:Identifier",
"dcterms:title": "orcid",
"dcterms:type": "URL",
"dcterms:identifier": "https://orcid.org/0000-0002-5669-2769",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvable",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:created": "2024-06-27T12:00:00.000Z",
"dcterms:modified": "2024-06-27T12:00:00.000Z",
"as:generator": {
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "schema:SoftwareApplication",
"schema:name": "Annotation Generator Service"
"schema:name": "Annotation Generator Service",
"ods:hasIdentifiers": [
{
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "ods:Identifier",
"dcterms:title": "handle",
"dcterms:type": "handle",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvableFDOCompliant",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:issued": "2024-06-27T12:00:00.100Z",
"ods:mergingDecisionStatus": "ods:Pending"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "ods:Annotation",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:status": "ods:Tombstone",
"ods:status": "Tombstone",
"ods:fdoType": "https://doi.org/21.T11148/bbad8c4e101e8af01115",
"ods:version": 3,
"oa:motivation": "oa:editing",
Expand All @@ -27,23 +27,59 @@
"dcterms:creator": {
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "schema:Person",
"schema:name": "John Doe"
"schema:name": "John Doe",
"ods:hasIdentifiers": [
{
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "ods:Identifier",
"dcterms:title": "orcid",
"dcterms:type": "URL",
"dcterms:identifier": "https://orcid.org/0000-0002-5669-2769",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvable",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:created": "2024-06-27T12:00:00.000Z",
"dcterms:modified": "2024-07-27T15:23:30.000Z",
"as:generator": {
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "schema:SoftwareApplication",
"schema:name": "Annotation Generator Service"
"schema:name": "Annotation Generator Service",
"ods:hasIdentifiers": [
{
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "ods:Identifier",
"dcterms:title": "handle",
"dcterms:type": "handle",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvableFDOCompliant",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:issued": "2024-06-27T12:00:00.000Z",
"ods:batchID": "batch-1234",
"ods:mergingDecisionStatus": "ods:Approved",
"ods:mergingDecisionStatus": "Approved",
"ods:mergingStateChangeDate": "2024-06-28T12:00:00.000Z",
"ods:MergingStateChangedBy": {
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "schema:Person",
"schema:name": "Jane Smith"
"schema:name": "Jane Smith",
"ods:hasIdentifiers": [
{
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "ods:Identifier",
"dcterms:title": "orcid",
"dcterms:type": "URL",
"dcterms:identifier": "https://orcid.org/0000-0002-5669-2769",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvable",
"ods:identifierStatus": "Preferred"
}
]
},
"ods:hasTombstoneMetadata": {
"@type": "ods:Tombstone",
Expand All @@ -66,18 +102,20 @@
{
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "ods:Identifier",
"dcterms:type": "orcid",
"dcterms:title": "orcid",
"dcterms:type": "URL",
"dcterms:identifier": "https://orcid.org/0000-0002-5669-2769",
"ods:isIDResolvable": true,
"ods:isIDPersistent": true
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvable",
"ods:identifierStatus": "Preferred"
}
]
}
],
"ods:hasRelatedPID": [
{
"dcterms:identifier": "https://doi.org/10.1234/abcd",
"ods:relationshipType": "ods:hasBeenMergedInto"
"ods:relationshipType": "HasBeenMergedInto"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "ods:Annotation",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:status": "ods:Tombstone",
"ods:status": "Tombstone",
"ods:fdoType": "https://doi.org/21.T11148/bbad8c4e101e8af01115",
"ods:version": 4,
"oa:motivation": "oa:editing",
Expand All @@ -25,22 +25,58 @@
"dcterms:creator": {
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "schema:Person",
"schema:name": "John Doe"
"schema:name": "John Doe",
"ods:hasIdentifiers": [
{
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "ods:Identifier",
"dcterms:title": "orcid",
"dcterms:type": "URL",
"dcterms:identifier": "https://orcid.org/0000-0002-5669-2769",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvable",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:created": "2024-06-27T12:00:00.000Z",
"dcterms:modified": "2024-07-27T15:23:30.000Z",
"as:generator": {
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "schema:SoftwareApplication",
"schema:name": "Annotation Generator Service"
"schema:name": "Annotation Generator Service",
"ods:hasIdentifiers": [
{
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "ods:Identifier",
"dcterms:title": "handle",
"dcterms:type": "handle",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvableFDOCompliant",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:issued": "2024-06-27T12:00:00Z",
"ods:mergingDecisionStatus": "ods:Rejected",
"ods:mergingDecisionStatus": "Rejected",
"ods:mergingStateChangeDate": "2024-06-28T12:00:01.000Z",
"ods:MergingStateChangedBy": {
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "schema:Person",
"schema:name": "Jane Smith"
"schema:name": "Jane Smith",
"ods:hasIdentifiers": [
{
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "ods:Identifier",
"dcterms:title": "orcid",
"dcterms:type": "URL",
"dcterms:identifier": "https://orcid.org/0000-0002-5669-2769",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvable",
"ods:identifierStatus": "Preferred"
}
]
},
"ods:hasTombstoneMetadata": {
"@type": "ods:Tombstone",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"@type": "ods:Annotation",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:fdoType": "https://doi.org/21.T11148/bbad8c4e101e8af01115",
"ods:status": "ods:Tombstone",
"ods:status": "Tombstone",
"ods:version": 1,
"oa:motivation": "oa:commenting",
"oa:hasTarget": {
Expand All @@ -27,14 +27,38 @@
"dcterms:creator": {
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "schema:Person",
"schema:name": "John Doe"
"schema:name": "John Doe",
"ods:hasIdentifiers": [
{
"@id": "https://orcid.org/0000-0002-5669-2769",
"@type": "ods:Identifier",
"dcterms:title": "orcid",
"dcterms:type": "URL",
"dcterms:identifier": "https://orcid.org/0000-0002-5669-2769",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvable",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:created": "2024-06-27T12:00:00.00.121Z",
"dcterms:modified": "2024-07-27T15:23:30.000Z",
"as:generator": {
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "schema:SoftwareApplication",
"schema:name": "Annotation Generator Service"
"schema:name": "Annotation Generator Service",
"ods:hasIdentifiers": [
{
"@id": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"@type": "ods:Identifier",
"dcterms:title": "handle",
"dcterms:type": "handle",
"dcterms:identifier": "https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI",
"ods:isPartOfLabel": false,
"ods:gupriLevel": "GloballyUniqueStablePersistentResolvableFDOCompliant",
"ods:identifierStatus": "Preferred"
}
]
},
"dcterms:issued": "2024-06-27T12:00:00.121Z",
"ods:hasTombstoneMetadata": {
Expand Down
12 changes: 6 additions & 6 deletions data-model/fdo-type/annotation/0.4.0/schema/annotation.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
},
"ods:status": {
"enum": [
"ods:Draft",
"ods:Active",
"ods:Tombstone"
"Draft",
"Active",
"Tombstone"
],
"description": "The status of the Digital Object. A digital object can be in ods:Draft, when it is not published yet. ods:Active when it is published and the object is active and ods:Tombstone which means the object has been archived."
},
Expand Down Expand Up @@ -174,9 +174,9 @@
"ods:mergingDecisionStatus": {
"type": "string",
"enum": [
"ods:Pending",
"ods:Rejected",
"ods:Approved"
"Pending",
"Rejected",
"Approved"
],
"description": "The merging status of the annotation. Only present when motivation is ods:adding or oa:editing"
},
Expand Down
Loading

0 comments on commit 527fc90

Please sign in to comment.