@twin.org/standards-unece 0.0.3-next.66 → 0.0.3-next.68

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.
Files changed (70) hide show
  1. package/dist/es/models/bsp/IUneceBirthAddress.js.map +1 -1
  2. package/dist/es/models/bsp/IUneceContactPerson.js.map +1 -1
  3. package/dist/es/models/bsp/IUneceCountry.js.map +1 -1
  4. package/dist/es/models/bsp/IUneceDocument.js.map +1 -1
  5. package/dist/es/models/bsp/IUneceFinancialInstitutionAddress.js.map +1 -1
  6. package/dist/es/models/bsp/IUneceGovernmentRegistration.js.map +1 -1
  7. package/dist/es/models/bsp/IUneceLanguageProficiency.js.map +1 -1
  8. package/dist/es/models/bsp/IUneceLegalRegistration.js.map +1 -1
  9. package/dist/es/models/bsp/IUneceLocation.js.map +1 -1
  10. package/dist/es/models/bsp/IUneceLocationParty.js.map +1 -1
  11. package/dist/es/models/bsp/IUneceLogisticsLocation.js.map +1 -1
  12. package/dist/es/models/bsp/IUnecePaymentTerms.js.map +1 -1
  13. package/dist/es/models/bsp/IUneceServiceCharge.js.map +1 -1
  14. package/dist/es/models/bsp/IUneceStowaway.js.map +1 -1
  15. package/dist/es/models/bsp/IUneceTradeAddress.js.map +1 -1
  16. package/dist/es/models/bsp/IUneceTradeLocation.js.map +1 -1
  17. package/dist/es/models/bsp/IUneceTransportPerson.js.map +1 -1
  18. package/dist/es/schemas/UneceBirthAddress.json +3 -0
  19. package/dist/es/schemas/UneceContactPerson.json +3 -0
  20. package/dist/es/schemas/UneceCountry.json +3 -0
  21. package/dist/es/schemas/UneceDocument.json +3 -0
  22. package/dist/es/schemas/UneceFinancialInstitutionAddress.json +3 -0
  23. package/dist/es/schemas/UneceGovernmentRegistration.json +3 -0
  24. package/dist/es/schemas/UneceLanguageProficiency.json +3 -0
  25. package/dist/es/schemas/UneceLegalRegistration.json +3 -0
  26. package/dist/es/schemas/UneceLocation.json +3 -0
  27. package/dist/es/schemas/UneceLocationParty.json +3 -0
  28. package/dist/es/schemas/UneceLogisticsLocation.json +3 -0
  29. package/dist/es/schemas/UnecePaymentTerms.json +3 -0
  30. package/dist/es/schemas/UneceServiceCharge.json +3 -0
  31. package/dist/es/schemas/UneceStowaway.json +3 -0
  32. package/dist/es/schemas/UneceTradeAddress.json +3 -0
  33. package/dist/es/schemas/UneceTradeLocation.json +3 -0
  34. package/dist/es/schemas/UneceTransportPerson.json +3 -0
  35. package/dist/types/models/bsp/IUneceBirthAddress.d.ts +2 -1
  36. package/dist/types/models/bsp/IUneceContactPerson.d.ts +2 -1
  37. package/dist/types/models/bsp/IUneceCountry.d.ts +2 -1
  38. package/dist/types/models/bsp/IUneceDocument.d.ts +2 -1
  39. package/dist/types/models/bsp/IUneceFinancialInstitutionAddress.d.ts +2 -1
  40. package/dist/types/models/bsp/IUneceGovernmentRegistration.d.ts +2 -1
  41. package/dist/types/models/bsp/IUneceLanguageProficiency.d.ts +2 -1
  42. package/dist/types/models/bsp/IUneceLegalRegistration.d.ts +2 -1
  43. package/dist/types/models/bsp/IUneceLocation.d.ts +2 -1
  44. package/dist/types/models/bsp/IUneceLocationParty.d.ts +2 -1
  45. package/dist/types/models/bsp/IUneceLogisticsLocation.d.ts +2 -1
  46. package/dist/types/models/bsp/IUnecePaymentTerms.d.ts +2 -1
  47. package/dist/types/models/bsp/IUneceServiceCharge.d.ts +2 -1
  48. package/dist/types/models/bsp/IUneceStowaway.d.ts +2 -1
  49. package/dist/types/models/bsp/IUneceTradeAddress.d.ts +2 -1
  50. package/dist/types/models/bsp/IUneceTradeLocation.d.ts +2 -1
  51. package/dist/types/models/bsp/IUneceTransportPerson.d.ts +2 -1
  52. package/docs/changelog.md +14 -0
  53. package/docs/reference/interfaces/IUneceBirthAddress.md +1 -1
  54. package/docs/reference/interfaces/IUneceContactPerson.md +1 -1
  55. package/docs/reference/interfaces/IUneceCountry.md +1 -1
  56. package/docs/reference/interfaces/IUneceDocument.md +1 -1
  57. package/docs/reference/interfaces/IUneceFinancialInstitutionAddress.md +1 -1
  58. package/docs/reference/interfaces/IUneceGovernmentRegistration.md +1 -1
  59. package/docs/reference/interfaces/IUneceLanguageProficiency.md +1 -1
  60. package/docs/reference/interfaces/IUneceLegalRegistration.md +1 -1
  61. package/docs/reference/interfaces/IUneceLocation.md +1 -1
  62. package/docs/reference/interfaces/IUneceLocationParty.md +1 -1
  63. package/docs/reference/interfaces/IUneceLogisticsLocation.md +1 -1
  64. package/docs/reference/interfaces/IUnecePaymentTerms.md +1 -1
  65. package/docs/reference/interfaces/IUneceServiceCharge.md +1 -1
  66. package/docs/reference/interfaces/IUneceStowaway.md +1 -1
  67. package/docs/reference/interfaces/IUneceTradeAddress.md +1 -1
  68. package/docs/reference/interfaces/IUneceTradeLocation.md +1 -1
  69. package/docs/reference/interfaces/IUneceTransportPerson.md +1 -1
  70. package/package.json +1 -1
