Sha256: 9ada2f2b7cabae19ce4b146b56eeaa779fb307105299307b6940cb31b3ca7601
Contents?: true
Size: 1.02 KB
Versions: 24
Compression:
Stored size: 1.02 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.). 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).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.meta(omittable: true) attribute :valueLanguage, DescriptiveValueLanguage.optional.meta(omittable: true) end end end
Version data entries
24 entries across 24 versions & 1 rubygems