We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eab5ed0 commit bf0c29bCopy full SHA for bf0c29b
src/schemas/map/dynamicMapSchema.ts
@@ -58,15 +58,6 @@ const markerSchema = z.object({
58
),
59
});
60
61
-// Route point schema (flexible coordinate format) - Azure Foundry Fix
62
-const routePointSchema = z.union([
63
- coordinateSchema,
64
- z.array(z.number()).length(2).describe("Coordinate as [lat, lon] array"),
65
- z.object({
66
- coordinates: z.array(z.number()).length(2).describe("Coordinates as {coordinates: [lat, lon]}"),
67
- }),
68
-]);
69
-
70
// Route schema
71
const routeSchema = z.object({
72
points: z.array(coordinateSchema).describe("Array of route points in various coordinate formats"),
0 commit comments