@empressaio/atom-contract 1.16.0 → 1.18.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.
@@ -0,0 +1,670 @@
1
+ import { z } from "zod";
2
+ import type { AccessPolicy } from "../registration.js";
3
+ import type { AtomTier } from "../conformance/common.js";
4
+ import type { ReasoningChain } from "../reasoning-chain.js";
5
+ import type { ReasoningReadContract } from "../read-contract/reasoning-axes.js";
6
+ import { type SiteLayerVerifiedAbsence, type WellFactAbsence, type WellFactSourceTier, type WellParcelRelation, type WellStatus, type WellSurfaceLocation, type WellType } from "./common.js";
7
+ /**
8
+ * Well FACT atom — RRC public GIS surface well on or near a parcel.
9
+ *
10
+ * Operations-lens public-record only (county manifest `rrc-wells` rail).
11
+ * NOT the ADR-025 og-twin vertical. One atom per (parcel, well) association;
12
+ * 0..N per parcel. Subcategorize via body fields (status, type, orphaned),
13
+ * never via separate rails.
14
+ */
15
+ export interface WellFactAtomInstance {
16
+ entityType: "well-fact";
17
+ atomDid: string;
18
+ parcelNodeId: string;
19
+ /** Stable well identity within the parcel (typically apiNumber14). */
20
+ wellKey: string;
21
+ reasoningChain: Extract<ReasoningChain, {
22
+ reasoningKind: "observed";
23
+ }>;
24
+ sourceTier: WellFactSourceTier;
25
+ apiNumber14?: string;
26
+ wellStatus?: WellStatus;
27
+ wellType?: WellType;
28
+ orphaned?: boolean;
29
+ operatorName?: string;
30
+ surfaceLocation?: WellSurfaceLocation;
31
+ parcelRelation?: WellParcelRelation;
32
+ /** Named proximity radius used for near-parcel evaluation (always carried). */
33
+ proximityRadiusMeters?: number;
34
+ /** Meters from well surface to parcel boundary; 0 when on-parcel. */
35
+ proximityDistanceMeters?: number;
36
+ absence?: WellFactAbsence;
37
+ verifiedAbsence?: SiteLayerVerifiedAbsence;
38
+ accessPolicy: AccessPolicy;
39
+ sourceCitation: string;
40
+ extractedAt: string;
41
+ asOf?: string;
42
+ sourceVintage?: string;
43
+ verificationStatus: "machine" | "human" | "unsurveyed";
44
+ sourceAdapter: string;
45
+ evaluatedAt: string;
46
+ atomTier: AtomTier;
47
+ readContract?: ReasoningReadContract;
48
+ }
49
+ export declare const WELL_FACT_SCHEMA: z.ZodEffects<z.ZodObject<{
50
+ atomTier: z.ZodLiteral<AtomTier>;
51
+ readContract: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
52
+ axes: z.ZodReadonly<z.ZodObject<{
53
+ calibratedConfidence: z.ZodReadonly<z.ZodObject<{
54
+ readonly estimate: z.ZodNumber;
55
+ readonly n: z.ZodNumber;
56
+ readonly intervalWidth: z.ZodNumber;
57
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ estimate: number;
60
+ n: number;
61
+ intervalWidth: number;
62
+ provenance: "asserted" | "backtest" | "seed" | "live";
63
+ }, {
64
+ estimate: number;
65
+ n: number;
66
+ intervalWidth: number;
67
+ provenance: "asserted" | "backtest" | "seed" | "live";
68
+ }>>;
69
+ assertedConfidence: z.ZodReadonly<z.ZodObject<{
70
+ readonly estimate: z.ZodNumber;
71
+ readonly n: z.ZodNumber;
72
+ readonly intervalWidth: z.ZodNumber;
73
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ estimate: number;
76
+ n: number;
77
+ intervalWidth: number;
78
+ provenance: "asserted" | "backtest" | "seed" | "live";
79
+ }, {
80
+ estimate: number;
81
+ n: number;
82
+ intervalWidth: number;
83
+ provenance: "asserted" | "backtest" | "seed" | "live";
84
+ }>>;
85
+ consequence: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
86
+ kind: z.ZodLiteral<"property-risk">;
87
+ stratum: z.ZodEnum<[import("../read-contract/reasoning-axes.js").PropertyRiskStratum, ...import("../read-contract/reasoning-axes.js").PropertyRiskStratum[]]>;
88
+ basis: z.ZodString;
89
+ assertedAt: z.ZodString;
90
+ auditRef: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
93
+ assertedAt: string;
94
+ kind: "property-risk";
95
+ basis: string;
96
+ auditRef?: string | undefined;
97
+ }, {
98
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
99
+ assertedAt: string;
100
+ kind: "property-risk";
101
+ basis: string;
102
+ auditRef?: string | undefined;
103
+ }>, z.ZodObject<{
104
+ kind: z.ZodLiteral<"not-applicable">;
105
+ reason: z.ZodString;
106
+ assertedAt: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ assertedAt: string;
109
+ kind: "not-applicable";
110
+ reason: string;
111
+ }, {
112
+ assertedAt: string;
113
+ kind: "not-applicable";
114
+ reason: string;
115
+ }>]>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ calibratedConfidence: Readonly<{
118
+ estimate: number;
119
+ n: number;
120
+ intervalWidth: number;
121
+ provenance: "asserted" | "backtest" | "seed" | "live";
122
+ }>;
123
+ assertedConfidence: Readonly<{
124
+ estimate: number;
125
+ n: number;
126
+ intervalWidth: number;
127
+ provenance: "asserted" | "backtest" | "seed" | "live";
128
+ }>;
129
+ consequence: {
130
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
131
+ assertedAt: string;
132
+ kind: "property-risk";
133
+ basis: string;
134
+ auditRef?: string | undefined;
135
+ } | {
136
+ assertedAt: string;
137
+ kind: "not-applicable";
138
+ reason: string;
139
+ };
140
+ }, {
141
+ calibratedConfidence: Readonly<{
142
+ estimate: number;
143
+ n: number;
144
+ intervalWidth: number;
145
+ provenance: "asserted" | "backtest" | "seed" | "live";
146
+ }>;
147
+ assertedConfidence: Readonly<{
148
+ estimate: number;
149
+ n: number;
150
+ intervalWidth: number;
151
+ provenance: "asserted" | "backtest" | "seed" | "live";
152
+ }>;
153
+ consequence: {
154
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
155
+ assertedAt: string;
156
+ kind: "property-risk";
157
+ basis: string;
158
+ auditRef?: string | undefined;
159
+ } | {
160
+ assertedAt: string;
161
+ kind: "not-applicable";
162
+ reason: string;
163
+ };
164
+ }>>;
165
+ assembledAt: z.ZodString;
166
+ modelAttribution: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
167
+ modelId: z.ZodString;
168
+ modelVersion: z.ZodString;
169
+ promptTemplateVersion: z.ZodString;
170
+ contextTemplateVersion: z.ZodString;
171
+ samplingParams: z.ZodReadonly<z.ZodObject<{
172
+ temperature: z.ZodOptional<z.ZodNumber>;
173
+ topP: z.ZodOptional<z.ZodNumber>;
174
+ maxTokens: z.ZodOptional<z.ZodNumber>;
175
+ seed: z.ZodOptional<z.ZodNumber>;
176
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
177
+ temperature: z.ZodOptional<z.ZodNumber>;
178
+ topP: z.ZodOptional<z.ZodNumber>;
179
+ maxTokens: z.ZodOptional<z.ZodNumber>;
180
+ seed: z.ZodOptional<z.ZodNumber>;
181
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
182
+ temperature: z.ZodOptional<z.ZodNumber>;
183
+ topP: z.ZodOptional<z.ZodNumber>;
184
+ maxTokens: z.ZodOptional<z.ZodNumber>;
185
+ seed: z.ZodOptional<z.ZodNumber>;
186
+ }, z.ZodUnknown, "strip">>>;
187
+ retrievedAtomSetId: z.ZodString;
188
+ }, "strip", z.ZodTypeAny, {
189
+ modelId: string;
190
+ modelVersion: string;
191
+ promptTemplateVersion: string;
192
+ contextTemplateVersion: string;
193
+ samplingParams: Readonly<z.objectOutputType<{
194
+ temperature: z.ZodOptional<z.ZodNumber>;
195
+ topP: z.ZodOptional<z.ZodNumber>;
196
+ maxTokens: z.ZodOptional<z.ZodNumber>;
197
+ seed: z.ZodOptional<z.ZodNumber>;
198
+ }, z.ZodUnknown, "strip">>;
199
+ retrievedAtomSetId: string;
200
+ }, {
201
+ modelId: string;
202
+ modelVersion: string;
203
+ promptTemplateVersion: string;
204
+ contextTemplateVersion: string;
205
+ samplingParams: Readonly<z.objectInputType<{
206
+ temperature: z.ZodOptional<z.ZodNumber>;
207
+ topP: z.ZodOptional<z.ZodNumber>;
208
+ maxTokens: z.ZodOptional<z.ZodNumber>;
209
+ seed: z.ZodOptional<z.ZodNumber>;
210
+ }, z.ZodUnknown, "strip">>;
211
+ retrievedAtomSetId: string;
212
+ }>>>;
213
+ }, "strip", z.ZodTypeAny, {
214
+ axes: Readonly<{
215
+ calibratedConfidence: Readonly<{
216
+ estimate: number;
217
+ n: number;
218
+ intervalWidth: number;
219
+ provenance: "asserted" | "backtest" | "seed" | "live";
220
+ }>;
221
+ assertedConfidence: Readonly<{
222
+ estimate: number;
223
+ n: number;
224
+ intervalWidth: number;
225
+ provenance: "asserted" | "backtest" | "seed" | "live";
226
+ }>;
227
+ consequence: {
228
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
229
+ assertedAt: string;
230
+ kind: "property-risk";
231
+ basis: string;
232
+ auditRef?: string | undefined;
233
+ } | {
234
+ assertedAt: string;
235
+ kind: "not-applicable";
236
+ reason: string;
237
+ };
238
+ }>;
239
+ assembledAt: string;
240
+ modelAttribution?: Readonly<{
241
+ modelId: string;
242
+ modelVersion: string;
243
+ promptTemplateVersion: string;
244
+ contextTemplateVersion: string;
245
+ samplingParams: Readonly<z.objectOutputType<{
246
+ temperature: z.ZodOptional<z.ZodNumber>;
247
+ topP: z.ZodOptional<z.ZodNumber>;
248
+ maxTokens: z.ZodOptional<z.ZodNumber>;
249
+ seed: z.ZodOptional<z.ZodNumber>;
250
+ }, z.ZodUnknown, "strip">>;
251
+ retrievedAtomSetId: string;
252
+ }> | undefined;
253
+ }, {
254
+ axes: Readonly<{
255
+ calibratedConfidence: Readonly<{
256
+ estimate: number;
257
+ n: number;
258
+ intervalWidth: number;
259
+ provenance: "asserted" | "backtest" | "seed" | "live";
260
+ }>;
261
+ assertedConfidence: Readonly<{
262
+ estimate: number;
263
+ n: number;
264
+ intervalWidth: number;
265
+ provenance: "asserted" | "backtest" | "seed" | "live";
266
+ }>;
267
+ consequence: {
268
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
269
+ assertedAt: string;
270
+ kind: "property-risk";
271
+ basis: string;
272
+ auditRef?: string | undefined;
273
+ } | {
274
+ assertedAt: string;
275
+ kind: "not-applicable";
276
+ reason: string;
277
+ };
278
+ }>;
279
+ assembledAt: string;
280
+ modelAttribution?: Readonly<{
281
+ modelId: string;
282
+ modelVersion: string;
283
+ promptTemplateVersion: string;
284
+ contextTemplateVersion: string;
285
+ samplingParams: Readonly<z.objectInputType<{
286
+ temperature: z.ZodOptional<z.ZodNumber>;
287
+ topP: z.ZodOptional<z.ZodNumber>;
288
+ maxTokens: z.ZodOptional<z.ZodNumber>;
289
+ seed: z.ZodOptional<z.ZodNumber>;
290
+ }, z.ZodUnknown, "strip">>;
291
+ retrievedAtomSetId: string;
292
+ }> | undefined;
293
+ }>>>;
294
+ sourceVintage: z.ZodOptional<z.ZodString>;
295
+ verificationStatus: z.ZodEnum<["machine", "human", "unsurveyed"]>;
296
+ sourceAdapter: z.ZodString;
297
+ evaluatedAt: z.ZodString;
298
+ sourceCitation: z.ZodString;
299
+ extractedAt: z.ZodString;
300
+ asOf: z.ZodOptional<z.ZodString>;
301
+ entityType: z.ZodLiteral<"well-fact">;
302
+ atomDid: z.ZodEffects<z.ZodString, string, string>;
303
+ parcelNodeId: z.ZodEffects<z.ZodString, string, string>;
304
+ wellKey: z.ZodString;
305
+ reasoningChain: z.ZodObject<{
306
+ reasoningKind: z.ZodLiteral<"observed">;
307
+ }, "strip", z.ZodTypeAny, {
308
+ reasoningKind: "observed";
309
+ }, {
310
+ reasoningKind: "observed";
311
+ }>;
312
+ sourceTier: z.ZodEnum<["texas-rrc-gis", "absent"]>;
313
+ apiNumber14: z.ZodOptional<z.ZodString>;
314
+ wellStatus: z.ZodOptional<z.ZodEnum<["producing", "permitted", "dry", "plugged-abandoned"]>>;
315
+ wellType: z.ZodOptional<z.ZodEnum<["oil", "gas", "injection", "disposal"]>>;
316
+ orphaned: z.ZodOptional<z.ZodBoolean>;
317
+ operatorName: z.ZodOptional<z.ZodString>;
318
+ surfaceLocation: z.ZodOptional<z.ZodObject<{
319
+ lng: z.ZodNumber;
320
+ lat: z.ZodNumber;
321
+ }, "strict", z.ZodTypeAny, {
322
+ lng: number;
323
+ lat: number;
324
+ }, {
325
+ lng: number;
326
+ lat: number;
327
+ }>>;
328
+ parcelRelation: z.ZodOptional<z.ZodEnum<["on-parcel", "near-parcel"]>>;
329
+ proximityRadiusMeters: z.ZodOptional<z.ZodNumber>;
330
+ proximityDistanceMeters: z.ZodOptional<z.ZodNumber>;
331
+ absence: z.ZodOptional<z.ZodObject<{
332
+ kind: z.ZodLiteral<"no-well-on-or-near">;
333
+ reason: z.ZodString;
334
+ }, "strict", z.ZodTypeAny, {
335
+ kind: "no-well-on-or-near";
336
+ reason: string;
337
+ }, {
338
+ kind: "no-well-on-or-near";
339
+ reason: string;
340
+ }>>;
341
+ verifiedAbsence: z.ZodOptional<z.ZodObject<{
342
+ evaluated: z.ZodLiteral<true>;
343
+ provenanceScope: z.ZodArray<z.ZodString, "many">;
344
+ }, "strict", z.ZodTypeAny, {
345
+ evaluated: true;
346
+ provenanceScope: string[];
347
+ }, {
348
+ evaluated: true;
349
+ provenanceScope: string[];
350
+ }>>;
351
+ accessPolicy: z.ZodEnum<["public-free", "public-paid", "platform-internal", "tenant-private", "tenant-shared"]>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
354
+ entityType: "well-fact";
355
+ sourceCitation: string;
356
+ extractedAt: string;
357
+ atomDid: string;
358
+ evaluatedAt: string;
359
+ verificationStatus: "machine" | "human" | "unsurveyed";
360
+ sourceAdapter: string;
361
+ parcelNodeId: string;
362
+ reasoningChain: {
363
+ reasoningKind: "observed";
364
+ };
365
+ atomTier: AtomTier;
366
+ sourceTier: "absent" | "texas-rrc-gis";
367
+ wellKey: string;
368
+ asOf?: string | undefined;
369
+ readContract?: Readonly<{
370
+ axes: Readonly<{
371
+ calibratedConfidence: Readonly<{
372
+ estimate: number;
373
+ n: number;
374
+ intervalWidth: number;
375
+ provenance: "asserted" | "backtest" | "seed" | "live";
376
+ }>;
377
+ assertedConfidence: Readonly<{
378
+ estimate: number;
379
+ n: number;
380
+ intervalWidth: number;
381
+ provenance: "asserted" | "backtest" | "seed" | "live";
382
+ }>;
383
+ consequence: {
384
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
385
+ assertedAt: string;
386
+ kind: "property-risk";
387
+ basis: string;
388
+ auditRef?: string | undefined;
389
+ } | {
390
+ assertedAt: string;
391
+ kind: "not-applicable";
392
+ reason: string;
393
+ };
394
+ }>;
395
+ assembledAt: string;
396
+ modelAttribution?: Readonly<{
397
+ modelId: string;
398
+ modelVersion: string;
399
+ promptTemplateVersion: string;
400
+ contextTemplateVersion: string;
401
+ samplingParams: Readonly<z.objectOutputType<{
402
+ temperature: z.ZodOptional<z.ZodNumber>;
403
+ topP: z.ZodOptional<z.ZodNumber>;
404
+ maxTokens: z.ZodOptional<z.ZodNumber>;
405
+ seed: z.ZodOptional<z.ZodNumber>;
406
+ }, z.ZodUnknown, "strip">>;
407
+ retrievedAtomSetId: string;
408
+ }> | undefined;
409
+ }> | undefined;
410
+ apiNumber14?: string | undefined;
411
+ wellType?: "oil" | "gas" | "injection" | "disposal" | undefined;
412
+ surfaceLocation?: {
413
+ lng: number;
414
+ lat: number;
415
+ } | undefined;
416
+ absence?: {
417
+ kind: "no-well-on-or-near";
418
+ reason: string;
419
+ } | undefined;
420
+ verifiedAbsence?: {
421
+ evaluated: true;
422
+ provenanceScope: string[];
423
+ } | undefined;
424
+ sourceVintage?: string | undefined;
425
+ wellStatus?: "dry" | "producing" | "permitted" | "plugged-abandoned" | undefined;
426
+ orphaned?: boolean | undefined;
427
+ operatorName?: string | undefined;
428
+ parcelRelation?: "on-parcel" | "near-parcel" | undefined;
429
+ proximityRadiusMeters?: number | undefined;
430
+ proximityDistanceMeters?: number | undefined;
431
+ }, {
432
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
433
+ entityType: "well-fact";
434
+ sourceCitation: string;
435
+ extractedAt: string;
436
+ atomDid: string;
437
+ evaluatedAt: string;
438
+ verificationStatus: "machine" | "human" | "unsurveyed";
439
+ sourceAdapter: string;
440
+ parcelNodeId: string;
441
+ reasoningChain: {
442
+ reasoningKind: "observed";
443
+ };
444
+ atomTier: AtomTier;
445
+ sourceTier: "absent" | "texas-rrc-gis";
446
+ wellKey: string;
447
+ asOf?: string | undefined;
448
+ readContract?: Readonly<{
449
+ axes: Readonly<{
450
+ calibratedConfidence: Readonly<{
451
+ estimate: number;
452
+ n: number;
453
+ intervalWidth: number;
454
+ provenance: "asserted" | "backtest" | "seed" | "live";
455
+ }>;
456
+ assertedConfidence: Readonly<{
457
+ estimate: number;
458
+ n: number;
459
+ intervalWidth: number;
460
+ provenance: "asserted" | "backtest" | "seed" | "live";
461
+ }>;
462
+ consequence: {
463
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
464
+ assertedAt: string;
465
+ kind: "property-risk";
466
+ basis: string;
467
+ auditRef?: string | undefined;
468
+ } | {
469
+ assertedAt: string;
470
+ kind: "not-applicable";
471
+ reason: string;
472
+ };
473
+ }>;
474
+ assembledAt: string;
475
+ modelAttribution?: Readonly<{
476
+ modelId: string;
477
+ modelVersion: string;
478
+ promptTemplateVersion: string;
479
+ contextTemplateVersion: string;
480
+ samplingParams: Readonly<z.objectInputType<{
481
+ temperature: z.ZodOptional<z.ZodNumber>;
482
+ topP: z.ZodOptional<z.ZodNumber>;
483
+ maxTokens: z.ZodOptional<z.ZodNumber>;
484
+ seed: z.ZodOptional<z.ZodNumber>;
485
+ }, z.ZodUnknown, "strip">>;
486
+ retrievedAtomSetId: string;
487
+ }> | undefined;
488
+ }> | undefined;
489
+ apiNumber14?: string | undefined;
490
+ wellType?: "oil" | "gas" | "injection" | "disposal" | undefined;
491
+ surfaceLocation?: {
492
+ lng: number;
493
+ lat: number;
494
+ } | undefined;
495
+ absence?: {
496
+ kind: "no-well-on-or-near";
497
+ reason: string;
498
+ } | undefined;
499
+ verifiedAbsence?: {
500
+ evaluated: true;
501
+ provenanceScope: string[];
502
+ } | undefined;
503
+ sourceVintage?: string | undefined;
504
+ wellStatus?: "dry" | "producing" | "permitted" | "plugged-abandoned" | undefined;
505
+ orphaned?: boolean | undefined;
506
+ operatorName?: string | undefined;
507
+ parcelRelation?: "on-parcel" | "near-parcel" | undefined;
508
+ proximityRadiusMeters?: number | undefined;
509
+ proximityDistanceMeters?: number | undefined;
510
+ }>, {
511
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
512
+ entityType: "well-fact";
513
+ sourceCitation: string;
514
+ extractedAt: string;
515
+ atomDid: string;
516
+ evaluatedAt: string;
517
+ verificationStatus: "machine" | "human" | "unsurveyed";
518
+ sourceAdapter: string;
519
+ parcelNodeId: string;
520
+ reasoningChain: {
521
+ reasoningKind: "observed";
522
+ };
523
+ atomTier: AtomTier;
524
+ sourceTier: "absent" | "texas-rrc-gis";
525
+ wellKey: string;
526
+ asOf?: string | undefined;
527
+ readContract?: Readonly<{
528
+ axes: Readonly<{
529
+ calibratedConfidence: Readonly<{
530
+ estimate: number;
531
+ n: number;
532
+ intervalWidth: number;
533
+ provenance: "asserted" | "backtest" | "seed" | "live";
534
+ }>;
535
+ assertedConfidence: Readonly<{
536
+ estimate: number;
537
+ n: number;
538
+ intervalWidth: number;
539
+ provenance: "asserted" | "backtest" | "seed" | "live";
540
+ }>;
541
+ consequence: {
542
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
543
+ assertedAt: string;
544
+ kind: "property-risk";
545
+ basis: string;
546
+ auditRef?: string | undefined;
547
+ } | {
548
+ assertedAt: string;
549
+ kind: "not-applicable";
550
+ reason: string;
551
+ };
552
+ }>;
553
+ assembledAt: string;
554
+ modelAttribution?: Readonly<{
555
+ modelId: string;
556
+ modelVersion: string;
557
+ promptTemplateVersion: string;
558
+ contextTemplateVersion: string;
559
+ samplingParams: Readonly<z.objectOutputType<{
560
+ temperature: z.ZodOptional<z.ZodNumber>;
561
+ topP: z.ZodOptional<z.ZodNumber>;
562
+ maxTokens: z.ZodOptional<z.ZodNumber>;
563
+ seed: z.ZodOptional<z.ZodNumber>;
564
+ }, z.ZodUnknown, "strip">>;
565
+ retrievedAtomSetId: string;
566
+ }> | undefined;
567
+ }> | undefined;
568
+ apiNumber14?: string | undefined;
569
+ wellType?: "oil" | "gas" | "injection" | "disposal" | undefined;
570
+ surfaceLocation?: {
571
+ lng: number;
572
+ lat: number;
573
+ } | undefined;
574
+ absence?: {
575
+ kind: "no-well-on-or-near";
576
+ reason: string;
577
+ } | undefined;
578
+ verifiedAbsence?: {
579
+ evaluated: true;
580
+ provenanceScope: string[];
581
+ } | undefined;
582
+ sourceVintage?: string | undefined;
583
+ wellStatus?: "dry" | "producing" | "permitted" | "plugged-abandoned" | undefined;
584
+ orphaned?: boolean | undefined;
585
+ operatorName?: string | undefined;
586
+ parcelRelation?: "on-parcel" | "near-parcel" | undefined;
587
+ proximityRadiusMeters?: number | undefined;
588
+ proximityDistanceMeters?: number | undefined;
589
+ }, {
590
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
591
+ entityType: "well-fact";
592
+ sourceCitation: string;
593
+ extractedAt: string;
594
+ atomDid: string;
595
+ evaluatedAt: string;
596
+ verificationStatus: "machine" | "human" | "unsurveyed";
597
+ sourceAdapter: string;
598
+ parcelNodeId: string;
599
+ reasoningChain: {
600
+ reasoningKind: "observed";
601
+ };
602
+ atomTier: AtomTier;
603
+ sourceTier: "absent" | "texas-rrc-gis";
604
+ wellKey: string;
605
+ asOf?: string | undefined;
606
+ readContract?: Readonly<{
607
+ axes: Readonly<{
608
+ calibratedConfidence: Readonly<{
609
+ estimate: number;
610
+ n: number;
611
+ intervalWidth: number;
612
+ provenance: "asserted" | "backtest" | "seed" | "live";
613
+ }>;
614
+ assertedConfidence: Readonly<{
615
+ estimate: number;
616
+ n: number;
617
+ intervalWidth: number;
618
+ provenance: "asserted" | "backtest" | "seed" | "live";
619
+ }>;
620
+ consequence: {
621
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
622
+ assertedAt: string;
623
+ kind: "property-risk";
624
+ basis: string;
625
+ auditRef?: string | undefined;
626
+ } | {
627
+ assertedAt: string;
628
+ kind: "not-applicable";
629
+ reason: string;
630
+ };
631
+ }>;
632
+ assembledAt: string;
633
+ modelAttribution?: Readonly<{
634
+ modelId: string;
635
+ modelVersion: string;
636
+ promptTemplateVersion: string;
637
+ contextTemplateVersion: string;
638
+ samplingParams: Readonly<z.objectInputType<{
639
+ temperature: z.ZodOptional<z.ZodNumber>;
640
+ topP: z.ZodOptional<z.ZodNumber>;
641
+ maxTokens: z.ZodOptional<z.ZodNumber>;
642
+ seed: z.ZodOptional<z.ZodNumber>;
643
+ }, z.ZodUnknown, "strip">>;
644
+ retrievedAtomSetId: string;
645
+ }> | undefined;
646
+ }> | undefined;
647
+ apiNumber14?: string | undefined;
648
+ wellType?: "oil" | "gas" | "injection" | "disposal" | undefined;
649
+ surfaceLocation?: {
650
+ lng: number;
651
+ lat: number;
652
+ } | undefined;
653
+ absence?: {
654
+ kind: "no-well-on-or-near";
655
+ reason: string;
656
+ } | undefined;
657
+ verifiedAbsence?: {
658
+ evaluated: true;
659
+ provenanceScope: string[];
660
+ } | undefined;
661
+ sourceVintage?: string | undefined;
662
+ wellStatus?: "dry" | "producing" | "permitted" | "plugged-abandoned" | undefined;
663
+ orphaned?: boolean | undefined;
664
+ operatorName?: string | undefined;
665
+ parcelRelation?: "on-parcel" | "near-parcel" | undefined;
666
+ proximityRadiusMeters?: number | undefined;
667
+ proximityDistanceMeters?: number | undefined;
668
+ }>;
669
+ export declare function createWellFact(input: z.input<typeof WELL_FACT_SCHEMA>): WellFactAtomInstance;
670
+ //# sourceMappingURL=well-fact.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"well-fact.d.ts","sourceRoot":"","sources":["../../src/property/well-fact.ts"],"names":[],"mappings":"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"}