Sha256: 1bdfbf83226a9b1cc0ff4f961550fc695da4277c0ecae16f526fb723645ba2f0

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class Sequence < Struct
      attribute :members, Types::Strict::Array.of(Types::Strict::String).default([])
      # 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').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/sequence.rb