/** * @fileoverview Zod schemas for the input formats USGS NWIS actually accepts, verified against * the live service. Shared by every tool that forwards a value into an NWIS query parameter, so * a malformed value is rejected at the edge instead of being inferred from NWIS's HTML 400 prose. * * Each export is a bare, undescribed schema — attach tool-specific guidance with `.describe()` at * the definition site (`.describe()` clones, so the shared base is never mutated). The `.regex()` * constraints also serialize into each tool's advertised JSON Schema as `pattern`, so a calling * model sees the format rule rather than only reading it in prose. * @module services/nwis/input-schemas */ import { z } from '@cyanheads/mcp-ts-core'; /** USGS site number — 8–15 digits, zero-padded (e.g. "01646500"). */ export declare const SiteNumberSchema: z.ZodString; /** A single 5-digit USGS parameter code (e.g. "00060"). */ export declare const ParameterCdSchema: z.ZodString; /** * One or more 5-digit parameter codes, comma-separated. NWIS accepts multi-value parameterCd on * the site service and the IV/DV data endpoints. */ export declare const ParameterCdListSchema: z.ZodString; /** * ISO 8601 duration. NWIS requires the full duration grammar and rejects negative periods * (e.g. "P-T2H"), which this pattern excludes by construction. */ export declare const PeriodSchema: z.ZodString; /** * Hydrologic Unit Code. NWIS accepts a 2-digit major HUC or an 8-digit minor HUC and nothing * else — 4-, 6-, 10-, and 12-digit values are all rejected upstream. */ export declare const HucSchema: z.ZodString; /** FIPS county code(s) — bare 5-digit codes, comma-separated, up to the 20 NWIS allows per request. */ export declare const CountyCdSchema: z.ZodString; /** 2-letter US state or territory abbreviation. */ export declare const StateCdSchema: z.ZodString; /** Bounding box — four comma-separated decimal degrees ordered "west,south,east,north". */ export declare const BboxSchema: z.ZodString; //# sourceMappingURL=input-schemas.d.ts.map