@@ -15,6 +15,9 @@
15
15
  },
16
16
  "countryId": {
17
17
  "anyOf": [
18
+ {
19
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
20
+ },
18
21
  {
19
22
  "type": "string"
20
23
  },
@@ -84,6 +84,9 @@
84
84
  },
85
85
  "documentLanguageId": {
86
86
  "anyOf": [
87
+ {
88
+ "$ref": "https://schema.twindev.org/unece/UneceLanguageId"
89
+ },
87
90
  {
88
91
  "type": "string"
89
92
  },
@@ -34,6 +34,9 @@
34
34
  },
35
35
  "countryId": {
36
36
  "anyOf": [
37
+ {
38
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
39
+ },
37
40
  {
38
41
  "type": "string"
39
42
  },
@@ -19,6 +19,9 @@
19
19
  },
20
20
  "countryId": {
21
21
  "anyOf": [
22
+ {
23
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
24
+ },
22
25
  {
23
26
  "type": "string"
24
27
  },
@@ -23,6 +23,9 @@
23
23
  },
24
24
  "personalLanguageProficiencyLanguageId": {
25
25
  "anyOf": [
26
+ {
27
+ "$ref": "https://schema.twindev.org/unece/UneceLanguageId"
28
+ },
26
29
  {
27
30
  "type": "string"
28
31
  },
@@ -19,6 +19,9 @@
19
19
  },
20
20
  "countryId": {
21
21
  "anyOf": [
22
+ {
23
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
24
+ },
22
25
  {
23
26
  "type": "string"
24
27
  },
@@ -99,6 +99,9 @@
99
99
  },
100
100
  "locationCountryId": {
101
101
  "anyOf": [
102
+ {
103
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
104
+ },
102
105
  {
103
106
  "type": "string"
104
107
  },
@@ -15,6 +15,9 @@
15
15
  },
16
16
  "countryId": {
17
17
  "anyOf": [
18
+ {
19
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
20
+ },
18
21
  {
19
22
  "type": "string"
20
23
  },
@@ -84,6 +84,9 @@
84
84
  },
85
85
  "logisticsLocationCountryId": {
86
86
  "anyOf": [
87
+ {
88
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
89
+ },
87
90
  {
88
91
  "type": "string"
89
92
  },
@@ -91,6 +91,9 @@
91
91
  },
92
92
  "paymentTermsId": {
93
93
  "anyOf": [
94
+ {
95
+ "$ref": "https://schema.twindev.org/unece/UnecePaymentTermsId"
96
+ },
94
97
  {
95
98
  "type": "string"
96
99
  },
@@ -94,6 +94,9 @@
94
94
  },
95
95
  "freightChargeTypeId": {
96
96
  "anyOf": [
97
+ {
98
+ "$ref": "https://schema.twindev.org/unece/UneceFreightChargeTypeId"
99
+ },
97
100
  {
98
101
  "type": "string"
99
102
  },
@@ -26,6 +26,9 @@
26
26
  },
27
27
  "countryClaimedNationalityId": {
28
28
  "anyOf": [
29
+ {
30
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
31
+ },
29
32
  {
30
33
  "type": "string"
31
34
  },
@@ -154,6 +154,9 @@
154
154
  },
155
155
  "tradeAddressCountryId": {
156
156
  "anyOf": [
157
+ {
158
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
159
+ },
157
160
  {
158
161
  "type": "string"
159
162
  },
@@ -63,6 +63,9 @@
63
63
  },
64
64
  "tradeLocationCountryId": {
65
65
  "anyOf": [
66
+ {
67
+ "$ref": "https://schema.twindev.org/unece/UneceCountryId"
68
+ },
66
69
  {
67
70
  "type": "string"
68
71
  },
@@ -208,6 +208,9 @@
208
208
  },
209
209
  "transportPersonLanguageId": {
210
210
  "anyOf": [
211
+ {
212
+ "$ref": "https://schema.twindev.org/unece/UneceLanguageId"
213
+ },
211
214
  {
212
215
  "type": "string"
213
216
  },
@@ -1,4 +1,5 @@
1
1
  import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
2
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
2
3
  import type { UneceContextType } from "../uneceContextType.js";
3
4
  import type { UneceTypes } from "../uneceTypes.js";
4
5
  /**
@@ -18,7 +19,7 @@ export interface IUneceBirthAddress {
18
19
  * The identifier of a country for this birth address.
19
20
  * @see https://vocabulary.uncefact.org/birthAddressCountryId
20
21
  */
21
- birthAddressCountryId?: string | IJsonLdValueObject;
22
+ birthAddressCountryId?: UneceCountryId | string | IJsonLdValueObject;
22
23
  /**
23
24
  * The name, expressed as text, of the city, town or village of this birth address.
24
25
  * @see https://vocabulary.uncefact.org/cityName
@@ -4,6 +4,7 @@ import type { IUneceCommunication } from "./IUneceCommunication.js";
4
4
  import type { IUneceEmployerIdentity } from "./IUneceEmployerIdentity.js";
5
5
  import type { IUnecePersonIdentity } from "./IUnecePersonIdentity.js";
6
6
  import type { IUneceTaxRegistration } from "./IUneceTaxRegistration.js";
7
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
7
8
  import type { UneceContextType } from "../uneceContextType.js";
8
9
  import type { UneceTypes } from "../uneceTypes.js";
9
10
  /**
@@ -45,7 +46,7 @@ export interface IUneceContactPerson {
45
46
  * The identifier of the residence country of this contact person.
46
47
  * @see https://vocabulary.uncefact.org/countryResidenceCountryId
47
48
  */
48
- countryResidenceCountryId?: string | IJsonLdValueObject;
49
+ countryResidenceCountryId?: UneceCountryId | string | IJsonLdValueObject;
49
50
  /**
50
51
  * An email Uniform Resource Identifier (URI) communication for this contact person.
51
52
  * @see https://vocabulary.uncefact.org/emailURICommunication
@@ -1,6 +1,7 @@
1
1
  import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
2
2
  import type { IUneceCountrySubDivision } from "./IUneceCountrySubDivision.js";
3
3
  import type { IUneceQuantityType } from "./IUneceQuantityType.js";
4
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
4
5
  import type { UneceContextType } from "../uneceContextType.js";
5
6
  import type { UneceTypes } from "../uneceTypes.js";
6
7
  /**
@@ -21,7 +22,7 @@ export interface IUneceCountry {
21
22
  * A unique identifier for this trade country.
22
23
  * @see https://vocabulary.uncefact.org/countryId
23
24
  */
24
- countryId?: string | IJsonLdValueObject;
25
+ countryId?: UneceCountryId | string | IJsonLdValueObject;
25
26
  /**
26
27
  * A name, expressed as text, of this trade country.
27
28
  * @see https://vocabulary.uncefact.org/name
@@ -13,6 +13,7 @@ import type { IUneceTradeParty } from "./IUneceTradeParty.js";
13
13
  import type { UneceCommunicationChannelCodeList } from "../lists/uneceCommunicationChannelCodeList.js";
14
14
  import type { UneceDocumentCodeList } from "../lists/uneceDocumentCodeList.js";
15
15
  import type { UneceDocumentStatusCodeList } from "../lists/uneceDocumentStatusCodeList.js";
16
+ import type { UneceLanguageId } from "../lists/uneceLanguageId.js";
16
17
  import type { UneceLineStatusCodeList } from "../lists/uneceLineStatusCodeList.js";
17
18
  import type { UneceMessageFunctionCodeList } from "../lists/uneceMessageFunctionCodeList.js";
18
19
  import type { UneceReferenceCodeList } from "../lists/uneceReferenceCodeList.js";
@@ -113,7 +114,7 @@ export interface IUneceDocument {
113
114
  * An identifier for a language used in this referenced document.
114
115
  * @see https://vocabulary.uncefact.org/documentLanguageId
115
116
  */
116
- documentLanguageId?: string | IJsonLdValueObject;
117
+ documentLanguageId?: UneceLanguageId | string | IJsonLdValueObject;
117
118
  /**
118
119
  * The code specifying the status of a line in this referenced document.
119
120
  * @see https://vocabulary.uncefact.org/documentLineStatusCode
@@ -1,4 +1,5 @@
1
1
  import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
2
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
2
3
  import type { UneceContextType } from "../uneceContextType.js";
3
4
  import type { UneceTypes } from "../uneceTypes.js";
4
5
  /**
@@ -34,7 +35,7 @@ export interface IUneceFinancialInstitutionAddress {
34
35
  * The unique identifier of a country for this financial institution address (Reference ISO 3166 and UN/ECE Rec 3).
35
36
  * @see https://vocabulary.uncefact.org/countryId
36
37
  */
37
- countryId?: string | IJsonLdValueObject;
38
+ countryId?: UneceCountryId | string | IJsonLdValueObject;
38
39
  /**
39
40
  * The name, expressed as text, of the country within this financial institution address.
40
41
  * @see https://vocabulary.uncefact.org/countryName
@@ -1,5 +1,6 @@
1
1
  import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
2
2
  import type { IUneceSpecifiedPeriod } from "./IUneceSpecifiedPeriod.js";
3
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
3
4
  import type { UneceGovernmentRegistrationTypeCodeList } from "../typeCodes/uneceGovernmentRegistrationTypeCodeList.js";
4
5
  import type { UneceContextType } from "../uneceContextType.js";
5
6
  import type { UneceTypes } from "../uneceTypes.js";
@@ -25,7 +26,7 @@ export interface IUneceGovernmentRegistration {
25
26
  * The identifier of the country for this government registration.
26
27
  * @see https://vocabulary.uncefact.org/countryId
27
28
  */
28
- countryId?: string | IJsonLdValueObject;
29
+ countryId?: UneceCountryId | string | IJsonLdValueObject;
29
30
  /**
30
31
  * The identifier of the country sub-division for this registration.
31
32
  * @see https://vocabulary.uncefact.org/countrySubDivisionId
@@ -1,5 +1,6 @@
1
1
  import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
2
2
  import type { UneceLanguageCodeList } from "../lists/uneceLanguageCodeList.js";
3
+ import type { UneceLanguageId } from "../lists/uneceLanguageId.js";
3
4
  import type { UneceContextType } from "../uneceContextType.js";
4
5
  import type { UneceTypes } from "../uneceTypes.js";
5
6
  /**
@@ -30,7 +31,7 @@ export interface IUneceLanguageProficiency {
30
31
  * The identifier of the language for which this personal language proficiency is defined.
31
32
  * @see https://vocabulary.uncefact.org/personalLanguageProficiencyLanguageId
32
33
  */
33
- personalLanguageProficiencyLanguageId?: string | IJsonLdValueObject;
34
+ personalLanguageProficiencyLanguageId?: UneceLanguageId | string | IJsonLdValueObject;
34
35
  /**
35
36
  * The code specifying the personal reading proficiency level in this language.
36
37
  * @see https://vocabulary.uncefact.org/readingLevelCode
@@ -1,4 +1,5 @@
1
1
  import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
2
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
2
3
  import type { UneceLegalRegistrationTypeCodeList } from "../typeCodes/uneceLegalRegistrationTypeCodeList.js";
3
4
  import type { UneceContextType } from "../uneceContextType.js";
4
5
  import type { UneceTypes } from "../uneceTypes.js";
@@ -24,7 +25,7 @@ export interface IUneceLegalRegistration {
24
25
  * An identifier of the country in which this legal registration is valid.
25
26
  * @see https://vocabulary.uncefact.org/countryId
26
27
  */
27
- countryId?: string | IJsonLdValueObject;
28
+ countryId?: UneceCountryId | string | IJsonLdValueObject;
28
29
  /**
29
30
  * A unique identifier of the country sub-division for this legal registration.
30
31
  * @see https://vocabulary.uncefact.org/countrySubDivisionId
@@ -15,6 +15,7 @@ import type { IUneceSustainabilityCharacteristic } from "./IUneceSustainabilityC
15
15
  import type { IUneceSustainabilityInspection } from "./IUneceSustainabilityInspection.js";
16
16
  import type { IUneceTradeAddress } from "./IUneceTradeAddress.js";
17
17
  import type { IUneceTradeParty } from "./IUneceTradeParty.js";
18
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
18
19
  import type { UneceContextType } from "../uneceContextType.js";
19
20
  import type { UneceTypes } from "../uneceTypes.js";
20
21
  /**
@@ -95,7 +96,7 @@ export interface IUneceLocation {
95
96
  * The identifier of the country for this referenced location.
96
97
  * @see https://vocabulary.uncefact.org/locationCountryId
97
98
  */
98
- locationCountryId?: string | IJsonLdValueObject;
99
+ locationCountryId?: UneceCountryId | string | IJsonLdValueObject;
99
100
  /**
100
101
  * The code specifying the reference type of this referenced location.
101
102
  * @see https://vocabulary.uncefact.org/locationReferenceTypeCode
@@ -5,6 +5,7 @@ import type { IUneceService } from "./IUneceService.js";
5
5
  import type { IUneceTradeAddress } from "./IUneceTradeAddress.js";
6
6
  import type { IUneceTradeContact } from "./IUneceTradeContact.js";
7
7
  import type { IUneceTransportPerson } from "./IUneceTransportPerson.js";
8
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
8
9
  import type { UneceLocationPartyTypeCodeList } from "../typeCodes/uneceLocationPartyTypeCodeList.js";
9
10
  import type { UneceContextType } from "../uneceContextType.js";
10
11
  import type { UneceTypes } from "../uneceTypes.js";
@@ -25,7 +26,7 @@ export interface IUneceLocationParty {
25
26
  * A unique country identifier for this location party.
26
27
  * @see https://vocabulary.uncefact.org/countryId
27
28
  */
28
- countryId?: string | IJsonLdValueObject;
29
+ countryId?: UneceCountryId | string | IJsonLdValueObject;
29
30
  /**
30
31
  * A trade contact defined for this location party.
31
32
  * @see https://vocabulary.uncefact.org/definedContact
@@ -8,6 +8,7 @@ import type { IUneceSpecifiedPeriod } from "./IUneceSpecifiedPeriod.js";
8
8
  import type { IUneceSubordinateLocation } from "./IUneceSubordinateLocation.js";
9
9
  import type { IUneceSupplyChainEvent } from "./IUneceSupplyChainEvent.js";
10
10
  import type { IUneceTradeAddress } from "./IUneceTradeAddress.js";
11
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
11
12
  import type { UneceLocationFunctionCodeList } from "../lists/uneceLocationFunctionCodeList.js";
12
13
  import type { UneceContextType } from "../uneceContextType.js";
13
14
  import type { UneceTypes } from "../uneceTypes.js";
@@ -74,7 +75,7 @@ export interface IUneceLogisticsLocation {
74
75
  * The unique identifier of a country for this logistics location.
75
76
  * @see https://vocabulary.uncefact.org/logisticsLocationCountryId
76
77
  */
77
- logisticsLocationCountryId?: string | IJsonLdValueObject;
78
+ logisticsLocationCountryId?: UneceCountryId | string | IJsonLdValueObject;
78
79
  /**
79
80
  * A name, expressed as text, of this logistics related location.
80
81
  * @see https://vocabulary.uncefact.org/name
@@ -5,6 +5,7 @@ import type { IUneceMeasureType } from "./IUneceMeasureType.js";
5
5
  import type { IUnecePaymentDiscountTerms } from "./IUnecePaymentDiscountTerms.js";
6
6
  import type { IUnecePaymentPenaltyTerms } from "./IUnecePaymentPenaltyTerms.js";
7
7
  import type { IUneceTradeParty } from "./IUneceTradeParty.js";
8
+ import type { UnecePaymentTermsId } from "../lists/unecePaymentTermsId.js";
8
9
  import type { UnecePaymentTermsTypeCodeList } from "../lists/unecePaymentTermsTypeCodeList.js";
9
10
  import type { UneceContextType } from "../uneceContextType.js";
10
11
  import type { UneceTypes } from "../uneceTypes.js";
@@ -101,7 +102,7 @@ export interface IUnecePaymentTerms {
101
102
  * The unique identifier of these trade payment terms.
102
103
  * @see https://vocabulary.uncefact.org/paymentTermsId
103
104
  */
104
- paymentTermsId?: string | IJsonLdValueObject;
105
+ paymentTermsId?: UnecePaymentTermsId | string | IJsonLdValueObject;
105
106
  /**
106
107
  * A code specifying the type of trade payment terms.
107
108
  * @see https://vocabulary.uncefact.org/paymentTermsTypeCode
@@ -11,6 +11,7 @@ import type { IUneceUnitMeasureType } from "./IUneceUnitMeasureType.js";
11
11
  import type { UneceChargePayingPartyRoleCodeList } from "../lists/uneceChargePayingPartyRoleCodeList.js";
12
12
  import type { UneceCurrencyCodeList } from "../lists/uneceCurrencyCodeList.js";
13
13
  import type { UneceFreightChargeTariffClassCodeList } from "../lists/uneceFreightChargeTariffClassCodeList.js";
14
+ import type { UneceFreightChargeTypeId } from "../lists/uneceFreightChargeTypeId.js";
14
15
  import type { UneceLogisticsChargeCalculationBasisCodeList } from "../lists/uneceLogisticsChargeCalculationBasisCodeList.js";
15
16
  import type { UneceTransportServiceCategoryCodeList } from "../lists/uneceTransportServiceCategoryCodeList.js";
16
17
  import type { UneceTransportServicePaymentArrangementCodeList } from "../lists/uneceTransportServicePaymentArrangementCodeList.js";
@@ -114,7 +115,7 @@ export interface IUneceServiceCharge {
114
115
  * The unique identifier for this logistics service charge.
115
116
  * @see https://vocabulary.uncefact.org/freightChargeTypeId
116
117
  */
117
- freightChargeTypeId?: string | IJsonLdValueObject;
118
+ freightChargeTypeId?: UneceFreightChargeTypeId | string | IJsonLdValueObject;
118
119
  /**
119
120
  * A code specifying a type of freight invoice of this logistics service charge.
120
121
  * @see https://vocabulary.uncefact.org/freightInvoiceTypeCode
@@ -4,6 +4,7 @@ import type { IUneceLanguageProficiency } from "./IUneceLanguageProficiency.js";
4
4
  import type { IUneceLogisticsLocation } from "./IUneceLogisticsLocation.js";
5
5
  import type { IUneceTradeAddress } from "./IUneceTradeAddress.js";
6
6
  import type { IUneceTradeContact } from "./IUneceTradeContact.js";
7
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
7
8
  import type { UneceContextType } from "../uneceContextType.js";
8
9
  import type { UneceTypes } from "../uneceTypes.js";
9
10
  /**
@@ -34,7 +35,7 @@ export interface IUneceStowaway {
34
35
  * An identifier of a nationality claimed by this found stowaway.
35
36
  * @see https://vocabulary.uncefact.org/countryClaimedNationalityId
36
37
  */
37
- countryClaimedNationalityId?: string | IJsonLdValueObject;
38
+ countryClaimedNationalityId?: UneceCountryId | string | IJsonLdValueObject;
38
39
  /**
39
40
  * A date, time, date time, or other date time value on which this found stowaway is discovered.
40
41
  * @see https://vocabulary.uncefact.org/discoveredDateTime
@@ -2,6 +2,7 @@ import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
2
2
  import type { IUneceCountry } from "./IUneceCountry.js";
3
3
  import type { IUneceGeographicalCoordinate } from "./IUneceGeographicalCoordinate.js";
4
4
  import type { UneceAddressTypeCodeList } from "../lists/uneceAddressTypeCodeList.js";
5
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
5
6
  import type { UneceContextType } from "../uneceContextType.js";
6
7
  import type { UneceTypes } from "../uneceTypes.js";
7
8
  /**
@@ -164,5 +165,5 @@ export interface IUneceTradeAddress {
164
165
  * The unique identifier of a country for this trade address.
165
166
  * @see https://vocabulary.uncefact.org/tradeAddressCountryId
166
167
  */
167
- tradeAddressCountryId?: string | IJsonLdValueObject;
168
+ tradeAddressCountryId?: UneceCountryId | string | IJsonLdValueObject;
168
169
  }
@@ -1,4 +1,5 @@
1
1
  import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
2
+ import type { UneceCountryId } from "../lists/uneceCountryId.js";
2
3
  import type { UneceLocationFunctionCodeList } from "../lists/uneceLocationFunctionCodeList.js";
3
4
  import type { UneceContextType } from "../uneceContextType.js";
4
5
  import type { UneceTypes } from "../uneceTypes.js";
@@ -49,5 +50,5 @@ export interface IUneceTradeLocation {
49
50
  * The unique identifier of a country location used or referenced in trade.
50
51
  * @see https://vocabulary.uncefact.org/tradeLocationCountryId
51
52
  */
52
- tradeLocationCountryId?: string | IJsonLdValueObject;
53
+ tradeLocationCountryId?: UneceCountryId | string | IJsonLdValueObject;
53
54
  }
@@ -8,6 +8,7 @@ import type { IUneceIllness } from "./IUneceIllness.js";
8
8
  import type { IUneceLogisticsLocation } from "./IUneceLogisticsLocation.js";
9
9
  import type { IUnecePersonalEffects } from "./IUnecePersonalEffects.js";
10
10
  import type { IUneceStowaway } from "./IUneceStowaway.js";
11
+ import type { UneceLanguageId } from "../lists/uneceLanguageId.js";
11
12
  import type { UnecePartyRoleCodeList } from "../lists/unecePartyRoleCodeList.js";
12
13
  import type { UneceContextType } from "../uneceContextType.js";
13
14
  import type { UneceTypes } from "../uneceTypes.js";
@@ -171,7 +172,7 @@ export interface IUneceTransportPerson {
171
172
  * A unique identifier of a language related to this transport person, such as their spoken or correspondence language.
172
173
  * @see https://vocabulary.uncefact.org/transportPersonLanguageId
173
174
  */
174
- transportPersonLanguageId?: string | IJsonLdValueObject;
175
+ transportPersonLanguageId?: UneceLanguageId | string | IJsonLdValueObject;
175
176
  /**
176
177
  * The name or set of names, expressed as text, by which this transport person is known.
177
178
  * @see https://vocabulary.uncefact.org/transportPersonName
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.68](https://github.com/iotaledger/twin-standards/compare/standards-unece-v0.0.3-next.67...standards-unece-v0.0.3-next.68) (2026-06-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * use id types in id unions ([8256206](https://github.com/iotaledger/twin-standards/commit/8256206deb3b276e5d75f91e50941d0f01c5ee9c))
9
+
10
+ ## [0.0.3-next.67](https://github.com/iotaledger/twin-standards/compare/standards-unece-v0.0.3-next.66...standards-unece-v0.0.3-next.67) (2026-06-12)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-unece:** Synchronize repo versions
16
+
3
17
  ## [0.0.3-next.66](https://github.com/iotaledger/twin-standards/compare/standards-unece-v0.0.3-next.65...standards-unece-v0.0.3-next.66) (2026-06-09)
4
18
 
5
19
 
@@ -26,7 +26,7 @@ JSON-LD Type.
26
26
 
27
27
  ### birthAddressCountryId? {#birthaddresscountryid}
28
28
 
29
- > `optional` **birthAddressCountryId?**: `string` \| `IJsonLdValueObject`
29
+ > `optional` **birthAddressCountryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
30
30
 
31
31
  The identifier of a country for this birth address.
32
32
 
@@ -75,7 +75,7 @@ https://vocabulary.uncefact.org/contactPersonTitleCode
75
75
 
76
76
  ### countryResidenceCountryId? {#countryresidencecountryid}
77
77
 
78
- > `optional` **countryResidenceCountryId?**: `string` \| `IJsonLdValueObject`
78
+ > `optional` **countryResidenceCountryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
79
79
 
80
80
  The identifier of the residence country of this contact person.
81
81
 
@@ -27,7 +27,7 @@ JSON-LD Type.
27
27
 
28
28
  ### countryId? {#countryid}
29
29
 
30
- > `optional` **countryId?**: `string` \| `IJsonLdValueObject`
30
+ > `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
31
31
 
32
32
  A unique identifier for this trade country.
33
33
 
@@ -206,7 +206,7 @@ https://vocabulary.uncefact.org/documentAmendmentPurposeCode
206
206
 
207
207
  ### documentLanguageId? {#documentlanguageid}
208
208
 
209
- > `optional` **documentLanguageId?**: `string` \| `IJsonLdValueObject`
209
+ > `optional` **documentLanguageId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
210
210
 
211
211
  An identifier for a language used in this referenced document.
212
212
 
@@ -63,7 +63,7 @@ https://vocabulary.uncefact.org/cityName
63
63
 
64
64
  ### countryId? {#countryid}
65
65
 
66
- > `optional` **countryId?**: `string` \| `IJsonLdValueObject`
66
+ > `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
67
67
 
68
68
  The unique identifier of a country for this financial institution address (Reference ISO 3166 and UN/ECE Rec 3).
69
69
 
@@ -38,7 +38,7 @@ https://vocabulary.uncefact.org/categoryCode
38
38
 
39
39
  ### countryId? {#countryid}
40
40
 
41
- > `optional` **countryId?**: `string` \| `IJsonLdValueObject`
41
+ > `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
42
42
 
43
43
  The identifier of the country for this government registration.
44
44
 
@@ -51,7 +51,7 @@ https://vocabulary.uncefact.org/personalLanguageProficiencyLanguageCode
51
51
 
52
52
  ### personalLanguageProficiencyLanguageId? {#personallanguageproficiencylanguageid}
53
53
 
54
- > `optional` **personalLanguageProficiencyLanguageId?**: `string` \| `IJsonLdValueObject`
54
+ > `optional` **personalLanguageProficiencyLanguageId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
55
55
 
56
56
  The identifier of the language for which this personal language proficiency is defined.
57
57
 
@@ -38,7 +38,7 @@ https://vocabulary.uncefact.org/categoryCode
38
38
 
39
39
  ### countryId? {#countryid}
40
40
 
41
- > `optional` **countryId?**: `string` \| `IJsonLdValueObject`
41
+ > `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
42
42
 
43
43
  An identifier of the country in which this legal registration is valid.
44
44
 
@@ -171,7 +171,7 @@ https://vocabulary.uncefact.org/includedPolygon
171
171
 
172
172
  ### locationCountryId? {#locationcountryid}
173
173
 
174
- > `optional` **locationCountryId?**: `string` \| `IJsonLdValueObject`
174
+ > `optional` **locationCountryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
175
175
 
176
176
  The identifier of the country for this referenced location.
177
177
 
@@ -26,7 +26,7 @@ JSON-LD Type.
26
26
 
27
27
  ### countryId? {#countryid}
28
28
 
29
- > `optional` **countryId?**: `string` \| `IJsonLdValueObject`
29
+ > `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
30
30
 
31
31
  A unique country identifier for this location party.
32
32
 
@@ -135,7 +135,7 @@ https://vocabulary.uncefact.org/locationFunctionTypeCode
135
135
 
136
136
  ### logisticsLocationCountryId? {#logisticslocationcountryid}
137
137
 
138
- > `optional` **logisticsLocationCountryId?**: `string` \| `IJsonLdValueObject`
138
+ > `optional` **logisticsLocationCountryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
139
139
 
140
140
  The unique identifier of a country for this logistics location.
141
141
 
@@ -198,7 +198,7 @@ https://vocabulary.uncefact.org/paymentTermsEventTimeReferenceFromEventCode
198
198
 
199
199
  ### paymentTermsId? {#paymenttermsid}
200
200
 
201
- > `optional` **paymentTermsId?**: `string` \| `IJsonLdValueObject`
201
+ > `optional` **paymentTermsId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
202
202
 
203
203
  The unique identifier of these trade payment terms.
204
204
 
@@ -219,7 +219,7 @@ https://vocabulary.uncefact.org/freightChargeTariffClassCode
219
219
 
220
220
  ### freightChargeTypeId? {#freightchargetypeid}
221
221
 
222
- > `optional` **freightChargeTypeId?**: `string` \| `IJsonLdValueObject`
222
+ > `optional` **freightChargeTypeId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
223
223
 
224
224
  The unique identifier for this logistics service charge.
225
225
 
@@ -51,7 +51,7 @@ https://vocabulary.uncefact.org/claimedLanguageProficiency
51
51
 
52
52
  ### countryClaimedNationalityId? {#countryclaimednationalityid}
53
53
 
54
- > `optional` **countryClaimedNationalityId?**: `string` \| `IJsonLdValueObject`
54
+ > `optional` **countryClaimedNationalityId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
55
55
 
56
56
  An identifier of a nationality claimed by this found stowaway.
57
57