write more schema for routing api

This commit is contained in:
Laura Klünder 2023-12-01 23:49:02 +01:00
parent 11f96f7e83
commit 210d079bb7
2 changed files with 100 additions and 20 deletions

View file

@ -206,6 +206,7 @@ PositionID = Annotated[NonEmptyStr, APIField(
pattern=r"p:[A-Za-z0-9]+$",
description="the ID of a user-defined tracked position is made up of its secret"
)]
Coordinates3D = tuple[float, float, float]
AnyLocationID = Union[