Sha256: 99460fb1cd382c06fe16cfebc4d762a9f7a0576d3876c38c6d187bdd5a16f334
Contents?: true
Size: 564 Bytes
Versions: 6
Compression:
Stored size: 564 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. attribute :status, Types::Strict::String.meta(omittable: true) attribute :role, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true) end end end
Version data entries
6 entries across 6 versions & 1 rubygems