Skip to content

PointSchema

const PointSchema: ZodObject<{ bbox: ZodOptional<ZodArray<ZodNumber, "many">>; coordinates: ZodArray<ZodNumber, "many">; type: ZodLiteral<"Point">; }, "passthrough", ZodTypeAny, objectOutputType<{ bbox: ZodOptional<ZodArray<ZodNumber, "many">>; coordinates: ZodArray<ZodNumber, "many">; type: ZodLiteral<"Point">; }, ZodTypeAny, "passthrough">, objectInputType<{ bbox: ZodOptional<ZodArray<ZodNumber, "many">>; coordinates: ZodArray<ZodNumber, "many">; type: ZodLiteral<"Point">; }, ZodTypeAny, "passthrough">>

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

Point — a single PositionSchema.