@disclosureos/records 1.0.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.
Files changed (75) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +121 -0
  4. package/dist/attachment-Hrg8uHuf.d.ts +23 -0
  5. package/dist/confidence-level-CV3P1W5_.d.ts +25 -0
  6. package/dist/constants/index.d.ts +28 -0
  7. package/dist/constants/index.js +885 -0
  8. package/dist/constants/index.js.map +1 -0
  9. package/dist/credibility-CcQ0MUfQ.d.ts +14 -0
  10. package/dist/digital-ADBJTqSi.d.ts +278 -0
  11. package/dist/domains-CjIFZGBh.d.ts +330 -0
  12. package/dist/enum-guard-DzPkp2oJ.d.ts +101 -0
  13. package/dist/extensions/document/index.d.ts +47 -0
  14. package/dist/extensions/document/index.js +31 -0
  15. package/dist/extensions/document/index.js.map +1 -0
  16. package/dist/extensions/identifiers/index.d.ts +139 -0
  17. package/dist/extensions/identifiers/index.js +47 -0
  18. package/dist/extensions/identifiers/index.js.map +1 -0
  19. package/dist/extensions/physical/index.d.ts +84 -0
  20. package/dist/extensions/physical/index.js +84 -0
  21. package/dist/extensions/physical/index.js.map +1 -0
  22. package/dist/extensions/provenance/index.d.ts +153 -0
  23. package/dist/extensions/provenance/index.js +120 -0
  24. package/dist/extensions/provenance/index.js.map +1 -0
  25. package/dist/extensions/testimony/index.d.ts +400 -0
  26. package/dist/extensions/testimony/index.js +203 -0
  27. package/dist/extensions/testimony/index.js.map +1 -0
  28. package/dist/factories/index.d.ts +31 -0
  29. package/dist/factories/index.js +905 -0
  30. package/dist/factories/index.js.map +1 -0
  31. package/dist/formatters/index.d.ts +18 -0
  32. package/dist/formatters/index.js +156 -0
  33. package/dist/formatters/index.js.map +1 -0
  34. package/dist/geo/index.d.ts +16 -0
  35. package/dist/geo/index.js +146 -0
  36. package/dist/geo/index.js.map +1 -0
  37. package/dist/guards/index.d.ts +74 -0
  38. package/dist/guards/index.js +892 -0
  39. package/dist/guards/index.js.map +1 -0
  40. package/dist/index.d.ts +42 -0
  41. package/dist/index.js +1350 -0
  42. package/dist/index.js.map +1 -0
  43. package/dist/labels/index.d.ts +33 -0
  44. package/dist/labels/index.js +181 -0
  45. package/dist/labels/index.js.map +1 -0
  46. package/dist/location-56xtMNtC.d.ts +408 -0
  47. package/dist/media/index.d.ts +3 -0
  48. package/dist/media/index.js +21 -0
  49. package/dist/media/index.js.map +1 -0
  50. package/dist/observation/index.d.ts +7 -0
  51. package/dist/observation/index.js +865 -0
  52. package/dist/observation/index.js.map +1 -0
  53. package/dist/shared/index.d.ts +29 -0
  54. package/dist/shared/index.js +87 -0
  55. package/dist/shared/index.js.map +1 -0
  56. package/dist/source/index.d.ts +51 -0
  57. package/dist/source/index.js +45 -0
  58. package/dist/source/index.js.map +1 -0
  59. package/dist/source/sensor/index.d.ts +170 -0
  60. package/dist/source/sensor/index.js +69 -0
  61. package/dist/source/sensor/index.js.map +1 -0
  62. package/dist/temporal/index.d.ts +20 -0
  63. package/dist/temporal/index.js +78 -0
  64. package/dist/temporal/index.js.map +1 -0
  65. package/dist/temporal-data-t8Mzu8Ui.d.ts +148 -0
  66. package/dist/time-of-day-DLDBwTrn.d.ts +165 -0
  67. package/dist/types-CzNfaip-.d.ts +1267 -0
  68. package/dist/types-DH_-SdHj.d.ts +11 -0
  69. package/dist/types-clxXEQOH.d.ts +27 -0
  70. package/dist/validation-C-_QLXXf.d.ts +34 -0
  71. package/dist/validators/index.d.ts +15 -0
  72. package/dist/validators/index.js +895 -0
  73. package/dist/validators/index.js.map +1 -0
  74. package/package.json +146 -0
  75. package/schema/records.schema.json +2538 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/labels/index.ts"],"names":[],"mappings":";AAaO,IAAM,kBAAA,GAAiD;AAAA,EAC5D,IAAA,EAAM,cAAA;AAAA,EACN,eAAA,EAAiB,iBAAA;AAAA,EACjB,kBAAA,EAAoB,oBAAA;AAAA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AAA,EACX,QAAA,EAAU,UAAA;AAAA,EACV,SAAA,EAAW;AACb;AAEO,IAAM,uBAAA,GAA0D;AAAA,EACrE,QAAA,EAAU,UAAA;AAAA,EACV,OAAA,EAAS,SAAA;AAAA,EACT,UAAA,EAAY,YAAA;AAAA,EACZ,eAAA,EAAiB,iBAAA;AAAA,EACjB,YAAA,EAAc,gBAAA;AAAA,EACd,IAAA,EAAM,MAAA;AAAA,EACN,SAAA,EAAW,WAAA;AAAA,EACX,UAAA,EAAY,YAAA;AAAA,EACZ,OAAA,EAAS;AACX;AAEO,IAAM,0BAAA,GAAiE;AAAA,EAC5E,SAAA,EAAW,WAAA;AAAA,EACX,gBAAA,EAAkB,kBAAA;AAAA,EAClB,YAAA,EAAc,cAAA;AAAA,EACd,kBAAA,EAAoB,oBAAA;AAAA,EACpB,WAAA,EAAa,aAAA;AAAA,EACb,YAAA,EAAc,cAAA;AAAA,EACd,QAAA,EAAU,UAAA;AAAA,EACV,SAAA,EAAW,WAAA;AAAA,EACX,OAAA,EAAS;AACX;AAEO,IAAM,uBAAA,GAA2D;AAAA,EACtE,gBAAA,EAAkB,kBAAA;AAAA,EAClB,eAAA,EAAiB,iBAAA;AAAA,EACjB,YAAA,EAAc,cAAA;AAAA,EACd,QAAA,EAAU,UAAA;AAAA,EACV,YAAA,EAAc,cAAA;AAAA,EACd,OAAA,EAAS;AACX","file":"index.js","sourcesContent":["import type { SourceType } from '../source/types';\nimport type { SourceCredibility } from '../source/credibility';\nimport type { TemporalCertainty } from '../temporal/certainty';\nimport type { TimeOfDay } from '../temporal/time-of-day';\nimport type { DateGranularity, DateRangeType, RelativeDate } from '../temporal/date-range';\nimport type { MediaType } from '../media/types';\nimport type { CoordinatePrecision, LocationSensitivity } from '../geo/location';\nimport type { ObjectShape, ConfidenceLevel, RelationKind } from '../observation/domains';\nimport type { PublicationStatus } from '../observation/types';\nimport type { ChainOfCustody } from '../extensions/provenance/custody';\nimport type { VerificationResult } from '../extensions/provenance/digital';\nimport type { EvidenceQuality } from '../extensions/physical/types';\n\nexport const SOURCE_TYPE_LABELS: Record<SourceType, string> = {\n foia: 'FOIA Release',\n official_report: 'Official Report',\n official_statement: 'Official Statement',\n congressional_testimony: 'Congressional Testimony',\n congressional_report: 'Congressional Report',\n military_document: 'Military Document',\n intelligence_document: 'Intelligence Document',\n whistleblower: 'Whistleblower',\n firsthand_witness: 'Firsthand Witness',\n secondhand_account: 'Secondhand Account',\n news_article: 'News Article',\n documentary: 'Documentary',\n interview: 'Interview',\n book: 'Book',\n academic_paper: 'Academic Paper',\n investigation_report: 'Investigation Report',\n database_entry: 'Database Entry',\n social_media: 'Social Media',\n website: 'Website',\n other: 'Other',\n};\n\nexport const SOURCE_CREDIBILITY_LABELS: Record<SourceCredibility, string> = {\n official: 'Official',\n verified: 'Verified',\n credible: 'Credible',\n unverified: 'Unverified',\n questionable: 'Questionable',\n disputed: 'Disputed',\n unknown: 'Unknown',\n};\n\nexport const TEMPORAL_CERTAINTY_LABELS: Record<TemporalCertainty, string> = {\n exact: 'Exact',\n approximate: 'Approximate',\n estimated: 'Estimated',\n unknown: 'Unknown',\n};\n\nexport const DATE_GRANULARITY_LABELS: Record<DateGranularity, string> = {\n exact: 'Exact',\n month: 'Month',\n quarter: 'Quarter',\n year: 'Year',\n decade: 'Decade',\n century: 'Century',\n unknown: 'Unknown',\n};\n\nexport const DATE_RANGE_TYPE_LABELS: Record<DateRangeType, string> = {\n span: 'Span',\n uncertainty: 'Uncertainty Window',\n active_period: 'Active Period',\n investigation_period: 'Investigation Period',\n observation_window: 'Observation Window',\n};\n\nexport const RELATIVE_RELATION_LABELS: Record<RelativeDate['relation'], string> = {\n before: 'Before',\n after: 'After',\n during: 'During',\n around: 'Around',\n};\n\nexport const TIME_OF_DAY_LABELS: Record<TimeOfDay, string> = {\n astronomical_dawn: 'Astronomical Dawn',\n nautical_dawn: 'Nautical Dawn',\n civil_dawn: 'Civil Dawn',\n sunrise: 'Sunrise',\n morning: 'Morning',\n noon: 'Noon',\n afternoon: 'Afternoon',\n sunset: 'Sunset',\n civil_dusk: 'Civil Dusk',\n nautical_dusk: 'Nautical Dusk',\n astronomical_dusk: 'Astronomical Dusk',\n night: 'Night',\n unknown: 'Unknown',\n};\n\nexport const MEDIA_TYPE_LABELS: Record<MediaType, string> = {\n image: 'Image',\n video: 'Video',\n document: 'Document',\n audio: 'Audio',\n};\n\nexport const COORDINATE_PRECISION_LABELS: Record<CoordinatePrecision, string> = {\n exact: 'Exact',\n address: 'Address',\n locality: 'Locality',\n region: 'Region',\n approximate: 'Approximate',\n unknown: 'Unknown',\n};\n\nexport const LOCATION_SENSITIVITY_LABELS: Record<LocationSensitivity, string> = {\n critical: 'Critical',\n high: 'High',\n moderate: 'Moderate',\n standard: 'Standard',\n none: 'None',\n};\n\nexport const OBJECT_SHAPE_LABELS: Record<ObjectShape, string> = {\n sphere: 'Sphere',\n orb: 'Orb',\n disc: 'Disc',\n saucer: 'Saucer',\n oval: 'Oval',\n egg: 'Egg',\n cylinder: 'Cylinder',\n cigar: 'Cigar',\n tic_tac: 'Tic Tac',\n triangle: 'Triangle',\n delta: 'Delta',\n boomerang: 'Boomerang',\n chevron: 'Chevron',\n diamond: 'Diamond',\n rectangle: 'Rectangle',\n square: 'Square',\n cube: 'Cube',\n cross: 'Cross',\n star: 'Star',\n amorphous: 'Amorphous',\n changing: 'Changing',\n light_only: 'Light Only',\n other: 'Other',\n unknown: 'Unknown',\n};\n\nexport const RELATION_KIND_LABELS: Record<RelationKind, string> = {\n corroborates: 'Corroborates',\n contradicts: 'Contradicts',\n duplicate_of: 'Duplicate Of',\n same_object: 'Same Object',\n supersedes: 'Supersedes',\n superseded_by: 'Superseded By',\n re_analysis_of: 'Re-analysis Of',\n part_of: 'Part Of',\n};\n\nexport const CONFIDENCE_LEVEL_LABELS: Record<ConfidenceLevel, string> = {\n very_high: 'Very High',\n high: 'High',\n moderate: 'Moderate',\n low: 'Low',\n very_low: 'Very Low',\n unassessed: 'Unassessed',\n};\n\nexport const PUBLICATION_STATUS_LABELS: Record<PublicationStatus, string> = {\n draft: 'Draft',\n review: 'Under Review',\n published: 'Published',\n archived: 'Archived',\n retracted: 'Retracted',\n};\n\nexport const CHAIN_OF_CUSTODY_LABELS: Record<ChainOfCustody, string> = {\n verified: 'Verified',\n partial: 'Partial',\n unverified: 'Unverified',\n government_held: 'Government Held',\n private_held: 'Privately Held',\n lost: 'Lost',\n destroyed: 'Destroyed',\n classified: 'Classified',\n unknown: 'Unknown',\n};\n\nexport const VERIFICATION_RESULT_LABELS: Record<VerificationResult, string> = {\n authentic: 'Authentic',\n likely_authentic: 'Likely Authentic',\n inconclusive: 'Inconclusive',\n likely_manipulated: 'Likely Manipulated',\n manipulated: 'Manipulated',\n ai_generated: 'AI Generated',\n deepfake: 'Deepfake',\n composite: 'Composite',\n unknown: 'Unknown',\n};\n\nexport const EVIDENCE_QUALITY_LABELS: Record<EvidenceQuality, string> = {\n laboratory_grade: 'Laboratory Grade',\n field_collected: 'Field Collected',\n uncontrolled: 'Uncontrolled',\n degraded: 'Degraded',\n contaminated: 'Contaminated',\n unknown: 'Unknown',\n};\n"]}
