Sha256: f782863f67d6033986d9ab260cfe913dc050b44a0443b0c6d76cf417bc483806
Contents?: true
Size: 1.03 KB
Versions: 4
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).default([].freeze) # Entity type of the contributor (person, organization, etc.). See https://github.com/sul-dlss/cocina-models/blob/main/docs/description_types.md for valid types. attribute? :type, Types::Strict::String # Status of the contributor relative to other parallel contributors (e.g. the primary author among a group of contributors). attribute? :status, Types::Strict::String attribute :role, Types::Strict::Array.of(DescriptiveValue).default([].freeze) attribute :identifier, Types::Strict::Array.of(DescriptiveValue).default([].freeze) attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze) # URL or other pointer to the location of the contributor information. attribute? :valueAt, Types::Strict::String attribute? :valueLanguage, DescriptiveValueLanguage.optional end end end
Version data entries
4 entries across 4 versions & 1 rubygems