lib/cocina/models/file.rb in cocina-models-0.32.0 vs lib/cocina/models/file.rb in cocina-models-0.33.0
- old
+ new
@@ -12,10 +12,10 @@
# Identifier for the resource within the SDR architecture but outside of the repository. UUID. Constant across resource versions. What clients will use calling the repository.
attribute :externalIdentifier, Types::Strict::String
# Primary processing label (can be same as title) for a File.
attribute :label, Types::Strict::String
# Filename for a file. Can be same as label.
- attribute :filename, Types::Strict::String.meta(omittable: true)
+ attribute :filename, Types::Strict::String
# Size of the File (binary) in bytes.
attribute :size, Types::Strict::Integer.meta(omittable: true)
# Version for the File within SDR.
attribute :version, Types::Strict::Integer
# MIME Type of the File.