Sha256: 5e567247365b9fe8e54c41026ee84184b2b8abb1be863707ec3e8c7e1f90a328

Contents?: true

Size: 642 Bytes

Versions: 34

Compression:

Stored size: 642 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    class FileSet < Struct
      include Checkable

      TYPES = ['http://cocina.sul.stanford.edu/models/fileset.jsonld'].freeze

      # The content type of the Fileset.
      attribute :type, Types::Strict::String.enum(*FileSet::TYPES)
      attribute :externalIdentifier, Types::Strict::String
      # Primary processing label for a Fileset.
      attribute :label, Types::Strict::String
      # Version for the Fileset within SDR.
      attribute :version, Types::Strict::Integer
      attribute :structural, FileSetStructural.optional.meta(omittable: true)
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
cocina-models-0.54.0 lib/cocina/models/file_set.rb
cocina-models-0.54.0.beta.2 lib/cocina/models/file_set.rb
cocina-models-0.53.1 lib/cocina/models/file_set.rb
cocina-models-0.54.0.beta.1 lib/cocina/models/file_set.rb
cocina-models-0.53.0 lib/cocina/models/file_set.rb
cocina-models-0.52.0 lib/cocina/models/file_set.rb
cocina-models-0.51.0 lib/cocina/models/file_set.rb
cocina-models-0.50.0 lib/cocina/models/file_set.rb
cocina-models-0.49.0 lib/cocina/models/file_set.rb
cocina-models-0.48.0 lib/cocina/models/file_set.rb
cocina-models-0.47.2 lib/cocina/models/file_set.rb
cocina-models-0.47.1 lib/cocina/models/file_set.rb
cocina-models-0.47.0 lib/cocina/models/file_set.rb
cocina-models-0.46.0 lib/cocina/models/file_set.rb
cocina-models-0.45.0 lib/cocina/models/file_set.rb
cocina-models-0.44.0 lib/cocina/models/file_set.rb
cocina-models-0.43.0 lib/cocina/models/file_set.rb
cocina-models-0.42.1 lib/cocina/models/file_set.rb
cocina-models-0.42.0 lib/cocina/models/file_set.rb
cocina-models-0.41.0 lib/cocina/models/file_set.rb