# 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