lib/cocina/models/contributor.rb in cocina-models-0.34.1 vs lib/cocina/models/contributor.rb in cocina-models-0.35.0
- old
+ new
@@ -4,11 +4,13 @@
module Models
class Contributor < Struct
attribute :name, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
# Entity type of the contributor (person, organization, etc.).
attribute :type, Types::Strict::String.meta(omittable: true)
- # Status of the contributor relative to other parallel contributors.
+ # Status of the contributor relative to other parallel contributors (e.g. the primary author among a group of contributors).
attribute :status, Types::Strict::String.meta(omittable: true)
attribute :role, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
+ attribute :identifier, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
+ attribute :note, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
end
end
end