lib/cocina/models/file.rb in cocina-models-0.96.0 vs lib/cocina/models/file.rb in cocina-models-0.98.0

- old
+ new

@@ -22,11 +22,15 @@ attribute :version, Types::Strict::Integer # MIME Type of the File. attribute? :hasMimeType, Types::Strict::String # BCP 47 language tag: https://www.rfc-editor.org/rfc/rfc4646.txt -- other applications (like media players) expect language codes of this format, see e.g. https://videojs.com/guides/text-tracks/#srclang attribute? :languageTag, LanguageTag.optional - # Use for the File. + # Use for the File (e.g. "transcription" for OCR). attribute? :use, FileUse.optional + # Indicates if the text (OCR/captioning) was generated by SDR. + attribute? :sdrGeneratedText, Types::Strict::Bool.default(false) + # Indicates if text that has been verified for accessibility/correctness. + attribute? :correctedForAccessibility, Types::Strict::Bool.default(false) attribute :hasMessageDigests, Types::Strict::Array.of(MessageDigest).default([].freeze) attribute(:access, FileAccess.default { FileAccess.new }) attribute(:administrative, FileAdministrative.default { FileAdministrative.new }) attribute? :presentation, Presentation.optional end