@@ -0,0 +1,408 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const CoordinatePrecisionSchema: z.ZodEnum<{
4
+ exact: "exact";
5
+ approximate: "approximate";
6
+ unknown: "unknown";
7
+ address: "address";
8
+ locality: "locality";
9
+ region: "region";
10
+ }>;
11
+ type CoordinatePrecision = z.infer<typeof CoordinatePrecisionSchema>;
12
+ declare const SiteTypeSchema: z.ZodEnum<{
13
+ unknown: "unknown";
14
+ military_air_base: "military_air_base";
15
+ military_naval_base: "military_naval_base";
16
+ military_army_base: "military_army_base";
17
+ military_missile_site: "military_missile_site";
18
+ military_radar_station: "military_radar_station";
19
+ military_research_facility: "military_research_facility";
20
+ military_training_area: "military_training_area";
21
+ military_other: "military_other";
22
+ nuclear_power_plant: "nuclear_power_plant";
23
+ nuclear_weapons_storage: "nuclear_weapons_storage";
24
+ nuclear_research_facility: "nuclear_research_facility";
25
+ nuclear_waste_storage: "nuclear_waste_storage";
26
+ nuclear_other: "nuclear_other";
27
+ civilian_airport: "civilian_airport";
28
+ private_airfield: "private_airfield";
29
+ heliport: "heliport";
30
+ seaport: "seaport";
31
+ offshore_platform: "offshore_platform";
32
+ naval_vessel: "naval_vessel";
33
+ government_facility: "government_facility";
34
+ embassy: "embassy";
35
+ intelligence_facility: "intelligence_facility";
36
+ power_plant: "power_plant";
37
+ dam: "dam";
38
+ telecommunications: "telecommunications";
39
+ water_treatment: "water_treatment";
40
+ research_facility: "research_facility";
41
+ test_range: "test_range";
42
+ space_station: "space_station";
43
+ archaeological_site: "archaeological_site";
44
+ volcano: "volcano";
45
+ command_center: "command_center";
46
+ residential: "residential";
47
+ commercial: "commercial";
48
+ industrial: "industrial";
49
+ agricultural: "agricultural";
50
+ wilderness: "wilderness";
51
+ ocean: "ocean";
52
+ lake: "lake";
53
+ mountain: "mountain";
54
+ desert: "desert";
55
+ forest: "forest";
56
+ urban: "urban";
57
+ suburban: "suburban";
58
+ rural: "rural";
59
+ other: "other";
60
+ }>;
61
+ type SiteType = z.infer<typeof SiteTypeSchema>;
62
+ declare const TerrainTypeSchema: z.ZodEnum<{
63
+ unknown: "unknown";
64
+ ocean: "ocean";
65
+ lake: "lake";
66
+ desert: "desert";
67
+ forest: "forest";
68
+ urban: "urban";
69
+ suburban: "suburban";
70
+ rural: "rural";
71
+ coastal: "coastal";
72
+ river: "river";
73
+ wetland: "wetland";
74
+ plains: "plains";
75
+ hills: "hills";
76
+ mountains: "mountains";
77
+ jungle: "jungle";
78
+ tundra: "tundra";
79
+ arctic: "arctic";
80
+ underground: "underground";
81
+ underwater: "underwater";
82
+ airborne: "airborne";
83
+ space: "space";
84
+ }>;
85
+ type TerrainType = z.infer<typeof TerrainTypeSchema>;
86
+ declare const AirspaceClassSchema: z.ZodEnum<{
87
+ unknown: "unknown";
88
+ A: "A";
89
+ B: "B";
90
+ C: "C";
91
+ D: "D";
92
+ E: "E";
93
+ G: "G";
94
+ restricted: "restricted";
95
+ prohibited: "prohibited";
96
+ warning: "warning";
97
+ moa: "moa";
98
+ alert: "alert";
99
+ cfa: "cfa";
100
+ national_security: "national_security";
101
+ tfr: "tfr";
102
+ international: "international";
103
+ }>;
104
+ type AirspaceClass = z.infer<typeof AirspaceClassSchema>;
105
+ declare const LocationSensitivitySchema: z.ZodEnum<{
106
+ critical: "critical";
107
+ high: "high";
108
+ moderate: "moderate";
109
+ standard: "standard";
110
+ none: "none";
111
+ }>;
112
+ type LocationSensitivity = z.infer<typeof LocationSensitivitySchema>;
113
+ declare const ProximitySiteSchema: z.ZodObject<{
114
+ siteType: z.ZodEnum<{
115
+ unknown: "unknown";
116
+ military_air_base: "military_air_base";
117
+ military_naval_base: "military_naval_base";
118
+ military_army_base: "military_army_base";
119
+ military_missile_site: "military_missile_site";
120
+ military_radar_station: "military_radar_station";
121
+ military_research_facility: "military_research_facility";
122
+ military_training_area: "military_training_area";
123
+ military_other: "military_other";
124
+ nuclear_power_plant: "nuclear_power_plant";
125
+ nuclear_weapons_storage: "nuclear_weapons_storage";
126
+ nuclear_research_facility: "nuclear_research_facility";
127
+ nuclear_waste_storage: "nuclear_waste_storage";
128
+ nuclear_other: "nuclear_other";
129
+ civilian_airport: "civilian_airport";
130
+ private_airfield: "private_airfield";
131
+ heliport: "heliport";
132
+ seaport: "seaport";
133
+ offshore_platform: "offshore_platform";
134
+ naval_vessel: "naval_vessel";
135
+ government_facility: "government_facility";
136
+ embassy: "embassy";
137
+ intelligence_facility: "intelligence_facility";
138
+ power_plant: "power_plant";
139
+ dam: "dam";
140
+ telecommunications: "telecommunications";
141
+ water_treatment: "water_treatment";
142
+ research_facility: "research_facility";
143
+ test_range: "test_range";
144
+ space_station: "space_station";
145
+ archaeological_site: "archaeological_site";
146
+ volcano: "volcano";
147
+ command_center: "command_center";
148
+ residential: "residential";
149
+ commercial: "commercial";
150
+ industrial: "industrial";
151
+ agricultural: "agricultural";
152
+ wilderness: "wilderness";
153
+ ocean: "ocean";
154
+ lake: "lake";
155
+ mountain: "mountain";
156
+ desert: "desert";
157
+ forest: "forest";
158
+ urban: "urban";
159
+ suburban: "suburban";
160
+ rural: "rural";
161
+ other: "other";
162
+ }>;
163
+ siteName: z.ZodOptional<z.ZodString>;
164
+ distanceKm: z.ZodNumber;
165
+ bearing: z.ZodOptional<z.ZodNumber>;
166
+ }, z.core.$strip>;
167
+ type ProximitySite = z.infer<typeof ProximitySiteSchema>;
168
+ declare const LocationDataSchema: z.ZodObject<{
169
+ id: z.ZodString;
170
+ name: z.ZodString;
171
+ country: z.ZodString;
172
+ countryCode: z.ZodOptional<z.ZodString>;
173
+ region: z.ZodOptional<z.ZodString>;
174
+ city: z.ZodOptional<z.ZodString>;
175
+ address: z.ZodOptional<z.ZodString>;
176
+ longitude: z.ZodNumber;
177
+ latitude: z.ZodNumber;
178
+ coordinatePrecision: z.ZodOptional<z.ZodEnum<{
179
+ exact: "exact";
180
+ approximate: "approximate";
181
+ unknown: "unknown";
182
+ address: "address";
183
+ locality: "locality";
184
+ region: "region";
185
+ }>>;
186
+ coordinatePrecisionMeters: z.ZodOptional<z.ZodNumber>;
187
+ coordinatesApproximate: z.ZodOptional<z.ZodBoolean>;
188
+ elevationMeters: z.ZodOptional<z.ZodNumber>;
189
+ elevationSource: z.ZodOptional<z.ZodEnum<{
190
+ estimated: "estimated";
191
+ unknown: "unknown";
192
+ map: "map";
193
+ gps: "gps";
194
+ }>>;
195
+ siteType: z.ZodEnum<{
196
+ unknown: "unknown";
197
+ military_air_base: "military_air_base";
198
+ military_naval_base: "military_naval_base";
199
+ military_army_base: "military_army_base";
200
+ military_missile_site: "military_missile_site";
201
+ military_radar_station: "military_radar_station";
202
+ military_research_facility: "military_research_facility";
203
+ military_training_area: "military_training_area";
204
+ military_other: "military_other";
205
+ nuclear_power_plant: "nuclear_power_plant";
206
+ nuclear_weapons_storage: "nuclear_weapons_storage";
207
+ nuclear_research_facility: "nuclear_research_facility";
208
+ nuclear_waste_storage: "nuclear_waste_storage";
209
+ nuclear_other: "nuclear_other";
210
+ civilian_airport: "civilian_airport";
211
+ private_airfield: "private_airfield";
212
+ heliport: "heliport";
213
+ seaport: "seaport";
214
+ offshore_platform: "offshore_platform";
215
+ naval_vessel: "naval_vessel";
216
+ government_facility: "government_facility";
217
+ embassy: "embassy";
218
+ intelligence_facility: "intelligence_facility";
219
+ power_plant: "power_plant";
220
+ dam: "dam";
221
+ telecommunications: "telecommunications";
222
+ water_treatment: "water_treatment";
223
+ research_facility: "research_facility";
224
+ test_range: "test_range";
225
+ space_station: "space_station";
226
+ archaeological_site: "archaeological_site";
227
+ volcano: "volcano";
228
+ command_center: "command_center";
229
+ residential: "residential";
230
+ commercial: "commercial";
231
+ industrial: "industrial";
232
+ agricultural: "agricultural";
233
+ wilderness: "wilderness";
234
+ ocean: "ocean";
235
+ lake: "lake";
236
+ mountain: "mountain";
237
+ desert: "desert";
238
+ forest: "forest";
239
+ urban: "urban";
240
+ suburban: "suburban";
241
+ rural: "rural";
242
+ other: "other";
243
+ }>;
244
+ secondarySiteTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
245
+ unknown: "unknown";
246
+ military_air_base: "military_air_base";
247
+ military_naval_base: "military_naval_base";
248
+ military_army_base: "military_army_base";
249
+ military_missile_site: "military_missile_site";
250
+ military_radar_station: "military_radar_station";
251
+ military_research_facility: "military_research_facility";
252
+ military_training_area: "military_training_area";
253
+ military_other: "military_other";
254
+ nuclear_power_plant: "nuclear_power_plant";
255
+ nuclear_weapons_storage: "nuclear_weapons_storage";
256
+ nuclear_research_facility: "nuclear_research_facility";
257
+ nuclear_waste_storage: "nuclear_waste_storage";
258
+ nuclear_other: "nuclear_other";
259
+ civilian_airport: "civilian_airport";
260
+ private_airfield: "private_airfield";
261
+ heliport: "heliport";
262
+ seaport: "seaport";
263
+ offshore_platform: "offshore_platform";
264
+ naval_vessel: "naval_vessel";
265
+ government_facility: "government_facility";
266
+ embassy: "embassy";
267
+ intelligence_facility: "intelligence_facility";
268
+ power_plant: "power_plant";
269
+ dam: "dam";
270
+ telecommunications: "telecommunications";
271
+ water_treatment: "water_treatment";
272
+ research_facility: "research_facility";
273
+ test_range: "test_range";
274
+ space_station: "space_station";
275
+ archaeological_site: "archaeological_site";
276
+ volcano: "volcano";
277
+ command_center: "command_center";
278
+ residential: "residential";
279
+ commercial: "commercial";
280
+ industrial: "industrial";
281
+ agricultural: "agricultural";
282
+ wilderness: "wilderness";
283
+ ocean: "ocean";
284
+ lake: "lake";
285
+ mountain: "mountain";
286
+ desert: "desert";
287
+ forest: "forest";
288
+ urban: "urban";
289
+ suburban: "suburban";
290
+ rural: "rural";
291
+ other: "other";
292
+ }>>>;
293
+ terrain: z.ZodOptional<z.ZodEnum<{
294
+ unknown: "unknown";
295
+ ocean: "ocean";
296
+ lake: "lake";
297
+ desert: "desert";
298
+ forest: "forest";
299
+ urban: "urban";
300
+ suburban: "suburban";
301
+ rural: "rural";
302
+ coastal: "coastal";
303
+ river: "river";
304
+ wetland: "wetland";
305
+ plains: "plains";
306
+ hills: "hills";
307
+ mountains: "mountains";
308
+ jungle: "jungle";
309
+ tundra: "tundra";
310
+ arctic: "arctic";
311
+ underground: "underground";
312
+ underwater: "underwater";
313
+ airborne: "airborne";
314
+ space: "space";
315
+ }>>;
316
+ airspaceClass: z.ZodOptional<z.ZodEnum<{
317
+ unknown: "unknown";
318
+ A: "A";
319
+ B: "B";
320
+ C: "C";
321
+ D: "D";
322
+ E: "E";
323
+ G: "G";
324
+ restricted: "restricted";
325
+ prohibited: "prohibited";
326
+ warning: "warning";
327
+ moa: "moa";
328
+ alert: "alert";
329
+ cfa: "cfa";
330
+ national_security: "national_security";
331
+ tfr: "tfr";
332
+ international: "international";
333
+ }>>;
334
+ locationSensitivity: z.ZodOptional<z.ZodEnum<{
335
+ critical: "critical";
336
+ high: "high";
337
+ moderate: "moderate";
338
+ standard: "standard";
339
+ none: "none";
340
+ }>>;
341
+ proximitySites: z.ZodOptional<z.ZodArray<z.ZodObject<{
342
+ siteType: z.ZodEnum<{
343
+ unknown: "unknown";
344
+ military_air_base: "military_air_base";
345
+ military_naval_base: "military_naval_base";
346
+ military_army_base: "military_army_base";
347
+ military_missile_site: "military_missile_site";
348
+ military_radar_station: "military_radar_station";
349
+ military_research_facility: "military_research_facility";
350
+ military_training_area: "military_training_area";
351
+ military_other: "military_other";
352
+ nuclear_power_plant: "nuclear_power_plant";
353
+ nuclear_weapons_storage: "nuclear_weapons_storage";
354
+ nuclear_research_facility: "nuclear_research_facility";
355
+ nuclear_waste_storage: "nuclear_waste_storage";
356
+ nuclear_other: "nuclear_other";
357
+ civilian_airport: "civilian_airport";
358
+ private_airfield: "private_airfield";
359
+ heliport: "heliport";
360
+ seaport: "seaport";
361
+ offshore_platform: "offshore_platform";
362
+ naval_vessel: "naval_vessel";
363
+ government_facility: "government_facility";
364
+ embassy: "embassy";
365
+ intelligence_facility: "intelligence_facility";
366
+ power_plant: "power_plant";
367
+ dam: "dam";
368
+ telecommunications: "telecommunications";
369
+ water_treatment: "water_treatment";
370
+ research_facility: "research_facility";
371
+ test_range: "test_range";
372
+ space_station: "space_station";
373
+ archaeological_site: "archaeological_site";
374
+ volcano: "volcano";
375
+ command_center: "command_center";
376
+ residential: "residential";
377
+ commercial: "commercial";
378
+ industrial: "industrial";
379
+ agricultural: "agricultural";
380
+ wilderness: "wilderness";
381
+ ocean: "ocean";
382
+ lake: "lake";
383
+ mountain: "mountain";
384
+ desert: "desert";
385
+ forest: "forest";
386
+ urban: "urban";
387
+ suburban: "suburban";
388
+ rural: "rural";
389
+ other: "other";
390
+ }>;
391
+ siteName: z.ZodOptional<z.ZodString>;
392
+ distanceKm: z.ZodNumber;
393
+ bearing: z.ZodOptional<z.ZodNumber>;
394
+ }, z.core.$strip>>>;
395
+ nearestMilitaryKm: z.ZodOptional<z.ZodNumber>;
396
+ nearestNuclearKm: z.ZodOptional<z.ZodNumber>;
397
+ nearestAirportKm: z.ZodOptional<z.ZodNumber>;
398
+ waterDepthMeters: z.ZodOptional<z.ZodNumber>;
399
+ vesselName: z.ZodOptional<z.ZodString>;
400
+ vesselType: z.ZodOptional<z.ZodString>;
401
+ aircraftType: z.ZodOptional<z.ZodString>;
402
+ aircraftCallsign: z.ZodOptional<z.ZodString>;
403
+ flightNumber: z.ZodOptional<z.ZodString>;
404
+ observerAltitudeMeters: z.ZodOptional<z.ZodNumber>;
405
+ }, z.core.$strip>;
406
+ type LocationData = z.infer<typeof LocationDataSchema>;
407
+
408
+ export { type AirspaceClass as A, type CoordinatePrecision as C, type LocationData as L, type ProximitySite as P, type SiteType as S, type TerrainType as T, AirspaceClassSchema as a, CoordinatePrecisionSchema as b, LocationDataSchema as c, type LocationSensitivity as d, LocationSensitivitySchema as e, ProximitySiteSchema as f, SiteTypeSchema as g, TerrainTypeSchema as h };
@@ -0,0 +1,3 @@
1
+ export { M as MediaType, a as MediaTypeSchema } from '../types-DH_-SdHj.js';
2
+ export { M as MediaAttachment, a as MediaAttachmentSchema } from '../attachment-Hrg8uHuf.js';
3
+ import 'zod';
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+
3
+ // src/media/types.ts
4
+ var MediaTypeSchema = z.enum(["image", "video", "document", "audio"]).describe("Kind of media attachment.");
5
+ var MediaAttachmentSchema = z.object({
6
+ id: z.string().min(1).describe('Stable id, addressable by a claim `evidenceRef` ("media:<id>").'),
7
+ type: MediaTypeSchema,
8
+ url: z.string().describe("Where the media file is hosted."),
9
+ thumbnailUrl: z.string().optional().describe("Preview/thumbnail image for the media."),
10
+ caption: z.string().optional().describe("Human-readable caption describing what the media shows."),
11
+ credit: z.string().optional().describe("Attribution for who captured or owns the media."),
12
+ mimeType: z.string().optional().describe('MIME type of the file (e.g. "video/mp4").'),
13
+ fileSize: z.number().optional().describe("File size, in bytes."),
14
+ duration: z.number().optional().describe("Playback duration for video/audio, in seconds."),
15
+ width: z.number().optional().describe("Pixel width for images and video."),
16
+ height: z.number().optional().describe("Pixel height for images and video.")
17
+ }).meta({ id: "MediaAttachment" }).describe("A media file associated with an observation (image, video, document, or audio).");
18
+
19
+ export { MediaAttachmentSchema, MediaTypeSchema };
20
+ //# sourceMappingURL=index.js.map
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/media/types.ts","../../src/media/attachment.ts"],"names":["z"],"mappings":";;;AAEO,IAAM,eAAA,GAAkB,CAAA,CAC5B,IAAA,CAAK,CAAC,OAAA,EAAS,OAAA,EAAS,UAAA,EAAY,OAAO,CAAC,CAAA,CAC5C,QAAA,CAAS,2BAA2B;ACDhC,IAAM,qBAAA,GAAwBA,EAClC,MAAA,CAAO;AAAA,EACN,EAAA,EAAIA,EAAE,MAAA,EAAO,CAAE,IAAI,CAAC,CAAA,CAAE,SAAS,iEAAiE,CAAA;AAAA,EAChG,IAAA,EAAM,eAAA;AAAA,EACN,GAAA,EAAKA,CAAAA,CAAE,MAAA,EAAO,CAAE,SAAS,iCAAiC,CAAA;AAAA,EAC1D,cAAcA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAAE,SAAS,wCAAwC,CAAA;AAAA,EACrF,SAASA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAAE,SAAS,yDAAyD,CAAA;AAAA,EACjG,QAAQA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAAE,SAAS,iDAAiD,CAAA;AAAA,EACxF,UAAUA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAAE,SAAS,2CAA2C,CAAA;AAAA,EACpF,UAAUA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAAE,SAAS,sBAAsB,CAAA;AAAA,EAC/D,UAAUA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAAE,SAAS,gDAAgD,CAAA;AAAA,EACzF,OAAOA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAAE,SAAS,mCAAmC,CAAA;AAAA,EACzE,QAAQA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CAAE,SAAS,oCAAoC;AAC7E,CAAC,CAAA,CACA,KAAK,EAAE,EAAA,EAAI,mBAAmB,CAAA,CAC9B,SAAS,iFAAiF","file":"index.js","sourcesContent":["import { z } from 'zod';\n\nexport const MediaTypeSchema = z\n .enum(['image', 'video', 'document', 'audio'])\n .describe('Kind of media attachment.');\n\nexport type MediaType = z.infer<typeof MediaTypeSchema>;\n","import { z } from 'zod';\nimport { MediaTypeSchema } from './types';\n\nexport const MediaAttachmentSchema = z\n .object({\n id: z.string().min(1).describe('Stable id, addressable by a claim `evidenceRef` (\"media:<id>\").'),\n type: MediaTypeSchema,\n url: z.string().describe('Where the media file is hosted.'),\n thumbnailUrl: z.string().optional().describe('Preview/thumbnail image for the media.'),\n caption: z.string().optional().describe('Human-readable caption describing what the media shows.'),\n credit: z.string().optional().describe('Attribution for who captured or owns the media.'),\n mimeType: z.string().optional().describe('MIME type of the file (e.g. \"video/mp4\").'),\n fileSize: z.number().optional().describe('File size, in bytes.'),\n duration: z.number().optional().describe('Playback duration for video/audio, in seconds.'),\n width: z.number().optional().describe('Pixel width for images and video.'),\n height: z.number().optional().describe('Pixel height for images and video.'),\n })\n .meta({ id: 'MediaAttachment' })\n .describe('A media file associated with an observation (image, video, document, or audio).');\n\nexport type MediaAttachment = z.infer<typeof MediaAttachmentSchema>;\n"]}
@@ -0,0 +1,7 @@
1
+ export { O as Observation, a as ObservationExtensions, b as ObservationInput, c as ObservationSchema, P as PublicationStatus, d as PublicationStatusSchema } from '../types-CzNfaip-.js';
2
+ export { DetectionMethod, DetectionMethodSchema, SensorEvidenceData, SensorEvidenceDataSchema, SensorReading, SensorReadingSchema, SensorType, SensorTypeSchema } from '../source/sensor/index.js';
3
+ export { A as Aviation, a as AviationSchema, E as Environment, b as EnvironmentSchema, I as Investigation, c as InvestigationSchema, M as ManeuverType, d as ManeuverTypeSchema, e as Movement, f as MovementSchema, O as ObjectCharacteristics, g as ObjectCharacteristicsSchema, h as ObjectShape, i as ObjectShapeSchema, R as RelationEdge, j as RelationEdgeSchema, k as RelationKind, l as RelationKindSchema, m as Relations, n as RelationsSchema, o as ResponseImpact, p as ResponseImpactSchema, S as SourceData, q as SourceDataSchema, W as Witnesses, r as WitnessesSchema } from '../domains-CjIFZGBh.js';
4
+ export { C as ConfidenceLevel } from '../confidence-level-CV3P1W5_.js';
5
+ import 'zod';
6
+ import '../location-56xtMNtC.js';
7
+ import '../temporal-data-t8Mzu8Ui.js';