cocina-models 0.76.0 → 0.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/description_types.yml +2 -0
- data/docs/description_types.md +2 -0
- data/lib/cocina/models/mapping/from_mods/description.rb +0 -1
- data/lib/cocina/models/mapping/purl.rb +1 -2
- data/lib/cocina/models/version.rb +1 -1
- data/lib/cocina/rspec/factories.rb +68 -20
- metadata +6 -20
- data/docs/maps/Agent.json +0 -18
- data/docs/maps/Collection.json +0 -240
- data/docs/maps/DRO.json +0 -316
- data/docs/maps/Description.json +0 -17
- data/docs/maps/File.json +0 -196
- data/docs/maps/Fileset.json +0 -143
- data/docs/maps/README.md +0 -7
- data/docs/maps/ReleaseTag.json +0 -39
- data/docs/maps/Sequence.json +0 -46
- data/docs/maps/Title.json +0 -18
- data/docs/sampleETD/foxml-export.xml +0 -935
- data/docs/sampleETD/foxml.xml +0 -3475
- data/docs/sampleETD/xn109qc9773_bibframe.ttl +0 -95
- data/docs/sampleETD/xn109qc9773_taco.json +0 -158
data/docs/maps/ReleaseTag.json
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-06/schema#",
|
3
|
-
"id": "http://cocina.sul.stanford.edu/schemas/ReleaseTag",
|
4
|
-
"title": "Release Tag",
|
5
|
-
"description": "A tag that indicates the item or collection should be released.",
|
6
|
-
"type": "object",
|
7
|
-
"required": ["to", "what", "date", "who", "release"],
|
8
|
-
"properties": {
|
9
|
-
"to": {
|
10
|
-
"description": "What platform is it released to",
|
11
|
-
"type": "string",
|
12
|
-
"enum": [
|
13
|
-
"Searchworks",
|
14
|
-
"Earthworks"
|
15
|
-
]
|
16
|
-
},
|
17
|
-
"what": {
|
18
|
-
"description": "What is being released. This item or the whole collection.",
|
19
|
-
"type": "string",
|
20
|
-
"enum": [
|
21
|
-
"self",
|
22
|
-
"collection"
|
23
|
-
]
|
24
|
-
},
|
25
|
-
"date": {
|
26
|
-
"description": "When did this action happen",
|
27
|
-
"type": "string",
|
28
|
-
"format": "date-time"
|
29
|
-
},
|
30
|
-
"who": {
|
31
|
-
"description": "Who did this release",
|
32
|
-
"type": "string"
|
33
|
-
},
|
34
|
-
"release": {
|
35
|
-
"description": "Should it be released or withdrawn. Release is coded as true and withdraw as false",
|
36
|
-
"type": "boolean"
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
data/docs/maps/Sequence.json
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-06/schema#",
|
3
|
-
"id": "http://cocina.sul.stanford.edu/schemas/Sequence",
|
4
|
-
"title": "Resource Sequence",
|
5
|
-
"description": "A sequence or ordering of resources within a Collection or Object.",
|
6
|
-
"type": "object",
|
7
|
-
"required": ["@type", "label", "startMember", "members"],
|
8
|
-
"properties": {
|
9
|
-
"@context": {
|
10
|
-
"description": "URI for the JSON-LD context definitions.",
|
11
|
-
"type": "string"
|
12
|
-
},
|
13
|
-
"@type": {
|
14
|
-
"description": "The type of Sequence.",
|
15
|
-
"type": "string",
|
16
|
-
"enum": ["http://cocina.sul.stanford.edu/models/sequence.jsonld",
|
17
|
-
"http://cocina.sul.stanford.edu/models/primary-sequence.jsonld"
|
18
|
-
]
|
19
|
-
},
|
20
|
-
"label": {
|
21
|
-
"description": "Label for the sequence or ordering.",
|
22
|
-
"type": "string"
|
23
|
-
},
|
24
|
-
"startMember": {
|
25
|
-
"description": "Identifier for the first member of the sequence.",
|
26
|
-
"type": "string"
|
27
|
-
},
|
28
|
-
"members": {
|
29
|
-
"description": "Identifiers for Members in their stated Order for the Sequence.",
|
30
|
-
"type": "array",
|
31
|
-
"items": {
|
32
|
-
"type": "string"
|
33
|
-
}
|
34
|
-
},
|
35
|
-
"viewingDirection": {
|
36
|
-
"description": "The direction that a sequence of canvases should be displayed to the user",
|
37
|
-
"type": "string",
|
38
|
-
"enum": [
|
39
|
-
"left-to-right",
|
40
|
-
"right-to-left",
|
41
|
-
"top-to-bottom",
|
42
|
-
"bottom-to-top"
|
43
|
-
]
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
data/docs/maps/Title.json
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-06/schema#",
|
3
|
-
"id": "http://cocina.sul.stanford.edu/schemas/Title",
|
4
|
-
"title": "Title",
|
5
|
-
"description": "A title of a work",
|
6
|
-
"type": "object",
|
7
|
-
"required": ["titleFull", "primary"],
|
8
|
-
"properties": {
|
9
|
-
"primary": {
|
10
|
-
"description": "Is this the primary title for the object",
|
11
|
-
"type": "boolean"
|
12
|
-
},
|
13
|
-
"titleFull": {
|
14
|
-
"description": "The full title for the object",
|
15
|
-
"type": "string"
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|