@operato/ops-contract 0.9.24 → 0.9.26

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.
@@ -75,6 +75,29 @@ export interface DomainProfileInfo {
75
75
  locationTypes: readonly string[];
76
76
  }
77
77
  export declare const DOMAIN_CATALOG: Record<DomainSystem, DomainProfileInfo>;
78
+ /**
79
+ * **어디서 읽은 값인가** — 개체 하나를 답할 때 그 답의 출처(`provenance.basis`).
80
+ *
81
+ * 닫힌 낱말이다. 화면이 「어디서 왔나」를 그리는 근거이고, 열려 있으면 제품마다 다른 말을 만든다.
82
+ *
83
+ * · `document` — 저장된 트윈 모델 문서 안에서 읽었다
84
+ * · `rows` — 그 문서를 투영한 조회용 행에서 읽었다(문서와 같은 사실, 다른 자리)
85
+ * · `state` — 커널의 지금 상태에서 읽었다(커널이 돌 때만 있다)
86
+ * · `journal` — 저널을 되세워 읽었다(과거까지 있고 커널이 멈춰도 남는다)
87
+ * · `record` — **그 제품이 기록의 주인인 행**에서 읽었다. 사람이 적어 둔 자기 자료다
88
+ * (ADR-0075 결정 3 — plant 의 로트 360, warehouse 의 재고 줄. twin 은 내지 않는다)
89
+ *
90
+ * `null` 로 두지 않는 이유: 어디서 왔는지 말할 능력을 잃는다. 모르면 그 사실을 다른 칸이 말한다.
91
+ */
92
+ export declare const READ_BASIS: readonly ["document", "rows", "state", "journal", "record"];
93
+ export type ReadBasis = (typeof READ_BASIS)[number];
94
+ /**
95
+ * 저널이 개체의 이력을 나르는 축 — 컬럼으로 승격돼 있어 그 축으로만 물을 수 있다.
96
+ *
97
+ * 새 문자열을 열지 않는다(ADR-0074). 여기 없는 이름으로 물으면 저널은 거르지 못하고 목록이
98
+ * 조용히 비거나 남의 축이 섞인다.
99
+ */
100
+ export type TwinJournalAxis = 'epc' | 'orderId' | 'locationId' | 'moverId';
78
101
  export interface TwinAxisInfo {
79
102
  /**
80
103
  * 축의 이름 — 화면·관계 선언이 쓰는 키. 최상위 축은 `TwinModelDef` 의 키 **그대로**다
@@ -154,6 +177,39 @@ export interface TwinAxisInfo {
154
177
  kind: 'instance' | 'class' | 'spec';
155
178
  /** 이 축의 항목이 카탈로그 타입을 갖는가 — 있으면 `types` 와 이어진다(자리·설비만). */
156
179
  typeRole?: 'location' | 'equipment';
180
+ /**
181
+ * 이 축의 개체 이력을 **저널의 어느 축으로 묻나.**
182
+ *
183
+ * 선언하지 않으면 「저널이 이 축으로 기록하지 않는다」는 뜻이고, 화면은 그 사실을 말한다
184
+ * (「이력이 없다」가 아니다 — 묻지 않은 것과 없는 것은 다르다). 명세 축(공정 · 레시피 · 라우트)이
185
+ * 그 경우다: 저널은 공정 자체가 아니라 그 공정을 수행한 작업으로 기록된다.
186
+ *
187
+ * ── 왜 계약에 있나 (2026-09-18, ADR-0074) ─────────────────────────────────
188
+ * 이 대응이 앱의 화면 상수에 있었다. 축 이름이 한 세대 바뀌자 표가 따라오지 않았고, 로케이션 ·
189
+ * 오더 · 품목의 360 은 **저널을 묻지도 않은 채** 「이 개념은 이력 축이 없다」를 그렸다. 축이
190
+ * 사는 자리(`path`)와 무엇이 가리키나(`idField`)가 선언인 것과 같은 이유로, 이것도 선언이다.
191
+ *
192
+ * 품목 정의(`materialDefinitions`)가 `epc` 인 것은 개체의 EPC 안에 그 정의가 클래스로 들어 있기
193
+ * 때문이다 — 질의는 그 컬럼 하나에 부분일치로 건다(정확일치로는 클래스를 못 찾는다).
194
+ */
195
+ journalAxis?: TwinJournalAxis;
196
+ /**
197
+ * **무엇이 이 축의 개체를 말하나** — 식별자 말고 사람이 읽는 값들, 보이는 차례대로.
198
+ *
199
+ * 선언하지 않으면 소비처는 `idField` 만 보인다. 없는 이름을 지어내지 않는다.
200
+ *
201
+ * **여럿을 적는다** (2026-09-18, 도는 트윈에서 실측). 같은 축의 항목이 원본에 따라 다른 칸에 이름을
202
+ * 담는다 — 등급 넷과 검사 명세는 `name` 으로 들어오는데 형 선언은 `description` 을 말하고, 공정은
203
+ * `name` 과 `label` 둘 다 쓰인다. 소비처는 **앞에서부터 값이 있는 것**을 쓰므로, 차례가 곧 「무엇을
204
+ * 먼저 보이나」다. 없는 칸은 건너뛴다.
205
+ *
206
+ * 소비처가 셋이다: 개체 상세의 요약 줄, 관계 그림의 정점 부제, 그리고 AI 가 개체를 한 줄로 말할 때.
207
+ * 셋이 각자 고르면 같은 개체가 화면마다 다른 말로 불린다.
208
+ *
209
+ * 칸 이름이 `summary` 가 아닌 이유(ADR-0074): 이름은 화면의 쓰임이 아니라 사실을 말한다 —
210
+ * `idField` · `source` 와 같은 결이다.
211
+ */
212
+ describedBy?: string[];
157
213
  /**
158
214
  * 이 축이 **어느 종류의 트윈에 있는가** — 선언하지 않으면 **전부**에 있다.
159
215
  *
@@ -10,6 +10,43 @@ export const DOMAIN_CATALOG = {
10
10
  mes: { system: 'mes', label: 'twin.system.mes', types: MES_TYPES, locationTypes: locationKeys(MES_TYPES) },
11
11
  ems: { system: 'ems', label: 'twin.system.ems', types: EMS_TYPES, locationTypes: locationKeys(EMS_TYPES) }
12
12
  };
13
+ /*
14
+ * ── board 축의 표준 투영 (2026-08-08, twin-inspection §3.1) ──────────────────────────────────
15
+ *
16
+ * `TwinTypeInfo` 는 **타입**(storage·welder)의 표준 투영을 말한다. 그런데 트윈 인스펙션이 답해야
17
+ * 하는 것은 한 단계 위다 — **"이 트윈은 표준 모델의 어디를 채우고 있나"**. 그 단위는 타입이 아니라
18
+ * `TwinModelDef` 의 **축**(locations·persons·materialDefinitions…)이다.
19
+ *
20
+ * 실제로 세어 보니 `standardClass` 는 `role: 'location'` 4종·`role: 'equipment'` 7종에만 있었고,
21
+ * 사람·자산·품목·공정의 ISA-95 대응은 `contract.ts` **산문 주석에만** 있었다. 사람이 읽을 수는
22
+ * 있어도 화면이 읽을 수는 없다 — 그래서 축마다 화면을 손으로 짜게 된다(그 실패가 발단이다).
23
+ *
24
+ * ── 왜 도메인별이 아니라 전역인가 ──────────────────────────────────────────────
25
+ * `TwinModelDef` 는 시스템마다 다르지 않다. 축은 **하나의 계약**이고, 도메인이 그중 무엇을 쓰느냐만
26
+ * 다르다(야드는 `productionSpec` 을 안 쓴다). 그건 "선언이 없다" 가 아니라 **"건수가 0"** 이다.
27
+ * 그 둘을 구분하는 것이 이 선언의 가치다 — 0 건은 사실이고, 미선언은 결손이다.
28
+ *
29
+ * ── 값은 발명하지 않는다 ────────────────────────────────────────────────────
30
+ * ISA-95 이름은 `contract.ts` 가 이미 1차 출처(B2MML v0701)에서 적어 둔 것을 그대로 쓴다.
31
+ * `locations` 에 `isa95` 가 비어 있는 것은 누락이 아니라 **표준의 판단**이다 —
32
+ * `OperationalLocationType` 은 자원 9종과 달리 시험 대상이 아니고, 표준이 그 비대칭을 갖는다.
33
+ * 비어 있음을 채우지 않고 그대로 낸다(화면은 "표준 투영 미선언" 으로 표시).
34
+ */
35
+ /**
36
+ * **어디서 읽은 값인가** — 개체 하나를 답할 때 그 답의 출처(`provenance.basis`).
37
+ *
38
+ * 닫힌 낱말이다. 화면이 「어디서 왔나」를 그리는 근거이고, 열려 있으면 제품마다 다른 말을 만든다.
39
+ *
40
+ * · `document` — 저장된 트윈 모델 문서 안에서 읽었다
41
+ * · `rows` — 그 문서를 투영한 조회용 행에서 읽었다(문서와 같은 사실, 다른 자리)
42
+ * · `state` — 커널의 지금 상태에서 읽었다(커널이 돌 때만 있다)
43
+ * · `journal` — 저널을 되세워 읽었다(과거까지 있고 커널이 멈춰도 남는다)
44
+ * · `record` — **그 제품이 기록의 주인인 행**에서 읽었다. 사람이 적어 둔 자기 자료다
45
+ * (ADR-0075 결정 3 — plant 의 로트 360, warehouse 의 재고 줄. twin 은 내지 않는다)
46
+ *
47
+ * `null` 로 두지 않는 이유: 어디서 왔는지 말할 능력을 잃는다. 모르면 그 사실을 다른 칸이 말한다.
48
+ */
49
+ export const READ_BASIS = ['document', 'rows', 'state', 'journal', 'record'];
13
50
  /**
14
51
  * 물건·사람·공정이 있는 종류 — **에너지에는 없는 축들**이 이것을 선언한다.
15
52
  *
@@ -32,25 +69,25 @@ export const DOMAIN_CATALOG = {
32
69
  const LOGISTICS = ['wms', 'yms', 'mes'];
33
70
  /** board 축 전체 — 인스펙션의 **개념 목록**이 여기서 나온다(화면은 이 목록을 갖지 않는다). */
34
71
  export const TWIN_AXES = [
35
- { axis: 'locations', path: 'locations', label: 'twin.axis.locations', kind: 'instance', typeRole: 'location',
72
+ { axis: 'locations', path: 'locations', journalAxis: 'locationId', describedBy: ['name', 'type'], label: 'twin.axis.locations', kind: 'instance', typeRole: 'location',
36
73
  standardClass: { epcis: 'SGLN' } },
37
- { axis: 'equipment', path: 'equipment', label: 'twin.axis.equipment', kind: 'instance', typeRole: 'equipment',
74
+ { axis: 'equipment', path: 'equipment', journalAxis: 'moverId', describedBy: ['name', 'kind'], label: 'twin.axis.equipment', kind: 'instance', typeRole: 'equipment',
38
75
  standardClass: { isa95: 'Equipment', iso55000: 'Asset', epcis: 'GIAI' } },
39
76
  { axis: 'persons', path: 'persons', label: 'twin.axis.persons', kind: 'instance',
40
77
  standardClass: { isa95: 'Person' }, systems: LOGISTICS },
41
78
  { axis: 'assets', path: 'assets', label: 'twin.axis.assets', kind: 'instance',
42
79
  standardClass: { isa95: 'PhysicalAsset', iso55000: 'Asset' } },
43
- { axis: 'personnelClasses', path: 'personnelClasses', label: 'twin.axis.personnelClasses', kind: 'class',
80
+ { axis: 'personnelClasses', path: 'personnelClasses', describedBy: ['name', 'description'], label: 'twin.axis.personnelClasses', kind: 'class',
44
81
  standardClass: { isa95: 'PersonnelClass' }, systems: LOGISTICS },
45
- { axis: 'equipmentClasses', path: 'equipmentClasses', label: 'twin.axis.equipmentClasses', kind: 'class',
82
+ { axis: 'equipmentClasses', path: 'equipmentClasses', describedBy: ['name', 'description'], label: 'twin.axis.equipmentClasses', kind: 'class',
46
83
  standardClass: { isa95: 'EquipmentClass' } },
47
- { axis: 'assetClasses', path: 'assetClasses', label: 'twin.axis.assetClasses', kind: 'class',
84
+ { axis: 'assetClasses', path: 'assetClasses', describedBy: ['name', 'description'], label: 'twin.axis.assetClasses', kind: 'class',
48
85
  standardClass: { isa95: 'PhysicalAssetClass' } },
49
- { axis: 'materialDefinitions', path: 'materialDefinitions', label: 'twin.axis.materialDefinitions', kind: 'class',
86
+ { axis: 'materialDefinitions', path: 'materialDefinitions', journalAxis: 'epc', describedBy: ['name', 'description', 'uom'], label: 'twin.axis.materialDefinitions', kind: 'class',
50
87
  standardClass: { isa95: 'MaterialDefinition' }, systems: LOGISTICS },
51
- { axis: 'materialClasses', path: 'materialClasses', label: 'twin.axis.materialClasses', kind: 'class',
88
+ { axis: 'materialClasses', path: 'materialClasses', describedBy: ['name', 'description'], label: 'twin.axis.materialClasses', kind: 'class',
52
89
  standardClass: { isa95: 'MaterialClass' }, systems: LOGISTICS },
53
- { axis: 'operations', path: 'operations', label: 'twin.axis.operations', kind: 'spec',
90
+ { axis: 'operations', path: 'operations', describedBy: ['name', 'label', 'description'], label: 'twin.axis.operations', kind: 'spec',
54
91
  standardClass: { isa95: 'OperationsSegment' }, systems: LOGISTICS },
55
92
  { axis: 'productionSpec', path: 'productionSpec', label: 'twin.axis.productionSpec', kind: 'spec',
56
93
  standardClass: { isa95: 'OperationsSegment' }, systems: LOGISTICS },
@@ -60,11 +97,11 @@ export const TWIN_AXES = [
60
97
  * 전자는 도메인 정의의 가벼운 목록(`{key,label}`), 후자는 ISA-95 풍부형이다. 같은 것의 집이
61
98
  * 둘이라는 사실을 **선언이 드러낸다**(감추면 화면이 어느 쪽을 보는지 아무도 모른다).
62
99
  */
63
- { axis: 'recipes', path: 'productionSpec.definition.recipes', label: 'twin.axis.recipes', kind: 'spec',
100
+ { axis: 'recipes', path: 'productionSpec.definition.recipes', describedBy: ['label'], label: 'twin.axis.recipes', kind: 'spec',
64
101
  standardClass: { isa95: 'OperationsSegment' }, systems: LOGISTICS },
65
- { axis: 'routes', path: 'productionSpec.definition.routes', label: 'twin.axis.routes', kind: 'spec',
102
+ { axis: 'routes', path: 'productionSpec.definition.routes', describedBy: ['label'], label: 'twin.axis.routes', kind: 'spec',
66
103
  standardClass: { isa95: 'OperationsSegment' }, systems: LOGISTICS },
67
- { axis: 'materials', path: 'productionSpec.definition.materials', label: 'twin.axis.materials', kind: 'class',
104
+ { axis: 'materials', path: 'productionSpec.definition.materials', describedBy: ['label'], label: 'twin.axis.materials', kind: 'class',
68
105
  standardClass: { isa95: 'MaterialDefinition' }, systems: LOGISTICS },
69
106
  /*
70
107
  * 시험 명세 — **자원 아홉 종류가 가리키는 대상.**
@@ -74,7 +111,7 @@ export const TWIN_AXES = [
74
111
  *
75
112
  * `kind: 'spec'` 이다: 자원도 등급도 아니고 **판정의 정의**다(공정·레시피와 같은 부류).
76
113
  */
77
- { axis: 'testSpecifications', path: 'testSpecifications', label: 'twin.axis.testSpecifications', kind: 'spec',
114
+ { axis: 'testSpecifications', path: 'testSpecifications', describedBy: ['name', 'description', 'version'], label: 'twin.axis.testSpecifications', kind: 'spec',
78
115
  standardClass: { isa95: 'TestSpecification' } },
79
116
  /*
80
117
  * ── ISA-95 Part 4 — 일정과 실적 ────────────────────────────────────────────────
@@ -93,9 +130,9 @@ export const TWIN_AXES = [
93
130
  * 것이지만 트윈이 **관측한** 것이다. 투영은 규모에서 성능이 필요해질 때 KPI 폴드와 같은 급의
94
131
  * 별도 결정으로 한다.
95
132
  */
96
- { axis: 'orders', label: 'twin.axis.orders', kind: 'instance', source: 'state', historical: true,
133
+ { axis: 'orders', journalAxis: 'orderId', describedBy: ['kind', 'status'], label: 'twin.axis.orders', kind: 'instance', source: 'state', historical: true,
97
134
  standardClass: { isa95: 'OperationsRequest', epcis: 'TransactionEvent' }, systems: LOGISTICS },
98
- { axis: 'tasks', label: 'twin.axis.tasks', kind: 'instance', source: 'state', historical: true,
135
+ { axis: 'tasks', describedBy: ['kind', 'status'], label: 'twin.axis.tasks', kind: 'instance', source: 'state', historical: true,
99
136
  /*
100
137
  * No single EPCIS projection. A task's event kind follows its operation: a putaway or a pick is
101
138
  * an ObjectEvent, only a transformation (production, kitting) is a TransformationEvent. This used
@@ -120,7 +157,7 @@ export const TWIN_AXES = [
120
157
  * `subLotId ?? epc` 다. 짐작에 맡기면 `gtin` 으로 떨어지고, 그러면 **같은 품목의 물품 전부가 한
121
158
  * 식별자로 뭉친다** — 화면이 2,400개를 몇 개로 보인다.
122
159
  */
123
- { axis: 'items', label: 'twin.axis.items', kind: 'instance', source: 'state', historical: true,
160
+ { axis: 'items', journalAxis: 'epc', describedBy: ['definitionId', 'lot'], label: 'twin.axis.items', kind: 'instance', source: 'state', historical: true,
124
161
  idField: ['subLotId', 'epc'],
125
162
  standardClass: { isa95: 'MaterialLot', epcis: 'ObjectEvent' }, systems: LOGISTICS },
126
163
  /*
@@ -64,6 +64,7 @@ __export(index_exports, {
64
64
  OP_PARAM: () => OP_PARAM,
65
65
  ORDER_TERMINAL_STATUS: () => ORDER_TERMINAL_STATUS,
66
66
  PRIORITY_UNSET: () => PRIORITY_UNSET,
67
+ READ_BASIS: () => READ_BASIS,
67
68
  REFUSED_WITHOUT_CODE: () => REFUSED_WITHOUT_CODE,
68
69
  RESOURCE_KIND: () => RESOURCE_KIND,
69
70
  RETIRED_VOCABULARY: () => RETIRED_VOCABULARY,
@@ -1712,11 +1713,14 @@ var DOMAIN_CATALOG = {
1712
1713
  mes: { system: "mes", label: "twin.system.mes", types: MES_TYPES, locationTypes: locationKeys(MES_TYPES) },
1713
1714
  ems: { system: "ems", label: "twin.system.ems", types: EMS_TYPES, locationTypes: locationKeys(EMS_TYPES) }
1714
1715
  };
1716
+ var READ_BASIS = ["document", "rows", "state", "journal", "record"];
1715
1717
  var LOGISTICS = ["wms", "yms", "mes"];
1716
1718
  var TWIN_AXES = [
1717
1719
  {
1718
1720
  axis: "locations",
1719
1721
  path: "locations",
1722
+ journalAxis: "locationId",
1723
+ describedBy: ["name", "type"],
1720
1724
  label: "twin.axis.locations",
1721
1725
  kind: "instance",
1722
1726
  typeRole: "location",
@@ -1725,6 +1729,8 @@ var TWIN_AXES = [
1725
1729
  {
1726
1730
  axis: "equipment",
1727
1731
  path: "equipment",
1732
+ journalAxis: "moverId",
1733
+ describedBy: ["name", "kind"],
1728
1734
  label: "twin.axis.equipment",
1729
1735
  kind: "instance",
1730
1736
  typeRole: "equipment",
@@ -1748,6 +1754,7 @@ var TWIN_AXES = [
1748
1754
  {
1749
1755
  axis: "personnelClasses",
1750
1756
  path: "personnelClasses",
1757
+ describedBy: ["name", "description"],
1751
1758
  label: "twin.axis.personnelClasses",
1752
1759
  kind: "class",
1753
1760
  standardClass: { isa95: "PersonnelClass" },
@@ -1756,6 +1763,7 @@ var TWIN_AXES = [
1756
1763
  {
1757
1764
  axis: "equipmentClasses",
1758
1765
  path: "equipmentClasses",
1766
+ describedBy: ["name", "description"],
1759
1767
  label: "twin.axis.equipmentClasses",
1760
1768
  kind: "class",
1761
1769
  standardClass: { isa95: "EquipmentClass" }
@@ -1763,6 +1771,7 @@ var TWIN_AXES = [
1763
1771
  {
1764
1772
  axis: "assetClasses",
1765
1773
  path: "assetClasses",
1774
+ describedBy: ["name", "description"],
1766
1775
  label: "twin.axis.assetClasses",
1767
1776
  kind: "class",
1768
1777
  standardClass: { isa95: "PhysicalAssetClass" }
@@ -1770,6 +1779,8 @@ var TWIN_AXES = [
1770
1779
  {
1771
1780
  axis: "materialDefinitions",
1772
1781
  path: "materialDefinitions",
1782
+ journalAxis: "epc",
1783
+ describedBy: ["name", "description", "uom"],
1773
1784
  label: "twin.axis.materialDefinitions",
1774
1785
  kind: "class",
1775
1786
  standardClass: { isa95: "MaterialDefinition" },
@@ -1778,6 +1789,7 @@ var TWIN_AXES = [
1778
1789
  {
1779
1790
  axis: "materialClasses",
1780
1791
  path: "materialClasses",
1792
+ describedBy: ["name", "description"],
1781
1793
  label: "twin.axis.materialClasses",
1782
1794
  kind: "class",
1783
1795
  standardClass: { isa95: "MaterialClass" },
@@ -1786,6 +1798,7 @@ var TWIN_AXES = [
1786
1798
  {
1787
1799
  axis: "operations",
1788
1800
  path: "operations",
1801
+ describedBy: ["name", "label", "description"],
1789
1802
  label: "twin.axis.operations",
1790
1803
  kind: "spec",
1791
1804
  standardClass: { isa95: "OperationsSegment" },
@@ -1808,6 +1821,7 @@ var TWIN_AXES = [
1808
1821
  {
1809
1822
  axis: "recipes",
1810
1823
  path: "productionSpec.definition.recipes",
1824
+ describedBy: ["label"],
1811
1825
  label: "twin.axis.recipes",
1812
1826
  kind: "spec",
1813
1827
  standardClass: { isa95: "OperationsSegment" },
@@ -1816,6 +1830,7 @@ var TWIN_AXES = [
1816
1830
  {
1817
1831
  axis: "routes",
1818
1832
  path: "productionSpec.definition.routes",
1833
+ describedBy: ["label"],
1819
1834
  label: "twin.axis.routes",
1820
1835
  kind: "spec",
1821
1836
  standardClass: { isa95: "OperationsSegment" },
@@ -1824,6 +1839,7 @@ var TWIN_AXES = [
1824
1839
  {
1825
1840
  axis: "materials",
1826
1841
  path: "productionSpec.definition.materials",
1842
+ describedBy: ["label"],
1827
1843
  label: "twin.axis.materials",
1828
1844
  kind: "class",
1829
1845
  standardClass: { isa95: "MaterialDefinition" },
@@ -1840,6 +1856,7 @@ var TWIN_AXES = [
1840
1856
  {
1841
1857
  axis: "testSpecifications",
1842
1858
  path: "testSpecifications",
1859
+ describedBy: ["name", "description", "version"],
1843
1860
  label: "twin.axis.testSpecifications",
1844
1861
  kind: "spec",
1845
1862
  standardClass: { isa95: "TestSpecification" }
@@ -1863,6 +1880,8 @@ var TWIN_AXES = [
1863
1880
  */
1864
1881
  {
1865
1882
  axis: "orders",
1883
+ journalAxis: "orderId",
1884
+ describedBy: ["kind", "status"],
1866
1885
  label: "twin.axis.orders",
1867
1886
  kind: "instance",
1868
1887
  source: "state",
@@ -1872,6 +1891,7 @@ var TWIN_AXES = [
1872
1891
  },
1873
1892
  {
1874
1893
  axis: "tasks",
1894
+ describedBy: ["kind", "status"],
1875
1895
  label: "twin.axis.tasks",
1876
1896
  kind: "instance",
1877
1897
  source: "state",
@@ -1904,6 +1924,8 @@ var TWIN_AXES = [
1904
1924
  */
1905
1925
  {
1906
1926
  axis: "items",
1927
+ journalAxis: "epc",
1928
+ describedBy: ["definitionId", "lot"],
1907
1929
  label: "twin.axis.items",
1908
1930
  kind: "instance",
1909
1931
  source: "state",
@@ -4673,6 +4695,7 @@ function nonEmpty(value) {
4673
4695
  OP_PARAM,
4674
4696
  ORDER_TERMINAL_STATUS,
4675
4697
  PRIORITY_UNSET,
4698
+ READ_BASIS,
4676
4699
  REFUSED_WITHOUT_CODE,
4677
4700
  RESOURCE_KIND,
4678
4701
  RETIRED_VOCABULARY,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/ops-contract",
3
- "version": "0.9.24",
3
+ "version": "0.9.26",
4
4
  "description": "Operations domain contract — the standard vocabulary that producers and readers agree on (EPCIS 2.0/GS1, ISA-95, IEC 61850/ISO 50001). Types, guards, validation. No state, no engine.",
5
5
  "type": "module",
6
6
  "main": "./dist-cjs/index.cjs",