-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathconfig.js
More file actions
1011 lines (790 loc) · 51.4 KB
/
Copy pathconfig.js
File metadata and controls
1011 lines (790 loc) · 51.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
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { defineStore } from 'pinia'
import utilsNetwork from '@/lib/utils_network';
import scriptShifterLangCodes from '@/lib/scriptShifterLangCodes.json';
export const useConfigStore = defineStore('config', {
state: () => ({
versionMajor: 1,
versionMinor: 7,
versionPatch: 0,
regionUrls: {
dev:{
ldpjs : 'http://localhost:9401/marva/api-staging/',
util : 'http://localhost:9401/marva/util/',
// util : 'http://localhost:5200/util',
// util : 'https://preprod-3001.id.loc.gov/marva/util/',
// util : 'https://editor.id.loc.gov/marva/util/',
scriptshifter: 'http://localhost:9401/marva/scriptshifter/',
publish : 'http://localhost:9401/marva/util/publish/staging',
validate: 'http://localhost:9401/marva/util/validate/prod',
// validate: 'http://localhost:5200/validate/stage',
// validate: 'https://preprod-3001.id.loc.gov/marva/util/validate/stage',
publishNar: 'http://localhost:9401/marva/util/nacostub/staging',
bfdb : 'https://preprod-8230.id.loc.gov/',
shelfListing: 'https://preprod-8230.id.loc.gov/',
// localhost server stage profiles
// profiles : 'http://localhost:9401/util/profiles/profile/stage',
// starting: 'http://localhost:9401/util/profiles/starting/stage',
// localhost server prod profiles
// profiles : 'http://localhost:9401/util/profiles/profile/prod',
// starting: 'http://localhost:9401/util/profiles/starting/prod',
// offical stage profiles that work outside firewall
// profiles: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-stage/marva-profiles.json',
// starting: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-stage/marva-starting.json',
// offical prod profiles that work outside firewall
// profiles: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-prod/marva-profiles.json',
// starting: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-prod/marva-starting.json',
// offical stage profiles inside the firewall
// starting: 'https://preprod-3001.id.loc.gov/marva/util/profiles/starting/stage',
// profiles: 'https://preprod-3001.id.loc.gov/marva/util/profiles/profile/stage',
// offical prod profiles inside the firewall
// starting: 'https://editor.id.loc.gov/marva/util/profiles/starting/prod',
// profiles: 'https://editor.id.loc.gov/marva/util/profiles/profile/prod',
profiles : 'https://editor.id.loc.gov/marva/dancer/api/serve/marva-prod/profile',
starting : 'https://editor.id.loc.gov/marva/dancer/api/serve/marva-prod/starting-points',
// profiles: 'https://editor.id.loc.gov/marva/dancer/api/serve/marva-stage/profile',
// starting : 'https://editor.id.loc.gov/marva/dancer/api/serve/marva-stage/starting-points',
// worldCat: 'http://localhost:5200/worldcat/',
// copyCatUpload: 'http://localhost:5200/copycat/upload/stag',
worldCat: 'http://localhost:9401/marva/util/worldcat/',
copyCatUpload: 'http://localhost:9401/marva/util/copycat/upload/stag',
id: 'https://preprod-8080.id.loc.gov/',
env : 'staging',
dev: false,
devFakePosting: true,
displayLCOnlyFeatures: true,
enableStateRecorder: true,
simpleLookupLang: 'en',
lcap: 'https://c2vwscf01.loc.gov/cflsops/toolkit-training-lcsg/lcap-productivity/marva/bibId/',
folioBase: 'https://lcsg.catalog.lcap.loc.gov',
},
externalDev:{
ldpjs : 'http://localhost:9401/marva/api-staging/',
util : 'http://localhost:9401/marva/util/',
scriptshifter: 'http://localhost:9401/marva/scriptshifter/',
publish : 'http://localhost:9401/marva/util/publish/staging',
validate: 'http://localhost:9401/marva/util/validate/prod',
// profiles: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-stage/marva-profiles.json',
// starting: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-stage/marva-starting.json',
profiles : 'http://localhost:9401/marva/dancer/api/serve/marva-prod/profile',
starting: 'http://localhost:9401/marva/dancer/api/serve/marva-prod/starting-points',
id: 'https://id.loc.gov/',
env : 'staging',
dev: true,
externalDev: true,
devFakePosting: true,
displayLCOnlyFeatures: true,
enableStateRecorder: true,
simpleLookupLang: 'en',
publicEndpoints:true,
lcap: 'https://c2vwscf01.loc.gov/cflsops/toolkit-training-lcsg/lcap-productivity/marva/bibId/',
folioBase: 'https://lcsg.catalog.lcap.loc.gov',
bfdb : 'https://preprod-8230.id.loc.gov/',
isBibframeDotOrg: false,
folioMLCEndpoint: 'http://localhost:9401/marva/util/folio/next-mlc/staging',
dancerEnabled: true,
dancerWorkspaceList: "http://localhost:9401/marva/dancer/api/serve/workspaces",
},
staging:{
ldpjs : 'https://preprod-3001.id.loc.gov/marva/api-staging/',
util : 'https://preprod-3001.id.loc.gov/marva/util/',
scriptshifter: 'https://preprod-3001.id.loc.gov/marva/scriptshifter/',
publish: 'https://preprod-3001.id.loc.gov/marva/util/publish/staging',
publishNar: 'https://preprod-3001.id.loc.gov/marva/util/nacostub/staging',
validate: 'https://preprod-3001.id.loc.gov/marva/util/validate/stage',
shelfListing: 'https://preprod-8230.id.loc.gov/',
// bfdb : 'https://preprod-8210.id.loc.gov/',
bfdb : 'https://preprod-8300.id.loc.gov/',
profiles : '/marva/util/profiles/profile/stage',
// profiles : '/marva/util/profiles/profile/prod',
// profiles: 'https://preprod-3001.id.loc.gov/api/listconfigs?where=index.resourceType:profile',
starting : '/marva/util/profiles/starting/stage',
worldCat: 'https://preprod-3001.id.loc.gov/marva/util/worldcat/',
copyCatUpload: 'https://preprod-3001.id.loc.gov/marva/util/copycat/upload/stag', // change ports for production
lcap: 'https://c2vwscf01.loc.gov/cflsops/toolkit-training-lcsg/lcap-productivity/marva/bibId/',
folioBase: 'https://lcsg.catalog.lcap.loc.gov',
folioMLCEndpoint: 'https://preprod-3001.id.loc.gov/marva/util/folio/next-mlc/staging',
id: 'https://preprod-8080.id.loc.gov/',
env : 'staging',
displayLCOnlyFeatures: true,
enableStateRecorder: true,
simpleLookupLang: 'en',
dancerEnabled: true,
dancerWorkspaceList: "https://editor.id.loc.gov/marva/dancer/api/serve/workspaces/",
},
production:{
ldpjs : 'https://editor.id.loc.gov/marva/api-production/',
util : 'https://editor.id.loc.gov/marva/util/',
scriptshifter : 'https://editor.id.loc.gov/marva/scriptshifter/',
publish: 'https://editor.id.loc.gov/marva/util/publish/production',
publishNar: 'https://editor.id.loc.gov/marva/util/nacostub/production',
shelfListing: 'https://preprod-8230.id.loc.gov/',
validate: 'https://editor.id.loc.gov/marva/util/validate/prod',
bfdb : 'https://preprod-8230.id.loc.gov/',
bfdbGPO : 'https://preprod-8210.id.loc.gov/',
// These are the legacy profile endpoints, frozen early Feb 2026
// profiles : '/marva/util/profiles/profile/prod',
// starting : '/marva/util/profiles/starting/prod',
// these are DCTap profile, editable at https://editor.id.loc.gov/marva/dancer/
profiles : 'https://editor.id.loc.gov/marva/dancer/api/serve/marva-prod/profile',
starting : 'https://editor.id.loc.gov/marva/dancer/api/serve/marva-prod/starting-points',
folioMLCEndpoint: 'https://editor.id.loc.gov/marva/util/folio/next-mlc/production',
lcap: 'https://lcsg.toolkit.lcap.loc.gov/lcap-productivity/marva/bibId/',
folioBase: 'https://lcsg.catalog.lcap.loc.gov',
worldCat: 'https://editor.id.loc.gov/marva/util/worldcat/',
copyCatUpload: 'https://editor.id.loc.gov/marva/util/copycat/upload/prod',
id: 'https://preprod-8080.id.loc.gov/',
env : 'production',
displayLCOnlyFeatures: true,
enableStateRecorder: false,
simpleLookupLang: 'en',
},
bibframeDotOrg:{
ldpjs : 'https://bibframe.org/marva/api-production/',
util : 'https://bibframe.org/marva/util/',
scriptshifter : 'https://bibframe.org/scriptshifter/',
publish: 'https://bibframe.org/marva/util/publish/production',
validate: 'https://bibframe.org/marva/util/validate/stage',
bfdb : 'https://id.loc.gov/',
profiles: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-prod/marva-profiles.json',
starting: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-prod/marva-starting.json',
id: 'https://id.loc.gov/',
env : 'production',
publicEndpoints:true,
displayLCOnlyFeatures: false,
enableStateRecorder: false,
simpleLookupLang: 'en',
isBibframeDotOrg: true,
dancerEnabled: true,
dancerWorkspaceList: "https://bibframe.org/dancer/api/serve/workspaces/",
},
playwrightTestConfig:{
ldpjs : 'https://bibframe.org/marva/api-production/',
util : 'https://bibframe.org/marva/util/',
scriptshifter : 'https://bibframe.org/scriptshifter/',
publish: 'https://bibframe.org/marva/util/publish/production',
validate: 'https://bibframe.org/marva/util/validate/stage',
bfdb : 'https://id.loc.gov/',
profiles: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-prod/marva-profiles.json',
starting: 'https://raw.githubusercontent.com/lcnetdev/marva-profiles/refs/heads/main/marva-prod/marva-starting.json',
id: 'https://id.loc.gov/',
env : 'production',
displayLCOnlyFeatures: true,
publicEndpoints:true,
simpleLookupLang: 'en',
},
},
postUsingAlmaXmlFormat: false,
// used in the profile store, if the profle name ends with one of these it is a top level resource template
validTopLevelProfileSufixes: [':Work',':Item',':Instance',':Hub'],
validTopLevelWork: ':Work',
validTopLevelItem: ':Item',
validTopLevelInstance: ':Instance',
validTopLevelHub: ':Hub',
// the base URLS, used when building URIs for new resources
baseURIWork: 'http://id.loc.gov/resources/works/',
baseURIInstance: 'http://id.loc.gov/resources/instances/',
baseURIItem: 'http://id.loc.gov/resources/items/',
baseURIHub: 'http://id.loc.gov/resources/hubs/',
// this value goes into the admin metadata to tell BFDB what type of action to take, this value is when a new work instance is being created
procInfoNewWorkInstance: "create work",
showUpdateAvailableModal:false,
showNonLatinBulkModal: false,
showNonLatinAgentModal: false,
scriptshifterLanguages: {},
profileHacks: {
// UI display flags
agentsHideManualRDFLabelIfURIProvided: {enabled:true,desc:"If the <agent> has a URI don't populate the manual label field, only if there is no URI in the node populate"},
// Parsing the profile flags
profileParseFixLowerCaseContribution: {enabled: true, desc:" someplaces lc:RT:bf2:Agents:Contribution is set to lc:RT:bf2:Agents:contribution (lowercase C) change it when lowercase to 'lc:RT:bf2:Agents:Contribution'"},
profileParseFixPropertyURIWhenUpperCase: {enabled: true, desc:"Sometimes a class is used in the propertyURI field? /Role instead of /role for example, change them to camel case when not lowercase"},
removeExtraFieldsInContributor: {enabled: true, desc:"Remove things like bflc:name00MatchKey bflc:primaryContributorName00MatchKey bflc:name00MarcKey fron contributor tags"},
},
// this is a list of properties that will be ignored in the literal language model box
literalLangOptions:{
ignorePtURIs: [
'http://id.loc.gov/ontologies/bibframe/provisionActivity',
'http://id.loc.gov/ontologies/bibframe/supplementaryContent',
'http://id.loc.gov/ontologies/bibframe/subject',
'http://id.loc.gov/ontologies/bflc/aap-normalized',
'http://id.loc.gov/ontologies/bflc/aap',
'http://id.loc.gov/ontologies/bibframe/shelfMark',
'http://id.loc.gov/ontologies/bibframe/classification',
'http://id.loc.gov/ontologies/bibframe/dimensions',
'http://id.loc.gov/ontologies/bibframe/extent',
'http://id.loc.gov/ontologies/bibframe/notation',
]
},
checkForRepeatedLiterals: [
'http://id.loc.gov/ontologies/bibframe/mainTitle',
'http://id.loc.gov/ontologies/bibframe/subtitle',
'http://www.w3.org/2000/01/rdf-schema#label',
'http://id.loc.gov/ontologies/bibframe/date',
],
// these are the predicate fields that allow you to add another literal value
// for the literals in the component if the proifle has literal-lang somewhere in it
allowLiteralRepeatForNonRomain: [
'http://id.loc.gov/ontologies/bibframe/title',
'http://id.loc.gov/ontologies/bibframe/provisionActivity',
'http://id.loc.gov/ontologies/bibframe/agent'
],
checkForEDTFDatatype: [
'http://id.loc.gov/ontologies/bibframe/date',
'http://id.loc.gov/ontologies/bibframe/copyrightDate',
'http://id.loc.gov/ontologies/bibframe/originDate',
'http://id.loc.gov/ontologies/bflc/projectedProvisionDate',
],
// these are predicates that will merged into one PT
groupTopLeveLiterals: [
'http://id.loc.gov/ontologies/bibframe/editionStatement',
'http://id.loc.gov/ontologies/bibframe/responsibilityStatement',
],
// these are properties that aren't allowed to be both when merging data with template
templatesDataFlowCantBeBoth: [
'id.loc.gov/ontologies/bibframe/adminMetadata',
],
// these are not template-able properties
templatesDataFlowHide: [
'id.loc.gov/ontologies/bibframe/instanceOf',
'http://id.loc.gov/ontologies/bibframe/hasInstance',
],
// use the subject editor not the complex lookup modal when it has this propertyURI value
useSubjectEditor: [
'http://www.loc.gov/mads/rdf/v1#Topic',
'http://www.loc.gov/mads/rdf/v1#componentList',
'http://www.loc.gov/mads/rdf/v1#Geographic'
],
// Do not enable deepHierarchy flags on these properties regardless of how complicated
// deepHierarchy flag prevents editing extreamly nested structures since the editor is not designed
// to allow editing of nested works for example
exludeDeepHierarchy: [
'http://id.loc.gov/ontologies/bibframe/adminMetadata',
'http://id.loc.gov/ontologies/bibframe/subject',
'http://id.loc.gov/ontologies/bibframe/mediumComponent',
'http://id.loc.gov/ontologies/bibframe/ensemble'
],
// if the field is using these properties we might want to enhance the interface with shelflisting tools
lccFeatureProperties: [
'http://id.loc.gov/ontologies/bibframe/itemPortion',
'http://id.loc.gov/ontologies/bibframe/classificationPortion'
],
excludeFromNonLatinLiteralCheck: [
'http://id.loc.gov/ontologies/bibframe/subject',
'http://id.loc.gov/ontologies/bibframe/contribution',
'http://id.loc.gov/ontologies/bibframe/geographicCoverage'
],
layouts: {
all: {
titles: {
profileId: "Monograph",
label: "Titles",
properties: {
"lc:RT:bf2:Monograph:Work": [
"id_loc_gov_ontologies_bibframe_title__title_information"
],
"lc:RT:bf2:Monograph:Instance": [
"id_loc_gov_ontologies_bibframe_title__title_information"
]
}
},
contributors: {
profileId: "Monograph",
label: "Contributors",
properties: {
"lc:RT:bf2:Monograph:Work": [
"id_loc_gov_ontologies_bibframe_contribution__creator_of_work",
"id_loc_gov_ontologies_bibframe_contribution__contributors"
]
}
},
subjects: {
profileId: "Monograph",
label: "Subjects & Class",
properties: {
"lc:RT:bf2:Monograph:Work": [
"id_loc_gov_ontologies_bibframe_subject__subjects",
"id_loc_gov_ontologies_bibframe_classification__classification_numbers",
]
}
}
}
},
// xml files stored in the static file directory
testData:[
{lccn:'2001059208',label:"The knitter's handy book of patterns: basic designs in multiple sizes & gauges", idUrl:'https://id.loc.gov/resources/instances/12618072.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2021375840',label:"Schooling under control", idUrl:'https://id.loc.gov/resources/instances/21910923.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2023920086',label:"The Serby saga (IBC)", idUrl:'https://id.loc.gov/resources/instances/23354934.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2024398050',label:"Wehasŭ sonyŏn (Compilation)", idUrl:'https://id.loc.gov/resources/instances/23799873.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2018340701',label:"Qānūn al-ijrāʼāt al-jazāʼīyah", idUrl:'https://id.loc.gov/resources/instances/2018340701.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2007052988',label:"A journey to the Western Islands of Scotland", idUrl:'https://id.loc.gov/resources/instances/15146892.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2023546355',label:"'P'osŭt'ŭ cheguk' ŭi Tong Asia", idUrl:'https://id.loc.gov/resources/instances/23591130.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2024019569',label:"The Routledge handbook of Christianity and culture", idUrl:'https://id.loc.gov/resources/instances/2024019569.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2024038364',label:"White-tailed deer", idUrl:'https://id.loc.gov/resources/instances/23882742.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2024591512',label:"The Berkshires, Massachusetts discovery map 2022-2023", idUrl:'https://id.loc.gov/resources/instances/23486403.html', profile:'Cartographic',profileId:'lc:RT:bf2:Cartographic:Instance'},
{lccn:'2016627557',label:"Wallflower", idUrl:'https://id.loc.gov/resources/instances/2016627557.html', profile:'Audio CD',profileId:'lc:RT:bf2:SoundRecording:Instance'},
{lccn:'2024623510',label:"Ein deutsches Requiem", idUrl:'https://id.loc.gov/resources/instances/23704895.html', profile:'Audio CD',profileId:'lc:RT:bf2:SoundRecording:Instance'},
{lccn:'2023602524',label:"Bones and all", idUrl:'https://id.loc.gov/resources/instances/23150570.html', profile:'Moving Image: BluRay DVD',profileId:'lc:RT:bf2:MIBluRayDVD:Instance'},
{lccn:'2005264032',label:"Business week", idUrl:'https://id.loc.gov/resources/instances/11138862.html', profile:'Serial',profileId:'lc:RT:bf2:Serial:Instance'},
{lccn:'2011263182',label:"San Francisco chronicle", idUrl:'https://id.loc.gov/resources/instances/2011263182.html', profile:'Serial',profileId:'lc:RT:bf2:Serial:Instance'},
{lccn:'2022442584',label:"test", idUrl:'https://id.loc.gov/resources/instances/2022442584.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2023537239',label:"test2", idUrl:'https://id.loc.gov/resources/instances/2023537239.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2023537239',label:"test2", idUrl:'https://id.loc.gov/resources/instances/2023537239.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2023478592',label:"test3", idUrl:'https://id.loc.gov/resources/instances/2023478592.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2025363067',label:"test4", idUrl:'https://id.loc.gov/resources/instances/2025363067.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2020467568',label:"Muliple Series Status Test", idUrl:'https://id.loc.gov/resources/instances/2020467568.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2026888777',label:"Secondary Instance Test", idUrl:'https://id.loc.gov/resources/instances/2026888777.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2023548475',label:"Create NAR test", idUrl:'https://id.loc.gov/resources/instances/2023548475.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2023478519',label:"bf:relation test", idUrl:'https://id.loc.gov/resources/instances/2023478519.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2025443360',label:"NAR Tests", idUrl:'https://id.loc.gov/resources/instances/2025443360.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'2023548750',label:"Subject Test", idUrl:'https://id.loc.gov/resources/instances/2023548750.html', profile:'Monograph',profileId:'lc:RT:bf2:Monograph:Instance'},
{lccn:'66082276',label:"Non-latin Rare", idUrl:'https://id.loc.gov/resources/instances/66082276.html', profile:'Rare Matereials',profileId:'lc:RT:bf2:RareMat:Instance'},
{lccn:'in01260004891',label:"Related music works test (Sonatas from manuscript sources. IV)", idUrl:'https://id.loc.gov/resources/instances/in01260004891.html', profile:'Notated Music',profileId:'lc:RT:bf2:NotatedMusic:Instance'},
],
lookupConfig: {
"http://id.loc.gov/authorities/childrensSubjects" : {
"name":"childrensSubjects", "type":"complex", "modes":[
{
'LCSHAC All':{"url":"https://id.loc.gov/authorities/childrensSubjects/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]
},
"http://id.loc.gov/bflists/intendedAudiences" : {
"name":"intendedAudiences",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'LCDGT':{"url":"https://id.loc.gov/authorities/demographicTerms/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all": true},
'MARC':{"url":"https://id.loc.gov/vocabulary/maudience/suggest2/?q=<QUERY>&count=10&offset=<OFFSET>", "all": true}
}
]
},
"http://id.loc.gov/authorities/demographicTerms/collection_LCDGT_General" : {
"name":"creatorCharacteristic",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'LCDGT':{"url":"https://id.loc.gov/authorities/demographicTerms/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all": true},
}
]
},
// "http://id.loc.gov/authorities/demographicTerms" : {"name":"demographicTerms", "type":"complex", "modes":[
// {
// 'LCDGT All':{"url":"https://id.loc.gov/authorities/demographicTerms/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
// }
// ]},
"http://id.loc.gov/authorities/genreForms" : {
"name":"genreForms",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'LCGFT All':{"url":"https://id.loc.gov/authorities/genreForms/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
'RBMS':{"url":"https://id.loc.gov/vocabulary/rbmscv/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
}
]
},
"http://id.loc.gov/authorities/names" : {
"name":"names",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'NAF Auth Names':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&rdftype=Name&count=25&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF Personal Names':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&rdftype=PersonalName&count=25&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF Corporate Name':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&rdftype=CorporateName&count=25&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF Conference Name':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&rdftype=ConferenceName&count=25&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF Geographic':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&memberOf=http://id.loc.gov/authorities/names/collection_NamesAuthorizedHeadings&rdftype=Geographic&count=25&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF All':{"url":"https://id.loc.gov/authorities/names/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
}
]
},
"http://preprod.id.loc.gov/authorities/names" :{
"name":"names",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'NAF Auth Names':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&rdftype=Name&count=30&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF Personal Names':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&rdftype=PersonalName&count=30&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF Corporate Name':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&rdftype=CorporateName&count=30&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF Conference Name':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&rdftype=ConferenceName&count=30&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF Geographic':{"url":"http://preprod.id.loc.gov/authorities/names/suggest2/?q=<QUERY>&memberOf=http://id.loc.gov/authorities/names/collection_NamesAuthorizedHeadings&rdftype=Geographic&count=30&offset=<OFFSET>&searchtype=<TYPE>"},
'NAF All':{"url":"https://id.loc.gov/authorities/names/suggest2/?q=<QUERY>&count=30&offset=<OFFSET>"},
}
]
},
"http://id.loc.gov/authorities/performanceMediums" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"All":{"url":"http://id.loc.gov/authorities/performanceMediums/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"http://preprod.id.loc.gov/authorities/performanceMediums" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"All":{"url":"http://id.loc.gov/authorities/performanceMediums/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"http://id.loc.gov/authorities/subjects" : {
"name":"subjects",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'LCSH All':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>&searchtype=left", "all":true},
'LCSH Topics':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=Topic&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH Geographic':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=Geographic&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH Name':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=Name&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH FamilyName':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=FamilyName&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH CorporateName':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=CorporateName&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH GenreForm':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=GenreForm&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH Simple Type':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=SimpleType&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH Complex Subject':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=ComplexSubject&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH Temporal':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=Temporal&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH Auth Subjects':{"url":"http://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&memberOf=http://id.loc.gov/authorities/subjects/collection_LCSHAuthorizedHeadings&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH SubDiv Subjects':{"url":"http://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&memberOf=http://id.loc.gov/authorities/subjects/collection_Subdivisions&count=25&offset=<OFFSET>&searchtype=left"},
'LCSH GnFrm Subjects':{"url":"http://id.loc.gov/authorities/genreForms/suggest2/?q=<QUERY>&memberOf=http://id.loc.gov/authorities/genreForms/collection_LCGFT_General&count=25&offset=<OFFSET>&searchtype=left"},
'ENTITIES': {"url":"https://id.loc.gov/entities/subjects/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>&searchtype=left"}
}
]
},
"http://id.loc.gov/authorities/geographics" : {
"name":"geographics",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'LCNAF Geographic':{"url":"https://id.loc.gov/authorities/names/suggest2/?q=<QUERY>&rdftype=Geographic&memberOf=http://id.loc.gov/authorities/names/collection_NamesAuthorizedHeadings&count=25&offset=<OFFSET>"},
'LCSH Geographic':{"url":"https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&rdftype=Geographic&memberOf=http://id.loc.gov/authorities/subjects/collection_LCSHAuthorizedHeadings&count=25&offset=<OFFSET>"},
//'GACS':{"url":"https://id.loc.gov/vocabulary/geographicAreas/suggest2/?q=<QUERY>&rdftype=Geographic&count=25&offset=<OFFSET>"},
}
]
},
"http://id.loc.gov/vocabulary/maudience" : {
"name":"audience",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'MARC Audience':{"url": "https://id.loc.gov/vocabulary/maudience/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
'LCDGT':{"url": "https://id.loc.gov/authorities/demographicTerms/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
'LCSH':{"url": "https://id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
}
]
},
"http://preprod.id.loc.gov/vocabulary/maudience" : {
"name":"audience",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'MARC Audience':{"url": "https://preprod.id.loc.gov/vocabulary/maudience/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
'LCDGT':{"url": "https://preprod.id.loc.gov/authorities/demographicTerms/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
'LCSH':{"url": "https://preprod.id.loc.gov/authorities/subjects/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
}
]
},
"HierarchicalGeographic": {
"name":"names",
"type":"complex",
"processor" : 'lcAuthorities',
"modes":[
{
'hier':{"url":"https://preprod-8080.id.loc.gov/suggest2/?q=<QUERY>&count=25&rdftype=HierarchicalGeographic", "all":true},
'All': {"url":"https://preprod-8080.id.loc.gov/suggest2/?q=<QUERY>&count=25&rdftype=HierarchicalGeographic&memberOf=http://id.loc.gov/authorities/subjects/collection_GeographicSubdivisions", "all":true}
}
]
},
// this will search across names and subjects, the above only searches names
"HierarchicalGeographicAll": {
"name":"names",
"type":"simple",
"processor" : 'lcAuthorities',
"modes":[
{
'All':{"url":"https://preprod-8080.id.loc.gov/suggest2/?q=<QUERY>&count=25&rdftype=HierarchicalGeographic", "all":true},
}
]
},
// "http://id.loc.gov/authorities/demographicTerms": {
// "name":"demographicTerms",
// "type":"complex",
// "processor" : 'lcAuthorities',
// "modes":[
// {
// 'LCDGT All':{"url":"https://preprod-8288.id.loc.gov/authorities/demographicTerms/suggest2/?q=<QUERY>", "all":true},
// }
// ]
// },
"http://id.loc.gov/entities/providers" : {"name":"providers", "type":"complex", "modes":[]},
"http://id.loc.gov/entities/relationships" : {"name":"relationships", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"All":{"url":"https://id.loc.gov/entities/relationships/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"http://preprod.id.loc.gov/entities/relationships" : {"name":"relationships", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"All":{"url":"https://preprod.id.loc.gov/entities/relationships/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"http://id.loc.gov/vocabulary/geographicAreas" : {"name":"geographicAreas", "processor" : 'lcAuthorities', "type":"complex", "minCharBeforeSearch":2, "modes":[
{
"All":{"url":"https://id.loc.gov/vocabulary/geographicAreas/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"http://preprod.id.loc.gov/vocabulary/geographicAreas" : {"name":"geographicAreas", "processor" : 'lcAuthorities', "type":"complex", "minCharBeforeSearch":2, "modes":[
{
"All":{"url":"https://preprod.id.loc.gov/vocabulary/geographicAreas/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"https://preprod-8230.id.loc.gov/resources/works" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Hubs - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Hubs - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>&searchtype='keyword'"},
"Works - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Works - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>&searchtype='keyword'", "all":true},
}
]},
"https://preprod-8088.id.loc.gov/resources/works/" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Hubs - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Hubs - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>"},
"Works - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Works - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"https://preprod-8295.id.loc.gov/resources/works" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Hubs - Left Anchored":{"url":"https://preprod-8295.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Hubs - Keyword":{"url":"https://preprod-8295.id.loc.gov/resources/hubs/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>"},
"Works - Left Anchored":{"url":"https://preprod-8295.id.loc.gov/resources/works/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Works - Keyword":{"url":"https://preprod-8295.id.loc.gov/resources/works/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"https://preprod-8210.id.loc.gov/resources/works/" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Hubs - Left Anchored":{"url":"https://preprod-8295.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Hubs - Keyword":{"url":"https://preprod-8295.id.loc.gov/resources/hubs/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>"},
"Works - Left Anchored":{"url":"https://preprod-8295.id.loc.gov/resources/works/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Works - Keyword":{"url":"https://preprod-8295.id.loc.gov/resources/works/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"https://preprod-8295.id.loc.gov/resources/works/" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Hubs - Left Anchored":{"url":"https://preprod-8295.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Hubs - Keyword":{"url":"https://preprod-8295.id.loc.gov/resources/hubs/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>"},
"Works - Left Anchored":{"url":"https://preprod-8295.id.loc.gov/resources/works/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Works - Keyword":{"url":"https://preprod-8295.id.loc.gov/resources/works/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
// "https://preprod-8080.id.loc.gov/resources/works" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
// {
// "Works - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>&searchtype=keyword", "all":true},
// "Works - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
// "Hubs - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>&searchtype=keyword"},
// "Hubs - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
// }
// ]},
// "https://preprod-8080.id.loc.gov/resources/works/" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
// {
// "Works - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>", "all":true},
// "Works - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
// "Hubs - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>"},
// "Hubs - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
// }
// ]},
"https://preprod-8299.id.loc.gov/resources/music-related-works/" : {"name":"Mus Rel Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Left Anchored":{"url":"https://preprod-8299.id.loc.gov/resources/works/suggest2?q=<QUERY>&memberOf=http://id.loc.gov/resources/works/collection_music&count=25&offset=<OFFSET>"},
"Keyword":{"url":"https://preprod-8299.id.loc.gov/resources/works/suggest2?q=?<QUERY>&memberOf=http://id.loc.gov/resources/works/collection_music&count=25&offset=<OFFSET>","all":true},
}
]},
"https://preprod-8080.id.loc.gov/resources/music-related-works/" : {"name":"Mus Rel Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2?q=<QUERY>&memberOf=http://id.loc.gov/resources/works/collection_music&count=25&offset=<OFFSET>"},
"Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2?q=?<QUERY>&memberOf=http://id.loc.gov/resources/works/collection_music&count=25&offset=<OFFSET>","all":true},
}
]},
"https://preprod.id.loc.gov/resources/music-related-works/" : {"name":"Mus Rel Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2?q=<QUERY>&memberOf=http://id.loc.gov/resources/works/collection_music&count=25&offset=<OFFSET>"},
"Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/works/suggest2?q=?<QUERY>&memberOf=http://id.loc.gov/resources/works/collection_music&count=25&offset=<OFFSET>","all":true},
}
]},
"https://preprod-8295.id.loc.gov/resources/music-related-works/" : {"name":"Mus Rel Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Left Anchored":{"url":"https://preprod-8295.id.loc.gov/resources/works/suggest2?q=<QUERY>&memberOf=http://id.loc.gov/resources/works/collection_music&count=25&offset=<OFFSET>"},
"Keyword":{"url":"https://preprod-8295.id.loc.gov/resources/works/suggest2?q=?<QUERY>&memberOf=http://id.loc.gov/resources/works/collection_music&count=25&offset=<OFFSET>","all":true},
}
]},
"https://preprod-8080.id.loc.gov/resources/hubs" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Hubs - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Hubs - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>","all":true},
}
]},
"https://preprod-8080.id.loc.gov/resources/hubs/" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Hubs - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Hubs - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>","all":true},
}
]},
"https://id.loc.gov/resources/hubs" : {"name":"Works", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Hubs - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Hubs - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>","all":true},
}
]},
"https://preprod-8080.id.loc.gov/resources/hubs" : {"name":"Hubs", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"Hubs - Left Anchored":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>"},
"Hubs - Keyword":{"url":"https://preprod-8080.id.loc.gov/resources/hubs/suggest2/?q=?<QUERY>&count=25&offset=<OFFSET>","all":true},
}
]},
"https://preprod-8080.id.loc.gov/resources/instances" : {"name":"Instances", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"All":{"url":"https://preprod-8080.id.loc.gov/resources/instances/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"https://preprod-8230.id.loc.gov/resources/instances" : {"name":"Instances", "processor" : 'lcAuthorities', "type":"complex", "modes":[
{
"All":{"url":"https://preprod-8080.id.loc.gov/resources/instances/suggest2/?q=<QUERY>&count=25&offset=<OFFSET>", "all":true},
}
]},
"http://id.loc.gov/entities/roles" : {"name":"roles", "type":"complex", "modes":[]},
"http://id.loc.gov/resources/works" : {"name":"works", "type":"complex", "modes":[]},
"http://id.loc.gov/rwo/agents" : {"name":"agents", "type":"complex", "modes":[]},
"http://id.loc.gov/vocabulary/carriers" : {"name":"carriers", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/classSchemes" : {"name":"classSchemes", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/contentTypes" : {"name":"contentTypes", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/countries" : {"name":"countries", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/descriptionConventions" : {"name":"descriptionConventions", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/frequencies" : {"name":"frequencies", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/genreFormSchemes" : {"name":"genreFormSchemes", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/graphicMaterials" : {"name":"graphicMaterials", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/issuance" : {"name":"issuance", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/languages" : {"name":"languages", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/marcauthen" : {"name":"marcauthen", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/marcgt" : {"name":"marcgt", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/maspect" : {"name":"maspect", "type":"simple", "modes":[]},
// "http://id.loc.gov/vocabulary/maudience" : {"name":"maudience", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mbroadstd" : {"name":"mbroadstd", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mcapturestorage" : {"name":"mcapturestorage", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mcolor" : {"name":"mcolor", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mediaTypes" : {"name":"mediaTypes", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/menclvl" : {"name":"menclvl", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mfiletype" : {"name":"mfiletype", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mgeneration" : {"name":"mgeneration", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mgroove" : {"name":"mgroove", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/millus" : {"name":"millus", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mlayout" : {"name":"mlayout", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mmaterial" : {"name":"mmaterial", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mmusicformat" : {"name":"mmusicformat", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mmusnotation" : {"name":"mmusnotation", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mplayback" : {"name":"mplayback", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mpolarity" : {"name":"mpolarity", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mpresformat" : {"name":"mpresformat", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mproduction" : {"name":"mproduction", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mrecmedium" : {"name":"mrecmedium", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mrectype" : {"name":"mrectype", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mregencoding" : {"name":"mregencoding", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mrelief" : {"name":"mrelief", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mscale" : {"name":"mscale", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mscript" : {"name":"mscript", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/msoundcontent" : {"name":"msoundcontent", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mspecplayback" : {"name":"mspecplayback", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mstatus" : {"name":"mstatus", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/msupplcont" : {"name":"msupplcont", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/mtechnique" : {"name":"mtechnique", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/organizations" : {"name":"organizations", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/relators" : {"name":"relators", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/resourceComponents" : {"name":"resourceComponents", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/resourceTypes" : {"name":"resourceTypes", "type":"simple", "modes":[]},
"http://id.loc.gov/vocabulary/subjectSchemes" : {"name":"subjectSchemes", "type":"simple", "modes":[]},
"http://mlvlp04.loc.gov:3000/verso/api/configs?filter[where][configType]=noteTypes&filter[fields][json]=true" : {"name":"true", "type":"simple", "modes":[]},
"http://mlvlp04.loc.gov:8080/authorities/classification/G" : {"name":"G", "type":"simple", "modes":[]},
"http://mlvlp04.loc.gov:8230/resources/instances" : {"name":"instances", "type":"simple", "modes":[]},
"http://mlvlp04.loc.gov:8230/resources/works" : {"name":"works", "type":"simple", "modes":[]},
"http://mlvlp06.loc.gov:8288/resources/hubs" : {"name":"hubs", "type":"simple", "modes":[]},
"http://mlvlp06.loc.gov:8288/resources/works" : {"name":"works", "type":"simple", "modes":[]},
"http://rdaregistry.info/termList/RDAContentType/" : {"name":"RDAContentType/", "type":"simple", "modes":[]},
"http://www.rdaregistry.info/termList/RDAColourContent/" : {"name":"RDAColourContent/", "type":"simple", "modes":[]},
"https://lookup.ld4l.org/authorities/search/linked_data/dbpedia_ld4l_cache" : {"name":"dbpedia_ld4l_cache", "type":"simple", "modes":[]},
"https://lookup.ld4l.org/authorities/search/linked_data/getty_aat_ld4l_cache" : {"name":"getty_aat_ld4l_cache", "type":"simple", "modes":[]},
"https://www.wikidata.org/w/api.php" : {
"name":"wikidata",
"type":"complex",
"processor" : 'wikidataAPI',
"modes":[
{
'Wikidata':{"url":"https://www.wikidata.org/w/api.php?action=wbsearchentities&search=<QUERY>&format=json&errorformat=plaintext&language=en&uselang=en&type=item&origin=*", "all":true},
}
]
}
},
scriptShifterLangCodes
}),
getters: {
/**
* Returns the part of the config based on the current URL (or enviornment)
* @return {object} - The url config object
*/
returnUrls: (state) => {
// testing for window here because of running unit tests in node
if (typeof window !== 'undefined'){
if (window && (!window.location.href.includes('localhost:5555') && !window.location.href.includes('localhost:4444') && window.location.href.startsWith('http://localhost') || window.location.href.startsWith('http://127.0.0.1') )){
return state.regionUrls.dev
}else if (window && window.location.href.startsWith('https://preprod-3001')){
return state.regionUrls.staging
}else if (window && window.location.href.startsWith('https://editor.id')){
return state.regionUrls.production
}else if (window && window.location.href.includes('bibframe.org')){
return state.regionUrls.bibframeDotOrg
}else if (window && window.location.href.includes('localhost:4444')){
return state.regionUrls.externalDev
}else if (window && window.location.href.includes('localhost:5555')){
console.log(">>>>>>>playwrightTestConfig<<<<<<<<<")
return state.regionUrls.playwrightTestConfig
}else{
return state.regionUrls.dev
}
}else{
// if it gets here it means it is running uint tests probably,
// so return the playwrightTestConfig since it has the urls setup for external testing
return state.regionUrls.playwrightTestConfig
}
}
},
actions: {
/**
* Take a url and rewrites it to match the url pattern of the current enviornment
* @param {string} url - the url to modfidfy
* @return {string} - the url modified to the match the env
*/
convertToRegionUrl(url) {
let urls = this.returnUrls
if ((url.includes('/works/') || url.includes('/instances/') || url.includes('/items/') || url.includes('/hubs/') ) && url.includes('http://id.loc.gov') ){
url = url.replace('http://id.loc.gov/',urls.bfdb)
}
return url
},
/**
* Ask the scriptshifter endpoint for supported langauges
*
* @return {void} -
*/
async getScriptShifterLanguages() {
let req = await fetch(this.returnUrls.scriptshifter + 'languages')
this.scriptshifterLanguages = await req.json()
},
/**
* Ask the backend for the current version if out of date flip the flag
*
* @return {void} -
*/
async checkVersionOutOfDate() {
if (await utilsNetwork.checkVersionOutOfDate()){
this.showUpdateAvailableModal = true
}