From d73c91cfb0f1f74e5da24510e5bf4f5bc329375e Mon Sep 17 00:00:00 2001 From: Jaakko Malkki Date: Fri, 17 Aug 2018 09:44:39 +0300 Subject: [PATCH] usage of 'PARK' qualifier --- .../org/opentripplanner/index/IndexGraphQLSchema.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/opentripplanner/index/IndexGraphQLSchema.java b/src/main/java/org/opentripplanner/index/IndexGraphQLSchema.java index 83653eaa184..50e23ea8647 100644 --- a/src/main/java/org/opentripplanner/index/IndexGraphQLSchema.java +++ b/src/main/java/org/opentripplanner/index/IndexGraphQLSchema.java @@ -167,11 +167,11 @@ public static String experimental(String message) { public static GraphQLEnumType qualifierEnum = GraphQLEnumType.newEnum() .name("Qualifier") - .description("Additional qualifier for a transport mode") + .description("Additional qualifier for a transport mode. \n Note that qualifiers can only be used with certain transport modes.") .value("RENT", QualifiedMode.Qualifier.RENT, "The vehicle used for transport can be rented") - .value("HAVE", QualifiedMode.Qualifier.HAVE, "~~HAVE~~ **Currently not used**") - .value("PARK", QualifiedMode.Qualifier.PARK, "~~PARK~~ **Currently not used**") - .value("KEEP", QualifiedMode.Qualifier.KEEP, "~~KEEP~~ **Currently not used**") + .value("HAVE", QualifiedMode.Qualifier.HAVE, "~~HAVE~~ \n **Currently not used**") + .value("PARK", QualifiedMode.Qualifier.PARK, "The vehicle used must be left to a parking area before continuing the journey. This qualifier is usable with transport modes `CAR` and `BICYCLE`. \n Note that the vehicle is only parked if the journey is continued with public transportation (e.g. if only `CAR` and `WALK` transport modes are allowed to be used, the car will not be parked as it is used for the whole journey).") + .value("KEEP", QualifiedMode.Qualifier.KEEP, "~~KEEP~~ \n **Currently not used**") .value("PICKUP", QualifiedMode.Qualifier.PICKUP, "The user can be picked up by someone else riding a vehicle") .build();