Skip to content

GeometrySchema

const GeometrySchema: z.ZodTypeAny

Defined in: packages/core/src/schemas/geojson.schema.ts:197

Any GeoJSON geometry — the seven RFC 7946 geometry types, with GeometryCollection nesting capped at MAX_GEOMETRY_COLLECTION_DEPTH.

Annotated z.ZodTypeAny to keep TypeScript from serializing the deeply-nested inferred type (TS7056).