Sha256: 53fe3305c1e87fcae64fd6771f5eda7899485d5cea08a1610e97c654ba1dd981

Contents?: true

Size: 947 Bytes

Versions: 14

Compression:

Stored size: 947 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)
      # URL or other pointer to the location of the contributor information.
      attribute :valueAt, Types::Strict::String.meta(omittable: true)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cocina-models-0.54.0 lib/cocina/models/contributor.rb
cocina-models-0.54.0.beta.2 lib/cocina/models/contributor.rb
cocina-models-0.53.1 lib/cocina/models/contributor.rb
cocina-models-0.54.0.beta.1 lib/cocina/models/contributor.rb
cocina-models-0.53.0 lib/cocina/models/contributor.rb
cocina-models-0.52.0 lib/cocina/models/contributor.rb
cocina-models-0.51.0 lib/cocina/models/contributor.rb
cocina-models-0.50.0 lib/cocina/models/contributor.rb
cocina-models-0.49.0 lib/cocina/models/contributor.rb
cocina-models-0.48.0 lib/cocina/models/contributor.rb
cocina-models-0.47.2 lib/cocina/models/contributor.rb
cocina-models-0.47.1 lib/cocina/models/contributor.rb
cocina-models-0.47.0 lib/cocina/models/contributor.rb
cocina-models-0.46.0 lib/cocina/models/contributor.rb