edutap.wallet_google.models.passes.tickets_and_transit.TransitObject#
- pydantic model edutap.wallet_google.models.passes.tickets_and_transit.TransitObject#
see: https://developers.google.com/wallet/reference/rest/v1/transitobject
Show JSON schema
{ "title": "TransitObject", "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject", "type": "object", "properties": { "logo": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "wideLogo": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "heroImage": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "hexBackgroundColor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Hexbackgroundcolor" }, "id": { "title": "Id", "type": "string" }, "classId": { "title": "Classid", "type": "string" }, "version": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "deprecated": true, "description": "deprecated", "title": "Version" }, "imageModulesData": { "anyOf": [ { "items": { "$ref": "#/$defs/ImageModuleData" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Imagemodulesdata" }, "textModulesData": { "anyOf": [ { "items": { "$ref": "#/$defs/TextModuleData" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Textmodulesdata" }, "linksModuleData": { "anyOf": [ { "$ref": "#/$defs/LinksModuleData" }, { "type": "null" } ], "default": null }, "infoModuleData": { "anyOf": [ { "$ref": "#/$defs/InfoModuleData" }, { "type": "null" } ], "default": null, "deprecated": true, "description": "deprecated" }, "passConstraints": { "anyOf": [ { "$ref": "#/$defs/PassConstraints" }, { "type": "null" } ], "default": null }, "smartTapRedemptionValue": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Smarttapredemptionvalue" }, "barcode": { "anyOf": [ { "$ref": "#/$defs/Barcode" }, { "type": "null" } ], "default": null }, "rotatingBarcode": { "anyOf": [ { "$ref": "#/$defs/RotatingBarcode" }, { "type": "null" } ], "default": null }, "groupingInfo": { "anyOf": [ { "$ref": "#/$defs/GroupingInfo" }, { "type": "null" } ], "default": null }, "saveRestrictions": { "anyOf": [ { "$ref": "#/$defs/SaveRestrictions" }, { "type": "null" } ], "default": null }, "linkedObjectIds": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Linkedobjectids" }, "valueAddedModuleData": { "anyOf": [ { "$ref": "#/$defs/ValueAddedModuleData" }, { "type": "null" } ], "default": null }, "messages": { "anyOf": [ { "items": { "$ref": "#/$defs/Message" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Messages" }, "appLinkData": { "anyOf": [ { "$ref": "#/$defs/AppLinkData" }, { "type": "null" } ], "default": null }, "state": { "$ref": "#/$defs/State", "default": "STATE_UNSPECIFIED" }, "hasUsers": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Hasusers" }, "validTimeInterval": { "anyOf": [ { "$ref": "#/$defs/TimeInterval" }, { "type": "null" } ], "default": null }, "classReference": { "anyOf": [ { "$ref": "#/$defs/TransitClass" }, { "type": "null" } ], "default": null }, "ticketNumber": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Ticketnumber" }, "passengerType": { "$ref": "#/$defs/PassengerType", "default": "PASSENGER_TYPE_UNSPECIFIED" }, "passengerNames": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Passengernames" }, "tripId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Tripid" }, "ticketStatus": { "$ref": "#/$defs/TicketStatus", "default": "TICKET_STATUS_UNSPECIFIED" }, "customTicketStatus": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "concessionCategory": { "$ref": "#/$defs/ConcessionCategory", "default": "CONCESSION_CATEGORY_UNSPECIFIED" }, "customConcessionCategory": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "ticketRestrictions": { "anyOf": [ { "$ref": "#/$defs/TicketRestrictions" }, { "type": "null" } ], "default": null }, "purchaseDetails": { "anyOf": [ { "$ref": "#/$defs/PurchaseDetails" }, { "type": "null" } ], "default": null }, "ticketLeg": { "anyOf": [ { "$ref": "#/$defs/TicketLeg" }, { "type": "null" } ], "default": null }, "ticketLegs": { "anyOf": [ { "items": { "$ref": "#/$defs/TicketLeg" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Ticketlegs" }, "tripType": { "$ref": "#/$defs/TripType", "default": "TRIP_TYPE_UNSPECIFIED" }, "hasLinkedDevice": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "title": "Haslinkeddevice" }, "disableExpirationNotification": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "title": "Disableexpirationnotification" }, "activationStatus": { "anyOf": [ { "$ref": "#/$defs/ActivationStatus" }, { "type": "null" } ], "default": null }, "deviceContext": { "anyOf": [ { "$ref": "#/$defs/DeviceContext" }, { "type": "null" } ], "default": null }, "notifyPreference": { "$ref": "#/$defs/NotificationSettingsForUpdates", "default": "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED" } }, "$defs": { "ActivationOptions": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitclass#activationoptions", "properties": { "activationUrl": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Activationurl" }, "allowReactivation": { "default": false, "title": "Allowreactivation", "type": "boolean" } }, "title": "ActivationOptions", "type": "object" }, "ActivationState": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#state", "enum": [ "unknownState", "UNKNOWN_STATE", "notActivated", "NOT_ACTIVATED", "activated", "ACTIVATED" ], "title": "ActivationState", "type": "string" }, "ActivationStatus": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#activationstatus", "properties": { "state": { "$ref": "#/$defs/ActivationState", "default": "UNKNOWN_STATE" } }, "title": "ActivationStatus", "type": "object" }, "AnimationType": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/SecurityAnimation#animationtype", "enum": [ "animationUnspecified", "ANIMATION_UNSPECIFIED", "foilShimmer", "FOIL_SHIMMER" ], "title": "AnimationType", "type": "string" }, "AppLinkData": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/AppLinkData", "properties": { "androidAppLinkInfo": { "anyOf": [ { "$ref": "#/$defs/AppLinkInfo" }, { "type": "null" } ], "default": null }, "iosAppLinkInfo": { "anyOf": [ { "$ref": "#/$defs/AppLinkInfo" }, { "type": "null" } ], "default": null }, "webAppLinkInfo": { "anyOf": [ { "$ref": "#/$defs/AppLinkInfo" }, { "type": "null" } ], "default": null } }, "title": "AppLinkData", "type": "object" }, "AppLinkInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/AppLinkData#applinkinfo", "properties": { "appLogoImage": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "title": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "appTarget": { "anyOf": [ { "$ref": "#/$defs/AppTarget" }, { "type": "null" } ], "default": null } }, "title": "AppLinkInfo", "type": "object" }, "AppTarget": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/AppLinkData#apptargets", "properties": { "targetUri": { "anyOf": [ { "$ref": "#/$defs/Uri" }, { "type": "null" } ], "default": null } }, "title": "AppTarget", "type": "object" }, "Barcode": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/Barcode", "properties": { "type": { "$ref": "#/$defs/BarcodeType", "default": "BARCODE_TYPE_UNSPECIFIED" }, "renderEncoding": { "$ref": "#/$defs/BarcodeRenderEncoding", "default": "RENDER_ENCODING_UNSPECIFIED" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Value" }, "alternateText": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Alternatetext" }, "showCodeText": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "Barcode", "type": "object" }, "BarcodeRenderEncoding": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/BarcodeRenderEncoding", "enum": [ "renderEncodingUnspecified", "RENDER_ENCODING_UNSPECIFIED", "utf8", "UTF_8" ], "title": "BarcodeRenderEncoding", "type": "string" }, "BarcodeSectionDetail": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#barcodesectiondetail", "properties": { "fieldSelector": { "$ref": "#/$defs/FieldSelector" } }, "required": [ "fieldSelector" ], "title": "BarcodeSectionDetail", "type": "object" }, "BarcodeType": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/BarcodeType", "enum": [ "barcodeTypeUnspecified", "BARCODE_TYPE_UNSPECIFIED", "aztec", "AZTEC", "code39", "CODE_39", "code128", "CODE_128", "codabar", "CODABAR", "dataMatrix", "DATA_MATRIX", "ean8", "EAN_8", "ean13", "EAN_13", "itf14", "ITF_14", "pdf417", "PDF_417", "qrCode", "QR_CODE", "upcA", "UPC_A", "textOnly", "TEXT_ONLY" ], "title": "BarcodeType", "type": "string" }, "CallbackOptions": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/CallbackOptions", "properties": { "url": { "anyOf": [ { "format": "uri", "maxLength": 2083, "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null, "title": "Url" } }, "title": "CallbackOptions", "type": "object" }, "CardBarcodeSectionDetails": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardbarcodesectiondetails", "properties": { "firstTopDetail": { "anyOf": [ { "$ref": "#/$defs/BarcodeSectionDetail" }, { "type": "null" } ], "default": null }, "firstBottomDetail": { "anyOf": [ { "$ref": "#/$defs/BarcodeSectionDetail" }, { "type": "null" } ], "default": null }, "secondTopDetail": { "anyOf": [ { "$ref": "#/$defs/BarcodeSectionDetail" }, { "type": "null" } ], "default": null } }, "title": "CardBarcodeSectionDetails", "type": "object" }, "CardRowOneItem": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowoneitem", "properties": { "item": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "CardRowOneItem", "type": "object" }, "CardRowTemplateInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowtemplateinfo", "properties": { "oneItem": { "anyOf": [ { "$ref": "#/$defs/CardRowOneItem" }, { "type": "null" } ], "default": null }, "twoItems": { "anyOf": [ { "$ref": "#/$defs/CardRowTwoItems" }, { "type": "null" } ], "default": null }, "threeItems": { "anyOf": [ { "$ref": "#/$defs/CardRowThreeItems" }, { "type": "null" } ], "default": null } }, "title": "CardRowTemplateInfo", "type": "object" }, "CardRowThreeItems": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowthreeitems", "properties": { "startItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null }, "middleItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null }, "endItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "CardRowThreeItems", "type": "object" }, "CardRowTwoItems": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowtwoitems", "properties": { "startItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null }, "endItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "CardRowTwoItems", "type": "object" }, "CardTemplateOverride": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardtemplateoverride", "properties": { "cardRowTemplateInfos": { "anyOf": [ { "items": { "$ref": "#/$defs/CardRowTemplateInfo" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Cardrowtemplateinfos" } }, "title": "CardTemplateOverride", "type": "object" }, "ClassTemplateInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo", "properties": { "cardBarcodeSectionDetails": { "anyOf": [ { "$ref": "#/$defs/CardBarcodeSectionDetails" }, { "type": "null" } ], "default": null }, "cardTemplateOverride": { "anyOf": [ { "$ref": "#/$defs/CardTemplateOverride" }, { "type": "null" } ], "default": null }, "detailsTemplateOverride": { "anyOf": [ { "$ref": "#/$defs/DetailsTemplateOverride" }, { "type": "null" } ], "default": null }, "listTemplateOverride": { "anyOf": [ { "$ref": "#/$defs/ListTemplateOverride" }, { "type": "null" } ], "default": null } }, "title": "ClassTemplateInfo", "type": "object" }, "ConcessionCategory": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#concessioncategory", "enum": [ "concessionCategoryUnspecified", "CONCESSION_CATEGORY_UNSPECIFIED", "adult", "ADULT", "child", "CHILD", "senior", "SENIOR" ], "title": "ConcessionCategory", "type": "string" }, "DateFormat": { "enum": [ "dateFormatUnspecified", "DATE_FORMAT_UNSPECIFIED", "dateTime", "DATE_TIME", "dateOnly", "DATE_ONLY", "timeOnly", "TIME_ONLY", "dateTimeYear", "DATE_TIME_YEAR", "dateYear", "DATE_YEAR" ], "title": "DateFormat", "type": "string" }, "DateTime": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/DateTime", "properties": { "date": { "format": "date-time", "title": "Date", "type": "string" } }, "required": [ "date" ], "title": "DateTime", "type": "object" }, "DetailsItemInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#detailsiteminfo", "properties": { "item": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "DetailsItemInfo", "type": "object" }, "DetailsTemplateOverride": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#detailstemplateoverride", "properties": { "detailsItemInfos": { "anyOf": [ { "items": { "$ref": "#/$defs/DetailsItemInfo" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Detailsiteminfos" } }, "title": "DetailsTemplateOverride", "type": "object" }, "DeviceContext": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#devicecontext", "properties": { "deviceToken": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Devicetoken" } }, "title": "DeviceContext", "type": "object" }, "FareClass": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#fareclass", "enum": [ "fareClassUnspecified", "FARE_CLASS_UNSPECIFIED", "economy", "ECONOMY", "first", "FIRST", "business", "BUSINESS" ], "title": "FareClass", "type": "string" }, "FieldReference": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#fieldreference", "properties": { "fieldPath": { "title": "Fieldpath", "type": "string" }, "dateFormat": { "anyOf": [ { "$ref": "#/$defs/DateFormat" }, { "type": "null" } ], "default": null } }, "required": [ "fieldPath" ], "title": "FieldReference", "type": "object" }, "FieldSelector": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#fieldselector", "properties": { "fields": { "items": { "$ref": "#/$defs/FieldReference" }, "title": "Fields", "type": "array" } }, "required": [ "fields" ], "title": "FieldSelector", "type": "object" }, "FirstRowOption": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#firstrowoption", "properties": { "transitOption": { "anyOf": [ { "$ref": "#/$defs/TransitOption" }, { "type": "null" } ], "default": null }, "fieldOption": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null } }, "title": "FirstRowOption", "type": "object" }, "GroupingInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/GroupingInfo", "properties": { "sortIndex": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Sortindex" }, "groupingId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Groupingid" } }, "title": "GroupingInfo", "type": "object" }, "Image": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/Image", "properties": { "sourceUri": { "$ref": "#/$defs/ImageUri" }, "contentDescription": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "required": [ "sourceUri" ], "title": "Image", "type": "object" }, "ImageModuleData": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ImageModuleData", "properties": { "mainImage": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" } }, "title": "ImageModuleData", "type": "object" }, "ImageUri": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/Image#imageuri", "properties": { "uri": { "format": "uri", "minLength": 1, "title": "Uri", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "deprecated": true, "title": "Description" }, "localizedDescription": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null, "deprecated": true } }, "required": [ "uri" ], "title": "ImageUri", "type": "object" }, "InfoModuleData": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData", "properties": { "labelValueRows": { "items": { "$ref": "#/$defs/LabelValueRow" }, "title": "Labelvaluerows", "type": "array" }, "showLastUpdatedTime": { "default": false, "description": "deprecated", "title": "Showlastupdatedtime", "type": "boolean" } }, "required": [ "labelValueRows" ], "title": "InfoModuleData", "type": "object" }, "LabelValue": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData#labelvalue", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Label" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Value" }, "localizedLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedValue": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "LabelValue", "type": "object" }, "LabelValueRow": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData#labelvaluerow", "properties": { "columns": { "anyOf": [ { "items": { "$ref": "#/$defs/LabelValue" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Columns" } }, "title": "LabelValueRow", "type": "object" }, "LinksModuleData": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LinksModuleData", "properties": { "uris": { "anyOf": [ { "items": { "$ref": "#/$defs/Uri" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Uris" } }, "title": "LinksModuleData", "type": "object" }, "ListTemplateOverride": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#listtemplateoverride", "properties": { "firstRowOption": { "anyOf": [ { "$ref": "#/$defs/FirstRowOption" }, { "type": "null" } ], "default": null }, "secondRowOption": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null }, "thirdRowOption": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null, "description": "deprecated" } }, "title": "ListTemplateOverride", "type": "object" }, "LocalizedString": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString", "properties": { "defaultValue": { "$ref": "#/$defs/TranslatedString" }, "translatedValues": { "default": [], "items": { "$ref": "#/$defs/TranslatedString" }, "title": "Translatedvalues", "type": "array" } }, "required": [ "defaultValue" ], "title": "LocalizedString", "type": "object" }, "Message": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/Message", "properties": { "kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "walletobjects#walletObjectMessage", "deprecated": true, "description": "deprecated", "title": "Kind" }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" }, "messageType": { "$ref": "#/$defs/MessageType", "default": "MESSAGE_TYPE_UNSPECIFIED" }, "displayInterval": { "anyOf": [ { "$ref": "#/$defs/TimeInterval" }, { "type": "null" } ], "default": null }, "header": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Header" }, "localizedHeader": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "body": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Body" }, "localizedBody": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "Message", "type": "object" }, "MessageType": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/Message#messagetype", "enum": [ "messageTypeUnspecified", "MESSAGE_TYPE_UNSPECIFIED", "text", "TEXT", "textAndNotify", "TEXT_AND_NOTIFY", "expirationNotification", "EXPIRATION_NOTIFICATION" ], "title": "MessageType", "type": "string" }, "ModuleViewConstraints": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/ValueAddedModuleData", "properties": { "displayInterval": { "anyOf": [ { "$ref": "#/$defs/TimeInterval" }, { "type": "null" } ], "default": null } }, "title": "ModuleViewConstraints", "type": "object" }, "Money": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/Money", "properties": { "micros": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Micros" }, "currencyCode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Currencycode" } }, "title": "Money", "type": "object" }, "MultipleDevicesAndHoldersAllowedStatus": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/MultipleDevicesAndHoldersAllowedStatus", "enum": [ "statusUnspecified", "STATUS_UNSPECIFIED", "multipleHolders", "MULTIPLE_HOLDERS", "oneUserAllDevices", "ONE_USER_ALL_DEVICES", "oneUserOneDevice", "ONE_USER_ONE_DEVICE" ], "title": "MultipleDevicesAndHoldersAllowedStatus", "type": "string" }, "NfcConstraint": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/PassConstraints#NfcConstraint", "enum": [ "nfcConstraintUnspecified", "NFC_CONSTRAINT_UNSPECIFIED", "blockPayment", "BLOCK_PAYMENT", "blockClosedLoopTransit", "BLOCK_CLOSED_LOOP_TRANSIT" ], "title": "NfcConstraint", "type": "string" }, "NotificationSettingsForUpdates": { "description": "see https://developers.google.com/wallet/reference/rest/v1/NotificationSettingsForUpdates", "enum": [ "notificationSettingsForUpdatesUnspecified", "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", "notifyOnUpdate", "NOTIFY_ON_UPDATE" ], "title": "NotificationSettingsForUpdates", "type": "string" }, "PassConstraints": { "description": "see https://developers.google.com/wallet/generic/rest/v1/PassConstraints", "properties": { "screenshotEligibility": { "$ref": "#/$defs/ScreenshotEligibility", "default": "SCREENSHOT_ELIGIBILITY_UNSPECIFIED" }, "nfcConstraint": { "anyOf": [ { "items": { "$ref": "#/$defs/NfcConstraint" }, "type": "array" }, { "type": "null" } ], "title": "Nfcconstraint" } }, "title": "PassConstraints", "type": "object" }, "PassengerType": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#passengertype", "enum": [ "passengerTypeUnspecified", "PASSENGER_TYPE_UNSPECIFIED", "singlePassenger", "SINGLE_PASSENGER", "multiplePassengers", "MULTIPLE_PASSENGERS" ], "title": "PassengerType", "type": "string" }, "PredefinedItem": { "description": "see: https://developers.google.com/wallet/retail/offers/rest/v1/ClassTemplateInfo#predefineditem", "enum": [ "predefinedItemUnspecified", "PREDEFINED_ITEM_UNSPECIFIED", "frequentFlyerProgramNameAndNumber", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "flightNumberAndOperatingFlightNumber", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER" ], "title": "PredefinedItem", "type": "string" }, "PurchaseDetails": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#purchasedetails", "properties": { "purchaseReceiptNumber": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Purchasereceiptnumber" }, "purchaseDateTime": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Purchasedatetime" }, "accountId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Accountid" }, "confirmationCode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Confirmationcode" }, "ticketCost": { "anyOf": [ { "$ref": "#/$defs/TicketCost" }, { "type": "null" } ], "default": null } }, "title": "PurchaseDetails", "type": "object" }, "Review": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/Review", "properties": { "comments": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Comments" } }, "title": "Review", "type": "object" }, "ReviewStatus": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/ReviewStatus", "enum": [ "reviewStatusUnspecified", "REVIEW_STATUS_UNSPECIFIED", "underReview", "UNDER_REVIEW", "approved", "APPROVED", "rejected", "REJECTED", "draft", "DRAFT" ], "title": "ReviewStatus", "type": "string" }, "RotatingBarcode": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode", "properties": { "type": { "$ref": "#/$defs/BarcodeType", "default": "BARCODE_TYPE_UNSPECIFIED" }, "renderEncoding": { "$ref": "#/$defs/BarcodeRenderEncoding", "default": "RENDER_ENCODING_UNSPECIFIED" }, "valuePattern": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Valuepattern" }, "totpDetails": { "anyOf": [ { "$ref": "#/$defs/TotpDetails" }, { "type": "null" } ], "default": null }, "alternateText": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Alternatetext" }, "showCodeText": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "RotatingBarcode", "type": "object" }, "SaveRestrictions": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/SaveRestrictions", "properties": { "restrictToEmailSha256": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Restricttoemailsha256" } }, "title": "SaveRestrictions", "type": "object" }, "ScreenshotEligibility": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/PassConstraints#screenshoteligibility", "enum": [ "screenshotEligibilityUnspecified", "SCREENSHOT_ELIGIBILITY_UNSPECIFIED", "eligible", "ELIGIBLE", "ineligible", "INELIGIBLE" ], "title": "ScreenshotEligibility", "type": "string" }, "SecurityAnimation": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/SecurityAnimation", "properties": { "animationType": { "$ref": "#/$defs/AnimationType", "default": "ANIMATION_UNSPECIFIED" } }, "title": "SecurityAnimation", "type": "object" }, "State": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/State\n https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/State", "enum": [ "stateUnspecified", "STATE_UNSPECIFIED", "active", "ACTIVE", "completed", "COMPLETED", "expired", "EXPIRED", "inactive", "INACTIVE" ], "title": "State", "type": "string" }, "TemplateItem": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#templateitem", "properties": { "firstValue": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null }, "secondValue": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null }, "predefinedItem": { "anyOf": [ { "$ref": "#/$defs/PredefinedItem" }, { "type": "null" } ], "default": null } }, "title": "TemplateItem", "type": "object" }, "TextModuleData": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/TextModuleData", "properties": { "header": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Header" }, "body": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Body" }, "localizedHeader": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedBody": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" } }, "title": "TextModuleData", "type": "object" }, "TicketCost": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#ticketcost", "properties": { "faceValue": { "anyOf": [ { "$ref": "#/$defs/Money" }, { "type": "null" } ], "default": null }, "purchasePrice": { "anyOf": [ { "$ref": "#/$defs/Money" }, { "type": "null" } ], "default": null }, "discountMessage": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "TicketCost", "type": "object" }, "TicketLeg": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#ticketleg", "properties": { "originStationCod": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Originstationcod" }, "originName": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "destinationStationCode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Destinationstationcode" }, "destinationName": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "departureDateTime": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Departuredatetime" }, "arrivalDateTime": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Arrivaldatetime" }, "fareName": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "carriage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Carriage" }, "platform": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Platform" }, "zone": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Zone" }, "ticketSeat": { "anyOf": [ { "$ref": "#/$defs/TicketSeat" }, { "type": "null" } ], "default": null }, "ticketSeats": { "anyOf": [ { "items": { "$ref": "#/$defs/TicketSeat" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Ticketseats" }, "transitOperatorName": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "transitTerminusName": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "TicketLeg", "type": "object" }, "TicketRestrictions": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#ticketrestrictions", "properties": { "routeRestrictions": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "routeRestrictionsDetails": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "timeRestrictions": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "otherRestrictions": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "TicketRestrictions", "type": "object" }, "TicketSeat": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#ticketseat", "properties": { "fareClass": { "$ref": "#/$defs/FareClass", "default": "FARE_CLASS_UNSPECIFIED" }, "customFareClass": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "coach": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Coach" }, "seat": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Seat" }, "seatAssignment": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "TicketSeat", "type": "object" }, "TicketStatus": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#ticketstatus", "enum": [ "ticketStatusUnspecified", "TICKET_STATUS_UNSPECIFIED", "used", "USED", "refunded", "REFUNDED", "exchanged", "EXCHANGED" ], "title": "TicketStatus", "type": "string" }, "TimeInterval": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/TimeInterval", "properties": { "kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "walletobjects#timeInterval", "deprecated": true, "description": "deprecated", "title": "Kind" }, "start": { "anyOf": [ { "$ref": "#/$defs/DateTime" }, { "type": "null" } ], "default": null }, "end": { "anyOf": [ { "$ref": "#/$defs/DateTime" }, { "type": "null" } ], "default": null } }, "title": "TimeInterval", "type": "object" }, "TotpAlgorithm": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode#totpalgorithm", "enum": [ "totpAlgorithmUnspecified", "TOTP_ALGORITHM_UNSPECIFIED", "totpSha1", "TOTP_SHA1" ], "title": "TotpAlgorithm", "type": "string" }, "TotpDetails": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode#totpdetails", "properties": { "periodMillis": { "title": "Periodmillis", "type": "string" }, "algorithm": { "$ref": "#/$defs/TotpAlgorithm", "default": "TOTP_ALGORITHM_UNSPECIFIED" }, "parameters": { "items": { "$ref": "#/$defs/TotpParameters" }, "title": "Parameters", "type": "array" } }, "required": [ "periodMillis", "parameters" ], "title": "TotpDetails", "type": "object" }, "TotpParameters": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode#totpparameters", "properties": { "key": { "title": "Key", "type": "string" }, "valueLength": { "title": "Valuelength", "type": "integer" } }, "required": [ "key", "valueLength" ], "title": "TotpParameters", "type": "object" }, "TransitClass": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitclass", "properties": { "logo": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "wideLogo": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "heroImage": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "hexBackgroundColor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Hexbackgroundcolor" }, "id": { "title": "Id", "type": "string" }, "classTemplateInfo": { "anyOf": [ { "$ref": "#/$defs/ClassTemplateInfo" }, { "type": "null" } ], "default": null }, "imageModulesData": { "anyOf": [ { "items": { "$ref": "#/$defs/ImageModuleData" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Imagemodulesdata" }, "textModulesData": { "anyOf": [ { "items": { "$ref": "#/$defs/TextModuleData" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Textmodulesdata" }, "linksModuleData": { "anyOf": [ { "$ref": "#/$defs/LinksModuleData" }, { "type": "null" } ], "default": null }, "infoModuleData": { "anyOf": [ { "$ref": "#/$defs/InfoModuleData" }, { "type": "null" } ], "default": null, "deprecated": true, "description": "deprecated" }, "enableSmartTap": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Enablesmarttap" }, "redemptionIssuers": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Redemptionissuers" }, "securityAnimation": { "anyOf": [ { "$ref": "#/$defs/SecurityAnimation" }, { "type": "null" } ], "default": null }, "multipleDevicesAndHoldersAllowedStatus": { "$ref": "#/$defs/MultipleDevicesAndHoldersAllowedStatus", "default": "STATUS_UNSPECIFIED" }, "callbackOptions": { "anyOf": [ { "$ref": "#/$defs/CallbackOptions" }, { "type": "null" } ], "default": null }, "viewUnlockRequirement": { "$ref": "#/$defs/ViewUnlockRequirement", "default": "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED" }, "messages": { "anyOf": [ { "items": { "$ref": "#/$defs/Message" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Messages" }, "appLinkData": { "anyOf": [ { "$ref": "#/$defs/AppLinkData" }, { "type": "null" } ], "default": null }, "valueAddedModuleData": { "anyOf": [ { "$ref": "#/$defs/ValueAddedModuleData" }, { "type": "null" } ], "default": null }, "transitOperatorName": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "transitType": { "$ref": "#/$defs/TransitType", "default": "TRANSIT_TYPE_UNSPECIFIED" }, "watermark": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "languageOverride": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Languageoverride" }, "customTransitTerminusNameLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customTicketNumberLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customRouteRestrictionsLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customRouteRestrictionsDetailsLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customTimeRestrictionsLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customOtherRestrictionsLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customPurchaseReceiptNumberLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customConfirmationCodeLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customPurchaseFaceValueLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customPurchasePriceLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customDiscountMessageLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customCarriageLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customSeatLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customCoachLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customPlatformLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customZoneLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customFareClassLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customConcessionCategoryLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "customFareNameLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "enableSingleLegItinerary": { "default": false, "title": "Enablesinglelegitinerary", "type": "boolean" }, "issuerName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Issuername" }, "homepageUri": { "anyOf": [ { "$ref": "#/$defs/Uri" }, { "type": "null" } ], "default": null }, "reviewStatus": { "anyOf": [ { "$ref": "#/$defs/ReviewStatus" }, { "type": "null" } ], "default": null }, "review": { "anyOf": [ { "$ref": "#/$defs/Review" }, { "type": "null" } ], "default": null }, "countryCode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Countrycode" }, "localizedIssuerName": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "activationOptions": { "anyOf": [ { "$ref": "#/$defs/ActivationOptions" }, { "type": "null" } ], "default": null }, "notifyPreference": { "$ref": "#/$defs/NotificationSettingsForUpdates", "default": "NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED" } }, "required": [ "id" ], "title": "TransitClass", "type": "object" }, "TransitOption": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#transitoption", "enum": [ "transitOptionUnspecified", "TRANSIT_OPTION_UNSPECIFIED", "originAndDestinationNames", "ORIGIN_AND_DESTINATION_NAMES", "originAndDestinationCodes", "ORIGIN_AND_DESTINATION_CODES", "originName", "ORIGIN_NAME" ], "title": "TransitOption", "type": "string" }, "TransitType": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitclass#transittype", "enum": [ "transitTypeUnspecified", "TRANSIT_TYPE_UNSPECIFIED", "bus", "BUS", "rail", "RAIL", "tram", "TRAM", "ferry", "FERRY", "other", "OTHER" ], "title": "TransitType", "type": "string" }, "TranslatedString": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString#translatedstring", "properties": { "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Language" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Value" } }, "title": "TranslatedString", "type": "object" }, "TripType": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/transitobject#triptype", "enum": [ "tripTypeUnspecified", "TRIP_TYPE_UNSPECIFIED", "roundTrip", "ROUND_TRIP", "oneWay", "ONE_WAY" ], "title": "TripType", "type": "string" }, "Uri": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/Uri", "properties": { "uri": { "anyOf": [ { "format": "uri", "minLength": 1, "type": "string" }, { "type": "string" }, { "type": "null" } ], "default": null, "title": "Uri" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "localizedDescription": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" } }, "title": "Uri", "type": "object" }, "ValueAddedModuleData": { "description": "see: https://developers.google.com/wallet/reference/rest/v1/ValueAddedModuleData", "properties": { "header": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "body": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "image": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "uri": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Uri" }, "viewConstraints": { "anyOf": [ { "$ref": "#/$defs/ModuleViewConstraints" }, { "type": "null" } ], "default": null }, "sortIndex": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Sortindex" } }, "title": "ValueAddedModuleData", "type": "object" }, "ViewUnlockRequirement": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ViewUnlockRequirement", "enum": [ "viewUnlockRequirementUnspecified", "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "unlockNotRequired", "UNLOCK_NOT_REQUIRED", "unlockRequiredToView", "UNLOCK_REQUIRED_TO_VIEW" ], "title": "ViewUnlockRequirement", "type": "string" } }, "additionalProperties": false, "required": [ "id", "classId" ] }
- Config:
extra: str = forbid
- Fields:
activationStatus (edutap.wallet_google.models.datatypes.transit.ActivationStatus | None)
classReference (edutap.wallet_google.models.passes.tickets_and_transit.TransitClass | None)
concessionCategory (edutap.wallet_google.models.datatypes.enums.ConcessionCategory)
customTicketStatus (edutap.wallet_google.models.datatypes.localized_string.LocalizedString | None)
deviceContext (edutap.wallet_google.models.datatypes.transit.DeviceContext | None)
notifyPreference (edutap.wallet_google.models.datatypes.enums.NotificationSettingsForUpdates)
passengerType (edutap.wallet_google.models.datatypes.enums.PassengerType)
purchaseDetails (edutap.wallet_google.models.datatypes.transit.PurchaseDetails | None)
ticketLeg (edutap.wallet_google.models.datatypes.transit.TicketLeg | None)
ticketLegs (list[edutap.wallet_google.models.datatypes.transit.TicketLeg] | None)
ticketRestrictions (edutap.wallet_google.models.datatypes.transit.TicketRestrictions | None)
ticketStatus (edutap.wallet_google.models.datatypes.enums.TicketStatus)
tripType (edutap.wallet_google.models.datatypes.enums.TripType)
- field activationStatus: ActivationStatus | None = None#
- field classReference: TransitClass | None = None#
- field concessionCategory: ConcessionCategory = ConcessionCategory.CONCESSION_CATEGORY_UNSPECIFIED#
- field customConcessionCategory: LocalizedString | None = None#
- field customTicketStatus: LocalizedString | None = None#
- field deviceContext: DeviceContext | None = None#
- field disableExpirationNotification: bool | None = False#
- field hasLinkedDevice: bool | None = False#
- field notifyPreference: NotificationSettingsForUpdates = NotificationSettingsForUpdates.NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED#
- field passengerNames: str | None = None#
- field passengerType: PassengerType = PassengerType.PASSENGER_TYPE_UNSPECIFIED#
- field purchaseDetails: PurchaseDetails | None = None#
- field ticketLeg: TicketLeg | None = None#
- field ticketLegs: list[TicketLeg] | None = None#
- field ticketNumber: str | None = None#
- field ticketRestrictions: TicketRestrictions | None = None#
- field ticketStatus: TicketStatus = TicketStatus.TICKET_STATUS_UNSPECIFIED#
- field tripId: str | None = None#
- field tripType: TripType = TripType.TRIP_TYPE_UNSPECIFIED#
- infoModuleData: InfoModuleData | None#
Read-only data descriptor used to emit a runtime deprecation warning before accessing a deprecated field.
- Attributes:
msg: The deprecation message to be emitted. wrapped_property: The property instance if the deprecated field is a computed field, or None. field_name: The name of the field being deprecated.
- version: str | None#
Read-only data descriptor used to emit a runtime deprecation warning before accessing a deprecated field.
- Attributes:
msg: The deprecation message to be emitted. wrapped_property: The property instance if the deprecated field is a computed field, or None. field_name: The name of the field being deprecated.