Sha256: d6d89c436ccfee9e9e1dd2ecf0407072103224ad42995b8e07215b8521dbe94f

Contents?: true

Size: 800 Bytes

Versions: 12

Compression:

Stored size: 800 Bytes

Contents

# frozen_string_literal: true

module Cocina
  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 (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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cocina-models-0.45.0 lib/cocina/models/contributor.rb
cocina-models-0.44.0 lib/cocina/models/contributor.rb
cocina-models-0.42.1 lib/cocina/models/contributor.rb
cocina-models-0.42.0 lib/cocina/models/contributor.rb
cocina-models-0.41.0 lib/cocina/models/contributor.rb
cocina-models-0.40.1 lib/cocina/models/contributor.rb
cocina-models-0.40.0 lib/cocina/models/contributor.rb
cocina-models-0.39.0 lib/cocina/models/contributor.rb
cocina-models-0.38.0 lib/cocina/models/contributor.rb
cocina-models-0.37.0 lib/cocina/models/contributor.rb
cocina-models-0.36.0 lib/cocina/models/contributor.rb
cocina-models-0.35.0 lib/cocina/models/contributor.rb