cocina-models 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cocina/models/request_file.rb +3 -0
- data/lib/cocina/models/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d1e95282bfbdd8835506ac6d0649071e4ab0dddd8a4f91c8ebfb10f81a396e2
|
|
4
|
+
data.tar.gz: ca759ccd62a857f5870eafb0155e0bf030d252e21707d6900a9e6d2de9fb210d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 232f3479397e45f4cfd50bf13781b10f75ae4d6b93b7db553d66607ebd25a06d9303262285bb7bdfe4d2ab5142584ee548ea6903171ef2a9a953f0b2073a7bc8
|
|
7
|
+
data.tar.gz: 6cb5ef6b63cb69f5d81aa4903eec832413cc8b98d24c6d78a042064533960452c6b5fc85d00d63747f78d385cb2b1a89688c70d9d9c570a89e0778f8cb44ea24
|
|
@@ -7,6 +7,9 @@ module Cocina
|
|
|
7
7
|
# See http://sul-dlss.github.io/cocina-models/maps/File.json
|
|
8
8
|
class RequestFile < Struct
|
|
9
9
|
include FileAttributes
|
|
10
|
+
# externalIdentifier is used when submitting files to the SDR API to identify the file so that the
|
|
11
|
+
# uploaded files can be associated with the DRO.
|
|
12
|
+
attribute :externalIdentifier, Types::Strict::String.meta(omittable: true)
|
|
10
13
|
end
|
|
11
14
|
end
|
|
12
15
|
end
|