-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathelements.php
More file actions
387 lines (338 loc) · 13.4 KB
/
elements.php
File metadata and controls
387 lines (338 loc) · 13.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
<?php
$elementSetMetadata = array(
'name' => 'Descriptive Metadata',
'description' => "CAVPP custom descriptive metadata element set, based on PBCore (a metadata standard for audiovisual media developed by the public broadcasting community. See http://www.pbcore.org/documentation/)",
'record_type' => 'Item',
);
$elements = array(
// Institution. Maps to <pbcoreCollection collectionSource>
array(
'label' => 'Institution',
'name' => 'Institution',
/* 'description' => 'Name of Institution.', */
'data_type' => 'Tiny Text',
),
// Item title. Maps to <pbcoreTitle titleType="Main">
array(
'label' => 'Title',
'name' => 'Title',
/* 'description' => 'Main Title. Use brackets for supplied titles.', */
'data_type' => 'Tiny Text',
),
// Important to CA history. Maps to <pbcoreExtension> -- need detailed mapping
array(
'label' => 'Why is this important to California history?',
'name' => 'Why is this important to California history?',
/* 'description' => 'CAVPP: Please provide a cataloging note here.', */
),
// Date Created. Maps to <pbcoreAssetDate dateType="created">.
array(
'label' => 'Date Created',
'name' => 'Date Created',
/* 'description' => 'The original date that the media item was created. In the case of raw interviews, the date on which the interview was conducted. Format: YYYY-MM-DD', */
'data_type' => 'Tiny Text',
),
// Extension: Country of Creation. Maps to extension -->
array(
'label' => 'Country of Creation',
'name' => 'Country of Creation',
/* 'description' => 'CAVPP: Please provide cataloging note here.', */
'data_type' => 'Tiny Text',
),
// Creators (dropdown list?)
// // Director
array(
'label' => 'Creator - Director',
'name' => 'Creator - Director',
/* 'description' => 'Director. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Interviewer
array(
'label' => 'Creator - Interviewer',
'name' => 'Creator - Interviewer',
/* 'description' => 'Interviewer. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Performer
array(
'label' => 'Creator - Performer',
'name' => 'Creator - Performer',
/* 'description' => 'Performer. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Producer
array(
'label' => 'Creator - Producer',
'name' => 'Creator - Producer',
/* 'description' => 'Producer. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Writer
array(
'label' => 'Creator - Writer',
'name' => 'Creator - Writer',
/* 'description' => 'Writer. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// Copyright Statement. Maps to <pbcoreRightsSummary><rightsSummary>.
array(
'label' => 'Copyright Statement',
'name' => 'Copyright Statement',
/* 'description' => 'Information about rights to the media item. Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights.', */
),
// Copyright Date. Maps to
array(
'label' => 'Copyright Date',
'name' => 'Copyright Date',
/* 'description' => 'Copyright Date', */
),
// Copyright Holder. Maps to
array(
'label' => 'Copyright Holder',
'name' => 'Copyright Holder',
/* 'description' => 'Copyright Holder.', */
),
// Copyright Holder Info. Maps to
array(
'label' => 'Copyright Holder Info',
'name' => 'Copyright Holder Info',
/* 'description' => 'Copyright Holder Info.', */
),
// Copyright Notice. Maps to
array(
'label' => 'Copyright Notice',
'name' => 'Copyright Notice',
/* 'description' => 'Copyright Notice', */
),
// Instututional Rights Statement (URL).
array(
'label' => 'Instututional Rights Statement (URL)',
'name' => 'Instututional Rights Statement (URL)',
/* 'description' => 'Instututional Rights Statement (URL).', */
),
// Media type.
array(
'label' => 'Media Type',
'name' => 'Media Type',
/* 'description' => 'Media Type.', */
),
// Generation
array(
'label' => 'Generation (physical asset)',
'name' => 'Generation (physical asset)',
/* 'description' => 'Generation.', */
'data_type' => 'Tiny Text',
),
// Format
array(
'label' => 'Format (physical asset)',
'name' => 'Format (physical asset)',
/* 'description' => 'Format.', */
'data_type' => 'Tiny Text',
),
// Extent
array(
'label' => 'Extent (physical asset)',
'name' => 'Extent (physical asset)',
/* 'description' => 'Extent.', */
'data_type' => 'Tiny Text',
),
// Institution URL. Maps to <pbcoreCollection collectionRef>
array(
'label' => 'Institution URL',
'name' => 'Institution URL',
/* 'description' => 'Institution\'s website.', */
'data_type' => 'Tiny Text',
),
// Institution Call # (identifier type). Maps to <pbcoreIdentifier identifierType="Call Number">
array(
'label' => 'Institution Call Number',
'name' => 'Institution Call Number',
/* 'description' => 'Institution\'s unique identifier (call number, acquisition number, shelf code).', */
'data_type' => 'Tiny Text',
),
// Additional Title. Maps to <pbcoreTitle titleType="Summary">
array(
'label' => 'Additional Title',
'name' => 'Additional Title',
/* 'description' =>'Additional Title.', */
'data_type' => 'Tiny Text',
'_refines' => 'Title',
),
// Series Title. Maps to <pbcoreTitle titleType="Series">
array(
'label' => 'Series Title',
'name' => 'Series Title',
/* 'description' =>'If applicable, the larger series to which the episode or piece contributed.', */
'data_type' => 'Tiny Text',
'_refines' => 'Title',
),
// Label. Maps to <pbcoreTitle titleType="Label">.
array(
'label' => 'Label',
'name' => 'Label',
/* 'description' => 'CAVPP: Please provide a cataloging note here.', */
'data_type' => 'Tiny Text',
'_refines' => 'Title',
),
// Description. Maps to <pbcoreDescription descriptionType="Abstract">
array(
'label' => 'Description or Content Summary',
'name' => 'Description or Content Summary',
/* 'description' => 'Uses free-form text to report abstracts, or summaries about the intellectual content of a media item you are cataloging. The information may be in the form of a paragraph giving an individual program description or brief content reviews.', */
),
// Date Published. Maps to <pbcoreAssetDate dateType="published">
array(
'label' => 'Date Published',
'name' => 'Date Published',
/* 'description' => 'CAVPP: Please provide cataloging note here. Format: YYYY-MM-DD', */
'data_type' => 'Tiny Text',
),
// Contributors
// // Camera
array(
'label' => 'Contributor - Camera',
'name' => 'Contributor - Camera',
/* 'description' => 'Camera technician. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Cast
array(
'label' => 'Contributor - Cast',
'name' => 'Contributor - Cast',
/* 'description' => 'Cast member. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Editor
array(
'label' => 'Contributor - Editor',
'name' => 'Contributor - Editor',
/* 'description' => 'Editor. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Interviewee
array(
'label' => 'Contributor - Interviewee',
'name' => 'Contributor - Interviewee',
/* 'description' => 'The person(s) being interviewed. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Music
array(
'label' => 'Contributor - Music',
'name' => 'Contributor - Music',
/* 'description' => 'Music technician. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Sound
array(
'label' => 'Contributor - Sound',
'name' => 'Contributor - Sound',
/* 'description' => 'Sound technician. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Speaker
array(
'label' => 'Contributor - Speaker',
'name' => 'Contributor - Speaker',
/* 'description' => 'Speaker. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// Publishers
// // Publisher
array(
'label' => 'Publisher - Publisher',
'name' => 'Publisher - Publisher',
/* 'description' => 'Publisher. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// // Distributor
array(
'label' => 'Publisher - Distributor',
'name' => 'Publisher - Distributor',
/* 'description' => 'Distributor. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// Language
array(
'label' => 'Language',
'name' => 'Language',
/* 'description' => 'Language.', */
'data_type' => 'Tiny Text',
),
// Subject Topic
array(
'label' => 'Subject Topic',
'name' => 'Subject Topic',
/* 'description' => 'Language.', */
'data_type' => 'Tiny Text',
),
// Subject Entity
array(
'label' => 'Subject Entity',
'name' => 'Subject Entity',
/* 'description' => 'Subject Entity. (For personal names use "LastName, FirstName MiddleName, Suffix").', */
'data_type' => 'Tiny Text',
),
// Spatial Coverage
array(
'label' => 'Spatial Coverage',
'name' => 'Spatial Coverage',
/* 'description' => 'Spatial Coverage.', */
'data_type' => 'Tiny Text',
),
// Temporal Coverage
array(
'label' => 'Temporal Coverage',
'name' => 'Temporal Coverage',
/* 'description' => 'Temporal Coverage. Format: YYYY-MM-DD', */
'data_type' => 'Tiny Text',
),
// Genre
array(
'label' => 'Genre',
'name' => 'Genre',
/* 'description' => 'Genre.', */
'data_type' => 'Tiny Text',
),
// Cataloger Notes
array(
'label' => 'Cataloger Notes',
'name' => 'Cataloger Notes',
/* 'description' => 'Cataloger Notes.', */
),
// Additional Descriptive Notes
array(
'label' => 'Additional Descriptive Notes',
'name' => 'Additional Descriptive Notes',
/* 'description' => 'Additional Descriptive Notes.', */
),
// Additional Technical Notes
array(
'label' => 'Additional Technical Notes',
'name' => 'Additional Technical Notes',
/* 'description' => 'Additional Technical Notes.', */
),
//Collection Guide Title
array(
'label' => 'Collection Guide Title',
'name' => 'Collection Guide Title',
/* 'description' => 'Collection Guide Title.', */
'data_type' => 'Tiny Text',
),
// Collection Guide URL
array(
'label' => 'Collection Guide URL',
'name' => 'Collection Guide URL',
/* 'description' => 'Collection Guide URL.', */
'data_type' => 'Tiny Text',
),
// Physical Asset - Part Of
array(
'label' => 'Physical Asset - Part Of',
'name' => 'Physical Asset - Part Of',
/* 'description' => 'Collection Guide URL.', */
'data_type' => 'Tiny Text',
),
);