cocina-models 0.104.0 → 0.104.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/description_types.yml +4 -0
- data/docs/description_types.md +4 -0
- data/lib/cocina/models/related_resource.rb +1 -1
- data/lib/cocina/models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c5247bd642c98dd9f07950f5a20623860063c5bc88169b08284b6263612aa35
|
4
|
+
data.tar.gz: 03bd48cd9584e928ce81f877e5d63588c89367c61f51e102aa29c85b7ef9853e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91d8bd68f3b1f674b9dc60767711a046692715138511e9c798e63ee129704f670155166f94d089c2a5584193a480c98899605ef45df4fffd3cd2f546388d8bc9
|
7
|
+
data.tar.gz: cd395232e4f96cc20e8ea0c398402ff3febd5d32c4a9d993e979e71e5cdf0b920a7d178f7e71e7ab8d969ee43b50496b6884a1502df6b716c464b41627168d3a
|
data/Gemfile.lock
CHANGED
data/description_types.yml
CHANGED
@@ -601,6 +601,10 @@ note.groupedValue:
|
|
601
601
|
- value: title
|
602
602
|
- value: text
|
603
603
|
relatedResource:
|
604
|
+
- value: described by
|
605
|
+
description: A related resource that is described by the content of the resource.
|
606
|
+
- value: describes
|
607
|
+
description: A related resource which the resource describes.
|
604
608
|
- value: derived from
|
605
609
|
description: The source from which the resource was derived, such as a raw data set before processing.
|
606
610
|
- value: has original version
|
data/docs/description_types.md
CHANGED
@@ -577,6 +577,10 @@ _Path: note.groupedValue.type_
|
|
577
577
|
* text
|
578
578
|
# RelatedResource types
|
579
579
|
_Path: relatedResource.type_
|
580
|
+
* described by
|
581
|
+
* A related resource that is described by the content of the resource.
|
582
|
+
* describes
|
583
|
+
* A related resource which the resource describes.
|
580
584
|
* derived from
|
581
585
|
* The source from which the resource was derived, such as a raw data set before processing.
|
582
586
|
* has original version
|
@@ -6,7 +6,7 @@ module Cocina
|
|
6
6
|
class RelatedResource < Struct
|
7
7
|
# The relationship of the related resource to the described resource.
|
8
8
|
attribute? :type, Types::Strict::String
|
9
|
-
# The DataCite relationType
|
9
|
+
# The DataCite relationType describing the relationship between the related resource and the described resource. See https://datacite-metadata-schema.readthedocs.io/en/4.6/appendices/appendix-1/relationType
|
10
10
|
attribute? :dataCiteRelationType, Types::Strict::String.enum('IsCitedBy', 'Cites', 'IsSupplementTo', 'IsSupplementedBy', 'IsContinuedBy', 'Continues', 'Describes', 'IsDescribedBy', 'HasMetadata', 'IsMetadataFor', 'HasVersion', 'IsVersionOf', 'IsNewVersionOf', 'IsPreviousVersionOf', 'IsPartOf', 'HasPart', 'IsPublishedIn', 'IsReferencedBy', 'References', 'IsDocumentedBy', 'Documents', 'IsCompiledBy', 'Compiles', 'IsVariantFormOf', 'IsOriginalFormOf', 'IsIdenticalTo', 'IsReviewedBy', 'Reviews', 'IsDerivedFrom', 'IsSourceOf', 'IsRequiredBy', 'Requires', 'Obsoletes', 'IsObsoletedBy', 'IsCollectedBy', 'Collects', 'IsTranslationOf', 'HasTranslation')
|
11
11
|
# Status of the related resource relative to other related resources.
|
12
12
|
attribute? :status, Types::Strict::String
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocina-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.104.
|
4
|
+
version: 0.104.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-06-
|
10
|
+
date: 2025-06-26 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activesupport
|