cocina-models 0.42.0 → 0.42.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13cec8b638e93f9234d11fa1012dba6fb280a983a66be8cf7ff585bf7cf8433c
4
- data.tar.gz: 07f01dcdc668b3295839280199346edbed52871f636c95d41ddd582745e1c866
3
+ metadata.gz: 358d3bd8de0ea4eb5a53c7d841d874cf30c54234d5289fb7902139e8b2148333
4
+ data.tar.gz: a39777306a95b77ef53c8204e5771a41fffad213ea1256162bdeafd12ea581ca
5
5
  SHA512:
6
- metadata.gz: a26feb1a275ac624356732cbf4f5bd01cc43a80599818d2012f74a838006aa6b4d67a40a531a6a01c74013b9200a36ecb36d003eb9e5d6d0d959837806112609
7
- data.tar.gz: a9c315698eccb96fa6e7694ed9f40b2925994cacb856f0f89ec26f6d1179f5cfd606ccfc4938d3db8bc0bb249e3792df4601c9cf17704e0dc72277cff7ec7291
6
+ metadata.gz: 7a4fb933796d5e5c9586dbe35e7b29c3a9b3f692925d762b1c9da8be950796fb7107d9675df48c0a5d82dfc0a8f57ba9cb5366e9fbcdcb85177830ab5c653b03
7
+ data.tar.gz: b15a6ce89a1dd86bf799388eda65a45b5e8a202a8f778d7cdf353aa2b721485794448f755111551d85ebf42fb1cfb011ef91505e64235a1e54490b152941495c
@@ -18,7 +18,6 @@ module Cocina
18
18
  attribute :relatedResource, Types::Strict::Array.of(RelatedResource).meta(omittable: true)
19
19
  attribute :marcEncodedData, Types::Strict::Array.of(DescriptiveValue).meta(omittable: true)
20
20
  attribute :adminMetadata, DescriptiveAdminMetadata.optional.meta(omittable: true)
21
- attribute :classification, Types::Strict::Array.of(Classification).meta(omittable: true)
22
21
 
23
22
  def self.new(attributes = default_attributes, safe = false, validate = true, &block)
24
23
  Validator.validate(self, attributes.with_indifferent_access) if validate && name
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cocina
4
4
  module Models
5
- VERSION = '0.42.0'
5
+ VERSION = '0.42.1'
6
6
  end
7
7
  end
@@ -198,16 +198,6 @@ components:
198
198
  description: Record identifier that is unique within the context of the linked record's catalog.
199
199
  type: string
200
200
  example: 11403803
201
- Classification:
202
- type: object
203
- additionalProperties: false
204
- properties:
205
- authority:
206
- type: string
207
- displayLabel:
208
- type: string
209
- edition:
210
- type: string
211
201
  Collection:
212
202
  description: A group of Digital Repository Objects that indicate some type of conceptual grouping within the domain that is worth reusing across the system.
213
203
  type: object
@@ -298,10 +288,6 @@ components:
298
288
  minItems: 1
299
289
  items:
300
290
  $ref: "#/components/schemas/Title"
301
- classification:
302
- type: array
303
- items:
304
- $ref: "#/components/schemas/Classification"
305
291
  contributor:
306
292
  description: Agents contributing in some way to the creation and history of the
307
293
  resource.
@@ -502,7 +488,7 @@ components:
502
488
  description: Terms associated with the intellectual content of the related resource.
503
489
  type: array
504
490
  items:
505
- $ref: "#/components/schemas/DescriptiveValue"
491
+ $ref: "#/components/schemas/DescriptiveValue"
506
492
  DescriptiveParallelValue:
507
493
  description: Value model for multiple representations of the same information (e.g. in different languages).
508
494
  type: object
@@ -947,7 +933,7 @@ components:
947
933
  source:
948
934
  $ref: "#/components/schemas/Source"
949
935
  status:
950
- description: Status of the contributor relative to other parallel contributors
936
+ description: Status of the language relative to other parallel language elements (e.g. the primary language)
951
937
  (e.g. the primary author among a group of contributors).
952
938
  type: string
953
939
  enum:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocina-models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.42.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-22 00:00:00.000000000 Z
11
+ date: 2020-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -260,7 +260,6 @@ files:
260
260
  - lib/cocina/models/applies_to.rb
261
261
  - lib/cocina/models/catalog_link.rb
262
262
  - lib/cocina/models/checkable.rb
263
- - lib/cocina/models/classification.rb
264
263
  - lib/cocina/models/collection.rb
265
264
  - lib/cocina/models/collection_identification.rb
266
265
  - lib/cocina/models/contributor.rb
@@ -311,7 +310,7 @@ files:
311
310
  homepage: https://github.com/sul-dlss/cocina-models
312
311
  licenses: []
313
312
  metadata: {}
314
- post_install_message:
313
+ post_install_message:
315
314
  rdoc_options: []
316
315
  require_paths:
317
316
  - lib
@@ -326,8 +325,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
325
  - !ruby/object:Gem::Version
327
326
  version: '0'
328
327
  requirements: []
329
- rubygems_version: 3.1.2
330
- signing_key:
328
+ rubygems_version: 3.0.3
329
+ signing_key:
331
330
  specification_version: 4
332
331
  summary: Data models for the SDR
333
332
  test_files: []
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Cocina
4
- module Models
5
- class Classification < Struct
6
- attribute :authority, Types::Strict::String.meta(omittable: true)
7
- attribute :displayLabel, Types::Strict::String.meta(omittable: true)
8
- attribute :edition, Types::Strict::String.meta(omittable: true)
9
- end
10
- end
11
- end