Sha256: 39875815b5970fc88d6f5da70a0580bd9e711f17d806a5ac102057482d64cde1
Contents?: true
Size: 1014 Bytes
Versions: 1
Compression:
Stored size: 1014 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class DescriptiveParallelContributor < Struct attribute :name, Types::Strict::Array.of(DescriptiveValue).default([]) # 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([]) attribute :identifier, Types::Strict::Array.of(DescriptiveValue).default([]) attribute :note, Types::Strict::Array.of(DescriptiveValue).default([]) # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocina-models-0.63.0 | lib/cocina/models/descriptive_parallel_contributor.rb |