Sha256: 7c1e15abf9c37c5bff61e95857857b011b38415044a13bb3163f1af3d086b6c0

Contents?: true

Size: 1.03 KB

Versions: 14

Compression:

Stored size: 1.03 KB

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class DescriptiveParallelContributor < 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 (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)
      # URL or other pointer to the location of the contributor information.
      attribute :valueAt, Types::Strict::String.meta(omittable: true)
      attribute :valueLanguage, DescriptiveValueLanguage.optional.meta(omittable: true)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cocina-models-0.62.1 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.62.0 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.61.3 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.61.2 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.61.1 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.61.0 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.60.0 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.59.1 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.59.0 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.58.2 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.57.0 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.56.1 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.56.0 lib/cocina/models/descriptive_parallel_contributor.rb
cocina-models-0.55.0 lib/cocina/models/descriptive_parallel_contributor.rb