@biblioteksentralen/bmdb-search 0.0.0-beta.37 → 0.0.0-beta.38

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.
@@ -190,14 +190,28 @@ interface components$1 {
190
190
  };
191
191
  /** @description The total number of results in the whole search result. */
192
192
  total: number;
193
+ /** @description Unique identifier for the entity. */
194
+ Id: string;
193
195
  /** @description A Work is defined as "The intellectual or artistic content of a distinct creation" (Library Reference Model)
194
196
  * It is the top level and most abstract entity in the WEMI stack (Work, Expression, Manifestation, Item), and serves to cluster all expressions of what one could consider "the same book" (or e.g. same play, film, game, etc.) in different formats and languages.
195
197
  * While the work is an abstract entity, convention is to assign it a title, language and year in order to aid with identifying the work. */
196
198
  BaseWork: {
197
199
  /** @constant */
198
200
  entityType: "work";
199
- /** @description Cordata work ID. */
200
- id: string;
201
+ id: components$1["schemas"]["Id"];
202
+ /** @description Map of other identifiers for the entity */
203
+ identifiers: {
204
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
205
+ bibbiAuthorityId: string;
206
+ /** @description Identifier for an equivalent work in Deichman's catalogue. */
207
+ deichmanWorkId?: string;
208
+ /** @description Identifier for a work in the National Library of Norway's (abandonded) registry of works. */
209
+ nbWorkId?: string;
210
+ /** @description Identifier for the BMDB entity from id.nb.no */
211
+ nbBmdbUri?: string;
212
+ /** @description Identifier for the work in the Internet Movie Database (IMDb). */
213
+ imdbId?: string;
214
+ };
201
215
  /** @description The year in which the representative expression of the work was published or released. */
202
216
  workYear?: number;
203
217
  isShortWork: boolean;
@@ -350,7 +364,7 @@ interface components$1 {
350
364
  };
351
365
  AgentIdentifiers: {
352
366
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
353
- bibbiAuthorityId?: string;
367
+ bibbiAuthorityId: string;
354
368
  /** @description Unique ID assigned to an agent in Bokbasen. */
355
369
  bokbasenId?: string;
356
370
  /** @description International Standard Name Identifier. Format: 16 digits without hyphens. */
@@ -377,12 +391,12 @@ interface components$1 {
377
391
  type: "Place";
378
392
  /** @constant */
379
393
  entityType: "place";
380
- id: string;
394
+ id: components$1["schemas"]["Id"];
381
395
  placeType?: components$1["schemas"]["CordataEnumPlaceTypeCode"];
382
396
  /** @description Map of identifiers for matching records in external systems. */
383
397
  identifiers: {
384
398
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
385
- bibbiAuthorityId?: string;
399
+ bibbiAuthorityId: string;
386
400
  };
387
401
  name: components$1["schemas"]["LanguageMap"];
388
402
  specification?: string;
@@ -401,7 +415,7 @@ interface components$1 {
401
415
  type: "Nationality";
402
416
  /** @constant */
403
417
  entityType: "nationality";
404
- id: string;
418
+ id: components$1["schemas"]["Id"];
405
419
  demonym: string;
406
420
  code: string;
407
421
  scopeNote?: string;
@@ -423,7 +437,7 @@ interface components$1 {
423
437
  type: "Person";
424
438
  /** @constant */
425
439
  entityType: "agent";
426
- id: string;
440
+ id: components$1["schemas"]["Id"];
427
441
  /** @description Map of identifiers for matching records in external systems. */
428
442
  identifiers: components$1["schemas"]["AgentIdentifiers"];
429
443
  /** @description The preferred name or other moniker of the person, in uninverted format. */
@@ -470,7 +484,7 @@ interface components$1 {
470
484
  type: "CollectiveAgent";
471
485
  /** @constant */
472
486
  entityType: "agent";
473
- id: string;
487
+ id: components$1["schemas"]["Id"];
474
488
  collectiveAgentType: components$1["schemas"]["CordataEnumCollectiveAgentTypeCode"];
475
489
  /** @description Map of identifiers for matching records in external systems. */
476
490
  identifiers: components$1["schemas"]["AgentIdentifiers"];
@@ -489,7 +503,7 @@ interface components$1 {
489
503
  type: "ArtificialAgent";
490
504
  /** @constant */
491
505
  entityType: "agent";
492
- id: string;
506
+ id: components$1["schemas"]["Id"];
493
507
  /** @description Map of identifiers for matching records in external systems. */
494
508
  identifiers: components$1["schemas"]["AgentIdentifiers"];
495
509
  /** @description The preferred name of the Artificial Agent. */
@@ -503,19 +517,52 @@ interface components$1 {
503
517
  Agent: components$1["schemas"]["Person"] | components$1["schemas"]["CollectiveAgent"] | components$1["schemas"]["ArtificialAgent"];
504
518
  /** @enum {string} */
505
519
  CordataEnumContributorRoleCode: "abridger" | "actor" | "antecedent" | "arranger" | "artist" | "author" | "book_designer" | "colorist" | "commentary_writer" | "commenter" | "compilation_editor" | "compiler" | "composer" | "conceptor" | "conductor" | "consultant" | "contributor" | "copyright_holder" | "cover_designer" | "curator" | "degree_granting_institution" | "designer" | "director" | "editor" | "enacting_jurisdiction" | "game_developer" | "honoree" | "illustrator" | "instrumentalist" | "interviewee" | "interviewer" | "issuing_body" | "lead" | "librettist" | "licensor" | "lyricist" | "musician" | "narrator" | "other" | "performer" | "photographer" | "production_company" | "project_director" | "publisher" | "reteller" | "screenwriter" | "singer" | "translator" | "voice_actor";
520
+ CordataEnumContributorRole: {
521
+ code: components$1["schemas"]["CordataEnumContributorRoleCode"];
522
+ label: {
523
+ nb: string;
524
+ nn: string;
525
+ };
526
+ };
506
527
  /** @description A Role is the function that an Agent (Person or Collective Agent) plays in the process of producing a Work, Expression or Manifestation. */
507
- Role: {
508
- /** @constant */
509
- type: "Role";
528
+ Role: components$1["schemas"]["CordataEnumContributorRole"] & {
529
+ identifiers: {
530
+ /** @description The closest equivalent from the {@link https://www.loc.gov/marc/relators/relaterm.html MARC 21 Code list for relators } . */
531
+ marc21Code?: string;
532
+ /** @description The closest equivalent for the role in the (deprecated) NORMARC list of relators. Undefined for roles that don't have a close NORMARC equivalent. */
533
+ normarcCode?: string;
534
+ bibframeRelator?: string;
535
+ rdaRelator?: string;
536
+ };
537
+ /**
538
+ * @deprecated
539
+ * @description Use `code` instead.
540
+ */
510
541
  id: string;
511
- code: components$1["schemas"]["CordataEnumContributorRoleCode"];
512
- /** @description Human-readable label (in Norwegian bokmål) for the role, e.g. "Forfatter", "Bokomslagsdesigner" */
513
- label: components$1["schemas"]["LanguageMap"];
514
- /** @description The closest equivalent from the {@link https://www.loc.gov/marc/relators/relaterm.html MARC 21 Code list for relators } . */
542
+ /**
543
+ * @deprecated
544
+ * @constant
545
+ */
546
+ type: "Role";
547
+ /**
548
+ * @deprecated
549
+ * @description Use `identifiers.marc21Code` instead.
550
+ */
515
551
  marc21Code?: string;
516
- /** @description The closest equivalent for the role in the (deprecated) NORMARC list of relators. Undefined for roles that don't have a close NORMARC equivalent. */
552
+ /**
553
+ * @deprecated
554
+ * @description Use `identifiers.normarcCode` instead.
555
+ */
517
556
  normarcCode?: string;
557
+ /**
558
+ * @deprecated
559
+ * @description Use `identifiers.bibframeRelator` instead.
560
+ */
518
561
  bibframeRelator?: string;
562
+ /**
563
+ * @deprecated
564
+ * @description Use `identifiers.rdaRelator` instead.
565
+ */
519
566
  rdaRelator?: string;
520
567
  };
521
568
  /** @description A Contributor object links a {@link Work } , {@link Expression } , {@link Manifestation } , {@link CollectionExpression } or {@link CollectionWork } to an {@link Agent } which has contributed to the entity and the Role the Agent played in the creation of the entity. */
@@ -538,61 +585,101 @@ interface components$1 {
538
585
  };
539
586
  /** @enum {string} */
540
587
  CordataEnumAgeGroupCode: "a" | "aa" | "b" | "bu" | "j" | "mu" | "u" | "v" | "vu";
588
+ CordataEnumAgeGroup: {
589
+ code: components$1["schemas"]["CordataEnumAgeGroupCode"];
590
+ label: {
591
+ nb: string;
592
+ nn: string;
593
+ };
594
+ };
541
595
  /** @description A recommended age group for the audience of a work.
542
596
  *
543
597
  * For age limits and ratings for games and audiovisual material, see {@link ageRating } .
544
598
  *
545
599
  * The age group vocabulary was developed by Biblioteksentralen and later incorporated into the Norwegian National Library's {@link https://www.nb.no/nbvok/tg/nb/ Nortarget vocabulary } */
546
- AgeGroup: {
547
- /** @constant */
548
- type: "AgeGroup";
549
- /** @constant */
550
- entityType: "age_group";
600
+ AgeGroup: components$1["schemas"]["CordataEnumAgeGroup"] & {
601
+ /** @description Map of other identifiers for the entity */
602
+ identifiers: {
603
+ /** @description URI for the corresponding concept in National Library's [Vocabulary of target groups (nortarget)](https://www.nb.no/nbvok/tg/nb/). */
604
+ nbVokUri?: string;
605
+ /**
606
+ * @description Code for the age group in PLAS.
607
+ * @enum {string}
608
+ */
609
+ plasCode?: "child" | "youngAdult" | "adult";
610
+ /** @description Value from MARC 21 field 008/22 <https://www.loc.gov/marc/bibliographic/bd008b.html>. */
611
+ marc21Code?: string;
612
+ };
551
613
  /**
552
614
  * @deprecated
553
615
  * @description Use `code` instead
554
616
  */
555
617
  id: string;
556
- code: components$1["schemas"]["CordataEnumAgeGroupCode"];
557
618
  /**
558
- * @description Code for the age group in PLAS.
619
+ * @deprecated
620
+ * @constant
621
+ */
622
+ type?: "AgeGroup";
623
+ /**
624
+ * @deprecated
625
+ * @constant
626
+ */
627
+ entityType: "age_group";
628
+ /**
629
+ * @deprecated
630
+ * @description Use `label` instead.
631
+ */
632
+ name: components$1["schemas"]["LanguageMap"];
633
+ /**
634
+ * @deprecated
635
+ * @description Use `identifiers.nbVokUri` instead.
636
+ */
637
+ nortargetUri?: string;
638
+ /**
639
+ * @deprecated
640
+ * @description Use `identifiers.plasCode` instead.
559
641
  * @enum {string}
560
642
  */
561
643
  plasCode?: "child" | "youngAdult" | "adult";
562
- /** @description Value from MARC 21 field 008/22 <https://www.loc.gov/marc/bibliographic/bd008b.html>. */
644
+ /**
645
+ * @deprecated
646
+ * @description Use `identifiers.marc21Code` instead.
647
+ */
563
648
  marc21Code?: string;
564
- /** @description The name of the age group in Norwegian bokmål/nynorsk. */
565
- name: components$1["schemas"]["LanguageMap"];
566
- /** @description URI for the corresponding concept in National Library's [Vocabulary of target groups (nortarget)](https://www.nb.no/nbvok/tg/nb/). */
567
- nortargetUri?: string;
568
649
  };
569
- /** @description Age limits following the {@link https://pegi.info/page/pegi-age-ratings PEGI age ratings } */
570
- PegiAgeLimit: {
571
- /** @constant */
572
- type: "PegiAgeLimit";
573
- /** @constant */
574
- entityType: "age_limit";
575
- /** @description Age suitability in years. A value of 0 years indicates suitable for everyone. */
576
- years: number;
577
- /** @description URI of the PEGI age limit from https://www.nb.no/nbvok/pegi */
578
- uri: string;
579
- id: string;
650
+ /** @enum {string} */
651
+ CordataEnumAgeLimitCode: "nma12" | "nma15" | "nma18" | "nma6" | "nma9" | "nmaa" | "pegi12" | "pegi16" | "pegi18" | "pegi3" | "pegi7";
652
+ CordataEnumAgeLimit: {
653
+ code: components$1["schemas"]["CordataEnumAgeLimitCode"];
654
+ label: {
655
+ nb: string;
656
+ nn: string;
657
+ };
580
658
  };
581
- /** @description Age limits following {@link https://www.medietilsynet.no/barn-og-medier/aldersgrenser Medietilsynet } */
582
- NmaAgeLimit: {
583
- /** @constant */
584
- type: "NmaAgeLimit";
585
- /** @constant */
586
- entityType: "age_limit";
659
+ AgeLimit: components$1["schemas"]["CordataEnumAgeLimit"] & {
660
+ /** @enum {string} */
661
+ type: "PegiAgeLimit" | "NmaAgeLimit";
587
662
  /** @description Age suitability in years. A value of 0 years indicates suitable for everyone. */
588
663
  years: number;
589
- /** @description URI of the NMA age limit from https://www.nb.no/nbvok/nma */
664
+ /** @description Map of other identifiers for the entity */
665
+ identifiers: {
666
+ /** @description URI of the PEGI age limit from https://www.nb.no/nbvok/pegi or NMA age limit from https://www.nb.no/nbvok/nma
667
+ * */
668
+ uri: string;
669
+ };
670
+ /**
671
+ * @deprecated
672
+ * @constant
673
+ */
674
+ entityType: "age_limit";
675
+ /**
676
+ * @deprecated
677
+ * @description Use `identifier.uri` instead.
678
+ */
590
679
  uri: string;
591
- id: string;
592
680
  };
593
- AgeLimit: components$1["schemas"]["PegiAgeLimit"] | components$1["schemas"]["NmaAgeLimit"];
594
681
  SubjectBase: {
595
- id: string;
682
+ id: components$1["schemas"]["Id"];
596
683
  /** @description The preferred display name for the subject. */
597
684
  name: components$1["schemas"]["LanguageMap"];
598
685
  /** @description Variant spellings and other names the subject is known by. */
@@ -609,11 +696,11 @@ interface components$1 {
609
696
  entityType: "concept";
610
697
  conceptType: components$1["schemas"]["CordataEnumConceptTypeCode"];
611
698
  /** @description Map of identifiers for matching records in external systems. */
612
- identifiers?: {
699
+ identifiers: {
700
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
701
+ bibbiAuthorityId: string;
613
702
  /** @description Identifier from Norske emneord (NEO). */
614
703
  neoUri?: string;
615
- /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
616
- bibbiAuthorityId?: string;
617
704
  };
618
705
  };
619
706
  /** @description A Place is a geographic entity, including geopolitical and geographic features such as cities, countries, rivers, oceans, national parks etc. */
@@ -624,11 +711,11 @@ interface components$1 {
624
711
  entityType: "place";
625
712
  placeType?: components$1["schemas"]["CordataEnumPlaceTypeCode"];
626
713
  /** @description Map of identifiers for matching records in external systems. */
627
- identifiers?: {
714
+ identifiers: {
628
715
  /** @description Identifier from Norske emneord (NEO). */
629
716
  neoUri?: string;
630
717
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
631
- bibbiAuthorityId?: string;
718
+ bibbiAuthorityId: string;
632
719
  };
633
720
  };
634
721
  /** @description A Person is a subclass of Agent consisting of agents that are or purport to be individual persons.
@@ -641,7 +728,7 @@ interface components$1 {
641
728
  /** @constant */
642
729
  entityType: "agent";
643
730
  /** @description Map of identifiers for matching records in external systems. */
644
- identifiers?: components$1["schemas"]["AgentIdentifiers"];
731
+ identifiers: components$1["schemas"]["AgentIdentifiers"];
645
732
  };
646
733
  /** @description A Collective Agent is defined as "A gathering or organization of persons bearing a particular name and capable of acting as a unit" {@link https://www.iflastandards.info/lrm/lrmer#E8 Library Reference Model }
647
734
  *
@@ -668,11 +755,11 @@ interface components$1 {
668
755
  /** @constant */
669
756
  entityType: "event";
670
757
  /** @description Map of identifiers for matching records in external systems. */
671
- identifiers?: {
758
+ identifiers: {
759
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
760
+ bibbiAuthorityId: string;
672
761
  /** @description Identifier from Norske emneord (NEO). */
673
762
  neoUri?: string;
674
- /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
675
- bibbiAuthorityId?: string;
676
763
  };
677
764
  };
678
765
  /** @description A Work is defined as "The intellectual or artistic content of a distinct creation" (Library Reference Model)
@@ -684,8 +771,8 @@ interface components$1 {
684
771
  /** @constant */
685
772
  entityType: "work";
686
773
  /** @description Map of identifiers for matching records in external systems. */
687
- identifiers?: {
688
- bibbiAuthorityId?: string;
774
+ identifiers: {
775
+ bibbiAuthorityId: string;
689
776
  };
690
777
  };
691
778
  /** @enum {string} */
@@ -699,8 +786,8 @@ interface components$1 {
699
786
  entityType: "collection_work";
700
787
  collectionType: components$1["schemas"]["CordataEnumCollectionTypeCode"];
701
788
  /** @description Map of identifiers for matching records in external systems. */
702
- identifiers?: {
703
- bibbiAuthorityId?: string;
789
+ identifiers: {
790
+ bibbiAuthorityId: string;
704
791
  };
705
792
  };
706
793
  Subject: components$1["schemas"]["SubjectTypeConcept"] | components$1["schemas"]["SubjectTypePlace"] | components$1["schemas"]["SubjectTypePerson"] | components$1["schemas"]["SubjectTypeCollectiveAgent"] | components$1["schemas"]["SubjectTypeEvent"] | components$1["schemas"]["SubjectTypeWork"] | components$1["schemas"]["SubjectTypeCollection"];
@@ -714,11 +801,11 @@ interface components$1 {
714
801
  type: "Genre";
715
802
  /** @constant */
716
803
  entityType: "genre";
717
- id: string;
804
+ id: components$1["schemas"]["Id"];
718
805
  /** @description Map of identifiers for matching records in external systems. */
719
806
  identifiers: {
720
807
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
721
- bibbiAuthorityId?: string;
808
+ bibbiAuthorityId: string;
722
809
  /** @description ID from the Norsk tesaurus for sjanger og form, (@link https://www.nb.no/nbvok/ntsf/nb/ | NTSF). */
723
810
  ntsfId?: string;
724
811
  /** @description Identifier for a concept in «Emneord for musikk», a controlled vocabulary of music terminology from the Norwegian Music Library Association (NMBF) published by the Bergen Library (@link https://bergenbibliotek.no/musikkogfilm/emneord-for-musikk/komposisjonstype-og-sjanger/sjanger | NMBF). The published vocabulary does not have persistent identifiers for the concepts, so identifiers are derived from the terms. */
@@ -740,7 +827,7 @@ interface components$1 {
740
827
  type: "GrepSubject";
741
828
  /** @constant */
742
829
  entityType: "grep";
743
- id: string;
830
+ id: components$1["schemas"]["Id"];
744
831
  code: string;
745
832
  uri: string;
746
833
  name: components$1["schemas"]["LanguageMap"];
@@ -765,6 +852,10 @@ interface components$1 {
765
852
  * See also the manifestation property `accessibleFormat`, which describes accessibility features which are related to format, not content, such as larger font size or dyslexia friendly fonts. */
766
853
  AccessibleContentFeature: {
767
854
  type: string;
855
+ /**
856
+ * @deprecated
857
+ * @description Use `code` instead.
858
+ */
768
859
  id: string;
769
860
  code: components$1["schemas"]["CordataEnumAccessibleContentCode"];
770
861
  label: components$1["schemas"]["LanguageMap"];
@@ -811,16 +902,15 @@ interface components$1 {
811
902
  type: "CollectionExpression";
812
903
  /** @constant */
813
904
  entityType: "collection_expression";
814
- id: string;
815
- /** @description TODO */
816
- expressionType?: components$1["schemas"]["CordataEnumExpressionType"];
905
+ id: components$1["schemas"]["Id"];
817
906
  /** @description Map of other identifiers for the entity */
818
907
  identifiers: {
819
908
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
820
- bibbiAuthorityId?: string;
909
+ bibbiAuthorityId: string;
821
910
  /** @description Identifier for the BMDB entity from id.nb.no */
822
911
  nbBmdbUri?: string;
823
912
  };
913
+ expressionType?: components$1["schemas"]["CordataEnumExpressionType"];
824
914
  /** @description Preferred title of the Collection expression. See {@link Title } for individual components of title. */
825
915
  preferredTitle: components$1["schemas"]["RegularTitle"];
826
916
  /**
@@ -870,15 +960,11 @@ interface components$1 {
870
960
  type: "CollectionWork";
871
961
  /** @constant */
872
962
  entityType: "collection_work";
873
- id: string;
874
- collectionType: components$1["schemas"]["CordataEnumCollectionTypeCode"];
875
- workType?: components$1["schemas"]["CordataEnumWorkType"];
876
- /** @description TODO */
877
- literatureType?: components$1["schemas"]["LiteratureType"];
963
+ id: components$1["schemas"]["Id"];
878
964
  /** @description Map of other identifiers for the entity */
879
965
  identifiers: {
880
966
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
881
- bibbiAuthorityId?: string;
967
+ bibbiAuthorityId: string;
882
968
  /** @description Identifier for the BMDB entity from id.nb.no */
883
969
  nbBmdbUri?: string;
884
970
  /** @description Identifier for the entity from IMDb */
@@ -886,6 +972,10 @@ interface components$1 {
886
972
  /** @description Identifier for the entity from Wikidata */
887
973
  wikidataId?: string;
888
974
  };
975
+ collectionType: components$1["schemas"]["CordataEnumCollectionTypeCode"];
976
+ workType?: components$1["schemas"]["CordataEnumWorkType"];
977
+ /** @description TODO */
978
+ literatureType?: components$1["schemas"]["LiteratureType"];
889
979
  /** @description Preferred title of Collection work.
890
980
  *
891
981
  * See {@link Title } for individual components of title. */
@@ -938,6 +1028,8 @@ interface components$1 {
938
1028
  };
939
1029
  /** @description A video game platform. */
940
1030
  Platform: components$1["schemas"]["CordataEnumPlatform"] & {
1031
+ /** @description Abbreviated name of the platform. Example: "PS4" */
1032
+ abbreviatedName?: string;
941
1033
  /**
942
1034
  * @deprecated
943
1035
  * @description Use `code` instead.
@@ -948,15 +1040,13 @@ interface components$1 {
948
1040
  * @description Use `label` instead.
949
1041
  */
950
1042
  name: string;
951
- /** @description Abbreviated name of the platform. Example: "PS4" */
952
- abbreviatedName?: string;
953
1043
  };
954
1044
  MusicInstrument: {
955
1045
  /** @constant */
956
1046
  type: "MusicInstrument";
957
1047
  /** @constant */
958
1048
  entityType: "music_instrument";
959
- id: string;
1049
+ id: components$1["schemas"]["Id"];
960
1050
  name: components$1["schemas"]["LanguageMap"];
961
1051
  alternativeNames?: components$1["schemas"]["LanguageMapList"];
962
1052
  };
@@ -968,6 +1058,31 @@ interface components$1 {
968
1058
  numberOfPerformers?: number;
969
1059
  }[];
970
1060
  };
1061
+ /** @description Map of other identifiers for the entity */
1062
+ ManifestationIdentifiers: {
1063
+ /** @description ID assigned to all publications catalogued by Biblioteksentralen. */
1064
+ bibbiId: string;
1065
+ /**
1066
+ * @deprecated
1067
+ * @description SKU (varenummer) assigned to products in Biblioteksentralen's webshop.
1068
+ */
1069
+ bibsentSku?: string;
1070
+ /** @description Unique ID assigned to a publication in Bibliofil. Shared by all Bibliofil libraries. */
1071
+ bibliofilId?: string;
1072
+ /** @description Unique ID assigned to a publication in Bokbasen. */
1073
+ bokbasenId?: string;
1074
+ /** @description Identifier for a movie in Filmoteket. Can be used to generate URLs: <https://filmoteket.no/film/{filmoteketId}> */
1075
+ filmoteketId?: string;
1076
+ /** @description Identifier for a movie in Cineast. Can be used to generate URLs: <https://www.cineast.no/no/library/400/title/{cineastId}> */
1077
+ cineastId?: string;
1078
+ /**
1079
+ * @deprecated
1080
+ * @description Identifier for a movie in IMDB. Deprecated, see work.identifiers.imdbId instead
1081
+ */
1082
+ imdbId?: string;
1083
+ /** @description Identifier for the BMDB entity from id.nb.no */
1084
+ nbBmdbUri?: string;
1085
+ };
971
1086
  ManifestationVariantTitle: {
972
1087
  /** @description The type of title. Only used for variant titles. */
973
1088
  titleType?: components$1["schemas"]["TitleType"];
@@ -1026,7 +1141,7 @@ interface components$1 {
1026
1141
  type: "Imprint";
1027
1142
  /** @constant */
1028
1143
  entityType: "imprint";
1029
- id: string;
1144
+ id: components$1["schemas"]["Id"];
1030
1145
  /** @description Map of identifiers for matching records in external systems. */
1031
1146
  identifiers: {
1032
1147
  /** @description Unique ID assigned to an imprint in Bokbasen. */
@@ -1074,29 +1189,8 @@ interface components$1 {
1074
1189
  type: "Manifestation";
1075
1190
  /** @constant */
1076
1191
  entityType: "manifestation";
1077
- id: string;
1078
- /** @description Map of other identifiers for the entity */
1079
- identifiers: {
1080
- /** @description ID assigned to all publications catalogued by Biblioteksentralen. */
1081
- bibbiId?: string;
1082
- /** @description SKU (varenummer) assigned to products in Biblioteksentralen's webshop. */
1083
- bibsentSku?: string;
1084
- /** @description Unique ID assigned to a publication in Bibliofil. Shared by all Bibliofil libraries. */
1085
- bibliofilId?: string;
1086
- /** @description Unique ID assigned to a publication in Bokbasen. */
1087
- bokbasenId?: string;
1088
- /** @description Identifier for a movie in Filmoteket. Can be used to generate URLs: <https://filmoteket.no/film/{filmoteketId}> */
1089
- filmoteketId?: string;
1090
- /** @description Identifier for a movie in Cineast. Can be used to generate URLs: <https://www.cineast.no/no/library/400/title/{cineastId}> */
1091
- cineastId?: string;
1092
- /**
1093
- * @deprecated
1094
- * @description Identifier for a movie in IMDB. Deprecated, see work.identifiers.imdbId instead
1095
- */
1096
- imdbId?: string;
1097
- /** @description Identifier for the BMDB entity from id.nb.no */
1098
- nbBmdbUri?: string;
1099
- };
1192
+ id: components$1["schemas"]["Id"];
1193
+ identifiers: components$1["schemas"]["ManifestationIdentifiers"];
1100
1194
  createDate?: string;
1101
1195
  updateDate?: string;
1102
1196
  /** @description Preferred title of manifestation.
@@ -1203,9 +1297,11 @@ interface components$1 {
1203
1297
  type: "Expression";
1204
1298
  /** @constant */
1205
1299
  entityType: "expression";
1206
- id: string;
1300
+ id: components$1["schemas"]["Id"];
1207
1301
  /** @description Map of other identifiers for the entity */
1208
1302
  identifiers?: {
1303
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
1304
+ bibbiAuthorityId: string;
1209
1305
  /** @description Identifier for the BMDB entity from id.nb.no */
1210
1306
  nbBmdbUri?: string;
1211
1307
  };
@@ -1264,19 +1360,6 @@ interface components$1 {
1264
1360
  */
1265
1361
  workTypes: components$1["schemas"]["WorkType"][];
1266
1362
  literatureType?: components$1["schemas"]["LiteratureType"];
1267
- /** @description Map of other identifiers for the entity */
1268
- identifiers: {
1269
- /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
1270
- bibbiAuthorityId?: string;
1271
- /** @description Identifier for an equivalent work in Deichman's catalogue. */
1272
- deichmanWorkId?: string;
1273
- /** @description Identifier for a work in the National Library of Norway's (abandonded) registry of works. */
1274
- nbWorkId?: string;
1275
- /** @description Identifier for the BMDB entity from id.nb.no */
1276
- nbBmdbUri?: string;
1277
- /** @description Identifier for the work in the Internet Movie Database (IMDb). */
1278
- imdbId?: string;
1279
- };
1280
1363
  /**
1281
1364
  * @deprecated
1282
1365
  * @description Use `preferredTitle` instead.
@@ -1640,7 +1723,7 @@ interface paths {
1640
1723
  patch?: never;
1641
1724
  trace?: never;
1642
1725
  };
1643
- "/{searchProfile}/manifestations/summary": {
1726
+ "/{searchProfile}/local-manifestations": {
1644
1727
  parameters: {
1645
1728
  query?: never;
1646
1729
  header?: never;
@@ -1648,11 +1731,11 @@ interface paths {
1648
1731
  cookie?: never;
1649
1732
  };
1650
1733
  /**
1651
- * Get manifestation summaries
1652
- * @description Endpoint for getting manifestation summaries. When using search profile `global`, the IDs should be bibbi authority ID's, otherwise local library system IDs.
1734
+ * Get local manifestations
1735
+ * @description Endpoint for getting local manifestations. When using search profile `global`, the IDs should be bibbi authority ID's, otherwise local library system IDs.
1653
1736
  *
1654
1737
  */
1655
- get: operations["getManifestationSummaries"];
1738
+ get: operations["getLocalManifestations"];
1656
1739
  put?: never;
1657
1740
  post?: never;
1658
1741
  delete?: never;
@@ -1888,14 +1971,28 @@ interface components {
1888
1971
  WorkSearchFacetType: "work_type" | "expression_type" | "manifestation_medium" | "creator" | "collection" | "subject" | "language" | "original_language" | "form" | "genre" | "age_limit" | "age_group" | "grep_subject" | "kulturfond" | "literature_type" | "catalogue" | "is_short_work" | "instrumentation";
1889
1972
  /** @description The total number of results in the whole search result. */
1890
1973
  total: number;
1974
+ /** @description Unique identifier for the entity. */
1975
+ Id: string;
1891
1976
  /** @description A Work is defined as "The intellectual or artistic content of a distinct creation" (Library Reference Model)
1892
1977
  * It is the top level and most abstract entity in the WEMI stack (Work, Expression, Manifestation, Item), and serves to cluster all expressions of what one could consider "the same book" (or e.g. same play, film, game, etc.) in different formats and languages.
1893
1978
  * While the work is an abstract entity, convention is to assign it a title, language and year in order to aid with identifying the work. */
1894
1979
  BaseWork: {
1895
1980
  /** @constant */
1896
1981
  entityType: "work";
1897
- /** @description Cordata work ID. */
1898
- id: string;
1982
+ id: components["schemas"]["Id"];
1983
+ /** @description Map of other identifiers for the entity */
1984
+ identifiers: {
1985
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
1986
+ bibbiAuthorityId: string;
1987
+ /** @description Identifier for an equivalent work in Deichman's catalogue. */
1988
+ deichmanWorkId?: string;
1989
+ /** @description Identifier for a work in the National Library of Norway's (abandonded) registry of works. */
1990
+ nbWorkId?: string;
1991
+ /** @description Identifier for the BMDB entity from id.nb.no */
1992
+ nbBmdbUri?: string;
1993
+ /** @description Identifier for the work in the Internet Movie Database (IMDb). */
1994
+ imdbId?: string;
1995
+ };
1899
1996
  /** @description The year in which the representative expression of the work was published or released. */
1900
1997
  workYear?: number;
1901
1998
  isShortWork: boolean;
@@ -1956,6 +2053,10 @@ interface components {
1956
2053
  };
1957
2054
  /** @enum {string} */
1958
2055
  CordataEnumAgeGroupCode: "a" | "aa" | "b" | "bu" | "j" | "mu" | "u" | "v" | "vu";
2056
+ CordataEnumAgeGroupTranslated: {
2057
+ code: components["schemas"]["CordataEnumAgeGroupCode"];
2058
+ label: string;
2059
+ };
1959
2060
  /** @enum {string} */
1960
2061
  CordataEnumCollectiveAgentTypeCode: "conference" | "corporation" | "family" | "music_group" | "publisher";
1961
2062
  CordataEnumCollectiveAgentTypeTranslated: {
@@ -1966,7 +2067,11 @@ interface components {
1966
2067
  /** @constant */
1967
2068
  entityType: "agent";
1968
2069
  collectiveAgentType?: components["schemas"]["CordataEnumCollectiveAgentTypeTranslated"];
1969
- id: string;
2070
+ id: components["schemas"]["Id"];
2071
+ identifiers: {
2072
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2073
+ bibbiAuthorityId: string;
2074
+ };
1970
2075
  /** @description TODO */
1971
2076
  name: string;
1972
2077
  /** @description The moniker written in sorting order according to bibliographic convention, typically inverted as "Lastname, Firstname". */
@@ -2020,7 +2125,11 @@ interface components {
2020
2125
  type: "WorkSummaryCollection";
2021
2126
  /** @constant */
2022
2127
  entityType: "collection_work";
2023
- id: string;
2128
+ id: components["schemas"]["Id"];
2129
+ identifiers: {
2130
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2131
+ bibbiAuthorityId: string;
2132
+ };
2024
2133
  collectionType: components["schemas"]["CordataEnumCollectionTypeTranslated"];
2025
2134
  /** @description Preferred title of Collection work.
2026
2135
  *
@@ -2058,7 +2167,7 @@ interface components {
2058
2167
  type: "WorkSummaryForm";
2059
2168
  /** @constant */
2060
2169
  entityType: "genre";
2061
- id: string;
2170
+ id: components["schemas"]["Id"];
2062
2171
  label: string;
2063
2172
  }[];
2064
2173
  genres?: {
@@ -2066,7 +2175,7 @@ interface components {
2066
2175
  type: "WorkSummaryGenre";
2067
2176
  /** @constant */
2068
2177
  entityType: "genre";
2069
- id: string;
2178
+ id: components["schemas"]["Id"];
2070
2179
  label: string;
2071
2180
  }[];
2072
2181
  subjects?: {
@@ -2074,19 +2183,26 @@ interface components {
2074
2183
  type: "WorkSummarySubject";
2075
2184
  /** @constant */
2076
2185
  entityType: "subject";
2077
- id: string;
2186
+ id: components["schemas"]["Id"];
2078
2187
  label: string;
2079
2188
  }[];
2080
- ageGroups?: {
2189
+ ageGroups?: (components["schemas"]["CordataEnumAgeGroupTranslated"] & {
2081
2190
  /**
2082
2191
  * @deprecated
2083
2192
  * @description Use `code` instead.
2084
2193
  */
2085
2194
  id: string;
2086
- code: components["schemas"]["CordataEnumAgeGroupCode"];
2195
+ /** @description Map of other identifiers for the entity */
2196
+ identifiers: {
2197
+ /** @description URI for the corresponding concept in National Library's [Vocabulary of target groups (nortarget)](https://www.nb.no/nbvok/tg/nb/). */
2198
+ nbVokUri?: string;
2199
+ };
2200
+ /**
2201
+ * @deprecated
2202
+ * @description Use `identifiers.nbVokUri` instead.
2203
+ */
2087
2204
  nbVokUri?: string;
2088
- label: string;
2089
- }[];
2205
+ })[];
2090
2206
  /** @description A representative cover image. */
2091
2207
  coverImage?: string;
2092
2208
  /** @description List of contributors to the *work* in the form of * {@link Agent agents } * (persons or organizations) and their * {@link Role roles } * in the creation of the work.
@@ -2295,7 +2411,7 @@ interface components {
2295
2411
  };
2296
2412
  AgentIdentifiers: {
2297
2413
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2298
- bibbiAuthorityId?: string;
2414
+ bibbiAuthorityId: string;
2299
2415
  /** @description Unique ID assigned to an agent in Bokbasen. */
2300
2416
  bokbasenId?: string;
2301
2417
  /** @description International Standard Name Identifier. Format: 16 digits without hyphens. */
@@ -2322,12 +2438,12 @@ interface components {
2322
2438
  type: "Place";
2323
2439
  /** @constant */
2324
2440
  entityType: "place";
2325
- id: string;
2441
+ id: components["schemas"]["Id"];
2326
2442
  placeType?: components["schemas"]["CordataEnumPlaceTypeCode"];
2327
2443
  /** @description Map of identifiers for matching records in external systems. */
2328
2444
  identifiers: {
2329
2445
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2330
- bibbiAuthorityId?: string;
2446
+ bibbiAuthorityId: string;
2331
2447
  };
2332
2448
  name: components["schemas"]["LanguageMap"];
2333
2449
  specification?: string;
@@ -2346,7 +2462,7 @@ interface components {
2346
2462
  type: "Nationality";
2347
2463
  /** @constant */
2348
2464
  entityType: "nationality";
2349
- id: string;
2465
+ id: components["schemas"]["Id"];
2350
2466
  demonym: string;
2351
2467
  code: string;
2352
2468
  scopeNote?: string;
@@ -2368,7 +2484,7 @@ interface components {
2368
2484
  type: "Person";
2369
2485
  /** @constant */
2370
2486
  entityType: "agent";
2371
- id: string;
2487
+ id: components["schemas"]["Id"];
2372
2488
  /** @description Map of identifiers for matching records in external systems. */
2373
2489
  identifiers: components["schemas"]["AgentIdentifiers"];
2374
2490
  /** @description The preferred name or other moniker of the person, in uninverted format. */
@@ -2413,7 +2529,7 @@ interface components {
2413
2529
  type: "CollectiveAgent";
2414
2530
  /** @constant */
2415
2531
  entityType: "agent";
2416
- id: string;
2532
+ id: components["schemas"]["Id"];
2417
2533
  collectiveAgentType: components["schemas"]["CordataEnumCollectiveAgentTypeCode"];
2418
2534
  /** @description Map of identifiers for matching records in external systems. */
2419
2535
  identifiers: components["schemas"]["AgentIdentifiers"];
@@ -2432,7 +2548,7 @@ interface components {
2432
2548
  type: "ArtificialAgent";
2433
2549
  /** @constant */
2434
2550
  entityType: "agent";
2435
- id: string;
2551
+ id: components["schemas"]["Id"];
2436
2552
  /** @description Map of identifiers for matching records in external systems. */
2437
2553
  identifiers: components["schemas"]["AgentIdentifiers"];
2438
2554
  /** @description The preferred name of the Artificial Agent. */
@@ -2444,19 +2560,52 @@ interface components {
2444
2560
  };
2445
2561
  /** @description An Agent is a union type for a person or a collective or artificial agent. */
2446
2562
  Agent: components["schemas"]["Person"] | components["schemas"]["CollectiveAgent"] | components["schemas"]["ArtificialAgent"];
2563
+ CordataEnumContributorRole: {
2564
+ code: components["schemas"]["CordataEnumContributorRoleCode"];
2565
+ label: {
2566
+ nb: string;
2567
+ nn: string;
2568
+ };
2569
+ };
2447
2570
  /** @description A Role is the function that an Agent (Person or Collective Agent) plays in the process of producing a Work, Expression or Manifestation. */
2448
- Role: {
2449
- /** @constant */
2450
- type: "Role";
2571
+ Role: components["schemas"]["CordataEnumContributorRole"] & {
2572
+ identifiers: {
2573
+ /** @description The closest equivalent from the {@link https://www.loc.gov/marc/relators/relaterm.html MARC 21 Code list for relators } . */
2574
+ marc21Code?: string;
2575
+ /** @description The closest equivalent for the role in the (deprecated) NORMARC list of relators. Undefined for roles that don't have a close NORMARC equivalent. */
2576
+ normarcCode?: string;
2577
+ bibframeRelator?: string;
2578
+ rdaRelator?: string;
2579
+ };
2580
+ /**
2581
+ * @deprecated
2582
+ * @description Use `code` instead.
2583
+ */
2451
2584
  id: string;
2452
- code: components["schemas"]["CordataEnumContributorRoleCode"];
2453
- /** @description Human-readable label (in Norwegian bokmål) for the role, e.g. "Forfatter", "Bokomslagsdesigner" */
2454
- label: components["schemas"]["LanguageMap"];
2455
- /** @description The closest equivalent from the {@link https://www.loc.gov/marc/relators/relaterm.html MARC 21 Code list for relators } . */
2585
+ /**
2586
+ * @deprecated
2587
+ * @constant
2588
+ */
2589
+ type: "Role";
2590
+ /**
2591
+ * @deprecated
2592
+ * @description Use `identifiers.marc21Code` instead.
2593
+ */
2456
2594
  marc21Code?: string;
2457
- /** @description The closest equivalent for the role in the (deprecated) NORMARC list of relators. Undefined for roles that don't have a close NORMARC equivalent. */
2595
+ /**
2596
+ * @deprecated
2597
+ * @description Use `identifiers.normarcCode` instead.
2598
+ */
2458
2599
  normarcCode?: string;
2600
+ /**
2601
+ * @deprecated
2602
+ * @description Use `identifiers.bibframeRelator` instead.
2603
+ */
2459
2604
  bibframeRelator?: string;
2605
+ /**
2606
+ * @deprecated
2607
+ * @description Use `identifiers.rdaRelator` instead.
2608
+ */
2460
2609
  rdaRelator?: string;
2461
2610
  };
2462
2611
  /** @description A Contributor object links a {@link Work } , {@link Expression } , {@link Manifestation } , {@link CollectionExpression } or {@link CollectionWork } to an {@link Agent } which has contributed to the entity and the Role the Agent played in the creation of the entity. */
@@ -2475,61 +2624,101 @@ interface components {
2475
2624
  nn: string;
2476
2625
  };
2477
2626
  };
2627
+ CordataEnumAgeGroup: {
2628
+ code: components["schemas"]["CordataEnumAgeGroupCode"];
2629
+ label: {
2630
+ nb: string;
2631
+ nn: string;
2632
+ };
2633
+ };
2478
2634
  /** @description A recommended age group for the audience of a work.
2479
2635
  *
2480
2636
  * For age limits and ratings for games and audiovisual material, see {@link ageRating } .
2481
2637
  *
2482
2638
  * The age group vocabulary was developed by Biblioteksentralen and later incorporated into the Norwegian National Library's {@link https://www.nb.no/nbvok/tg/nb/ Nortarget vocabulary } */
2483
- AgeGroup: {
2484
- /** @constant */
2485
- type: "AgeGroup";
2486
- /** @constant */
2487
- entityType: "age_group";
2639
+ AgeGroup: components["schemas"]["CordataEnumAgeGroup"] & {
2640
+ /** @description Map of other identifiers for the entity */
2641
+ identifiers: {
2642
+ /** @description URI for the corresponding concept in National Library's [Vocabulary of target groups (nortarget)](https://www.nb.no/nbvok/tg/nb/). */
2643
+ nbVokUri?: string;
2644
+ /**
2645
+ * @description Code for the age group in PLAS.
2646
+ * @enum {string}
2647
+ */
2648
+ plasCode?: "child" | "youngAdult" | "adult";
2649
+ /** @description Value from MARC 21 field 008/22 <https://www.loc.gov/marc/bibliographic/bd008b.html>. */
2650
+ marc21Code?: string;
2651
+ };
2488
2652
  /**
2489
2653
  * @deprecated
2490
2654
  * @description Use `code` instead
2491
2655
  */
2492
2656
  id: string;
2493
- code: components["schemas"]["CordataEnumAgeGroupCode"];
2494
2657
  /**
2495
- * @description Code for the age group in PLAS.
2658
+ * @deprecated
2659
+ * @constant
2660
+ */
2661
+ type?: "AgeGroup";
2662
+ /**
2663
+ * @deprecated
2664
+ * @constant
2665
+ */
2666
+ entityType: "age_group";
2667
+ /**
2668
+ * @deprecated
2669
+ * @description Use `label` instead.
2670
+ */
2671
+ name: components["schemas"]["LanguageMap"];
2672
+ /**
2673
+ * @deprecated
2674
+ * @description Use `identifiers.nbVokUri` instead.
2675
+ */
2676
+ nortargetUri?: string;
2677
+ /**
2678
+ * @deprecated
2679
+ * @description Use `identifiers.plasCode` instead.
2496
2680
  * @enum {string}
2497
2681
  */
2498
2682
  plasCode?: "child" | "youngAdult" | "adult";
2499
- /** @description Value from MARC 21 field 008/22 <https://www.loc.gov/marc/bibliographic/bd008b.html>. */
2683
+ /**
2684
+ * @deprecated
2685
+ * @description Use `identifiers.marc21Code` instead.
2686
+ */
2500
2687
  marc21Code?: string;
2501
- /** @description The name of the age group in Norwegian bokmål/nynorsk. */
2502
- name: components["schemas"]["LanguageMap"];
2503
- /** @description URI for the corresponding concept in National Library's [Vocabulary of target groups (nortarget)](https://www.nb.no/nbvok/tg/nb/). */
2504
- nortargetUri?: string;
2505
2688
  };
2506
- /** @description Age limits following the {@link https://pegi.info/page/pegi-age-ratings PEGI age ratings } */
2507
- PegiAgeLimit: {
2508
- /** @constant */
2509
- type: "PegiAgeLimit";
2510
- /** @constant */
2511
- entityType: "age_limit";
2512
- /** @description Age suitability in years. A value of 0 years indicates suitable for everyone. */
2513
- years: number;
2514
- /** @description URI of the PEGI age limit from https://www.nb.no/nbvok/pegi */
2515
- uri: string;
2516
- id: string;
2689
+ /** @enum {string} */
2690
+ CordataEnumAgeLimitCode: "nma12" | "nma15" | "nma18" | "nma6" | "nma9" | "nmaa" | "pegi12" | "pegi16" | "pegi18" | "pegi3" | "pegi7";
2691
+ CordataEnumAgeLimit: {
2692
+ code: components["schemas"]["CordataEnumAgeLimitCode"];
2693
+ label: {
2694
+ nb: string;
2695
+ nn: string;
2696
+ };
2517
2697
  };
2518
- /** @description Age limits following {@link https://www.medietilsynet.no/barn-og-medier/aldersgrenser Medietilsynet } */
2519
- NmaAgeLimit: {
2520
- /** @constant */
2521
- type: "NmaAgeLimit";
2522
- /** @constant */
2523
- entityType: "age_limit";
2698
+ AgeLimit: components["schemas"]["CordataEnumAgeLimit"] & {
2699
+ /** @enum {string} */
2700
+ type: "PegiAgeLimit" | "NmaAgeLimit";
2524
2701
  /** @description Age suitability in years. A value of 0 years indicates suitable for everyone. */
2525
2702
  years: number;
2526
- /** @description URI of the NMA age limit from https://www.nb.no/nbvok/nma */
2703
+ /** @description Map of other identifiers for the entity */
2704
+ identifiers: {
2705
+ /** @description URI of the PEGI age limit from https://www.nb.no/nbvok/pegi or NMA age limit from https://www.nb.no/nbvok/nma
2706
+ * */
2707
+ uri: string;
2708
+ };
2709
+ /**
2710
+ * @deprecated
2711
+ * @constant
2712
+ */
2713
+ entityType: "age_limit";
2714
+ /**
2715
+ * @deprecated
2716
+ * @description Use `identifier.uri` instead.
2717
+ */
2527
2718
  uri: string;
2528
- id: string;
2529
2719
  };
2530
- AgeLimit: components["schemas"]["PegiAgeLimit"] | components["schemas"]["NmaAgeLimit"];
2531
2720
  SubjectBase: {
2532
- id: string;
2721
+ id: components["schemas"]["Id"];
2533
2722
  /** @description The preferred display name for the subject. */
2534
2723
  name: components["schemas"]["LanguageMap"];
2535
2724
  /** @description Variant spellings and other names the subject is known by. */
@@ -2546,11 +2735,11 @@ interface components {
2546
2735
  entityType: "concept";
2547
2736
  conceptType: components["schemas"]["CordataEnumConceptTypeCode"];
2548
2737
  /** @description Map of identifiers for matching records in external systems. */
2549
- identifiers?: {
2738
+ identifiers: {
2739
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2740
+ bibbiAuthorityId: string;
2550
2741
  /** @description Identifier from Norske emneord (NEO). */
2551
2742
  neoUri?: string;
2552
- /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2553
- bibbiAuthorityId?: string;
2554
2743
  };
2555
2744
  };
2556
2745
  /** @description A Place is a geographic entity, including geopolitical and geographic features such as cities, countries, rivers, oceans, national parks etc. */
@@ -2561,11 +2750,11 @@ interface components {
2561
2750
  entityType: "place";
2562
2751
  placeType?: components["schemas"]["CordataEnumPlaceTypeCode"];
2563
2752
  /** @description Map of identifiers for matching records in external systems. */
2564
- identifiers?: {
2753
+ identifiers: {
2565
2754
  /** @description Identifier from Norske emneord (NEO). */
2566
2755
  neoUri?: string;
2567
2756
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2568
- bibbiAuthorityId?: string;
2757
+ bibbiAuthorityId: string;
2569
2758
  };
2570
2759
  };
2571
2760
  /** @description A Person is a subclass of Agent consisting of agents that are or purport to be individual persons.
@@ -2578,7 +2767,7 @@ interface components {
2578
2767
  /** @constant */
2579
2768
  entityType: "agent";
2580
2769
  /** @description Map of identifiers for matching records in external systems. */
2581
- identifiers?: components["schemas"]["AgentIdentifiers"];
2770
+ identifiers: components["schemas"]["AgentIdentifiers"];
2582
2771
  };
2583
2772
  /** @description A Collective Agent is defined as "A gathering or organization of persons bearing a particular name and capable of acting as a unit" {@link https://www.iflastandards.info/lrm/lrmer#E8 Library Reference Model }
2584
2773
  *
@@ -2605,11 +2794,11 @@ interface components {
2605
2794
  /** @constant */
2606
2795
  entityType: "event";
2607
2796
  /** @description Map of identifiers for matching records in external systems. */
2608
- identifiers?: {
2797
+ identifiers: {
2798
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2799
+ bibbiAuthorityId: string;
2609
2800
  /** @description Identifier from Norske emneord (NEO). */
2610
2801
  neoUri?: string;
2611
- /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2612
- bibbiAuthorityId?: string;
2613
2802
  };
2614
2803
  };
2615
2804
  /** @description A Work is defined as "The intellectual or artistic content of a distinct creation" (Library Reference Model)
@@ -2621,8 +2810,8 @@ interface components {
2621
2810
  /** @constant */
2622
2811
  entityType: "work";
2623
2812
  /** @description Map of identifiers for matching records in external systems. */
2624
- identifiers?: {
2625
- bibbiAuthorityId?: string;
2813
+ identifiers: {
2814
+ bibbiAuthorityId: string;
2626
2815
  };
2627
2816
  };
2628
2817
  /** @description A Collection is a set of entities - manifestations or works - that share certain features.
@@ -2634,8 +2823,8 @@ interface components {
2634
2823
  entityType: "collection_work";
2635
2824
  collectionType: components["schemas"]["CordataEnumCollectionTypeCode"];
2636
2825
  /** @description Map of identifiers for matching records in external systems. */
2637
- identifiers?: {
2638
- bibbiAuthorityId?: string;
2826
+ identifiers: {
2827
+ bibbiAuthorityId: string;
2639
2828
  };
2640
2829
  };
2641
2830
  Subject: components["schemas"]["SubjectTypeConcept"] | components["schemas"]["SubjectTypePlace"] | components["schemas"]["SubjectTypePerson"] | components["schemas"]["SubjectTypeCollectiveAgent"] | components["schemas"]["SubjectTypeEvent"] | components["schemas"]["SubjectTypeWork"] | components["schemas"]["SubjectTypeCollection"];
@@ -2649,11 +2838,11 @@ interface components {
2649
2838
  type: "Genre";
2650
2839
  /** @constant */
2651
2840
  entityType: "genre";
2652
- id: string;
2841
+ id: components["schemas"]["Id"];
2653
2842
  /** @description Map of identifiers for matching records in external systems. */
2654
2843
  identifiers: {
2655
2844
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2656
- bibbiAuthorityId?: string;
2845
+ bibbiAuthorityId: string;
2657
2846
  /** @description ID from the Norsk tesaurus for sjanger og form, (@link https://www.nb.no/nbvok/ntsf/nb/ | NTSF). */
2658
2847
  ntsfId?: string;
2659
2848
  /** @description Identifier for a concept in «Emneord for musikk», a controlled vocabulary of music terminology from the Norwegian Music Library Association (NMBF) published by the Bergen Library (@link https://bergenbibliotek.no/musikkogfilm/emneord-for-musikk/komposisjonstype-og-sjanger/sjanger | NMBF). The published vocabulary does not have persistent identifiers for the concepts, so identifiers are derived from the terms. */
@@ -2675,7 +2864,7 @@ interface components {
2675
2864
  type: "GrepSubject";
2676
2865
  /** @constant */
2677
2866
  entityType: "grep";
2678
- id: string;
2867
+ id: components["schemas"]["Id"];
2679
2868
  code: string;
2680
2869
  uri: string;
2681
2870
  name: components["schemas"]["LanguageMap"];
@@ -2700,6 +2889,10 @@ interface components {
2700
2889
  * See also the manifestation property `accessibleFormat`, which describes accessibility features which are related to format, not content, such as larger font size or dyslexia friendly fonts. */
2701
2890
  AccessibleContentFeature: {
2702
2891
  type: string;
2892
+ /**
2893
+ * @deprecated
2894
+ * @description Use `code` instead.
2895
+ */
2703
2896
  id: string;
2704
2897
  code: components["schemas"]["CordataEnumAccessibleContentCode"];
2705
2898
  label: components["schemas"]["LanguageMap"];
@@ -2744,16 +2937,15 @@ interface components {
2744
2937
  type: "CollectionExpression";
2745
2938
  /** @constant */
2746
2939
  entityType: "collection_expression";
2747
- id: string;
2748
- /** @description TODO */
2749
- expressionType?: components["schemas"]["CordataEnumExpressionType"];
2940
+ id: components["schemas"]["Id"];
2750
2941
  /** @description Map of other identifiers for the entity */
2751
2942
  identifiers: {
2752
2943
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2753
- bibbiAuthorityId?: string;
2944
+ bibbiAuthorityId: string;
2754
2945
  /** @description Identifier for the BMDB entity from id.nb.no */
2755
2946
  nbBmdbUri?: string;
2756
2947
  };
2948
+ expressionType?: components["schemas"]["CordataEnumExpressionType"];
2757
2949
  /** @description Preferred title of the Collection expression. See {@link Title } for individual components of title. */
2758
2950
  preferredTitle: components["schemas"]["RegularTitle"];
2759
2951
  /**
@@ -2803,15 +2995,11 @@ interface components {
2803
2995
  type: "CollectionWork";
2804
2996
  /** @constant */
2805
2997
  entityType: "collection_work";
2806
- id: string;
2807
- collectionType: components["schemas"]["CordataEnumCollectionTypeCode"];
2808
- workType?: components["schemas"]["CordataEnumWorkType"];
2809
- /** @description TODO */
2810
- literatureType?: components["schemas"]["LiteratureType"];
2998
+ id: components["schemas"]["Id"];
2811
2999
  /** @description Map of other identifiers for the entity */
2812
3000
  identifiers: {
2813
3001
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
2814
- bibbiAuthorityId?: string;
3002
+ bibbiAuthorityId: string;
2815
3003
  /** @description Identifier for the BMDB entity from id.nb.no */
2816
3004
  nbBmdbUri?: string;
2817
3005
  /** @description Identifier for the entity from IMDb */
@@ -2819,6 +3007,10 @@ interface components {
2819
3007
  /** @description Identifier for the entity from Wikidata */
2820
3008
  wikidataId?: string;
2821
3009
  };
3010
+ collectionType: components["schemas"]["CordataEnumCollectionTypeCode"];
3011
+ workType?: components["schemas"]["CordataEnumWorkType"];
3012
+ /** @description TODO */
3013
+ literatureType?: components["schemas"]["LiteratureType"];
2822
3014
  /** @description Preferred title of Collection work.
2823
3015
  *
2824
3016
  * See {@link Title } for individual components of title. */
@@ -2871,6 +3063,8 @@ interface components {
2871
3063
  };
2872
3064
  /** @description A video game platform. */
2873
3065
  Platform: components["schemas"]["CordataEnumPlatform"] & {
3066
+ /** @description Abbreviated name of the platform. Example: "PS4" */
3067
+ abbreviatedName?: string;
2874
3068
  /**
2875
3069
  * @deprecated
2876
3070
  * @description Use `code` instead.
@@ -2881,15 +3075,13 @@ interface components {
2881
3075
  * @description Use `label` instead.
2882
3076
  */
2883
3077
  name: string;
2884
- /** @description Abbreviated name of the platform. Example: "PS4" */
2885
- abbreviatedName?: string;
2886
3078
  };
2887
3079
  MusicInstrument: {
2888
3080
  /** @constant */
2889
3081
  type: "MusicInstrument";
2890
3082
  /** @constant */
2891
3083
  entityType: "music_instrument";
2892
- id: string;
3084
+ id: components["schemas"]["Id"];
2893
3085
  name: components["schemas"]["LanguageMap"];
2894
3086
  alternativeNames?: components["schemas"]["LanguageMapList"];
2895
3087
  };
@@ -2901,6 +3093,31 @@ interface components {
2901
3093
  numberOfPerformers?: number;
2902
3094
  }[];
2903
3095
  };
3096
+ /** @description Map of other identifiers for the entity */
3097
+ ManifestationIdentifiers: {
3098
+ /** @description ID assigned to all publications catalogued by Biblioteksentralen. */
3099
+ bibbiId: string;
3100
+ /**
3101
+ * @deprecated
3102
+ * @description SKU (varenummer) assigned to products in Biblioteksentralen's webshop.
3103
+ */
3104
+ bibsentSku?: string;
3105
+ /** @description Unique ID assigned to a publication in Bibliofil. Shared by all Bibliofil libraries. */
3106
+ bibliofilId?: string;
3107
+ /** @description Unique ID assigned to a publication in Bokbasen. */
3108
+ bokbasenId?: string;
3109
+ /** @description Identifier for a movie in Filmoteket. Can be used to generate URLs: <https://filmoteket.no/film/{filmoteketId}> */
3110
+ filmoteketId?: string;
3111
+ /** @description Identifier for a movie in Cineast. Can be used to generate URLs: <https://www.cineast.no/no/library/400/title/{cineastId}> */
3112
+ cineastId?: string;
3113
+ /**
3114
+ * @deprecated
3115
+ * @description Identifier for a movie in IMDB. Deprecated, see work.identifiers.imdbId instead
3116
+ */
3117
+ imdbId?: string;
3118
+ /** @description Identifier for the BMDB entity from id.nb.no */
3119
+ nbBmdbUri?: string;
3120
+ };
2904
3121
  ManifestationVariantTitle: {
2905
3122
  /** @description The type of title. Only used for variant titles. */
2906
3123
  titleType?: components["schemas"]["TitleType"];
@@ -2957,7 +3174,7 @@ interface components {
2957
3174
  type: "Imprint";
2958
3175
  /** @constant */
2959
3176
  entityType: "imprint";
2960
- id: string;
3177
+ id: components["schemas"]["Id"];
2961
3178
  /** @description Map of identifiers for matching records in external systems. */
2962
3179
  identifiers: {
2963
3180
  /** @description Unique ID assigned to an imprint in Bokbasen. */
@@ -3005,29 +3222,8 @@ interface components {
3005
3222
  type: "Manifestation";
3006
3223
  /** @constant */
3007
3224
  entityType: "manifestation";
3008
- id: string;
3009
- /** @description Map of other identifiers for the entity */
3010
- identifiers: {
3011
- /** @description ID assigned to all publications catalogued by Biblioteksentralen. */
3012
- bibbiId?: string;
3013
- /** @description SKU (varenummer) assigned to products in Biblioteksentralen's webshop. */
3014
- bibsentSku?: string;
3015
- /** @description Unique ID assigned to a publication in Bibliofil. Shared by all Bibliofil libraries. */
3016
- bibliofilId?: string;
3017
- /** @description Unique ID assigned to a publication in Bokbasen. */
3018
- bokbasenId?: string;
3019
- /** @description Identifier for a movie in Filmoteket. Can be used to generate URLs: <https://filmoteket.no/film/{filmoteketId}> */
3020
- filmoteketId?: string;
3021
- /** @description Identifier for a movie in Cineast. Can be used to generate URLs: <https://www.cineast.no/no/library/400/title/{cineastId}> */
3022
- cineastId?: string;
3023
- /**
3024
- * @deprecated
3025
- * @description Identifier for a movie in IMDB. Deprecated, see work.identifiers.imdbId instead
3026
- */
3027
- imdbId?: string;
3028
- /** @description Identifier for the BMDB entity from id.nb.no */
3029
- nbBmdbUri?: string;
3030
- };
3225
+ id: components["schemas"]["Id"];
3226
+ identifiers: components["schemas"]["ManifestationIdentifiers"];
3031
3227
  createDate?: string;
3032
3228
  updateDate?: string;
3033
3229
  /** @description Preferred title of manifestation.
@@ -3134,9 +3330,11 @@ interface components {
3134
3330
  type: "Expression";
3135
3331
  /** @constant */
3136
3332
  entityType: "expression";
3137
- id: string;
3333
+ id: components["schemas"]["Id"];
3138
3334
  /** @description Map of other identifiers for the entity */
3139
3335
  identifiers?: {
3336
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
3337
+ bibbiAuthorityId: string;
3140
3338
  /** @description Identifier for the BMDB entity from id.nb.no */
3141
3339
  nbBmdbUri?: string;
3142
3340
  };
@@ -3195,19 +3393,6 @@ interface components {
3195
3393
  */
3196
3394
  workTypes: components["schemas"]["WorkType"][];
3197
3395
  literatureType?: components["schemas"]["LiteratureType"];
3198
- /** @description Map of other identifiers for the entity */
3199
- identifiers: {
3200
- /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
3201
- bibbiAuthorityId?: string;
3202
- /** @description Identifier for an equivalent work in Deichman's catalogue. */
3203
- deichmanWorkId?: string;
3204
- /** @description Identifier for a work in the National Library of Norway's (abandonded) registry of works. */
3205
- nbWorkId?: string;
3206
- /** @description Identifier for the BMDB entity from id.nb.no */
3207
- nbBmdbUri?: string;
3208
- /** @description Identifier for the work in the Internet Movie Database (IMDb). */
3209
- imdbId?: string;
3210
- };
3211
3396
  /**
3212
3397
  * @deprecated
3213
3398
  * @description Use `preferredTitle` instead.
@@ -3290,14 +3475,22 @@ interface components {
3290
3475
  work: components["schemas"]["Work"];
3291
3476
  }[];
3292
3477
  };
3293
- /** ManifestationSummaryAgent */
3294
- ManifestationSummaryAgent: {
3478
+ LocalManifestationWork: {
3479
+ id: components["schemas"]["Id"];
3480
+ identifiers: {
3481
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
3482
+ bibbiAuthorityId: string;
3483
+ };
3484
+ workType: components["schemas"]["CordataEnumWorkTypeTranslated"];
3485
+ };
3486
+ /** LocalManifestationAgent */
3487
+ LocalManifestationAgent: {
3295
3488
  /** @constant */
3296
- type: "ManifestationSummaryAgent";
3489
+ type: "LocalManifestationAgent";
3297
3490
  } & components["schemas"]["AgentSummaryBase"];
3298
- ManifestationSummaryContributor: {
3491
+ LocalManifestationContributor: {
3299
3492
  /** @description The Agent (Person, Collective Agent or Artificial Agent) which has contributed to the entity the Contributor object is attached to. */
3300
- agent: components["schemas"]["ManifestationSummaryAgent"];
3493
+ agent: components["schemas"]["LocalManifestationAgent"];
3301
3494
  /**
3302
3495
  * Role
3303
3496
  * @description The Role shows which function the Agent has had in the process of producing an entity.
@@ -3305,19 +3498,16 @@ interface components {
3305
3498
  roles: components["schemas"]["CordataEnumContributorRoleTranslated"][];
3306
3499
  };
3307
3500
  /** @description TODO */
3308
- ManifestationSummary: {
3501
+ LocalManifestation: {
3309
3502
  /** @constant */
3310
- type: "ManifestationSummary";
3503
+ type: "LocalManifestation";
3311
3504
  /** @constant */
3312
3505
  entityType: "manifestation";
3313
- /** @description Bibbi authority ID When using search profile `global`, otherwise local library system IDs.
3314
- * */
3315
- id: string;
3316
- /** @description TODO */
3317
- embodiedWorkId: string;
3506
+ id: components["schemas"]["Id"];
3507
+ identifiers: components["schemas"]["ManifestationIdentifiers"];
3508
+ work: components["schemas"]["LocalManifestationWork"];
3318
3509
  /** @description TODO */
3319
- containedWorkIds?: string[];
3320
- workType: components["schemas"]["CordataEnumWorkTypeTranslated"];
3510
+ containedWorks?: components["schemas"]["LocalManifestationWork"][];
3321
3511
  expressionType: components["schemas"]["CordataEnumExpressionTypeTranslated"];
3322
3512
  manifestationMedium: components["schemas"]["CordataEnumManifestationMediumTranslated"];
3323
3513
  /** @description TODO */
@@ -3354,12 +3544,12 @@ interface components {
3354
3544
  * - The special value "ukjent år" indicates that publication year is unknown. */
3355
3545
  publicationYear?: string;
3356
3546
  /** @description TODO */
3357
- contributors: components["schemas"]["ManifestationSummaryContributor"][];
3547
+ contributors: components["schemas"]["LocalManifestationContributor"][];
3358
3548
  };
3359
3549
  GetManifestationSummaries200Response: {
3360
3550
  total?: components["schemas"]["total"];
3361
3551
  results: {
3362
- manifestation: components["schemas"]["ManifestationSummary"];
3552
+ manifestation: components["schemas"]["LocalManifestation"];
3363
3553
  }[];
3364
3554
  };
3365
3555
  HarvestWorks200Response: {
@@ -3450,7 +3640,12 @@ interface components {
3450
3640
  type: "CollectionSummary";
3451
3641
  /** @constant */
3452
3642
  entityType: "collection_work";
3453
- id: string;
3643
+ id: components["schemas"]["Id"];
3644
+ /** @description Map of other identifiers for the entity */
3645
+ identifiers: {
3646
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
3647
+ bibbiAuthorityId: string;
3648
+ };
3454
3649
  collectionType: components["schemas"]["CordataEnumCollectionTypeTranslated"];
3455
3650
  workType?: components["schemas"]["CordataEnumWorkTypeTranslated"];
3456
3651
  expressionType?: components["schemas"]["CordataEnumExpressionTypeTranslated"];
@@ -3485,16 +3680,26 @@ interface components {
3485
3680
  id: string;
3486
3681
  label: string;
3487
3682
  }[];
3488
- ageGroups?: {
3683
+ ageGroups?: (components["schemas"]["CordataEnumAgeGroupTranslated"] & {
3684
+ /** @description Map of other identifiers for the entity */
3685
+ identifiers: {
3686
+ /**
3687
+ * @deprecated
3688
+ * @description Use `code` instead.
3689
+ */
3690
+ nbVokUri?: string;
3691
+ };
3692
+ /**
3693
+ * @deprecated
3694
+ * @description Use `identifiers.nbVokUri` instead.
3695
+ */
3696
+ nbVokUri?: string;
3489
3697
  /**
3490
3698
  * @deprecated
3491
3699
  * @description Use `code` instead.
3492
3700
  */
3493
3701
  id: string;
3494
- code: components["schemas"]["CordataEnumAgeGroupCode"];
3495
- nbVokUri?: string;
3496
- label: string;
3497
- }[];
3702
+ })[];
3498
3703
  /** @description List of contributors to the *work* in the form of * {@link Agent agents } * (persons or organizations) and their * {@link Role roles } * in the creation of the work.
3499
3704
  *
3500
3705
  * Work contributors include authors for books, editors for edited works, composers for music, directors and screenwriters for films, etc., but not contributors that played a role in the creation of a specific expression (e.g. translators, illustrators, etc.) or manifestation (e.g. illustrators, cover designers, etc.). */
@@ -3715,7 +3920,7 @@ interface operations {
3715
3920
  };
3716
3921
  };
3717
3922
  };
3718
- getManifestationSummaries: {
3923
+ getLocalManifestations: {
3719
3924
  parameters: {
3720
3925
  query: {
3721
3926
  /** @description Comma-separated work IDs (accepts UUID, bibbi authority ID and NB-bmdb-ID).