@biblioteksentralen/bmdb-search 0.0.0-beta.44 → 0.0.0-beta.46

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.
@@ -198,9 +198,6 @@ interface components$1 {
198
198
  * 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.
199
199
  * 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. */
200
200
  BaseWork: {
201
- /** @constant */
202
- entityType: "work";
203
- id: components$1["schemas"]["Id"];
204
201
  /** @description Map of other identifiers for the entity */
205
202
  identifiers: {
206
203
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
@@ -1356,6 +1353,9 @@ interface components$1 {
1356
1353
  Work: {
1357
1354
  /** @constant */
1358
1355
  type: "Work";
1356
+ /** @constant */
1357
+ entityType: "work";
1358
+ id: components$1["schemas"]["Id"];
1359
1359
  } & components$1["schemas"]["BaseWork"] & {
1360
1360
  workType: components$1["schemas"]["CordataEnumWorkType"];
1361
1361
  /**
@@ -2000,13 +2000,35 @@ interface components {
2000
2000
  total: number;
2001
2001
  /** @description Unique identifier for the entity. */
2002
2002
  Id: string;
2003
+ /** @description The Title object is used for all title types across Work, Expression, Manifestation, Collection Work, Collection Expression, Short Work And Short Expression entities. */
2004
+ BaseTitle: {
2005
+ /** @description The chief name of the entity. */
2006
+ mainTitle: string;
2007
+ /** @description A word or phrase elaborating on the character, contents, etc., of the entity, that is not part of the chief name of the entity. */
2008
+ subtitle?: string;
2009
+ /** @description A distinguishing element for entities in a sequential set with the same Main title. */
2010
+ partNumber?: string;
2011
+ /** @description A distinguishing element for entities in a set with the same Main title. */
2012
+ partTitle?: string;
2013
+ };
2014
+ /** @enum {string} */
2015
+ CordataEnumLanguageCode: "abk" | "ach" | "afr" | "akk" | "alb" | "amh" | "ang" | "ara" | "arc" | "arm" | "aze" | "bam" | "baq" | "bel" | "bem" | "ben" | "bis" | "bnt" | "bos" | "bre" | "bul" | "bur" | "byn" | "cat" | "ceb" | "che" | "chi" | "chu" | "cic" | "ckb" | "cmn" | "cnr" | "cop" | "cze" | "dan" | "dut" | "dzo" | "egy" | "eng" | "enm" | "epo" | "est" | "ewe" | "fao" | "fat" | "fij" | "fin" | "fiu" | "fkv" | "fre" | "frm" | "fro" | "fry" | "ful" | "gaa" | "geo" | "ger" | "gez" | "gla" | "gle" | "glg" | "gmh" | "got" | "grc" | "gre" | "guj" | "hau" | "heb" | "hil" | "hin" | "hrv" | "hun" | "ibo" | "ice" | "iku" | "ilo" | "ind" | "ipk" | "ira" | "ita" | "jpn" | "kal" | "kan" | "kar" | "kaz" | "khm" | "kho" | "kik" | "kin" | "kir" | "kmr" | "kon" | "kor" | "kua" | "kur" | "lao" | "lat" | "lav" | "lin" | "lit" | "lkt" | "lug" | "mac" | "man" | "mao" | "mar" | "may" | "mlg" | "mlt" | "mnk" | "mol" | "mon" | "mul" | "myn" | "nds" | "nep" | "nic" | "nno" | "nob" | "nom" | "non" | "nor" | "nso" | "oci" | "orm" | "pan" | "per" | "pli" | "pol" | "por" | "pra" | "pro" | "prs" | "pus" | "qsp" | "qsw" | "roh" | "rom" | "rum" | "run" | "rus" | "sah" | "san" | "sat" | "sco" | "sgn" | "sin" | "sit" | "sjd" | "sje" | "sjk" | "sjt" | "sju" | "slo" | "slv" | "sma" | "sme" | "smi" | "smj" | "smn" | "smo" | "sms" | "som" | "sot" | "spa" | "srp" | "sux" | "swa" | "swe" | "syr" | "tam" | "tay" | "tel" | "tgl" | "tha" | "tib" | "tir" | "tkl" | "tlh" | "tmh" | "ton" | "tur" | "ukr" | "und" | "urd" | "uzb" | "vie" | "wel" | "wen" | "wol" | "xho" | "yid" | "yor" | "ypk" | "yue" | "zbl" | "zul" | "zxx";
2016
+ Language: {
2017
+ /** @description Three-letter language code from ISO 639-2 (Bibliographic) */
2018
+ code: components["schemas"]["CordataEnumLanguageCode"];
2019
+ name: string;
2020
+ };
2021
+ TitleSummary: {
2022
+ /** @constant */
2023
+ titleType?: "regular_title";
2024
+ } & components["schemas"]["BaseTitle"] & {
2025
+ /** @description The language of the title. */
2026
+ titleLanguage?: components["schemas"]["Language"];
2027
+ };
2003
2028
  /** @description A Work is defined as "The intellectual or artistic content of a distinct creation" (Library Reference Model)
2004
2029
  * 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.
2005
2030
  * 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. */
2006
2031
  BaseWork: {
2007
- /** @constant */
2008
- entityType: "work";
2009
- id: components["schemas"]["Id"];
2010
2032
  /** @description Map of other identifiers for the entity */
2011
2033
  identifiers: {
2012
2034
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
@@ -2031,6 +2053,70 @@ interface components {
2031
2053
  code: components["schemas"]["CordataEnumWorkTypeCode"];
2032
2054
  label: string;
2033
2055
  };
2056
+ /** @description Uniform title for a music work.
2057
+ *
2058
+ * This type of title is used to provide a unique and structured point of access for classical music works that lack a distinct title, and is constructed from key information about the work.
2059
+ *
2060
+ * Examples:
2061
+ *
2062
+ * ```
2063
+ * - # "Sonatas, piano, no. 13, op. 27, no. 1, E major" { "titleType": "uniform_title_music", "form": "Sonatas", "medium": "piano", "serialNumber": "no. 13", "opusNumber": "op. 27, no. 1", "key": "E major" }
2064
+ *
2065
+ * - # "Konserter, fiolin, orkester, op. 8, nr. 1, RV 269, E-dur" { "titleType": "uniform_title_music", "form": "Konserter", "medium": "fiolin, orkester", "opusNumber": "op. 8, nr. 1", "thematicCatalogueNumber": "RV 269", "key": "E-dur" } ``` */
2066
+ UniformTitleMusic: {
2067
+ /** @constant */
2068
+ titleType: "uniform_title_music";
2069
+ /** @description Form of composition.
2070
+ *
2071
+ * Examples: "Symfonier" (Symphonies), "Konserter" (Concerts), Preludier (Preludes), "Sonater" (Sonatas). */
2072
+ form: string;
2073
+ /** @description Instrumentation / medium of performance (Norwegian: "Besetning").
2074
+ *
2075
+ * Examples: "klaver, orkester", "fiolin (2), klaver".
2076
+ *
2077
+ * Note that instrumentation is also coded in a structured form on `Work`.
2078
+ *
2079
+ * Corresponds to `240$m` in MARC 21. */
2080
+ instrumentation?: string;
2081
+ /** @description A number used for works with the same `form` (and `instrumentation`) which are consecutively numbered by the composer or arranger, or are consecutively numbered in reference sources.
2082
+ *
2083
+ * Example: "nr. 14"
2084
+ *
2085
+ * Corresponds to parts of `240$n` in MARC 21, [musicSerialNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicSerialNumber) in Bibframe and [has serial number of musical work](https://www.rdaregistry.info/Elements/w/#P10334) in RDA. */
2086
+ serialNumber?: string;
2087
+ /** @description Opus number
2088
+ *
2089
+ * Numeric designation of a musical work assigned by a composer, publisher, or a musicologist. Includes the prefix "op .".
2090
+ *
2091
+ * Examples: "op. 14", "op. 27, no. 1" or "op. 27, no. 1-2"
2092
+ *
2093
+ * Corresponds to parts of `240$n` in MARC 21, [musicOpusNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicOpusNumber) in Bibframe and [has opus number](https://www.rdaregistry.info/Elements/w/#P10333) in RDA. */
2094
+ opusNumber?: string;
2095
+ /** @description Thematic catalogue number
2096
+ *
2097
+ * Designation for a musical work as found in a thematic catalogue of works. In cases of multiple catalogue numbers, the numbers are separated by comma.
2098
+ *
2099
+ * Examples: "KV 622", "BWV 249", "Sz. 75, BB 84"
2100
+ *
2101
+ * Corresponds to parts of `240$n` in MARC 21, [musicThematicNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicThematicNumber) in Bibframe and [has thematic index number](https://www.rdaregistry.info/Elements/w/#P10335) in RDA. */
2102
+ thematicCatalogueNumber?: string;
2103
+ /** @description Designation for a part/section (Norwegian: "Seksjon") of a work used in the title.
2104
+ *
2105
+ * Examples: "Adagio" (part of a symphony or sonata), "Suite nr. 1", "Utvalg" */
2106
+ part?: string;
2107
+ /** @description Key (Norwegian: "Toneart")
2108
+ *
2109
+ * Examples: "C-dur", "a-moll", "F-dur"
2110
+ *
2111
+ * Corresponds to `240$r` in MARC 21, [musicKey](http://id.loc.gov/ontologies/bibframe.html#p_musicKey) in Bibframe and [has key of representative expression](https://www.rdaregistry.info/Elements/w/#P10221) in RDA. */
2112
+ key?: string;
2113
+ /** @description Arrangement statement. Contains the value "arr.", "arrangement" or similar if the work is an arrangement of another work.
2114
+ *
2115
+ * Corresponds to `240$o` in MARC 21 */
2116
+ arrangement?: string;
2117
+ /** @description Language used to encode the title elements. Usually the preferred language of the cataloguing agency. */
2118
+ titleLanguage?: components["schemas"]["Language"];
2119
+ };
2034
2120
  /** @enum {string} */
2035
2121
  CordataEnumExpressionTypeCode: "atlas" | "audiobook" | "board_game" | "book" | "box_set" | "combined" | "map" | "movie" | "musical_notation" | "musical_recording" | "software" | "videogame";
2036
2122
  CordataEnumExpressionTypeTranslated: {
@@ -2056,28 +2142,6 @@ interface components {
2056
2142
  code: components["schemas"]["CordataEnumWorkIllustrationsOptionCode"];
2057
2143
  label: string;
2058
2144
  };
2059
- /** @description The Title object is used for all title types across Work, Expression, Manifestation, Collection Work, Collection Expression, Short Work And Short Expression entities. */
2060
- BaseTitle: {
2061
- /** @description The chief name of the entity. */
2062
- mainTitle: string;
2063
- /** @description A word or phrase elaborating on the character, contents, etc., of the entity, that is not part of the chief name of the entity. */
2064
- subtitle?: string;
2065
- /** @description A distinguishing element for entities in a sequential set with the same Main title. */
2066
- partNumber?: string;
2067
- /** @description A distinguishing element for entities in a set with the same Main title. */
2068
- partTitle?: string;
2069
- };
2070
- /** @enum {string} */
2071
- CordataEnumLanguageCode: "abk" | "ach" | "afr" | "akk" | "alb" | "amh" | "ang" | "ara" | "arc" | "arm" | "aze" | "bam" | "baq" | "bel" | "bem" | "ben" | "bis" | "bnt" | "bos" | "bre" | "bul" | "bur" | "byn" | "cat" | "ceb" | "che" | "chi" | "chu" | "cic" | "ckb" | "cmn" | "cnr" | "cop" | "cze" | "dan" | "dut" | "dzo" | "egy" | "eng" | "enm" | "epo" | "est" | "ewe" | "fao" | "fat" | "fij" | "fin" | "fiu" | "fkv" | "fre" | "frm" | "fro" | "fry" | "ful" | "gaa" | "geo" | "ger" | "gez" | "gla" | "gle" | "glg" | "gmh" | "got" | "grc" | "gre" | "guj" | "hau" | "heb" | "hil" | "hin" | "hrv" | "hun" | "ibo" | "ice" | "iku" | "ilo" | "ind" | "ipk" | "ira" | "ita" | "jpn" | "kal" | "kan" | "kar" | "kaz" | "khm" | "kho" | "kik" | "kin" | "kir" | "kmr" | "kon" | "kor" | "kua" | "kur" | "lao" | "lat" | "lav" | "lin" | "lit" | "lkt" | "lug" | "mac" | "man" | "mao" | "mar" | "may" | "mlg" | "mlt" | "mnk" | "mol" | "mon" | "mul" | "myn" | "nds" | "nep" | "nic" | "nno" | "nob" | "nom" | "non" | "nor" | "nso" | "oci" | "orm" | "pan" | "per" | "pli" | "pol" | "por" | "pra" | "pro" | "prs" | "pus" | "qsp" | "qsw" | "roh" | "rom" | "rum" | "run" | "rus" | "sah" | "san" | "sat" | "sco" | "sgn" | "sin" | "sit" | "sjd" | "sje" | "sjk" | "sjt" | "sju" | "slo" | "slv" | "sma" | "sme" | "smi" | "smj" | "smn" | "smo" | "sms" | "som" | "sot" | "spa" | "srp" | "sux" | "swa" | "swe" | "syr" | "tam" | "tay" | "tel" | "tgl" | "tha" | "tib" | "tir" | "tkl" | "tlh" | "tmh" | "ton" | "tur" | "ukr" | "und" | "urd" | "uzb" | "vie" | "wel" | "wen" | "wol" | "xho" | "yid" | "yor" | "ypk" | "yue" | "zbl" | "zul" | "zxx";
2072
- Language: {
2073
- /** @description Three-letter language code from ISO 639-2 (Bibliographic) */
2074
- code: components["schemas"]["CordataEnumLanguageCode"];
2075
- name: string;
2076
- };
2077
- TitleSummary: components["schemas"]["BaseTitle"] & {
2078
- /** @description The language of the title. */
2079
- titleLanguage?: components["schemas"]["Language"];
2080
- };
2081
2145
  /** @enum {string} */
2082
2146
  CordataEnumAgeGroupCode: "a" | "aa" | "b" | "bu" | "j" | "mu" | "u" | "v" | "vu";
2083
2147
  CordataEnumAgeGroupTranslated: {
@@ -2085,6 +2149,12 @@ interface components {
2085
2149
  label: string;
2086
2150
  };
2087
2151
  /** @enum {string} */
2152
+ CordataEnumAgentTypeCode: "artificial_agent" | "collective_agent" | "person";
2153
+ CordataEnumAgentTypeTranslated: {
2154
+ code: components["schemas"]["CordataEnumAgentTypeCode"];
2155
+ label: string;
2156
+ };
2157
+ /** @enum {string} */
2088
2158
  CordataEnumCollectiveAgentTypeCode: "conference" | "corporation" | "family" | "music_group" | "publisher";
2089
2159
  CordataEnumCollectiveAgentTypeTranslated: {
2090
2160
  code: components["schemas"]["CordataEnumCollectiveAgentTypeCode"];
@@ -2103,6 +2173,7 @@ interface components {
2103
2173
  AgentSummaryBase: {
2104
2174
  /** @constant */
2105
2175
  entityType: "agent";
2176
+ agentType: components["schemas"]["CordataEnumAgentTypeTranslated"];
2106
2177
  collectiveAgentType?: components["schemas"]["CordataEnumCollectiveAgentTypeTranslated"];
2107
2178
  id: components["schemas"]["Id"];
2108
2179
  identifiers: components["schemas"]["AgentIdentifiers"];
@@ -2186,8 +2257,30 @@ interface components {
2186
2257
  WorkSummary: {
2187
2258
  /** @constant */
2188
2259
  type: "WorkSummary";
2260
+ /** @constant */
2261
+ entityType: "work";
2262
+ id: components["schemas"]["Id"];
2263
+ /** @description TODO */
2264
+ representation: {
2265
+ manifestationId: components["schemas"]["Id"];
2266
+ title: components["schemas"]["TitleSummary"];
2267
+ coverImage?: string;
2268
+ catalogueRecords: string[];
2269
+ };
2189
2270
  } & components["schemas"]["BaseWork"] & {
2190
2271
  workType: components["schemas"]["CordataEnumWorkTypeTranslated"];
2272
+ /** @description Preferred title of work.
2273
+ *
2274
+ * Typically this will be the title the work was assigned at its first publication or release. Exceptions are made if:
2275
+ * - the work is significantly more well known under a later or abbreviated form of the title; e.g. *"Hamlet"*, not *"The tragedy of Hamlet, prince of Denmark"*.
2276
+ * - the work is known under a uniform title - applies to works created prior to 1501.
2277
+ * - there are other significant reasons for preferring a later title.
2278
+ *
2279
+ * For works where the first publication has two main titles separated by "or" (subsequent main title), only the first title is registered as the preferred title for the work, e.g. *"The hobbit"*, not *"The hobbit, or, There and back again"*.
2280
+ *
2281
+ * Classical music works without titles in the traditional sense will instead get a generic uniform title, synthesized from key information about the work, such as "Symphonies, no. 6, op. 6, F major". In these cases, the title is of type {@link UniformTitleMusic } .
2282
+ * */
2283
+ workTitle: components["schemas"]["TitleSummary"] | components["schemas"]["UniformTitleMusic"];
2191
2284
  /** @description TODO */
2192
2285
  formats: {
2193
2286
  expressionType: components["schemas"]["CordataEnumExpressionTypeTranslated"];
@@ -2195,7 +2288,10 @@ interface components {
2195
2288
  }[];
2196
2289
  literatureType?: components["schemas"]["LiteratureTypeTranslated"];
2197
2290
  illustrations?: components["schemas"]["CordataEnumWorkIllustrationsOptionTranslated"];
2198
- /** @description TODO */
2291
+ /**
2292
+ * @deprecated
2293
+ * @description Deprecated, use `representation.title` instead.
2294
+ */
2199
2295
  title: components["schemas"]["TitleSummary"];
2200
2296
  /** @description TODO (languages from all expressions) */
2201
2297
  languages: components["schemas"]["Language"][][];
@@ -2240,7 +2336,10 @@ interface components {
2240
2336
  */
2241
2337
  nbVokUri?: string;
2242
2338
  })[];
2243
- /** @description A representative cover image. */
2339
+ /**
2340
+ * @deprecated
2341
+ * @description Deprecated, use `representation.coverImage` instead.
2342
+ */
2244
2343
  coverImage?: string;
2245
2344
  /** @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.
2246
2345
  *
@@ -2251,18 +2350,6 @@ interface components {
2251
2350
  status: boolean;
2252
2351
  program?: string;
2253
2352
  };
2254
- /**
2255
- * @deprecated
2256
- * @description Use `formats` instead.
2257
- *
2258
- */
2259
- expressionType: components["schemas"]["CordataEnumExpressionTypeTranslated"];
2260
- /**
2261
- * @deprecated
2262
- * @description Use `formats` instead.
2263
- *
2264
- */
2265
- manifestationMedium: components["schemas"]["CordataEnumManifestationMediumTranslated"];
2266
2353
  };
2267
2354
  /** @description If this is false, we haven't reached the end of the search result yet, if it's false we have, and if it's missing or null we don't know. */
2268
2355
  endOfResults: boolean;
@@ -2296,6 +2383,10 @@ interface components {
2296
2383
  total?: components["schemas"]["total"];
2297
2384
  results: {
2298
2385
  work: components["schemas"]["WorkSummary"];
2386
+ /**
2387
+ * @deprecated
2388
+ * @description Deprecated, use `work.representation.manifestationId` instead.
2389
+ */
2299
2390
  representativeManifestationId: string;
2300
2391
  }[];
2301
2392
  endOfResults: components["schemas"]["endOfResults"];
@@ -2387,70 +2478,6 @@ interface components {
2387
2478
  /** @description The language of the title. */
2388
2479
  titleLanguage?: components["schemas"]["Language"];
2389
2480
  };
2390
- /** @description Uniform title for a music work.
2391
- *
2392
- * This type of title is used to provide a unique and structured point of access for classical music works that lack a distinct title, and is constructed from key information about the work.
2393
- *
2394
- * Examples:
2395
- *
2396
- * ```
2397
- * - # "Sonatas, piano, no. 13, op. 27, no. 1, E major" { "titleType": "uniform_title_music", "form": "Sonatas", "medium": "piano", "serialNumber": "no. 13", "opusNumber": "op. 27, no. 1", "key": "E major" }
2398
- *
2399
- * - # "Konserter, fiolin, orkester, op. 8, nr. 1, RV 269, E-dur" { "titleType": "uniform_title_music", "form": "Konserter", "medium": "fiolin, orkester", "opusNumber": "op. 8, nr. 1", "thematicCatalogueNumber": "RV 269", "key": "E-dur" } ``` */
2400
- UniformTitleMusic: {
2401
- /** @constant */
2402
- titleType: "uniform_title_music";
2403
- /** @description Form of composition.
2404
- *
2405
- * Examples: "Symfonier" (Symphonies), "Konserter" (Concerts), Preludier (Preludes), "Sonater" (Sonatas). */
2406
- form: string;
2407
- /** @description Instrumentation / medium of performance (Norwegian: "Besetning").
2408
- *
2409
- * Examples: "klaver, orkester", "fiolin (2), klaver".
2410
- *
2411
- * Note that instrumentation is also coded in a structured form on `Work`.
2412
- *
2413
- * Corresponds to `240$m` in MARC 21. */
2414
- instrumentation?: string;
2415
- /** @description A number used for works with the same `form` (and `instrumentation`) which are consecutively numbered by the composer or arranger, or are consecutively numbered in reference sources.
2416
- *
2417
- * Example: "nr. 14"
2418
- *
2419
- * Corresponds to parts of `240$n` in MARC 21, [musicSerialNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicSerialNumber) in Bibframe and [has serial number of musical work](https://www.rdaregistry.info/Elements/w/#P10334) in RDA. */
2420
- serialNumber?: string;
2421
- /** @description Opus number
2422
- *
2423
- * Numeric designation of a musical work assigned by a composer, publisher, or a musicologist. Includes the prefix "op .".
2424
- *
2425
- * Examples: "op. 14", "op. 27, no. 1" or "op. 27, no. 1-2"
2426
- *
2427
- * Corresponds to parts of `240$n` in MARC 21, [musicOpusNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicOpusNumber) in Bibframe and [has opus number](https://www.rdaregistry.info/Elements/w/#P10333) in RDA. */
2428
- opusNumber?: string;
2429
- /** @description Thematic catalogue number
2430
- *
2431
- * Designation for a musical work as found in a thematic catalogue of works. In cases of multiple catalogue numbers, the numbers are separated by comma.
2432
- *
2433
- * Examples: "KV 622", "BWV 249", "Sz. 75, BB 84"
2434
- *
2435
- * Corresponds to parts of `240$n` in MARC 21, [musicThematicNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicThematicNumber) in Bibframe and [has thematic index number](https://www.rdaregistry.info/Elements/w/#P10335) in RDA. */
2436
- thematicCatalogueNumber?: string;
2437
- /** @description Designation for a part/section (Norwegian: "Seksjon") of a work used in the title.
2438
- *
2439
- * Examples: "Adagio" (part of a symphony or sonata), "Suite nr. 1", "Utvalg" */
2440
- part?: string;
2441
- /** @description Key (Norwegian: "Toneart")
2442
- *
2443
- * Examples: "C-dur", "a-moll", "F-dur"
2444
- *
2445
- * Corresponds to `240$r` in MARC 21, [musicKey](http://id.loc.gov/ontologies/bibframe.html#p_musicKey) in Bibframe and [has key of representative expression](https://www.rdaregistry.info/Elements/w/#P10221) in RDA. */
2446
- key?: string;
2447
- /** @description Arrangement statement. Contains the value "arr.", "arrangement" or similar if the work is an arrangement of another work.
2448
- *
2449
- * Corresponds to `240$o` in MARC 21 */
2450
- arrangement?: string;
2451
- /** @description Language used to encode the title elements. Usually the preferred language of the cataloguing agency. */
2452
- titleLanguage?: components["schemas"]["Language"];
2453
- };
2454
2481
  RegularTitle: {
2455
2482
  /** @constant */
2456
2483
  titleType?: "regular_title";
@@ -3426,6 +3453,9 @@ interface components {
3426
3453
  Work: {
3427
3454
  /** @constant */
3428
3455
  type: "Work";
3456
+ /** @constant */
3457
+ entityType: "work";
3458
+ id: components["schemas"]["Id"];
3429
3459
  } & components["schemas"]["BaseWork"] & {
3430
3460
  workType: components["schemas"]["CordataEnumWorkType"];
3431
3461
  /**
@@ -198,9 +198,6 @@ interface components$1 {
198
198
  * 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.
199
199
  * 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. */
200
200
  BaseWork: {
201
- /** @constant */
202
- entityType: "work";
203
- id: components$1["schemas"]["Id"];
204
201
  /** @description Map of other identifiers for the entity */
205
202
  identifiers: {
206
203
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
@@ -1356,6 +1353,9 @@ interface components$1 {
1356
1353
  Work: {
1357
1354
  /** @constant */
1358
1355
  type: "Work";
1356
+ /** @constant */
1357
+ entityType: "work";
1358
+ id: components$1["schemas"]["Id"];
1359
1359
  } & components$1["schemas"]["BaseWork"] & {
1360
1360
  workType: components$1["schemas"]["CordataEnumWorkType"];
1361
1361
  /**
@@ -2000,13 +2000,35 @@ interface components {
2000
2000
  total: number;
2001
2001
  /** @description Unique identifier for the entity. */
2002
2002
  Id: string;
2003
+ /** @description The Title object is used for all title types across Work, Expression, Manifestation, Collection Work, Collection Expression, Short Work And Short Expression entities. */
2004
+ BaseTitle: {
2005
+ /** @description The chief name of the entity. */
2006
+ mainTitle: string;
2007
+ /** @description A word or phrase elaborating on the character, contents, etc., of the entity, that is not part of the chief name of the entity. */
2008
+ subtitle?: string;
2009
+ /** @description A distinguishing element for entities in a sequential set with the same Main title. */
2010
+ partNumber?: string;
2011
+ /** @description A distinguishing element for entities in a set with the same Main title. */
2012
+ partTitle?: string;
2013
+ };
2014
+ /** @enum {string} */
2015
+ CordataEnumLanguageCode: "abk" | "ach" | "afr" | "akk" | "alb" | "amh" | "ang" | "ara" | "arc" | "arm" | "aze" | "bam" | "baq" | "bel" | "bem" | "ben" | "bis" | "bnt" | "bos" | "bre" | "bul" | "bur" | "byn" | "cat" | "ceb" | "che" | "chi" | "chu" | "cic" | "ckb" | "cmn" | "cnr" | "cop" | "cze" | "dan" | "dut" | "dzo" | "egy" | "eng" | "enm" | "epo" | "est" | "ewe" | "fao" | "fat" | "fij" | "fin" | "fiu" | "fkv" | "fre" | "frm" | "fro" | "fry" | "ful" | "gaa" | "geo" | "ger" | "gez" | "gla" | "gle" | "glg" | "gmh" | "got" | "grc" | "gre" | "guj" | "hau" | "heb" | "hil" | "hin" | "hrv" | "hun" | "ibo" | "ice" | "iku" | "ilo" | "ind" | "ipk" | "ira" | "ita" | "jpn" | "kal" | "kan" | "kar" | "kaz" | "khm" | "kho" | "kik" | "kin" | "kir" | "kmr" | "kon" | "kor" | "kua" | "kur" | "lao" | "lat" | "lav" | "lin" | "lit" | "lkt" | "lug" | "mac" | "man" | "mao" | "mar" | "may" | "mlg" | "mlt" | "mnk" | "mol" | "mon" | "mul" | "myn" | "nds" | "nep" | "nic" | "nno" | "nob" | "nom" | "non" | "nor" | "nso" | "oci" | "orm" | "pan" | "per" | "pli" | "pol" | "por" | "pra" | "pro" | "prs" | "pus" | "qsp" | "qsw" | "roh" | "rom" | "rum" | "run" | "rus" | "sah" | "san" | "sat" | "sco" | "sgn" | "sin" | "sit" | "sjd" | "sje" | "sjk" | "sjt" | "sju" | "slo" | "slv" | "sma" | "sme" | "smi" | "smj" | "smn" | "smo" | "sms" | "som" | "sot" | "spa" | "srp" | "sux" | "swa" | "swe" | "syr" | "tam" | "tay" | "tel" | "tgl" | "tha" | "tib" | "tir" | "tkl" | "tlh" | "tmh" | "ton" | "tur" | "ukr" | "und" | "urd" | "uzb" | "vie" | "wel" | "wen" | "wol" | "xho" | "yid" | "yor" | "ypk" | "yue" | "zbl" | "zul" | "zxx";
2016
+ Language: {
2017
+ /** @description Three-letter language code from ISO 639-2 (Bibliographic) */
2018
+ code: components["schemas"]["CordataEnumLanguageCode"];
2019
+ name: string;
2020
+ };
2021
+ TitleSummary: {
2022
+ /** @constant */
2023
+ titleType?: "regular_title";
2024
+ } & components["schemas"]["BaseTitle"] & {
2025
+ /** @description The language of the title. */
2026
+ titleLanguage?: components["schemas"]["Language"];
2027
+ };
2003
2028
  /** @description A Work is defined as "The intellectual or artistic content of a distinct creation" (Library Reference Model)
2004
2029
  * 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.
2005
2030
  * 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. */
2006
2031
  BaseWork: {
2007
- /** @constant */
2008
- entityType: "work";
2009
- id: components["schemas"]["Id"];
2010
2032
  /** @description Map of other identifiers for the entity */
2011
2033
  identifiers: {
2012
2034
  /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
@@ -2031,6 +2053,70 @@ interface components {
2031
2053
  code: components["schemas"]["CordataEnumWorkTypeCode"];
2032
2054
  label: string;
2033
2055
  };
2056
+ /** @description Uniform title for a music work.
2057
+ *
2058
+ * This type of title is used to provide a unique and structured point of access for classical music works that lack a distinct title, and is constructed from key information about the work.
2059
+ *
2060
+ * Examples:
2061
+ *
2062
+ * ```
2063
+ * - # "Sonatas, piano, no. 13, op. 27, no. 1, E major" { "titleType": "uniform_title_music", "form": "Sonatas", "medium": "piano", "serialNumber": "no. 13", "opusNumber": "op. 27, no. 1", "key": "E major" }
2064
+ *
2065
+ * - # "Konserter, fiolin, orkester, op. 8, nr. 1, RV 269, E-dur" { "titleType": "uniform_title_music", "form": "Konserter", "medium": "fiolin, orkester", "opusNumber": "op. 8, nr. 1", "thematicCatalogueNumber": "RV 269", "key": "E-dur" } ``` */
2066
+ UniformTitleMusic: {
2067
+ /** @constant */
2068
+ titleType: "uniform_title_music";
2069
+ /** @description Form of composition.
2070
+ *
2071
+ * Examples: "Symfonier" (Symphonies), "Konserter" (Concerts), Preludier (Preludes), "Sonater" (Sonatas). */
2072
+ form: string;
2073
+ /** @description Instrumentation / medium of performance (Norwegian: "Besetning").
2074
+ *
2075
+ * Examples: "klaver, orkester", "fiolin (2), klaver".
2076
+ *
2077
+ * Note that instrumentation is also coded in a structured form on `Work`.
2078
+ *
2079
+ * Corresponds to `240$m` in MARC 21. */
2080
+ instrumentation?: string;
2081
+ /** @description A number used for works with the same `form` (and `instrumentation`) which are consecutively numbered by the composer or arranger, or are consecutively numbered in reference sources.
2082
+ *
2083
+ * Example: "nr. 14"
2084
+ *
2085
+ * Corresponds to parts of `240$n` in MARC 21, [musicSerialNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicSerialNumber) in Bibframe and [has serial number of musical work](https://www.rdaregistry.info/Elements/w/#P10334) in RDA. */
2086
+ serialNumber?: string;
2087
+ /** @description Opus number
2088
+ *
2089
+ * Numeric designation of a musical work assigned by a composer, publisher, or a musicologist. Includes the prefix "op .".
2090
+ *
2091
+ * Examples: "op. 14", "op. 27, no. 1" or "op. 27, no. 1-2"
2092
+ *
2093
+ * Corresponds to parts of `240$n` in MARC 21, [musicOpusNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicOpusNumber) in Bibframe and [has opus number](https://www.rdaregistry.info/Elements/w/#P10333) in RDA. */
2094
+ opusNumber?: string;
2095
+ /** @description Thematic catalogue number
2096
+ *
2097
+ * Designation for a musical work as found in a thematic catalogue of works. In cases of multiple catalogue numbers, the numbers are separated by comma.
2098
+ *
2099
+ * Examples: "KV 622", "BWV 249", "Sz. 75, BB 84"
2100
+ *
2101
+ * Corresponds to parts of `240$n` in MARC 21, [musicThematicNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicThematicNumber) in Bibframe and [has thematic index number](https://www.rdaregistry.info/Elements/w/#P10335) in RDA. */
2102
+ thematicCatalogueNumber?: string;
2103
+ /** @description Designation for a part/section (Norwegian: "Seksjon") of a work used in the title.
2104
+ *
2105
+ * Examples: "Adagio" (part of a symphony or sonata), "Suite nr. 1", "Utvalg" */
2106
+ part?: string;
2107
+ /** @description Key (Norwegian: "Toneart")
2108
+ *
2109
+ * Examples: "C-dur", "a-moll", "F-dur"
2110
+ *
2111
+ * Corresponds to `240$r` in MARC 21, [musicKey](http://id.loc.gov/ontologies/bibframe.html#p_musicKey) in Bibframe and [has key of representative expression](https://www.rdaregistry.info/Elements/w/#P10221) in RDA. */
2112
+ key?: string;
2113
+ /** @description Arrangement statement. Contains the value "arr.", "arrangement" or similar if the work is an arrangement of another work.
2114
+ *
2115
+ * Corresponds to `240$o` in MARC 21 */
2116
+ arrangement?: string;
2117
+ /** @description Language used to encode the title elements. Usually the preferred language of the cataloguing agency. */
2118
+ titleLanguage?: components["schemas"]["Language"];
2119
+ };
2034
2120
  /** @enum {string} */
2035
2121
  CordataEnumExpressionTypeCode: "atlas" | "audiobook" | "board_game" | "book" | "box_set" | "combined" | "map" | "movie" | "musical_notation" | "musical_recording" | "software" | "videogame";
2036
2122
  CordataEnumExpressionTypeTranslated: {
@@ -2056,28 +2142,6 @@ interface components {
2056
2142
  code: components["schemas"]["CordataEnumWorkIllustrationsOptionCode"];
2057
2143
  label: string;
2058
2144
  };
2059
- /** @description The Title object is used for all title types across Work, Expression, Manifestation, Collection Work, Collection Expression, Short Work And Short Expression entities. */
2060
- BaseTitle: {
2061
- /** @description The chief name of the entity. */
2062
- mainTitle: string;
2063
- /** @description A word or phrase elaborating on the character, contents, etc., of the entity, that is not part of the chief name of the entity. */
2064
- subtitle?: string;
2065
- /** @description A distinguishing element for entities in a sequential set with the same Main title. */
2066
- partNumber?: string;
2067
- /** @description A distinguishing element for entities in a set with the same Main title. */
2068
- partTitle?: string;
2069
- };
2070
- /** @enum {string} */
2071
- CordataEnumLanguageCode: "abk" | "ach" | "afr" | "akk" | "alb" | "amh" | "ang" | "ara" | "arc" | "arm" | "aze" | "bam" | "baq" | "bel" | "bem" | "ben" | "bis" | "bnt" | "bos" | "bre" | "bul" | "bur" | "byn" | "cat" | "ceb" | "che" | "chi" | "chu" | "cic" | "ckb" | "cmn" | "cnr" | "cop" | "cze" | "dan" | "dut" | "dzo" | "egy" | "eng" | "enm" | "epo" | "est" | "ewe" | "fao" | "fat" | "fij" | "fin" | "fiu" | "fkv" | "fre" | "frm" | "fro" | "fry" | "ful" | "gaa" | "geo" | "ger" | "gez" | "gla" | "gle" | "glg" | "gmh" | "got" | "grc" | "gre" | "guj" | "hau" | "heb" | "hil" | "hin" | "hrv" | "hun" | "ibo" | "ice" | "iku" | "ilo" | "ind" | "ipk" | "ira" | "ita" | "jpn" | "kal" | "kan" | "kar" | "kaz" | "khm" | "kho" | "kik" | "kin" | "kir" | "kmr" | "kon" | "kor" | "kua" | "kur" | "lao" | "lat" | "lav" | "lin" | "lit" | "lkt" | "lug" | "mac" | "man" | "mao" | "mar" | "may" | "mlg" | "mlt" | "mnk" | "mol" | "mon" | "mul" | "myn" | "nds" | "nep" | "nic" | "nno" | "nob" | "nom" | "non" | "nor" | "nso" | "oci" | "orm" | "pan" | "per" | "pli" | "pol" | "por" | "pra" | "pro" | "prs" | "pus" | "qsp" | "qsw" | "roh" | "rom" | "rum" | "run" | "rus" | "sah" | "san" | "sat" | "sco" | "sgn" | "sin" | "sit" | "sjd" | "sje" | "sjk" | "sjt" | "sju" | "slo" | "slv" | "sma" | "sme" | "smi" | "smj" | "smn" | "smo" | "sms" | "som" | "sot" | "spa" | "srp" | "sux" | "swa" | "swe" | "syr" | "tam" | "tay" | "tel" | "tgl" | "tha" | "tib" | "tir" | "tkl" | "tlh" | "tmh" | "ton" | "tur" | "ukr" | "und" | "urd" | "uzb" | "vie" | "wel" | "wen" | "wol" | "xho" | "yid" | "yor" | "ypk" | "yue" | "zbl" | "zul" | "zxx";
2072
- Language: {
2073
- /** @description Three-letter language code from ISO 639-2 (Bibliographic) */
2074
- code: components["schemas"]["CordataEnumLanguageCode"];
2075
- name: string;
2076
- };
2077
- TitleSummary: components["schemas"]["BaseTitle"] & {
2078
- /** @description The language of the title. */
2079
- titleLanguage?: components["schemas"]["Language"];
2080
- };
2081
2145
  /** @enum {string} */
2082
2146
  CordataEnumAgeGroupCode: "a" | "aa" | "b" | "bu" | "j" | "mu" | "u" | "v" | "vu";
2083
2147
  CordataEnumAgeGroupTranslated: {
@@ -2085,6 +2149,12 @@ interface components {
2085
2149
  label: string;
2086
2150
  };
2087
2151
  /** @enum {string} */
2152
+ CordataEnumAgentTypeCode: "artificial_agent" | "collective_agent" | "person";
2153
+ CordataEnumAgentTypeTranslated: {
2154
+ code: components["schemas"]["CordataEnumAgentTypeCode"];
2155
+ label: string;
2156
+ };
2157
+ /** @enum {string} */
2088
2158
  CordataEnumCollectiveAgentTypeCode: "conference" | "corporation" | "family" | "music_group" | "publisher";
2089
2159
  CordataEnumCollectiveAgentTypeTranslated: {
2090
2160
  code: components["schemas"]["CordataEnumCollectiveAgentTypeCode"];
@@ -2103,6 +2173,7 @@ interface components {
2103
2173
  AgentSummaryBase: {
2104
2174
  /** @constant */
2105
2175
  entityType: "agent";
2176
+ agentType: components["schemas"]["CordataEnumAgentTypeTranslated"];
2106
2177
  collectiveAgentType?: components["schemas"]["CordataEnumCollectiveAgentTypeTranslated"];
2107
2178
  id: components["schemas"]["Id"];
2108
2179
  identifiers: components["schemas"]["AgentIdentifiers"];
@@ -2186,8 +2257,30 @@ interface components {
2186
2257
  WorkSummary: {
2187
2258
  /** @constant */
2188
2259
  type: "WorkSummary";
2260
+ /** @constant */
2261
+ entityType: "work";
2262
+ id: components["schemas"]["Id"];
2263
+ /** @description TODO */
2264
+ representation: {
2265
+ manifestationId: components["schemas"]["Id"];
2266
+ title: components["schemas"]["TitleSummary"];
2267
+ coverImage?: string;
2268
+ catalogueRecords: string[];
2269
+ };
2189
2270
  } & components["schemas"]["BaseWork"] & {
2190
2271
  workType: components["schemas"]["CordataEnumWorkTypeTranslated"];
2272
+ /** @description Preferred title of work.
2273
+ *
2274
+ * Typically this will be the title the work was assigned at its first publication or release. Exceptions are made if:
2275
+ * - the work is significantly more well known under a later or abbreviated form of the title; e.g. *"Hamlet"*, not *"The tragedy of Hamlet, prince of Denmark"*.
2276
+ * - the work is known under a uniform title - applies to works created prior to 1501.
2277
+ * - there are other significant reasons for preferring a later title.
2278
+ *
2279
+ * For works where the first publication has two main titles separated by "or" (subsequent main title), only the first title is registered as the preferred title for the work, e.g. *"The hobbit"*, not *"The hobbit, or, There and back again"*.
2280
+ *
2281
+ * Classical music works without titles in the traditional sense will instead get a generic uniform title, synthesized from key information about the work, such as "Symphonies, no. 6, op. 6, F major". In these cases, the title is of type {@link UniformTitleMusic } .
2282
+ * */
2283
+ workTitle: components["schemas"]["TitleSummary"] | components["schemas"]["UniformTitleMusic"];
2191
2284
  /** @description TODO */
2192
2285
  formats: {
2193
2286
  expressionType: components["schemas"]["CordataEnumExpressionTypeTranslated"];
@@ -2195,7 +2288,10 @@ interface components {
2195
2288
  }[];
2196
2289
  literatureType?: components["schemas"]["LiteratureTypeTranslated"];
2197
2290
  illustrations?: components["schemas"]["CordataEnumWorkIllustrationsOptionTranslated"];
2198
- /** @description TODO */
2291
+ /**
2292
+ * @deprecated
2293
+ * @description Deprecated, use `representation.title` instead.
2294
+ */
2199
2295
  title: components["schemas"]["TitleSummary"];
2200
2296
  /** @description TODO (languages from all expressions) */
2201
2297
  languages: components["schemas"]["Language"][][];
@@ -2240,7 +2336,10 @@ interface components {
2240
2336
  */
2241
2337
  nbVokUri?: string;
2242
2338
  })[];
2243
- /** @description A representative cover image. */
2339
+ /**
2340
+ * @deprecated
2341
+ * @description Deprecated, use `representation.coverImage` instead.
2342
+ */
2244
2343
  coverImage?: string;
2245
2344
  /** @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.
2246
2345
  *
@@ -2251,18 +2350,6 @@ interface components {
2251
2350
  status: boolean;
2252
2351
  program?: string;
2253
2352
  };
2254
- /**
2255
- * @deprecated
2256
- * @description Use `formats` instead.
2257
- *
2258
- */
2259
- expressionType: components["schemas"]["CordataEnumExpressionTypeTranslated"];
2260
- /**
2261
- * @deprecated
2262
- * @description Use `formats` instead.
2263
- *
2264
- */
2265
- manifestationMedium: components["schemas"]["CordataEnumManifestationMediumTranslated"];
2266
2353
  };
2267
2354
  /** @description If this is false, we haven't reached the end of the search result yet, if it's false we have, and if it's missing or null we don't know. */
2268
2355
  endOfResults: boolean;
@@ -2296,6 +2383,10 @@ interface components {
2296
2383
  total?: components["schemas"]["total"];
2297
2384
  results: {
2298
2385
  work: components["schemas"]["WorkSummary"];
2386
+ /**
2387
+ * @deprecated
2388
+ * @description Deprecated, use `work.representation.manifestationId` instead.
2389
+ */
2299
2390
  representativeManifestationId: string;
2300
2391
  }[];
2301
2392
  endOfResults: components["schemas"]["endOfResults"];
@@ -2387,70 +2478,6 @@ interface components {
2387
2478
  /** @description The language of the title. */
2388
2479
  titleLanguage?: components["schemas"]["Language"];
2389
2480
  };
2390
- /** @description Uniform title for a music work.
2391
- *
2392
- * This type of title is used to provide a unique and structured point of access for classical music works that lack a distinct title, and is constructed from key information about the work.
2393
- *
2394
- * Examples:
2395
- *
2396
- * ```
2397
- * - # "Sonatas, piano, no. 13, op. 27, no. 1, E major" { "titleType": "uniform_title_music", "form": "Sonatas", "medium": "piano", "serialNumber": "no. 13", "opusNumber": "op. 27, no. 1", "key": "E major" }
2398
- *
2399
- * - # "Konserter, fiolin, orkester, op. 8, nr. 1, RV 269, E-dur" { "titleType": "uniform_title_music", "form": "Konserter", "medium": "fiolin, orkester", "opusNumber": "op. 8, nr. 1", "thematicCatalogueNumber": "RV 269", "key": "E-dur" } ``` */
2400
- UniformTitleMusic: {
2401
- /** @constant */
2402
- titleType: "uniform_title_music";
2403
- /** @description Form of composition.
2404
- *
2405
- * Examples: "Symfonier" (Symphonies), "Konserter" (Concerts), Preludier (Preludes), "Sonater" (Sonatas). */
2406
- form: string;
2407
- /** @description Instrumentation / medium of performance (Norwegian: "Besetning").
2408
- *
2409
- * Examples: "klaver, orkester", "fiolin (2), klaver".
2410
- *
2411
- * Note that instrumentation is also coded in a structured form on `Work`.
2412
- *
2413
- * Corresponds to `240$m` in MARC 21. */
2414
- instrumentation?: string;
2415
- /** @description A number used for works with the same `form` (and `instrumentation`) which are consecutively numbered by the composer or arranger, or are consecutively numbered in reference sources.
2416
- *
2417
- * Example: "nr. 14"
2418
- *
2419
- * Corresponds to parts of `240$n` in MARC 21, [musicSerialNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicSerialNumber) in Bibframe and [has serial number of musical work](https://www.rdaregistry.info/Elements/w/#P10334) in RDA. */
2420
- serialNumber?: string;
2421
- /** @description Opus number
2422
- *
2423
- * Numeric designation of a musical work assigned by a composer, publisher, or a musicologist. Includes the prefix "op .".
2424
- *
2425
- * Examples: "op. 14", "op. 27, no. 1" or "op. 27, no. 1-2"
2426
- *
2427
- * Corresponds to parts of `240$n` in MARC 21, [musicOpusNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicOpusNumber) in Bibframe and [has opus number](https://www.rdaregistry.info/Elements/w/#P10333) in RDA. */
2428
- opusNumber?: string;
2429
- /** @description Thematic catalogue number
2430
- *
2431
- * Designation for a musical work as found in a thematic catalogue of works. In cases of multiple catalogue numbers, the numbers are separated by comma.
2432
- *
2433
- * Examples: "KV 622", "BWV 249", "Sz. 75, BB 84"
2434
- *
2435
- * Corresponds to parts of `240$n` in MARC 21, [musicThematicNumber](http://id.loc.gov/ontologies/bibframe.html#p_musicThematicNumber) in Bibframe and [has thematic index number](https://www.rdaregistry.info/Elements/w/#P10335) in RDA. */
2436
- thematicCatalogueNumber?: string;
2437
- /** @description Designation for a part/section (Norwegian: "Seksjon") of a work used in the title.
2438
- *
2439
- * Examples: "Adagio" (part of a symphony or sonata), "Suite nr. 1", "Utvalg" */
2440
- part?: string;
2441
- /** @description Key (Norwegian: "Toneart")
2442
- *
2443
- * Examples: "C-dur", "a-moll", "F-dur"
2444
- *
2445
- * Corresponds to `240$r` in MARC 21, [musicKey](http://id.loc.gov/ontologies/bibframe.html#p_musicKey) in Bibframe and [has key of representative expression](https://www.rdaregistry.info/Elements/w/#P10221) in RDA. */
2446
- key?: string;
2447
- /** @description Arrangement statement. Contains the value "arr.", "arrangement" or similar if the work is an arrangement of another work.
2448
- *
2449
- * Corresponds to `240$o` in MARC 21 */
2450
- arrangement?: string;
2451
- /** @description Language used to encode the title elements. Usually the preferred language of the cataloguing agency. */
2452
- titleLanguage?: components["schemas"]["Language"];
2453
- };
2454
2481
  RegularTitle: {
2455
2482
  /** @constant */
2456
2483
  titleType?: "regular_title";
@@ -3426,6 +3453,9 @@ interface components {
3426
3453
  Work: {
3427
3454
  /** @constant */
3428
3455
  type: "Work";
3456
+ /** @constant */
3457
+ entityType: "work";
3458
+ id: components["schemas"]["Id"];
3429
3459
  } & components["schemas"]["BaseWork"] & {
3430
3460
  workType: components["schemas"]["CordataEnumWorkType"];
3431
3461
  /**
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BmdbApiSchemas, a as BmdbApiPaths } from './index-Cor_YxmD.cjs';
2
- export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle, i as isCordataEnumAgeGroupCode, h as isCordataEnumAgeLimitCode, j as isCordataEnumContributorRoleCode, k as isCordataEnumExpressionTypeCode, l as isCordataEnumLanguageCode, m as isCordataEnumManifestationMediumCode, n as isCordataEnumWorkTypeCode } from './index-Cor_YxmD.cjs';
1
+ import { B as BmdbApiSchemas, a as BmdbApiPaths } from './index-DtIIr2Nm.cjs';
2
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle, i as isCordataEnumAgeGroupCode, h as isCordataEnumAgeLimitCode, j as isCordataEnumContributorRoleCode, k as isCordataEnumExpressionTypeCode, l as isCordataEnumLanguageCode, m as isCordataEnumManifestationMediumCode, n as isCordataEnumWorkTypeCode } from './index-DtIIr2Nm.cjs';
3
3
  import { ClientOptions, Client } from 'openapi-fetch';
4
4
 
5
5
  type BmdbWork = BmdbApiSchemas["Work"];
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BmdbApiSchemas, a as BmdbApiPaths } from './index-Cor_YxmD.js';
2
- export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle, i as isCordataEnumAgeGroupCode, h as isCordataEnumAgeLimitCode, j as isCordataEnumContributorRoleCode, k as isCordataEnumExpressionTypeCode, l as isCordataEnumLanguageCode, m as isCordataEnumManifestationMediumCode, n as isCordataEnumWorkTypeCode } from './index-Cor_YxmD.js';
1
+ import { B as BmdbApiSchemas, a as BmdbApiPaths } from './index-DtIIr2Nm.js';
2
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle, i as isCordataEnumAgeGroupCode, h as isCordataEnumAgeLimitCode, j as isCordataEnumContributorRoleCode, k as isCordataEnumExpressionTypeCode, l as isCordataEnumLanguageCode, m as isCordataEnumManifestationMediumCode, n as isCordataEnumWorkTypeCode } from './index-DtIIr2Nm.js';
3
3
  import { ClientOptions, Client } from 'openapi-fetch';
4
4
 
5
5
  type BmdbWork = BmdbApiSchemas["Work"];
@@ -1,2 +1,2 @@
1
- export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle, i as isCordataEnumAgeGroupCode, h as isCordataEnumAgeLimitCode, j as isCordataEnumContributorRoleCode, k as isCordataEnumExpressionTypeCode, l as isCordataEnumLanguageCode, m as isCordataEnumManifestationMediumCode, n as isCordataEnumWorkTypeCode } from '../index-Cor_YxmD.cjs';
1
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle, i as isCordataEnumAgeGroupCode, h as isCordataEnumAgeLimitCode, j as isCordataEnumContributorRoleCode, k as isCordataEnumExpressionTypeCode, l as isCordataEnumLanguageCode, m as isCordataEnumManifestationMediumCode, n as isCordataEnumWorkTypeCode } from '../index-DtIIr2Nm.cjs';
2
2
  import 'openapi-fetch';
@@ -1,2 +1,2 @@
1
- export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle, i as isCordataEnumAgeGroupCode, h as isCordataEnumAgeLimitCode, j as isCordataEnumContributorRoleCode, k as isCordataEnumExpressionTypeCode, l as isCordataEnumLanguageCode, m as isCordataEnumManifestationMediumCode, n as isCordataEnumWorkTypeCode } from '../index-Cor_YxmD.js';
1
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle, i as isCordataEnumAgeGroupCode, h as isCordataEnumAgeLimitCode, j as isCordataEnumContributorRoleCode, k as isCordataEnumExpressionTypeCode, l as isCordataEnumLanguageCode, m as isCordataEnumManifestationMediumCode, n as isCordataEnumWorkTypeCode } from '../index-DtIIr2Nm.js';
2
2
  import 'openapi-fetch';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biblioteksentralen/bmdb-search",
3
- "version": "0.0.0-beta.44",
3
+ "version": "0.0.0-beta.46",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Client for searching Bibliotekenes metadatabrønn (BMDB)",