lib/cocina/models/sequence.rb in cocina-models-0.79.0 vs lib/cocina/models/sequence.rb in cocina-models-0.80.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
module Cocina
module Models
+ # A sequence or ordering of resources within a Collection or Object.
class Sequence < Struct
attribute :members, Types::Strict::Array.of(Types::Strict::String).default([].freeze)
# The direction that a sequence of canvases should be displayed to the user
attribute? :viewingDirection, Types::Strict::String.enum('right-to-left', 'left-to-right')
end