lib/cocina/models/request_description.rb in cocina-models-0.79.0 vs lib/cocina/models/request_description.rb in cocina-models-0.80.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
module Cocina
module Models
+ # Description that is included in a request to create a DRO. This is the same as a Description, except excludes PURL.
class RequestDescription < Struct
include Validatable
attribute :title, Types::Strict::Array.of(Title).default([].freeze)
attribute :contributor, Types::Strict::Array.of(Contributor).default([].freeze)