@empressaio/atom-contract 1.7.0
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.
- package/CHANGELOG.md +360 -0
- package/README.md +379 -0
- package/dist/composition.d.ts +112 -0
- package/dist/composition.d.ts.map +1 -0
- package/dist/composition.js +80 -0
- package/dist/composition.js.map +1 -0
- package/dist/conformance/common.d.ts +21 -0
- package/dist/conformance/common.d.ts.map +1 -0
- package/dist/conformance/common.js +29 -0
- package/dist/conformance/common.js.map +1 -0
- package/dist/conformance/fixtures.d.ts +13 -0
- package/dist/conformance/fixtures.d.ts.map +1 -0
- package/dist/conformance/fixtures.js +63 -0
- package/dist/conformance/fixtures.js.map +1 -0
- package/dist/conformance/index.d.ts +11 -0
- package/dist/conformance/index.d.ts.map +1 -0
- package/dist/conformance/index.js +11 -0
- package/dist/conformance/index.js.map +1 -0
- package/dist/conformance/validate.d.ts +49 -0
- package/dist/conformance/validate.d.ts.map +1 -0
- package/dist/conformance/validate.js +138 -0
- package/dist/conformance/validate.js.map +1 -0
- package/dist/conformance/verify-chain.d.ts +25 -0
- package/dist/conformance/verify-chain.d.ts.map +1 -0
- package/dist/conformance/verify-chain.js +76 -0
- package/dist/conformance/verify-chain.js.map +1 -0
- package/dist/context.d.ts +134 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +110 -0
- package/dist/context.js.map +1 -0
- package/dist/encumbrances/administrative-rule.d.ts +128 -0
- package/dist/encumbrances/administrative-rule.d.ts.map +1 -0
- package/dist/encumbrances/administrative-rule.js +18 -0
- package/dist/encumbrances/administrative-rule.js.map +1 -0
- package/dist/encumbrances/common.d.ts +153 -0
- package/dist/encumbrances/common.d.ts.map +1 -0
- package/dist/encumbrances/common.js +124 -0
- package/dist/encumbrances/common.js.map +1 -0
- package/dist/encumbrances/constraint-resolution.d.ts +169 -0
- package/dist/encumbrances/constraint-resolution.d.ts.map +1 -0
- package/dist/encumbrances/constraint-resolution.js +41 -0
- package/dist/encumbrances/constraint-resolution.js.map +1 -0
- package/dist/encumbrances/fixtures.d.ts +16 -0
- package/dist/encumbrances/fixtures.d.ts.map +1 -0
- package/dist/encumbrances/fixtures.js +107 -0
- package/dist/encumbrances/fixtures.js.map +1 -0
- package/dist/encumbrances/index.d.ts +15 -0
- package/dist/encumbrances/index.d.ts.map +1 -0
- package/dist/encumbrances/index.js +15 -0
- package/dist/encumbrances/index.js.map +1 -0
- package/dist/encumbrances/recorded-instrument.d.ts +131 -0
- package/dist/encumbrances/recorded-instrument.d.ts.map +1 -0
- package/dist/encumbrances/recorded-instrument.js +19 -0
- package/dist/encumbrances/recorded-instrument.js.map +1 -0
- package/dist/encumbrances/restriction-clause.d.ts +120 -0
- package/dist/encumbrances/restriction-clause.d.ts.map +1 -0
- package/dist/encumbrances/restriction-clause.js +17 -0
- package/dist/encumbrances/restriction-clause.js.map +1 -0
- package/dist/encumbrances/restriction-corpus.d.ts +44 -0
- package/dist/encumbrances/restriction-corpus.d.ts.map +1 -0
- package/dist/encumbrances/restriction-corpus.js +14 -0
- package/dist/encumbrances/restriction-corpus.js.map +1 -0
- package/dist/export/downloadable-atom.d.ts +133 -0
- package/dist/export/downloadable-atom.d.ts.map +1 -0
- package/dist/export/downloadable-atom.js +115 -0
- package/dist/export/downloadable-atom.js.map +1 -0
- package/dist/export/index.d.ts +6 -0
- package/dist/export/index.d.ts.map +1 -0
- package/dist/export/index.js +6 -0
- package/dist/export/index.js.map +1 -0
- package/dist/history.d.ts +124 -0
- package/dist/history.d.ts.map +1 -0
- package/dist/history.js +170 -0
- package/dist/history.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/inline-reference.d.ts +60 -0
- package/dist/inline-reference.d.ts.map +1 -0
- package/dist/inline-reference.js +73 -0
- package/dist/inline-reference.js.map +1 -0
- package/dist/obligation.d.ts +131 -0
- package/dist/obligation.d.ts.map +1 -0
- package/dist/obligation.js +55 -0
- package/dist/obligation.js.map +1 -0
- package/dist/og/common.d.ts +253 -0
- package/dist/og/common.d.ts.map +1 -0
- package/dist/og/common.js +195 -0
- package/dist/og/common.js.map +1 -0
- package/dist/og/completion.d.ts +70 -0
- package/dist/og/completion.d.ts.map +1 -0
- package/dist/og/completion.js +22 -0
- package/dist/og/completion.js.map +1 -0
- package/dist/og/equipment-state.d.ts +55 -0
- package/dist/og/equipment-state.d.ts.map +1 -0
- package/dist/og/equipment-state.js +25 -0
- package/dist/og/equipment-state.js.map +1 -0
- package/dist/og/fixtures.d.ts +40 -0
- package/dist/og/fixtures.d.ts.map +1 -0
- package/dist/og/fixtures.js +255 -0
- package/dist/og/fixtures.js.map +1 -0
- package/dist/og/index.d.ts +23 -0
- package/dist/og/index.d.ts.map +1 -0
- package/dist/og/index.js +23 -0
- package/dist/og/index.js.map +1 -0
- package/dist/og/mineral-lease.d.ts +150 -0
- package/dist/og/mineral-lease.d.ts.map +1 -0
- package/dist/og/mineral-lease.js +24 -0
- package/dist/og/mineral-lease.js.map +1 -0
- package/dist/og/ownership-interest.d.ts +163 -0
- package/dist/og/ownership-interest.d.ts.map +1 -0
- package/dist/og/ownership-interest.js +36 -0
- package/dist/og/ownership-interest.js.map +1 -0
- package/dist/og/pad.d.ts +101 -0
- package/dist/og/pad.d.ts.map +1 -0
- package/dist/og/pad.js +19 -0
- package/dist/og/pad.js.map +1 -0
- package/dist/og/production-timeseries.d.ts +154 -0
- package/dist/og/production-timeseries.d.ts.map +1 -0
- package/dist/og/production-timeseries.js +37 -0
- package/dist/og/production-timeseries.js.map +1 -0
- package/dist/og/revenue-allocation-unit.d.ts +762 -0
- package/dist/og/revenue-allocation-unit.d.ts.map +1 -0
- package/dist/og/revenue-allocation-unit.js +105 -0
- package/dist/og/revenue-allocation-unit.js.map +1 -0
- package/dist/og/rrc-lease.d.ts +124 -0
- package/dist/og/rrc-lease.d.ts.map +1 -0
- package/dist/og/rrc-lease.js +29 -0
- package/dist/og/rrc-lease.js.map +1 -0
- package/dist/og/tract.d.ts +88 -0
- package/dist/og/tract.d.ts.map +1 -0
- package/dist/og/tract.js +30 -0
- package/dist/og/tract.js.map +1 -0
- package/dist/og/well.d.ts +201 -0
- package/dist/og/well.d.ts.map +1 -0
- package/dist/og/well.js +40 -0
- package/dist/og/well.js.map +1 -0
- package/dist/og/wellbore.d.ts +61 -0
- package/dist/og/wellbore.d.ts.map +1 -0
- package/dist/og/wellbore.js +25 -0
- package/dist/og/wellbore.js.map +1 -0
- package/dist/og/zone.d.ts +45 -0
- package/dist/og/zone.d.ts.map +1 -0
- package/dist/og/zone.js +16 -0
- package/dist/og/zone.js.map +1 -0
- package/dist/read-contract/common.d.ts +74 -0
- package/dist/read-contract/common.d.ts.map +1 -0
- package/dist/read-contract/common.js +54 -0
- package/dist/read-contract/common.js.map +1 -0
- package/dist/read-contract/consequence.d.ts +99 -0
- package/dist/read-contract/consequence.d.ts.map +1 -0
- package/dist/read-contract/consequence.js +46 -0
- package/dist/read-contract/consequence.js.map +1 -0
- package/dist/read-contract/fixtures.d.ts +8 -0
- package/dist/read-contract/fixtures.d.ts.map +1 -0
- package/dist/read-contract/fixtures.js +44 -0
- package/dist/read-contract/fixtures.js.map +1 -0
- package/dist/read-contract/index.d.ts +14 -0
- package/dist/read-contract/index.d.ts.map +1 -0
- package/dist/read-contract/index.js +14 -0
- package/dist/read-contract/index.js.map +1 -0
- package/dist/read-contract/model-attribution.d.ts +85 -0
- package/dist/read-contract/model-attribution.d.ts.map +1 -0
- package/dist/read-contract/model-attribution.js +30 -0
- package/dist/read-contract/model-attribution.js.map +1 -0
- package/dist/read-contract/read-contract.d.ts +455 -0
- package/dist/read-contract/read-contract.d.ts.map +1 -0
- package/dist/read-contract/read-contract.js +46 -0
- package/dist/read-contract/read-contract.js.map +1 -0
- package/dist/registration.d.ts +192 -0
- package/dist/registration.d.ts.map +1 -0
- package/dist/registration.js +15 -0
- package/dist/registration.js.map +1 -0
- package/dist/registry.d.ts +128 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +122 -0
- package/dist/registry.js.map +1 -0
- package/dist/render.d.ts +30 -0
- package/dist/render.d.ts.map +1 -0
- package/dist/render.js +44 -0
- package/dist/render.js.map +1 -0
- package/dist/scope.d.ts +46 -0
- package/dist/scope.d.ts.map +1 -0
- package/dist/scope.js +17 -0
- package/dist/scope.js.map +1 -0
- package/dist/temporal/anticipatory-atom.d.ts +123 -0
- package/dist/temporal/anticipatory-atom.d.ts.map +1 -0
- package/dist/temporal/anticipatory-atom.js +124 -0
- package/dist/temporal/anticipatory-atom.js.map +1 -0
- package/dist/temporal/common.d.ts +47 -0
- package/dist/temporal/common.d.ts.map +1 -0
- package/dist/temporal/common.js +100 -0
- package/dist/temporal/common.js.map +1 -0
- package/dist/temporal/fixtures.d.ts +7 -0
- package/dist/temporal/fixtures.d.ts.map +1 -0
- package/dist/temporal/fixtures.js +21 -0
- package/dist/temporal/fixtures.js.map +1 -0
- package/dist/temporal/index.d.ts +13 -0
- package/dist/temporal/index.d.ts.map +1 -0
- package/dist/temporal/index.js +13 -0
- package/dist/temporal/index.js.map +1 -0
- package/dist/temporal/interval-query.d.ts +42 -0
- package/dist/temporal/interval-query.d.ts.map +1 -0
- package/dist/temporal/interval-query.js +49 -0
- package/dist/temporal/interval-query.js.map +1 -0
- package/dist/temporal/node-id.d.ts +112 -0
- package/dist/temporal/node-id.d.ts.map +1 -0
- package/dist/temporal/node-id.js +208 -0
- package/dist/temporal/node-id.js.map +1 -0
- package/dist/temporal/would-affect-edge.d.ts +66 -0
- package/dist/temporal/would-affect-edge.d.ts.map +1 -0
- package/dist/temporal/would-affect-edge.js +113 -0
- package/dist/temporal/would-affect-edge.js.map +1 -0
- package/dist/testing/index.d.ts +98 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +225 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/vda.d.ts +46 -0
- package/dist/vda.d.ts.map +1 -0
- package/dist/vda.js +42 -0
- package/dist/vda.js.map +1 -0
- package/dist/workspace/brief-run.d.ts +104 -0
- package/dist/workspace/brief-run.d.ts.map +1 -0
- package/dist/workspace/brief-run.js +32 -0
- package/dist/workspace/brief-run.js.map +1 -0
- package/dist/workspace/common.d.ts +42 -0
- package/dist/workspace/common.d.ts.map +1 -0
- package/dist/workspace/common.js +26 -0
- package/dist/workspace/common.js.map +1 -0
- package/dist/workspace/fixtures.d.ts +10 -0
- package/dist/workspace/fixtures.d.ts.map +1 -0
- package/dist/workspace/fixtures.js +93 -0
- package/dist/workspace/fixtures.js.map +1 -0
- package/dist/workspace/index.d.ts +13 -0
- package/dist/workspace/index.d.ts.map +1 -0
- package/dist/workspace/index.js +13 -0
- package/dist/workspace/index.js.map +1 -0
- package/dist/workspace/property-workspace.d.ts +148 -0
- package/dist/workspace/property-workspace.d.ts.map +1 -0
- package/dist/workspace/property-workspace.js +21 -0
- package/dist/workspace/property-workspace.js.map +1 -0
- package/dist/workspace/workspace-attachment.d.ts +99 -0
- package/dist/workspace/workspace-attachment.d.ts.map +1 -0
- package/dist/workspace/workspace-attachment.js +35 -0
- package/dist/workspace/workspace-attachment.js.map +1 -0
- package/dist/workspace/workspace-share-edge.d.ts +115 -0
- package/dist/workspace/workspace-share-edge.d.ts.map +1 -0
- package/dist/workspace/workspace-share-edge.js +22 -0
- package/dist/workspace/workspace-share-edge.js.map +1 -0
- package/package.json +107 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sample fixtures for O&G atom types per ADR-025.
|
|
3
|
+
* Used in conformance tests and as documentation examples.
|
|
4
|
+
*/
|
|
5
|
+
import type { WellAtomInstance } from "./well.js";
|
|
6
|
+
import type { WellboreAtomInstance } from "./wellbore.js";
|
|
7
|
+
import type { CompletionAtomInstance } from "./completion.js";
|
|
8
|
+
import type { ZoneAtomInstance } from "./zone.js";
|
|
9
|
+
import type { PadAtomInstance } from "./pad.js";
|
|
10
|
+
import type { ProductionTimeseriesAtomInstance } from "./production-timeseries.js";
|
|
11
|
+
import type { EquipmentStateAtomInstance } from "./equipment-state.js";
|
|
12
|
+
import type { MineralLeaseAtomInstance } from "./mineral-lease.js";
|
|
13
|
+
import type { RrcLeaseAtomInstance } from "./rrc-lease.js";
|
|
14
|
+
import type { TractAtomInstance } from "./tract.js";
|
|
15
|
+
import type { OwnershipInterestAtomInstance } from "./ownership-interest.js";
|
|
16
|
+
import type { RevenueAllocationUnitAtomInstance } from "./revenue-allocation-unit.js";
|
|
17
|
+
export declare const SAMPLE_WELL: WellAtomInstance;
|
|
18
|
+
export declare const SAMPLE_WELLBORE: WellboreAtomInstance;
|
|
19
|
+
export declare const SAMPLE_COMPLETION: CompletionAtomInstance;
|
|
20
|
+
export declare const SAMPLE_ZONE: ZoneAtomInstance;
|
|
21
|
+
export declare const SAMPLE_PAD: PadAtomInstance;
|
|
22
|
+
export declare const SAMPLE_PRODUCTION_TIMESERIES: ProductionTimeseriesAtomInstance;
|
|
23
|
+
export declare const SAMPLE_EQUIPMENT_STATE: EquipmentStateAtomInstance;
|
|
24
|
+
export declare const SAMPLE_MINERAL_LEASE: MineralLeaseAtomInstance;
|
|
25
|
+
export declare const SAMPLE_RRC_LEASE: RrcLeaseAtomInstance;
|
|
26
|
+
export declare const SAMPLE_TRACT: TractAtomInstance;
|
|
27
|
+
export declare const SAMPLE_OWNERSHIP_INTEREST: OwnershipInterestAtomInstance;
|
|
28
|
+
/**
|
|
29
|
+
* Sample pooled-unit sourced from recorded instruments with ratifications.
|
|
30
|
+
* Per ADR-025 Herbert review: unit-designation + ratifications from ≥65% in
|
|
31
|
+
* interest per tract (Opiela evidentiary pattern).
|
|
32
|
+
*/
|
|
33
|
+
export declare const SAMPLE_POOLED_UNIT: RevenueAllocationUnitAtomInstance;
|
|
34
|
+
/**
|
|
35
|
+
* Sample allocation-well sourced from RRC plat with per-tract take points and
|
|
36
|
+
* productive lateral footage. Per ADR-025: no county pooling instrument exists
|
|
37
|
+
* for allocation wells; absence is a signal, never "missing data."
|
|
38
|
+
*/
|
|
39
|
+
export declare const SAMPLE_ALLOCATION_WELL_UNIT: RevenueAllocationUnitAtomInstance;
|
|
40
|
+
//# sourceMappingURL=fixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../src/og/fixtures.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AACnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AAEtF,eAAO,MAAM,WAAW,EAAE,gBAmBzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,oBAa7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,sBAa/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,gBASzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAWxB,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,gCAa1C,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,0BAWpC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,wBA0BlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,oBAe9B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,iBAa1B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,6BAgBvC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,iCAmChC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,iCAgCzC,CAAC"}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sample fixtures for O&G atom types per ADR-025.
|
|
3
|
+
* Used in conformance tests and as documentation examples.
|
|
4
|
+
*/
|
|
5
|
+
import { createOgAssertedConfidence } from "./common.js";
|
|
6
|
+
export const SAMPLE_WELL = {
|
|
7
|
+
entityType: "well",
|
|
8
|
+
wellDid: "well_42001300010000",
|
|
9
|
+
apiNumber14: "42-001-30001-0000",
|
|
10
|
+
wellName: "Sample Well #1",
|
|
11
|
+
wellNumber: "1",
|
|
12
|
+
wellType: "oil",
|
|
13
|
+
status: "active",
|
|
14
|
+
spudDate: "2024-01-15",
|
|
15
|
+
completionDate: "2024-02-20",
|
|
16
|
+
totalDepth: 8500,
|
|
17
|
+
surfaceLocation: { latitude: 31.5, longitude: -102.1, datum: "WGS84" },
|
|
18
|
+
bottomholeLocation: { latitude: 31.49, longitude: -102.08, datum: "WGS84" },
|
|
19
|
+
fieldRef: { fieldName: "Sample Field", fieldNumber: "12345" },
|
|
20
|
+
district: "08",
|
|
21
|
+
sourceCitation: "RRC PDQ 2024-Q1",
|
|
22
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
23
|
+
asOf: "2024-02-20",
|
|
24
|
+
accessPolicy: "public-free",
|
|
25
|
+
};
|
|
26
|
+
export const SAMPLE_WELLBORE = {
|
|
27
|
+
entityType: "wellbore",
|
|
28
|
+
wellboreDid: "wbore_a1b2c3d4e5f6a7b8",
|
|
29
|
+
wellDid: "well_42001300010000",
|
|
30
|
+
sidetrackSequence: 0,
|
|
31
|
+
directionalSurveyCid: "bafyk1234567890abcdef",
|
|
32
|
+
lateralPathRef: "bafyk0987654321fedcba",
|
|
33
|
+
kickoffDepth: 7200,
|
|
34
|
+
measuredDepth: 12500,
|
|
35
|
+
sourceCitation: "RRC W-2 2024-001",
|
|
36
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
37
|
+
asOf: "2024-02-20",
|
|
38
|
+
accessPolicy: "public-free",
|
|
39
|
+
};
|
|
40
|
+
export const SAMPLE_COMPLETION = {
|
|
41
|
+
entityType: "completion",
|
|
42
|
+
completionDid: "cmpl_1a2b3c4d5e6f7a8b",
|
|
43
|
+
wellboreDid: "wbore_a1b2c3d4e5f6a7b8",
|
|
44
|
+
completionDate: "2024-02-20",
|
|
45
|
+
perforatedIntervals: [
|
|
46
|
+
{ topDepth: 8200, bottomDepth: 8300, zoneDid: "zone_0123456789abcdef" },
|
|
47
|
+
{ topDepth: 8400, bottomDepth: 8500, zoneDid: "zone_fedcba9876543210" },
|
|
48
|
+
],
|
|
49
|
+
sourceCitation: "RRC W-2 2024-001",
|
|
50
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
51
|
+
asOf: "2024-02-20",
|
|
52
|
+
accessPolicy: "public-free",
|
|
53
|
+
};
|
|
54
|
+
export const SAMPLE_ZONE = {
|
|
55
|
+
entityType: "zone",
|
|
56
|
+
zoneDid: "zone_0123456789abcdef",
|
|
57
|
+
formationName: "Wolfcamp A",
|
|
58
|
+
tops: 8150,
|
|
59
|
+
sourceCitation: "Texas Geological Survey 2023",
|
|
60
|
+
extractedAt: "2024-01-01T00:00:00Z",
|
|
61
|
+
asOf: "2023-12-31",
|
|
62
|
+
accessPolicy: "public-free",
|
|
63
|
+
};
|
|
64
|
+
export const SAMPLE_PAD = {
|
|
65
|
+
entityType: "pad",
|
|
66
|
+
padDid: "pad_0123456789abcdef",
|
|
67
|
+
wellDids: ["well_42001300010000", "well_42001300020000"],
|
|
68
|
+
surfaceLocation: { latitude: 31.5, longitude: -102.1, datum: "WGS84" },
|
|
69
|
+
derivationMethod: "proximity-clustering-100m",
|
|
70
|
+
confidence: createOgAssertedConfidence(0.95),
|
|
71
|
+
sourceCitation: "Derived from RRC well locations",
|
|
72
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
73
|
+
asOf: "2024-02-20",
|
|
74
|
+
accessPolicy: "public-free",
|
|
75
|
+
};
|
|
76
|
+
export const SAMPLE_PRODUCTION_TIMESERIES = {
|
|
77
|
+
entityType: "production-timeseries",
|
|
78
|
+
streamDid: "prodts_0123456789abcdef",
|
|
79
|
+
streamKind: "reported",
|
|
80
|
+
anchorKind: "rrc-lease",
|
|
81
|
+
anchorDid: "rrclease_08-12345",
|
|
82
|
+
product: "oil",
|
|
83
|
+
granularity: "monthly",
|
|
84
|
+
sourceAdapter: "RRC-PDQ-EBCDIC",
|
|
85
|
+
sourceCitation: "RRC PDQ 2024-Q1",
|
|
86
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
87
|
+
asOf: "2024-02-29",
|
|
88
|
+
accessPolicy: "public-free",
|
|
89
|
+
};
|
|
90
|
+
export const SAMPLE_EQUIPMENT_STATE = {
|
|
91
|
+
entityType: "equipment-state",
|
|
92
|
+
equipmentDid: "equip_0123456789abcdef",
|
|
93
|
+
wellDid: "well_42001300010000",
|
|
94
|
+
equipmentKind: "rod-pump",
|
|
95
|
+
stateSnapshot: { strokesPerMinute: 12, fillage: 0.85, runtime: "active" },
|
|
96
|
+
telemetryStreamRefs: ["stream_scada_001"],
|
|
97
|
+
sourceCitation: "SCADA historian",
|
|
98
|
+
extractedAt: "2024-03-15T08:00:00Z",
|
|
99
|
+
asOf: "2024-03-15T08:00:00Z",
|
|
100
|
+
accessPolicy: "tenant-private",
|
|
101
|
+
};
|
|
102
|
+
export const SAMPLE_MINERAL_LEASE = {
|
|
103
|
+
entityType: "mineral-lease",
|
|
104
|
+
leaseDid: "mlease_0123456789abcdef",
|
|
105
|
+
lessorActorDids: ["actor_lessor_001"],
|
|
106
|
+
lesseeActorDid: "actor_lessee_001",
|
|
107
|
+
evidencedByInstrumentDids: ["instr_recorded_001"],
|
|
108
|
+
primaryTerm: "3 years",
|
|
109
|
+
effectiveDate: "2022-01-01",
|
|
110
|
+
royaltyFraction: 0.25,
|
|
111
|
+
bonusPerAcre: 500,
|
|
112
|
+
clauseExtracts: [
|
|
113
|
+
{
|
|
114
|
+
clauseType: "shut-in",
|
|
115
|
+
extractedText: "Lessee may pay shut-in royalty...",
|
|
116
|
+
confidence: createOgAssertedConfidence(0.9),
|
|
117
|
+
sourceCitation: "Instrument page 3",
|
|
118
|
+
sourceInstrumentDid: "instr_recorded_001",
|
|
119
|
+
pageRef: "3",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
tractDids: ["tract_Reeves-123"],
|
|
123
|
+
status: "hbp",
|
|
124
|
+
sourceCitation: "County records + landman book",
|
|
125
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
126
|
+
asOf: "2024-02-20",
|
|
127
|
+
accessPolicy: "tenant-private",
|
|
128
|
+
};
|
|
129
|
+
export const SAMPLE_RRC_LEASE = {
|
|
130
|
+
entityType: "rrc-lease",
|
|
131
|
+
rrcLeaseDid: "rrclease_08-12345",
|
|
132
|
+
leaseNumber: "12345",
|
|
133
|
+
leaseName: "Sample Lease",
|
|
134
|
+
district: "08",
|
|
135
|
+
fieldRef: { fieldName: "Sample Field", fieldNumber: "12345" },
|
|
136
|
+
operatorActorDid: "actor_operator_001",
|
|
137
|
+
wellCount: 5,
|
|
138
|
+
status: "active",
|
|
139
|
+
acreage: 640,
|
|
140
|
+
sourceCitation: "RRC Public Query 2024-Q1",
|
|
141
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
142
|
+
asOf: "2024-02-29",
|
|
143
|
+
accessPolicy: "public-free",
|
|
144
|
+
};
|
|
145
|
+
export const SAMPLE_TRACT = {
|
|
146
|
+
entityType: "tract",
|
|
147
|
+
tractDid: "tract_Reeves-123",
|
|
148
|
+
legalDescription: "Section 12, Block 50, Township 5 South",
|
|
149
|
+
plssOrSurveyRef: "TTRR Survey",
|
|
150
|
+
abstractNumber: "123",
|
|
151
|
+
county: "Reeves",
|
|
152
|
+
state: "TX",
|
|
153
|
+
acreage: 640,
|
|
154
|
+
sourceCitation: "County records",
|
|
155
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
156
|
+
asOf: "2024-02-20",
|
|
157
|
+
accessPolicy: "public-free",
|
|
158
|
+
};
|
|
159
|
+
export const SAMPLE_OWNERSHIP_INTEREST = {
|
|
160
|
+
entityType: "ownership-interest",
|
|
161
|
+
interestDid: "intr_0123456789abcdef",
|
|
162
|
+
interestType: "mineral",
|
|
163
|
+
ownerActorDid: "actor_owner_001",
|
|
164
|
+
anchorTractDid: "tract_Reeves-123",
|
|
165
|
+
decimalInterest: 0.125,
|
|
166
|
+
fraction: "1/8",
|
|
167
|
+
effectiveFrom: "2020-01-01",
|
|
168
|
+
derivedFromInstrumentDids: ["instr_deed_001", "instr_deed_002"],
|
|
169
|
+
gaps: ["Missing link between 1995 and 2000"],
|
|
170
|
+
confidence: createOgAssertedConfidence(0.85),
|
|
171
|
+
sourceCitation: "Run sheet analysis",
|
|
172
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
173
|
+
asOf: "2024-02-20",
|
|
174
|
+
accessPolicy: "tenant-private",
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Sample pooled-unit sourced from recorded instruments with ratifications.
|
|
178
|
+
* Per ADR-025 Herbert review: unit-designation + ratifications from ≥65% in
|
|
179
|
+
* interest per tract (Opiela evidentiary pattern).
|
|
180
|
+
*/
|
|
181
|
+
export const SAMPLE_POOLED_UNIT = {
|
|
182
|
+
entityType: "revenue-allocation-unit",
|
|
183
|
+
unitDid: "unit_0123456789abcdef",
|
|
184
|
+
basis: "pooled-unit",
|
|
185
|
+
wellDids: ["well_42001300010000", "well_42001300020000"],
|
|
186
|
+
operatorActorDid: "actor_operator_001",
|
|
187
|
+
effectiveFrom: "2023-01-01",
|
|
188
|
+
tractParticipations: [
|
|
189
|
+
{
|
|
190
|
+
tractDid: "tract_Reeves-123",
|
|
191
|
+
factor: 0.65,
|
|
192
|
+
allocationMethod: "stated-fraction",
|
|
193
|
+
source: "Unit Designation 2023-001",
|
|
194
|
+
confidence: createOgAssertedConfidence(0.9),
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
tractDid: "tract_Reeves-124",
|
|
198
|
+
factor: 0.35,
|
|
199
|
+
allocationMethod: "acreage",
|
|
200
|
+
source: "Unit Designation 2023-001",
|
|
201
|
+
confidence: createOgAssertedConfidence(0.9),
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
sourceInstrumentDids: ["instr_unit_designation_001"],
|
|
205
|
+
ratificationInstrumentDids: ["instr_ratification_001", "instr_ratification_002"],
|
|
206
|
+
ratificationGaps: [
|
|
207
|
+
{
|
|
208
|
+
tractDid: "tract_Reeves-124",
|
|
209
|
+
gapDescription: "Ratification pending for 15% interest holder",
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
sourceCitation: "Reeves County Records, Book 500 Page 123",
|
|
213
|
+
extractedAt: "2024-03-01T12:00:00Z",
|
|
214
|
+
asOf: "2024-02-20",
|
|
215
|
+
accessPolicy: "public-free",
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* Sample allocation-well sourced from RRC plat with per-tract take points and
|
|
219
|
+
* productive lateral footage. Per ADR-025: no county pooling instrument exists
|
|
220
|
+
* for allocation wells; absence is a signal, never "missing data."
|
|
221
|
+
*/
|
|
222
|
+
export const SAMPLE_ALLOCATION_WELL_UNIT = {
|
|
223
|
+
entityType: "revenue-allocation-unit",
|
|
224
|
+
unitDid: "unit_fedcba9876543210",
|
|
225
|
+
basis: "allocation-well",
|
|
226
|
+
wellDids: ["well_42001300030000"],
|
|
227
|
+
operatorActorDid: "actor_operator_001",
|
|
228
|
+
effectiveFrom: "2024-02-01",
|
|
229
|
+
tractParticipations: [
|
|
230
|
+
{
|
|
231
|
+
tractDid: "tract_Reeves-123",
|
|
232
|
+
factor: 0.58,
|
|
233
|
+
allocationMethod: "lateral-length",
|
|
234
|
+
source: "RRC W-1 allocation attachment, plat 2024-03-001",
|
|
235
|
+
confidence: createOgAssertedConfidence(0.95),
|
|
236
|
+
takePoints: 2,
|
|
237
|
+
productiveLateralFootage: 4850,
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
tractDid: "tract_Reeves-125",
|
|
241
|
+
factor: 0.42,
|
|
242
|
+
allocationMethod: "lateral-length",
|
|
243
|
+
source: "RRC W-1 allocation attachment, plat 2024-03-001",
|
|
244
|
+
confidence: createOgAssertedConfidence(0.95),
|
|
245
|
+
takePoints: 1,
|
|
246
|
+
productiveLateralFootage: 3510,
|
|
247
|
+
},
|
|
248
|
+
],
|
|
249
|
+
sourcePlatCid: "bafyk_allocation_plat_2024_03_001",
|
|
250
|
+
sourceCitation: "RRC W-1 allocation attachment + as-drilled plat",
|
|
251
|
+
extractedAt: "2024-03-10T12:00:00Z",
|
|
252
|
+
asOf: "2024-03-01",
|
|
253
|
+
accessPolicy: "public-free",
|
|
254
|
+
};
|
|
255
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixtures.js","sourceRoot":"","sources":["../../src/og/fixtures.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAczD,MAAM,CAAC,MAAM,WAAW,GAAqB;IAC3C,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,qBAAqB;IAC9B,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,UAAU,EAAE,GAAG;IACf,QAAQ,EAAE,KAAK;IACf,MA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EAAE,kBAAkB;YAC5B,MAAM,EAAE,IAAI;YACZ,gBAAgB,EAAE,gBAAgB;YAClC,MAAM,EAAE,iDAAiD;YACzD,UAAU,EAAE,0BAA0B,CAAC,IAAI,CAAC;YAC5C,UAAU,EAAE,CAAC;YACb,wBAAwB,EAAE,IAAI;SAC/B;KACF;IACD,aAAa,EAAE,mCAAmC;IAClD,cAAc,EAAE,iDAAiD;IACjE,WAAW,EAAE,sBAAsB;IACnC,IAAI,EAAE,YAAY;IAClB,YAAY,EAAE,aAAa;CAC5B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADR-025 O&G ontology atom type definitions.
|
|
3
|
+
*
|
|
4
|
+
* Import from `@empressaio/atom-contract/og`. obligation is core (ships in
|
|
5
|
+
* the main contract module, domain-neutral), but ./og re-exports it for
|
|
6
|
+
* convenience.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./common.js";
|
|
9
|
+
export * from "./well.js";
|
|
10
|
+
export * from "./wellbore.js";
|
|
11
|
+
export * from "./completion.js";
|
|
12
|
+
export * from "./zone.js";
|
|
13
|
+
export * from "./pad.js";
|
|
14
|
+
export * from "./production-timeseries.js";
|
|
15
|
+
export * from "./equipment-state.js";
|
|
16
|
+
export * from "./mineral-lease.js";
|
|
17
|
+
export * from "./rrc-lease.js";
|
|
18
|
+
export * from "./tract.js";
|
|
19
|
+
export * from "./ownership-interest.js";
|
|
20
|
+
export * from "./revenue-allocation-unit.js";
|
|
21
|
+
export * from "./fixtures.js";
|
|
22
|
+
export { OBLIGATION_SCHEMA, OBLIGATION_STATUSES, OBLIGATION_TYPES, type ObligationAtomInstance, type ObligationStatus, type ObligationType, } from "../obligation.js";
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/og/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB,MAAM,kBAAkB,CAAC"}
|
package/dist/og/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADR-025 O&G ontology atom type definitions.
|
|
3
|
+
*
|
|
4
|
+
* Import from `@empressaio/atom-contract/og`. obligation is core (ships in
|
|
5
|
+
* the main contract module, domain-neutral), but ./og re-exports it for
|
|
6
|
+
* convenience.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./common.js";
|
|
9
|
+
export * from "./well.js";
|
|
10
|
+
export * from "./wellbore.js";
|
|
11
|
+
export * from "./completion.js";
|
|
12
|
+
export * from "./zone.js";
|
|
13
|
+
export * from "./pad.js";
|
|
14
|
+
export * from "./production-timeseries.js";
|
|
15
|
+
export * from "./equipment-state.js";
|
|
16
|
+
export * from "./mineral-lease.js";
|
|
17
|
+
export * from "./rrc-lease.js";
|
|
18
|
+
export * from "./tract.js";
|
|
19
|
+
export * from "./ownership-interest.js";
|
|
20
|
+
export * from "./revenue-allocation-unit.js";
|
|
21
|
+
export * from "./fixtures.js";
|
|
22
|
+
export { OBLIGATION_SCHEMA, OBLIGATION_STATUSES, OBLIGATION_TYPES, } from "../obligation.js";
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/og/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,GAIjB,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { AccessPolicy } from "../registration.js";
|
|
3
|
+
import { type ClauseExtract, type MineralLeaseStatus } from "./common.js";
|
|
4
|
+
/**
|
|
5
|
+
* Mineral-lease atom instance per ADR-025 — the title-instrument lease a
|
|
6
|
+
* landman manages. Reconciles with recorded-instrument (ADR-020):
|
|
7
|
+
* evidencedByInstrumentDids link to recorded-instrument atoms.
|
|
8
|
+
* DID format: mlease_<hash> (hashed derivation from source, externalId).
|
|
9
|
+
*/
|
|
10
|
+
export interface MineralLeaseAtomInstance {
|
|
11
|
+
entityType: "mineral-lease";
|
|
12
|
+
leaseDid: string;
|
|
13
|
+
lessorActorDids: ReadonlyArray<string>;
|
|
14
|
+
lesseeActorDid: string;
|
|
15
|
+
evidencedByInstrumentDids: ReadonlyArray<string>;
|
|
16
|
+
primaryTerm: string;
|
|
17
|
+
effectiveDate: string;
|
|
18
|
+
royaltyFraction: number;
|
|
19
|
+
bonusPerAcre?: number;
|
|
20
|
+
clauseExtracts?: ReadonlyArray<ClauseExtract>;
|
|
21
|
+
tractDids: ReadonlyArray<string>;
|
|
22
|
+
status: MineralLeaseStatus;
|
|
23
|
+
sourceCitation: string;
|
|
24
|
+
extractedAt: string;
|
|
25
|
+
asOf?: string;
|
|
26
|
+
accessPolicy: AccessPolicy;
|
|
27
|
+
}
|
|
28
|
+
export declare const MINERAL_LEASE_SCHEMA: z.ZodObject<{
|
|
29
|
+
accessPolicy: z.ZodEnum<["public-free", "public-paid", "platform-internal", "tenant-private", "tenant-shared"]>;
|
|
30
|
+
sourceCitation: z.ZodString;
|
|
31
|
+
extractedAt: z.ZodString;
|
|
32
|
+
asOf: z.ZodOptional<z.ZodString>;
|
|
33
|
+
entityType: z.ZodLiteral<"mineral-lease">;
|
|
34
|
+
leaseDid: z.ZodEffects<z.ZodString, string, string>;
|
|
35
|
+
lessorActorDids: z.ZodArray<z.ZodString, "many">;
|
|
36
|
+
lesseeActorDid: z.ZodString;
|
|
37
|
+
evidencedByInstrumentDids: z.ZodArray<z.ZodString, "many">;
|
|
38
|
+
primaryTerm: z.ZodString;
|
|
39
|
+
effectiveDate: z.ZodString;
|
|
40
|
+
royaltyFraction: z.ZodNumber;
|
|
41
|
+
bonusPerAcre: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
clauseExtracts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
|
+
clauseType: z.ZodEnum<["shut-in", "pugh", "continuous-development", "depth-severance"]>;
|
|
44
|
+
extractedText: z.ZodString;
|
|
45
|
+
confidence: z.ZodReadonly<z.ZodObject<{
|
|
46
|
+
readonly estimate: z.ZodNumber;
|
|
47
|
+
readonly n: z.ZodNumber;
|
|
48
|
+
readonly intervalWidth: z.ZodNumber;
|
|
49
|
+
readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
estimate: number;
|
|
52
|
+
n: number;
|
|
53
|
+
intervalWidth: number;
|
|
54
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
55
|
+
}, {
|
|
56
|
+
estimate: number;
|
|
57
|
+
n: number;
|
|
58
|
+
intervalWidth: number;
|
|
59
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
60
|
+
}>>;
|
|
61
|
+
sourceCitation: z.ZodString;
|
|
62
|
+
sourceInstrumentDid: z.ZodString;
|
|
63
|
+
pageRef: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
clauseType: "shut-in" | "pugh" | "continuous-development" | "depth-severance";
|
|
66
|
+
extractedText: string;
|
|
67
|
+
confidence: Readonly<{
|
|
68
|
+
estimate: number;
|
|
69
|
+
n: number;
|
|
70
|
+
intervalWidth: number;
|
|
71
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
72
|
+
}>;
|
|
73
|
+
sourceCitation: string;
|
|
74
|
+
sourceInstrumentDid: string;
|
|
75
|
+
pageRef?: string | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
clauseType: "shut-in" | "pugh" | "continuous-development" | "depth-severance";
|
|
78
|
+
extractedText: string;
|
|
79
|
+
confidence: Readonly<{
|
|
80
|
+
estimate: number;
|
|
81
|
+
n: number;
|
|
82
|
+
intervalWidth: number;
|
|
83
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
84
|
+
}>;
|
|
85
|
+
sourceCitation: string;
|
|
86
|
+
sourceInstrumentDid: string;
|
|
87
|
+
pageRef?: string | undefined;
|
|
88
|
+
}>, "many">>;
|
|
89
|
+
tractDids: z.ZodArray<z.ZodString, "many">;
|
|
90
|
+
status: z.ZodEnum<[MineralLeaseStatus, ...MineralLeaseStatus[]]>;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
|
|
93
|
+
entityType: "mineral-lease";
|
|
94
|
+
status: MineralLeaseStatus;
|
|
95
|
+
sourceCitation: string;
|
|
96
|
+
extractedAt: string;
|
|
97
|
+
leaseDid: string;
|
|
98
|
+
lessorActorDids: string[];
|
|
99
|
+
lesseeActorDid: string;
|
|
100
|
+
evidencedByInstrumentDids: string[];
|
|
101
|
+
primaryTerm: string;
|
|
102
|
+
effectiveDate: string;
|
|
103
|
+
royaltyFraction: number;
|
|
104
|
+
tractDids: string[];
|
|
105
|
+
asOf?: string | undefined;
|
|
106
|
+
bonusPerAcre?: number | undefined;
|
|
107
|
+
clauseExtracts?: {
|
|
108
|
+
clauseType: "shut-in" | "pugh" | "continuous-development" | "depth-severance";
|
|
109
|
+
extractedText: string;
|
|
110
|
+
confidence: Readonly<{
|
|
111
|
+
estimate: number;
|
|
112
|
+
n: number;
|
|
113
|
+
intervalWidth: number;
|
|
114
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
115
|
+
}>;
|
|
116
|
+
sourceCitation: string;
|
|
117
|
+
sourceInstrumentDid: string;
|
|
118
|
+
pageRef?: string | undefined;
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
}, {
|
|
121
|
+
accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
|
|
122
|
+
entityType: "mineral-lease";
|
|
123
|
+
status: MineralLeaseStatus;
|
|
124
|
+
sourceCitation: string;
|
|
125
|
+
extractedAt: string;
|
|
126
|
+
leaseDid: string;
|
|
127
|
+
lessorActorDids: string[];
|
|
128
|
+
lesseeActorDid: string;
|
|
129
|
+
evidencedByInstrumentDids: string[];
|
|
130
|
+
primaryTerm: string;
|
|
131
|
+
effectiveDate: string;
|
|
132
|
+
royaltyFraction: number;
|
|
133
|
+
tractDids: string[];
|
|
134
|
+
asOf?: string | undefined;
|
|
135
|
+
bonusPerAcre?: number | undefined;
|
|
136
|
+
clauseExtracts?: {
|
|
137
|
+
clauseType: "shut-in" | "pugh" | "continuous-development" | "depth-severance";
|
|
138
|
+
extractedText: string;
|
|
139
|
+
confidence: Readonly<{
|
|
140
|
+
estimate: number;
|
|
141
|
+
n: number;
|
|
142
|
+
intervalWidth: number;
|
|
143
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
144
|
+
}>;
|
|
145
|
+
sourceCitation: string;
|
|
146
|
+
sourceInstrumentDid: string;
|
|
147
|
+
pageRef?: string | undefined;
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
}>;
|
|
150
|
+
//# sourceMappingURL=mineral-lease.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mineral-lease.d.ts","sourceRoot":"","sources":["../../src/og/mineral-lease.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AAErB;;;;;GAKG;AACH,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,eAAe,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACvC,cAAc,EAAE,MAAM,CAAC;IACvB,yBAAyB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC9C,SAAS,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACjC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsB/B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { CLAUSE_EXTRACT_SCHEMA, MINERAL_LEASE_STATUSES, OG_ACCESS_POLICY_SCHEMA, OG_QUALITY_GATE_FIELDS, } from "./common.js";
|
|
3
|
+
export const MINERAL_LEASE_SCHEMA = z.object({
|
|
4
|
+
entityType: z.literal("mineral-lease"),
|
|
5
|
+
leaseDid: z
|
|
6
|
+
.string()
|
|
7
|
+
.min(1)
|
|
8
|
+
.refine((val) => /^mlease_[0-9a-f]{16}$/.test(val), {
|
|
9
|
+
message: "leaseDid must be in format mlease_<16-hex-chars>",
|
|
10
|
+
}),
|
|
11
|
+
lessorActorDids: z.array(z.string().min(1)).min(1),
|
|
12
|
+
lesseeActorDid: z.string().min(1),
|
|
13
|
+
evidencedByInstrumentDids: z.array(z.string().min(1)).min(1),
|
|
14
|
+
primaryTerm: z.string().min(1),
|
|
15
|
+
effectiveDate: z.string().min(1),
|
|
16
|
+
royaltyFraction: z.number(),
|
|
17
|
+
bonusPerAcre: z.number().optional(),
|
|
18
|
+
clauseExtracts: z.array(CLAUSE_EXTRACT_SCHEMA).optional(),
|
|
19
|
+
tractDids: z.array(z.string().min(1)),
|
|
20
|
+
status: z.enum(MINERAL_LEASE_STATUSES),
|
|
21
|
+
...OG_QUALITY_GATE_FIELDS,
|
|
22
|
+
accessPolicy: OG_ACCESS_POLICY_SCHEMA,
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=mineral-lease.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mineral-lease.js","sourceRoot":"","sources":["../../src/og/mineral-lease.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAA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