diff --git a/paths/trips.yaml b/paths/trips.yaml index da02a1a..d1e64c3 100644 --- a/paths/trips.yaml +++ b/paths/trips.yaml @@ -24,11 +24,11 @@ get: example: b2e783e1-c824-4d63-b37a-d8d698862f1d - name: date in: query - description: The date of the trip (YYYY-MM-DD) + description: The date and time of the trip in ISO 8601 format in origin station's timezone. required: true schema: type: string - format: date + format: date-time - name: bicycles in: query description: Indicates whether bicycles are allowed on the trip @@ -61,18 +61,18 @@ get: - $ref: ../components/schemas/Links-Pagination.yaml example: data: - - id: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e - origin: Berlin Hauptbahnhof - destination: Paris Gare du Nord + - id: ea399ba1-6d95-433f-92d1-83f67b775594 + origin: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e + destination: b2e783e1-c824-4d63-b37a-d8d698862f1d departure_time: '2024-02-01T10:00:00Z' arrival_time: '2024-02-01T16:00:00Z' price: 50 operator: Deutsche Bahn bicycles_allowed: true dogs_allowed: true - - id: b2e783e1-c824-4d63-b37a-d8d698862f1d - origin: Paris Gare du Nord - destination: Berlin Hauptbahnhof + - id: 4d67459c-af07-40bb-bb12-178dbb88e09f + origin: b2e783e1-c824-4d63-b37a-d8d698862f1d + destination: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e departure_time: '2024-02-01T12:00:00Z' arrival_time: '2024-02-01T18:00:00Z' price: 50