Skip to content

Commit bf0c29b

Browse files
fixed schema issues
1 parent eab5ed0 commit bf0c29b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/schemas/map/dynamicMapSchema.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,6 @@ const markerSchema = z.object({
5858
),
5959
});
6060

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-
7061
// Route schema
7162
const routeSchema = z.object({
7263
points: z.array(coordinateSchema).describe("Array of route points in various coordinate formats"),

0 commit comments

Comments
 (0)