> For the complete documentation index, see [llms.txt](https://docs.thewalletcrew.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thewalletcrew.io/api-reference/models.md).

# Models

## The APNKeyDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"APNKeyDefinition":{"required":["hasValue","id"],"type":"object","properties":{"id":{"type":"string","description":"Key ID Apple assigned, also in the file name `AuthKey_{id}.p8`."},"hasValue":{"type":"boolean","description":"Whether the `.p8` private key is set. Without it, no pass update is pushed."}},"additionalProperties":false,"description":"Apple Push Notifications key; private key material is redacted."}}}}
```

## The APNKeyRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"APNKeyRequest":{"required":["id"],"type":"object","properties":{"id":{"minLength":1,"type":"string","description":"Key ID Apple assigned, also in the file name `AuthKey_{id}.p8`."},"value":{"type":["null","string"],"description":"Content of the `.p8` file, PEM block included. Omit or leave empty to keep the current key; required the first time."}},"additionalProperties":false,"description":"Request body to configure the Apple Push Notifications key."}}}}
```

## The ActitoConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ActitoConfigurationResponse":{"required":["actitoExternalIdentifier","entity","hasApiKey","profileTableName","server","twcExternalIdentifier"],"type":"object","properties":{"server":{"type":"string","description":"Root URL of the Actito API domain the entity lives on.","format":"uri"},"entity":{"minLength":1,"type":"string","description":"Name of the Actito entity the integration works in."},"profileTableName":{"minLength":1,"type":"string","description":"Name of the Actito profile table the holders' profiles are read from."},"actitoExternalIdentifier":{"minLength":1,"type":"string","description":"Attribute of the profile table matched against the pass identifier `twcExternalIdentifier`."},"twcExternalIdentifier":{"minLength":1,"type":"string","description":"Name of the pass identifier matched against `actitoExternalIdentifier`."},"hasApiKey":{"type":"boolean","description":"Whether an API key is stored. When true, a PUT may omit `apiKey` to keep it."}},"additionalProperties":false,"description":"The tenant's Actito connection, without the API key."}}}}
```

## The ActitoScriptsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ActitoScriptsDefinition":{"required":["profileMapper"],"type":"object","properties":{"profileMapper":{"description":"`extensions.actito.profile.mapper`: completes the account filled from an Actito profile. Runs after\n            `firstName` and `lastName` are copied, with every attribute of the profile.","$ref":"#/components/schemas/ExtensionScriptSlot"}},"additionalProperties":false,"description":"The scripts the Actito integration can be customised with."},"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."}}}}
```

## The ActitoWrapper\_NewProfile object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ActitoWrapper_NewProfile":{"type":"object","properties":{"eventType":{"type":"string","description":"Event type as Actito names it."},"operation":{"type":"string","description":"Operation name as Actito names it. With the route's event type and the profile, identifies the event."},"data":{"description":"The profile the event is about.","$ref":"#/components/schemas/NewProfile"}},"additionalProperties":false,"description":"Envelope of an Actito profile webhook."},"NewProfile":{"type":"object","properties":{"profileId":{"type":"integer","description":"Actito identifier of the profile.","format":"int64"}},"additionalProperties":false,"description":"The profile a profile webhook is about."}}}}
```

## The ActivateInvitationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ActivateInvitationResponse":{"required":["ticketUrl"],"type":"object","properties":{"ticketUrl":{"minLength":1,"type":"string","description":"URL of the page where the invitee chooses a password. Valid for 15 minutes."}},"additionalProperties":false,"description":"Where to send the invitee to choose a password."}}}}
```

## The AddCustomDomainRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AddCustomDomainRequest":{"required":["hostname"],"type":"object","properties":{"hostname":{"minLength":1,"type":"string","description":"Hostname to claim, e.g. `registration.brand.com`. Stored lowercased."}},"additionalProperties":false,"description":"Request body to claim a domain."}}}}
```

## The AddScanRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AddScanRequest":{"required":["data","type"],"type":"object","properties":{"data":{"maxLength":2048,"minLength":3,"type":"string","description":"The decoded content, exactly as read. It must equal, character for character, one of the barcode\nvalues rendered on a pass (trimmed)."},"type":{"description":"How `data` was captured. Recorded on the scan event as `scannedType`, in PascalCase (for\nexample `QRCode` for `qrcode`).","$ref":"#/components/schemas/TypeEnum"}},"additionalProperties":false,"description":"A value read from a pass by a scanner, a camera or a keyboard."},"TypeEnum":{"enum":["manual","text","qrcode","pdf417","aztec","code128","code39","codabar","ean8","ean13","itf14","upca","datamatrix","nfc"],"type":"string","description":"How the value was captured. Recorded on the scan event only; it does not affect matching."}}}}
```

## The AddScanResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AddScanResponse":{"required":["passId"],"type":"object","properties":{"passId":{"type":"string","description":"The pass carrying the scanned value. When several passes carry it, the most recently updated one."}},"additionalProperties":false,"description":"The pass the scanned value resolved to."}}}}
```

## The Advisor object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Advisor":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"type":"string","description":"Advisor id."},"displayName":{"type":"string","description":"Advisor name shown to staff and holders."}},"additionalProperties":false,"description":"A store staff member."}}}}
```

## The AparteConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AparteConfigurationResponse":{"required":["baseUrl","defaultPassType","hasApiKey","tenant","timeZoneId"],"type":"object","properties":{"baseUrl":{"type":"string","description":"Root URL of the Aparte WalletCrew API, as last saved.","format":"uri"},"tenant":{"minLength":1,"type":"string","description":"Aparte tenant code, sent with every call to Aparte."},"defaultPassType":{"minLength":1,"type":"string","description":"Pass template given to a pass created with an `aparte.ticketId` identifier and no pass template."},"invalidPassType":{"type":["null","string"],"description":"Pass template a ticket pass is moved to when Aparte no longer returns its ticket; null when such a\npass keeps its pass template."},"hasApiKey":{"type":"boolean","description":"Whether an API key is stored. When true, a save may omit `apiKey` to keep it."},"timeZoneId":{"minLength":1,"type":"string","description":"Time zone of the venue, e.g. `Europe/Paris`, in which Aparte session dates are read."},"rateLimit":{"description":"Cap on the calls sent to Aparte.","$ref":"#/components/schemas/AparteRateLimitSettings"}},"additionalProperties":false,"description":"The stored Aparte configuration of the tenant, without its API key."},"AparteRateLimitSettings":{"type":"object","properties":{"throttlingLimit":{"maximum":10000,"minimum":1,"type":"integer","description":"Maximum calls per minute sent to Aparte, 1 to 10000 (else 400). Default 500.","format":"int32","default":500}},"additionalProperties":false,"description":"Cap on the calls this tenant sends to Aparte."}}}}
```

## The AparteRateLimitSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AparteRateLimitSettings":{"type":"object","properties":{"throttlingLimit":{"maximum":10000,"minimum":1,"type":"integer","description":"Maximum calls per minute sent to Aparte, 1 to 10000 (else 400). Default 500.","format":"int32","default":500}},"additionalProperties":false,"description":"Cap on the calls this tenant sends to Aparte."}}}}
```

## The AparteScriptsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AparteScriptsDefinition":{"required":["ticketMapper"],"type":"object","properties":{"ticketMapper":{"description":"`extensions.aparte.ticket.mapper`: maps an Aparte ticket onto the account, and can pick the pass template.","$ref":"#/components/schemas/ExtensionScriptSlot"}},"additionalProperties":false,"description":"The scripts the Aparte integration can be customised with."},"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."}}}}
```

## The ApiKeyCreatedResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ApiKeyCreatedResponse":{"required":["token"],"type":"object","allOf":[{"$ref":"#/components/schemas/ApiKeyDefinition"}],"properties":{"token":{"type":"string","description":"API key; shown only once."}},"additionalProperties":false,"description":"Created key, including its token."},"ApiKeyDefinition":{"required":["enabled","name","permissions"],"type":"object","properties":{"name":{"type":"string","description":"Key name; immutable."},"enabled":{"type":"boolean","description":"Whether the key is accepted. A disabled key is kept but refused."},"permissions":{"type":"array","items":{"type":"string"},"description":"Permissions as granted; wildcards are not expanded."},"internal":{"type":"boolean","description":"Whether the platform generated the key for one of its own components, a device for example. The admin console hides internal keys; `false` when absent."},"tags":{"type":"array","items":{"type":"string"},"description":"Free-form labels used to organize keys. A device's key carries the `device` tag."}},"additionalProperties":false,"description":"API key definition. The key value is never returned."}}}}
```

## The ApiKeyDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ApiKeyDefinition":{"required":["enabled","name","permissions"],"type":"object","properties":{"name":{"type":"string","description":"Key name; immutable."},"enabled":{"type":"boolean","description":"Whether the key is accepted. A disabled key is kept but refused."},"permissions":{"type":"array","items":{"type":"string"},"description":"Permissions as granted; wildcards are not expanded."},"internal":{"type":"boolean","description":"Whether the platform generated the key for one of its own components, a device for example. The admin console hides internal keys; `false` when absent."},"tags":{"type":"array","items":{"type":"string"},"description":"Free-form labels used to organize keys. A device's key carries the `device` tag."}},"additionalProperties":false,"description":"API key definition. The key value is never returned."}}}}
```

## The AppleApnKeySecret object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleApnKeySecret":{"required":["id","value"],"type":"object","properties":{"id":{"type":"string","description":"Key ID Apple assigned, also in the file name `AuthKey_{id}.p8`."},"value":{"type":"string","description":"Content of the `.p8` file, PEM block included."}},"additionalProperties":false,"description":"The Apple Push Notifications key of a tenant."}}}}
```

## The AppleCertificateStatusResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleCertificateStatusResponse":{"required":["canRelease","passTypeIdentifier","renewalMethod","supportsNfc","teamIdentifier"],"type":"object","properties":{"passTypeIdentifier":{"type":"string","description":"Pass type identifier the certificate was issued for."},"teamIdentifier":{"type":"string","description":"Apple Developer Team ID owning the Pass Type ID."},"expiresAt":{"type":["null","string"],"description":"When the certificate expires; null when the stored certificate cannot be read.","format":"date-time"},"supportsNfc":{"type":"boolean","description":"Whether the certificate carries the NFC entitlement."},"renewalMethod":{"description":"Whether a renewal can be made without the Apple portal, and with whose key.","$ref":"#/components/schemas/AppleRenewalMethod"},"canRelease":{"type":"boolean","description":"Whether the Pass Type ID can be released: when a key is available, the tenant's own or the one the platform holds for its Apple team."},"renewalKeyId":{"type":["null","string"],"description":"Key ID of the tenant's own renewal key; null when it has none."},"renewalIssuerId":{"type":["null","string"],"description":"Issuer ID of the tenant's own renewal key; null when it has none."},"managedTeam":{"description":"The Apple team whose key the platform renews with; null unless `renewalMethod` is `managedTeam`.","$ref":"#/components/schemas/ManagedTeamResponse"}},"additionalProperties":false,"description":"The Apple pass certificate and how it can be renewed."},"AppleRenewalMethod":{"enum":["none","tenantKey","managedTeam"],"type":"string","description":"How a certificate can be renewed without handing a file around."},"ManagedTeamResponse":{"required":["isDemo","name","partnerId"],"type":"object","properties":{"partnerId":{"type":"string","description":"The partner the team belongs to; `twc` is The Wallet Crew."},"name":{"type":"string","description":"Name of the team."},"isDemo":{"type":"boolean","description":"Whether the team is meant for demonstrations only, not for production."}},"additionalProperties":false,"description":"An Apple team whose key the platform holds for the tenant."}}}}
```

## The AppleMusicItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleMusicItem":{"required":["genres","id","kind","name"],"type":"object","properties":{"id":{"type":"string","description":"The catalog ID the pass carries."},"kind":{"description":"What the item is.","$ref":"#/components/schemas/AppleMusicKind"},"name":{"type":"string","description":"Its name in the storefront's language."},"artworkUrl":{"type":["null","string"],"description":"The artwork URL, with `{w}` and `{h}` where the size goes."},"color":{"type":["null","string"],"description":"The artwork's background colour as `RRGGBB`, which Wallet tints the card with."},"url":{"type":["null","string"],"description":"Where Apple Music shows the item."},"genres":{"type":"array","items":{"type":"string"},"description":"The genres Apple Music files the item under; empty when it lists none."}},"additionalProperties":false,"description":"An artist, album or playlist of the Apple Music catalog."},"AppleMusicKind":{"enum":["artist","album","playlist"],"type":"string","description":"What the event guide of an Apple Wallet poster ticket can recommend."}}}}
```

## The AppleMusicKind object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleMusicKind":{"enum":["artist","album","playlist"],"type":"string","description":"What the event guide of an Apple Wallet poster ticket can recommend."}}}}
```

## The AppleNfcSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleNfcSettings":{"type":"object","properties":{"privateKey":{"type":"string","description":"EC P-256 private key that decrypts the NFC message of a pass: PKCS#8, Base64. Keep it on the device."},"passTypeIdentifier":{"type":"string","description":"Pass type identifier of the tenant's Apple passes."}},"additionalProperties":false}}}}
```

## The ApplePassCertificateType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ApplePassCertificateType":{"enum":["passTypeId","passTypeIdWithNfc"],"type":"string","description":"The two kinds of Pass Type ID certificate Apple issues."}}}}
```

## The AppleRenewalMethod object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleRenewalMethod":{"enum":["none","tenantKey","managedTeam"],"type":"string","description":"How a certificate can be renewed without handing a file around."}}}}
```

## The AppleSecretsResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleSecretsResponse":{"required":["certificate","certificateKey","passTypeIdentifier","teamIdentifier","useTeamApnKey"],"type":"object","properties":{"teamIdentifier":{"type":"string","description":"Apple Developer Team ID owning the Pass Type ID."},"passTypeIdentifier":{"type":"string","description":"Pass type identifier the certificate was issued for."},"certificate":{"type":"string","description":"Pass Type ID certificate, PEM-encoded."},"certificateKey":{"type":"string","description":"PEM-encoded private key of the certificate."},"useTeamApnKey":{"type":"boolean","description":"Whether pass updates are pushed with the key the platform holds for `teamIdentifier`, in which case `apnKey` is null."},"apnKey":{"description":"The tenant's own push key; null when `useTeamApnKey` is set.","$ref":"#/components/schemas/AppleApnKeySecret"}},"additionalProperties":false,"description":"Apple Wallet settings with their private keys."},"AppleApnKeySecret":{"required":["id","value"],"type":"object","properties":{"id":{"type":"string","description":"Key ID Apple assigned, also in the file name `AuthKey_{id}.p8`."},"value":{"type":"string","description":"Content of the `.p8` file, PEM block included."}},"additionalProperties":false,"description":"The Apple Push Notifications key of a tenant."}}}}
```

## The AppleSignInDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleSignInDefinition":{"type":"object","properties":{"serviceIdentifier":{"type":["null","string"],"description":"Apple Services ID on which \"Sign in with Apple\" is configured. The customer web app starts Sign in\nwith Apple with it. Null when sign in with Apple is turned off."}},"additionalProperties":false,"description":"Sign in with Apple settings."}}}}
```

## The AppleTeamResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleTeamResponse":{"required":["isDemo","issuerId","keyId","label","partnerId","teamId"],"type":"object","properties":{"teamId":{"type":"string","description":"Apple Developer Team ID."},"label":{"type":"string","description":"Name shown in the admin console."},"partnerId":{"type":"string","description":"The partner the team belongs to; `twc` is The Wallet Crew."},"issuerId":{"type":"string","description":"Issuer ID of the App Store Connect key."},"keyId":{"type":"string","description":"Key ID of the App Store Connect key."},"isDemo":{"type":"boolean","description":"Whether the team is meant for demonstrations only, not for production."},"apnKeyId":{"type":["null","string"],"description":"Key ID of the push notification key the platform holds for the team, shared by the tenants set to use it; null when it holds none."}},"additionalProperties":false,"description":"An Apple team whose key the platform holds."}}}}
```

## The AppleWalletProviderDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AppleWalletProviderDefinition":{"required":["pass","teamIdentifier","useTeamApnKey"],"type":"object","properties":{"teamIdentifier":{"type":"string","description":"Apple Developer Team ID owning the pass type identifier; written into every Apple pass."},"apnKey":{"description":"Key used to push pass updates through the Apple Push Notification service; null when `useTeamApnKey` is set.","$ref":"#/components/schemas/APNKeyDefinition"},"useTeamApnKey":{"type":"boolean","description":"Whether pass updates are pushed with the key the platform holds for `teamIdentifier`, shared by the tenants of the team."},"pass":{"description":"Pass type identifier and signing certificate.","$ref":"#/components/schemas/PassDefinition"},"webServiceUrl":{"type":["null","string"],"description":"Web service URL written into Apple passes generated from now on, called by Apple Wallet to register devices and fetch updates. Null means the platform endpoint `/api/{tenantId}/passes/apple`.","format":"uri"}},"additionalProperties":false,"description":"Apple Wallet provider settings."},"APNKeyDefinition":{"required":["hasValue","id"],"type":"object","properties":{"id":{"type":"string","description":"Key ID Apple assigned, also in the file name `AuthKey_{id}.p8`."},"hasValue":{"type":"boolean","description":"Whether the `.p8` private key is set. Without it, no pass update is pushed."}},"additionalProperties":false,"description":"Apple Push Notifications key; private key material is redacted."},"PassDefinition":{"required":["certificate","passTypeIdentifier"],"type":"object","properties":{"passTypeIdentifier":{"type":"string","description":"Pass type identifier registered with Apple, e.g. `pass.com.brand.loyalty`; written into every Apple pass."},"certificate":{"description":"Certificate every Apple pass is signed with.","$ref":"#/components/schemas/PassCertificateDefinition"},"certificateRequest":{"description":"CSR awaiting Apple's certificate, used to renew it; null when none is stored.","$ref":"#/components/schemas/PassCertificateSigningRequestDefinition"}},"additionalProperties":false,"description":"Pass configuration; private key material is redacted."},"PassCertificateDefinition":{"required":["certificate","hasKey"],"type":"object","properties":{"certificate":{"type":"string","description":"Pass Type ID certificate from Apple, PEM-encoded. Public, returned in clear."},"hasKey":{"type":"boolean","description":"Whether the certificate's private key is set. Without it, no Apple pass can be signed."}},"additionalProperties":false,"description":"Pass signing certificate; private key material is redacted."},"PassCertificateSigningRequestDefinition":{"required":["hasKey","passTypeIdentifier"],"type":"object","properties":{"certificateRequest":{"type":["null","string"],"description":"PEM-encoded CSR to submit to Apple; null when none is stored."},"passTypeIdentifier":{"type":"string","description":"Pass type identifier the request is for, e.g. `pass.com.brand.loyalty`."},"hasKey":{"type":"boolean","description":"Whether the private key the request was generated from is set."}},"additionalProperties":false,"description":"Current certificate signing request (CSR); private key material is redacted."}}}}
```

## The ApplyMovementRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ApplyMovementRequest":{"required":["oldValue","value"],"type":"object","properties":{"oldValue":{"type":"number","description":"Sum of the benefit's movements as last read. Optimistic concurrency and retry safety: the movement is applied only while the benefit is still at this value, otherwise 409.","format":"double"},"value":{"type":"number","description":"Signed change in whole uses: positive credits, negative redeems. Not zero; a fraction is refused with 400.","format":"double"},"remarks":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Note about the movement, e.g. a till receipt number; never shown to the holder. 1 to 500 characters, trimmed."}},"additionalProperties":false,"description":"Movement to apply to a benefit's value."}}}}
```

## The ApplyStampRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ApplyStampRequest":{"required":["oldValue","value"],"type":"object","properties":{"value":{"maximum":100,"minimum":-100,"type":"integer","description":"Signed change in stamps. Positive stamps the card, negative corrects it — a double scan is\nundone with `-1`.","format":"int32"},"oldValue":{"type":"integer","description":"Count the caller last read (`count` on the board), for optimistic concurrency: the movement lands only while the board is at this count, so a retried request is refused with 409.","format":"int32"},"remarks":{"maxLength":500,"type":["null","string"],"description":"Free-text note stored on the movement and sent with the `Pass:StampApplied` event. At most 500 characters, otherwise 400."}},"additionalProperties":false,"description":"Request to add stamps to, or correct, a card."}}}}
```

## The ApplyStampResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ApplyStampResponse":{"type":"object","properties":{"movementId":{"type":"string","description":"Identifier of the movement that was recorded."},"value":{"type":"integer","description":"The signed change that was recorded, always the one that was asked for.","format":"int32"},"count":{"type":"integer","description":"Stamps on the board afterwards, and the `oldValue` for the next call. Already back to 0 when the goal was reached on a `resetImmediately` card.","format":"int32"},"target":{"type":"integer","description":"Stamps needed to reach the goal.","format":"int32"},"state":{"type":"string","description":"`goalReached` when `count` is at or above `target`, otherwise `collecting`."},"goalReached":{"type":"boolean","description":"Whether this movement reached the goal, even when the board was cleared right after."}},"additionalProperties":false,"description":"The outcome of applying a movement."}}}}
```

## The AudienceEvaluationMode object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AudienceEvaluationMode":{"enum":["snapshot","continuous"],"type":"string","description":"Whether a Neo.Runtime.Scheduler.Configuration.FixedDateTrigger acts only on the passes matching at Neo.Runtime.Scheduler.Configuration.FixedDateTrigger.RunAt,\nor also on passes that come to match later."}}}}
```

## The Automation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Automation":{"required":["id","trigger","type"],"type":"object","properties":{"id":{"minLength":1,"type":"string","description":"Unique within the tenant, immutable. Letters, digits, `_`, `-`; up to 200 characters."},"displayName":{"type":["null","string"],"description":"Label shown in the admin, up to 200 characters."},"type":{"minLength":1,"type":"string","description":"Task type, e.g. `wallet.pushUpdates`; must be available to the tenant. Decides the shape of `settings`."},"isEnabled":{"type":"boolean","description":"Whether it fires. A disabled automation is kept but does not run. Defaults to `true`.","default":true},"trigger":{"oneOf":[{"description":"Fires on a cron schedule.","$ref":"#/components/schemas/AutomationRecurrenceTrigger"},{"$ref":"#/components/schemas/AutomationFixedDateTrigger"},{"$ref":"#/components/schemas/AutomationDateRelativeTrigger"},{"$ref":"#/components/schemas/AutomationEventTrigger"}],"description":"When the automation fires."},"settings":{"type":["null","object"],"additionalProperties":{},"description":"Type-specific configuration, validated against `type` on write: undeclared keys, wrong\ntypes and unknown pass templates, themes or benefit templates give a 400. Omitted applies defaults."},"actions":{"type":"array","items":{"type":"string"},"description":"What it does to each matching pass: `applyBenefitTemplate`, `updateData`, `changePassType`,\n`applyTheme`, `notify`. Derived from `settings`; read-only."},"tags":{"type":"array","items":{"type":"string"},"description":"Labels to filter and group in the admin. At most 20 tags of 50 characters; trimmed, blanks dropped,\ncase-insensitive duplicates kept once."},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Creation time in UTC, server-set. `null` if not created through this API. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Last write through this API, in UTC, server-set. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"One automation."},"AutomationRecurrenceTrigger":{"required":["scheduleExpression","type"],"type":"object","allOf":[{"description":"When an automation fires. Discriminated by `type`.","$ref":"#/components/schemas/AutomationTrigger"}],"properties":{"scheduleExpression":{"minLength":1,"type":"string","description":"Six-field cron expression (seconds first) in UTC, e.g. `0 0 9 * * *` for daily 09:00. An optional\ntrailing year limits it to that year. A new or changed expression with occurrences under five minutes\napart is refused."},"type":{"enum":["recurrence"],"type":"string","description":"Discriminator. Always `recurrence` for this shape."}},"additionalProperties":false,"description":"Fires on a cron schedule."},"AutomationTrigger":{"type":"object","properties":{"monitoringPeriod":{"oneOf":[{"description":"Runs until disabled or deleted.","$ref":"#/components/schemas/AutomationUntilStoppedMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilDateMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilBenefitTemplateEndMonitoringPeriod"},{"type":"null"}],"description":"When the automation stops; omitted means until disabled or deleted. Required on a continuous\n`fixedDate` trigger, refused on a snapshot one."}},"description":"When an automation fires. Discriminated by `type`."},"AutomationUntilStoppedMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"description":"When a trigger stops. Discriminated by `mode`.","$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilStopped"],"type":"string","description":"Discriminator. Always `untilStopped` for this shape."}},"additionalProperties":false,"description":"Runs until disabled or deleted."},"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."},"AutomationUntilDateMonitoringPeriod":{"required":["endDate","mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"endDate":{"type":"string","description":"When the automation stops. Must be in the future on create, and after `runAt` on a `fixedDate` trigger.","format":"date-time"},"mode":{"enum":["untilDate"],"type":"string","description":"Discriminator. Always `untilDate` for this shape."}},"additionalProperties":false,"description":"Stops at `endDate`."},"AutomationUntilBenefitTemplateEndMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilBenefitTemplateEnd"],"type":"string","description":"Discriminator. Always `untilBenefitTemplateEnd` for this shape."}},"additionalProperties":false,"description":"Stops when the benefit template's validity ends. Only for tasks with `settings.benefitTemplateId`\nwhose template has a fixed end date; else 400."},"AutomationFixedDateTrigger":{"required":["runAt","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationTrigger"}],"properties":{"runAt":{"type":"string","description":"When it fires. A new or changed value must be in the future.","format":"date-time"},"audienceEvaluationMode":{"description":"`snapshot` evaluates the audience once at `runAt`; `continuous` keeps applying to newly\n            matching passes while `monitoringPeriod` is open. Defaults to `snapshot`.","default":"snapshot","$ref":"#/components/schemas/AudienceEvaluationMode"},"type":{"enum":["fixedDate"],"type":"string","description":"Discriminator. Always `fixedDate` for this shape."}},"additionalProperties":false,"description":"Fires once, at an instant."},"AudienceEvaluationMode":{"enum":["snapshot","continuous"],"type":"string","description":"Whether a Neo.Runtime.Scheduler.Configuration.FixedDateTrigger acts only on the passes matching at Neo.Runtime.Scheduler.Configuration.FixedDateTrigger.RunAt,\nor also on passes that come to match later."},"AutomationDateRelativeTrigger":{"required":["direction","offset","referenceField","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationTrigger"}],"properties":{"referenceField":{"minLength":1,"type":"string","description":"Pass data field the moment is computed from, e.g. `birthDate`. Must be a `datetime` on at\nleast one pass template."},"direction":{"description":"Fires before or after the reference field.","$ref":"#/components/schemas/TriggerDirection"},"offset":{"description":"Distance from the reference field.","$ref":"#/components/schemas/AutomationTriggerOffset"},"pinnedTime":{"description":"Snaps the moment to this time of day in its timezone. Omitted keeps the computed time. Required when\n`repeatYearly` is set.","$ref":"#/components/schemas/AutomationPinnedTime"},"repeatYearly":{"type":"boolean","description":"Runs every year on the day and month of the reference field, ignoring its year, instead of once at the\nexact date. The day and month are those of the stored date as written, whatever its offset, so a birth\ndate stored as 2 January runs on 2 January. Requires `pinnedTime` and an offset in days or weeks, shorter than a year."},"alignTo":{"description":"Where the yearly run falls relative to that day. Omitted keeps the day itself. Only with\n`repeatYearly`.","$ref":"#/components/schemas/YearlyAlignment"},"weekday":{"description":"The weekday to move to. Required when `alignTo` is `weekday`, refused otherwise.","$ref":"#/components/schemas/Weekday"},"weekdaySide":{"description":"Whether to move back or forward to that weekday. Required when `alignTo` is `weekday`, refused otherwise.","$ref":"#/components/schemas/WeekdaySide"},"type":{"enum":["dateRelative"],"type":"string","description":"Discriminator. Always `dateRelative` for this shape."}},"additionalProperties":false,"description":"Fires per pass, relative to one of its date fields."},"TriggerDirection":{"enum":["before","after"],"type":"string","description":"Which side of its reference date a per-pass trigger fires on."},"AutomationTriggerOffset":{"required":["unit","value"],"type":"object","properties":{"value":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Number of units, not negative.","format":"int32"},"unit":{"description":"Unit of `value`.","$ref":"#/components/schemas/TriggerOffsetUnit"}},"additionalProperties":false,"description":"A duration in a chosen unit."},"TriggerOffsetUnit":{"enum":["minutes","hours","days","weeks"],"type":"string","description":"Unit of an offset."},"AutomationPinnedTime":{"required":["hour","timezone"],"type":"object","properties":{"hour":{"minLength":1,"type":"string","description":"Time of day as 24-hour `HH:mm`, e.g. `09:30`."},"timezone":{"minLength":1,"type":"string","description":"IANA timezone id, e.g. `Europe/Paris`."}},"additionalProperties":false,"description":"A wall-clock time in a timezone."},"YearlyAlignment":{"enum":["weekday","monthStart","monthEnd"],"type":"string","description":"Where a yearly run falls relative to the day and month of the reference field."},"Weekday":{"enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],"type":"string","description":"Day of the week."},"WeekdaySide":{"enum":["onOrBefore","onOrAfter"],"type":"string","description":"Which way a yearly run moves to reach its weekday."},"AutomationEventTrigger":{"required":["settings","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationTrigger"}],"properties":{"settings":{"oneOf":[{"description":"A pass is installed on a device.","$ref":"#/components/schemas/AutomationPassInstalledEventSettings"},{"$ref":"#/components/schemas/AutomationBenefitRedeemedEventSettings"},{"$ref":"#/components/schemas/AutomationMetadataChangedEventSettings"}],"description":"Event and its conditions."},"type":{"enum":["event"],"type":"string","description":"Discriminator. Always `event` for this shape."}},"additionalProperties":false,"description":"Fires per pass on a pass event."},"AutomationPassInstalledEventSettings":{"required":["condition","type"],"type":"object","allOf":[{"description":"Pass event to react to. Discriminated by `type`.","$ref":"#/components/schemas/AutomationEventSettings"}],"properties":{"condition":{"description":"First install only, or every install.","$ref":"#/components/schemas/PassInstalledCondition"},"offset":{"description":"Delay after the install. Omitted means shortly after.","$ref":"#/components/schemas/AutomationTriggerOffset"},"type":{"enum":["Pass:Installed"],"type":"string","description":"Discriminator. Always `Pass:Installed` for this shape."}},"additionalProperties":false,"description":"A pass is installed on a device."},"AutomationEventSettings":{"type":"object","description":"Pass event to react to. Discriminated by `type`."},"PassInstalledCondition":{"enum":["firstInstallationOnly","anyInstallation"],"type":"string","description":"Controls when a Neo.Runtime.Scheduler.Configuration.PassInstalledSettings trigger fires relative to installs."},"AutomationBenefitRedeemedEventSettings":{"required":["direction","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationEventSettings"}],"properties":{"benefitTemplates":{"type":"array","items":{"description":"One watched benefit template.","$ref":"#/components/schemas/AutomationBenefitTemplateSelection"},"description":"Templates to watch. Empty or omitted means all."},"options":{"description":"Conditions for templates that declare none, and for all when `benefitTemplates` is empty.","$ref":"#/components/schemas/AutomationBenefitTemplateSelectionOptions"},"direction":{"description":"Redemption (negative value), award (positive value), or either.","$ref":"#/components/schemas/MovementDirection"},"offset":{"description":"Delay after the movement. Omitted means shortly after.","$ref":"#/components/schemas/AutomationTriggerOffset"},"type":{"enum":["Benefit:MovementApplied"],"type":"string","description":"Discriminator. Always `Benefit:MovementApplied` for this shape."}},"additionalProperties":false,"description":"A movement (redemption, award or either) on a benefit issued by a benefit template."},"AutomationBenefitTemplateSelection":{"required":["benefitTemplateId"],"type":"object","properties":{"benefitTemplateId":{"minLength":1,"type":"string","description":"Benefit template id. Not blank, not repeated in `benefitTemplates`."},"options":{"description":"Conditions for this template. Omitted falls back to the settings-level options.","$ref":"#/components/schemas/AutomationBenefitTemplateSelectionOptions"}},"additionalProperties":false,"description":"One watched benefit template."},"AutomationBenefitTemplateSelectionOptions":{"type":"object","properties":{"whenFullyRedeemed":{"type":"boolean","description":"Fire only when the movement brings the benefit's total value to zero. Defaults to `false`."}},"additionalProperties":false,"description":"Extra conditions on a watched benefit template."},"MovementDirection":{"enum":["redemption","award","any"],"type":"string","description":"Which movements on a benefit-template-issued benefit an Neo.Runtime.Scheduler.Configuration.BenefitRedeemedSettings trigger reacts to."},"AutomationMetadataChangedEventSettings":{"required":["key","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationEventSettings"}],"properties":{"key":{"minLength":1,"type":"string","description":"Metadata key to watch."},"offset":{"description":"Delay after the change. Omitted means the same update.","$ref":"#/components/schemas/AutomationTriggerOffset"},"type":{"enum":["Pass:MetadataChanged"],"type":"string","description":"Discriminator. Always `Pass:MetadataChanged` for this shape."}},"additionalProperties":false,"description":"A pass metadata key's value appears, changes or disappears."}}}}
```

## The AutomationBenefitRedeemedEventSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationBenefitRedeemedEventSettings":{"required":["direction","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationEventSettings"}],"properties":{"benefitTemplates":{"type":"array","items":{"description":"One watched benefit template.","$ref":"#/components/schemas/AutomationBenefitTemplateSelection"},"description":"Templates to watch. Empty or omitted means all."},"options":{"description":"Conditions for templates that declare none, and for all when `benefitTemplates` is empty.","$ref":"#/components/schemas/AutomationBenefitTemplateSelectionOptions"},"direction":{"description":"Redemption (negative value), award (positive value), or either.","$ref":"#/components/schemas/MovementDirection"},"offset":{"description":"Delay after the movement. Omitted means shortly after.","$ref":"#/components/schemas/AutomationTriggerOffset"},"type":{"enum":["Benefit:MovementApplied"],"type":"string","description":"Discriminator. Always `Benefit:MovementApplied` for this shape."}},"additionalProperties":false,"description":"A movement (redemption, award or either) on a benefit issued by a benefit template."},"AutomationEventSettings":{"type":"object","description":"Pass event to react to. Discriminated by `type`."},"AutomationBenefitTemplateSelection":{"required":["benefitTemplateId"],"type":"object","properties":{"benefitTemplateId":{"minLength":1,"type":"string","description":"Benefit template id. Not blank, not repeated in `benefitTemplates`."},"options":{"description":"Conditions for this template. Omitted falls back to the settings-level options.","$ref":"#/components/schemas/AutomationBenefitTemplateSelectionOptions"}},"additionalProperties":false,"description":"One watched benefit template."},"AutomationBenefitTemplateSelectionOptions":{"type":"object","properties":{"whenFullyRedeemed":{"type":"boolean","description":"Fire only when the movement brings the benefit's total value to zero. Defaults to `false`."}},"additionalProperties":false,"description":"Extra conditions on a watched benefit template."},"MovementDirection":{"enum":["redemption","award","any"],"type":"string","description":"Which movements on a benefit-template-issued benefit an Neo.Runtime.Scheduler.Configuration.BenefitRedeemedSettings trigger reacts to."},"AutomationTriggerOffset":{"required":["unit","value"],"type":"object","properties":{"value":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Number of units, not negative.","format":"int32"},"unit":{"description":"Unit of `value`.","$ref":"#/components/schemas/TriggerOffsetUnit"}},"additionalProperties":false,"description":"A duration in a chosen unit."},"TriggerOffsetUnit":{"enum":["minutes","hours","days","weeks"],"type":"string","description":"Unit of an offset."}}}}
```

## The AutomationBenefitTemplateSelection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationBenefitTemplateSelection":{"required":["benefitTemplateId"],"type":"object","properties":{"benefitTemplateId":{"minLength":1,"type":"string","description":"Benefit template id. Not blank, not repeated in `benefitTemplates`."},"options":{"description":"Conditions for this template. Omitted falls back to the settings-level options.","$ref":"#/components/schemas/AutomationBenefitTemplateSelectionOptions"}},"additionalProperties":false,"description":"One watched benefit template."},"AutomationBenefitTemplateSelectionOptions":{"type":"object","properties":{"whenFullyRedeemed":{"type":"boolean","description":"Fire only when the movement brings the benefit's total value to zero. Defaults to `false`."}},"additionalProperties":false,"description":"Extra conditions on a watched benefit template."}}}}
```

## The AutomationBenefitTemplateSelectionOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationBenefitTemplateSelectionOptions":{"type":"object","properties":{"whenFullyRedeemed":{"type":"boolean","description":"Fire only when the movement brings the benefit's total value to zero. Defaults to `false`."}},"additionalProperties":false,"description":"Extra conditions on a watched benefit template."}}}}
```

## The AutomationDateRelativeTrigger object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationDateRelativeTrigger":{"required":["direction","offset","referenceField","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationTrigger"}],"properties":{"referenceField":{"minLength":1,"type":"string","description":"Pass data field the moment is computed from, e.g. `birthDate`. Must be a `datetime` on at\nleast one pass template."},"direction":{"description":"Fires before or after the reference field.","$ref":"#/components/schemas/TriggerDirection"},"offset":{"description":"Distance from the reference field.","$ref":"#/components/schemas/AutomationTriggerOffset"},"pinnedTime":{"description":"Snaps the moment to this time of day in its timezone. Omitted keeps the computed time. Required when\n`repeatYearly` is set.","$ref":"#/components/schemas/AutomationPinnedTime"},"repeatYearly":{"type":"boolean","description":"Runs every year on the day and month of the reference field, ignoring its year, instead of once at the\nexact date. The day and month are those of the stored date as written, whatever its offset, so a birth\ndate stored as 2 January runs on 2 January. Requires `pinnedTime` and an offset in days or weeks, shorter than a year."},"alignTo":{"description":"Where the yearly run falls relative to that day. Omitted keeps the day itself. Only with\n`repeatYearly`.","$ref":"#/components/schemas/YearlyAlignment"},"weekday":{"description":"The weekday to move to. Required when `alignTo` is `weekday`, refused otherwise.","$ref":"#/components/schemas/Weekday"},"weekdaySide":{"description":"Whether to move back or forward to that weekday. Required when `alignTo` is `weekday`, refused otherwise.","$ref":"#/components/schemas/WeekdaySide"},"type":{"enum":["dateRelative"],"type":"string","description":"Discriminator. Always `dateRelative` for this shape."}},"additionalProperties":false,"description":"Fires per pass, relative to one of its date fields."},"AutomationTrigger":{"type":"object","properties":{"monitoringPeriod":{"oneOf":[{"description":"Runs until disabled or deleted.","$ref":"#/components/schemas/AutomationUntilStoppedMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilDateMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilBenefitTemplateEndMonitoringPeriod"},{"type":"null"}],"description":"When the automation stops; omitted means until disabled or deleted. Required on a continuous\n`fixedDate` trigger, refused on a snapshot one."}},"description":"When an automation fires. Discriminated by `type`."},"AutomationUntilStoppedMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"description":"When a trigger stops. Discriminated by `mode`.","$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilStopped"],"type":"string","description":"Discriminator. Always `untilStopped` for this shape."}},"additionalProperties":false,"description":"Runs until disabled or deleted."},"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."},"AutomationUntilDateMonitoringPeriod":{"required":["endDate","mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"endDate":{"type":"string","description":"When the automation stops. Must be in the future on create, and after `runAt` on a `fixedDate` trigger.","format":"date-time"},"mode":{"enum":["untilDate"],"type":"string","description":"Discriminator. Always `untilDate` for this shape."}},"additionalProperties":false,"description":"Stops at `endDate`."},"AutomationUntilBenefitTemplateEndMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilBenefitTemplateEnd"],"type":"string","description":"Discriminator. Always `untilBenefitTemplateEnd` for this shape."}},"additionalProperties":false,"description":"Stops when the benefit template's validity ends. Only for tasks with `settings.benefitTemplateId`\nwhose template has a fixed end date; else 400."},"TriggerDirection":{"enum":["before","after"],"type":"string","description":"Which side of its reference date a per-pass trigger fires on."},"AutomationTriggerOffset":{"required":["unit","value"],"type":"object","properties":{"value":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Number of units, not negative.","format":"int32"},"unit":{"description":"Unit of `value`.","$ref":"#/components/schemas/TriggerOffsetUnit"}},"additionalProperties":false,"description":"A duration in a chosen unit."},"TriggerOffsetUnit":{"enum":["minutes","hours","days","weeks"],"type":"string","description":"Unit of an offset."},"AutomationPinnedTime":{"required":["hour","timezone"],"type":"object","properties":{"hour":{"minLength":1,"type":"string","description":"Time of day as 24-hour `HH:mm`, e.g. `09:30`."},"timezone":{"minLength":1,"type":"string","description":"IANA timezone id, e.g. `Europe/Paris`."}},"additionalProperties":false,"description":"A wall-clock time in a timezone."},"YearlyAlignment":{"enum":["weekday","monthStart","monthEnd"],"type":"string","description":"Where a yearly run falls relative to the day and month of the reference field."},"Weekday":{"enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],"type":"string","description":"Day of the week."},"WeekdaySide":{"enum":["onOrBefore","onOrAfter"],"type":"string","description":"Which way a yearly run moves to reach its weekday."}}}}
```

## The AutomationEventSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationEventSettings":{"type":"object","description":"Pass event to react to. Discriminated by `type`."}}}}
```

## The AutomationEventTrigger object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationEventTrigger":{"required":["settings","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationTrigger"}],"properties":{"settings":{"oneOf":[{"description":"A pass is installed on a device.","$ref":"#/components/schemas/AutomationPassInstalledEventSettings"},{"$ref":"#/components/schemas/AutomationBenefitRedeemedEventSettings"},{"$ref":"#/components/schemas/AutomationMetadataChangedEventSettings"}],"description":"Event and its conditions."},"type":{"enum":["event"],"type":"string","description":"Discriminator. Always `event` for this shape."}},"additionalProperties":false,"description":"Fires per pass on a pass event."},"AutomationTrigger":{"type":"object","properties":{"monitoringPeriod":{"oneOf":[{"description":"Runs until disabled or deleted.","$ref":"#/components/schemas/AutomationUntilStoppedMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilDateMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilBenefitTemplateEndMonitoringPeriod"},{"type":"null"}],"description":"When the automation stops; omitted means until disabled or deleted. Required on a continuous\n`fixedDate` trigger, refused on a snapshot one."}},"description":"When an automation fires. Discriminated by `type`."},"AutomationUntilStoppedMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"description":"When a trigger stops. Discriminated by `mode`.","$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilStopped"],"type":"string","description":"Discriminator. Always `untilStopped` for this shape."}},"additionalProperties":false,"description":"Runs until disabled or deleted."},"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."},"AutomationUntilDateMonitoringPeriod":{"required":["endDate","mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"endDate":{"type":"string","description":"When the automation stops. Must be in the future on create, and after `runAt` on a `fixedDate` trigger.","format":"date-time"},"mode":{"enum":["untilDate"],"type":"string","description":"Discriminator. Always `untilDate` for this shape."}},"additionalProperties":false,"description":"Stops at `endDate`."},"AutomationUntilBenefitTemplateEndMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilBenefitTemplateEnd"],"type":"string","description":"Discriminator. Always `untilBenefitTemplateEnd` for this shape."}},"additionalProperties":false,"description":"Stops when the benefit template's validity ends. Only for tasks with `settings.benefitTemplateId`\nwhose template has a fixed end date; else 400."},"AutomationPassInstalledEventSettings":{"required":["condition","type"],"type":"object","allOf":[{"description":"Pass event to react to. Discriminated by `type`.","$ref":"#/components/schemas/AutomationEventSettings"}],"properties":{"condition":{"description":"First install only, or every install.","$ref":"#/components/schemas/PassInstalledCondition"},"offset":{"description":"Delay after the install. Omitted means shortly after.","$ref":"#/components/schemas/AutomationTriggerOffset"},"type":{"enum":["Pass:Installed"],"type":"string","description":"Discriminator. Always `Pass:Installed` for this shape."}},"additionalProperties":false,"description":"A pass is installed on a device."},"AutomationEventSettings":{"type":"object","description":"Pass event to react to. Discriminated by `type`."},"PassInstalledCondition":{"enum":["firstInstallationOnly","anyInstallation"],"type":"string","description":"Controls when a Neo.Runtime.Scheduler.Configuration.PassInstalledSettings trigger fires relative to installs."},"AutomationTriggerOffset":{"required":["unit","value"],"type":"object","properties":{"value":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Number of units, not negative.","format":"int32"},"unit":{"description":"Unit of `value`.","$ref":"#/components/schemas/TriggerOffsetUnit"}},"additionalProperties":false,"description":"A duration in a chosen unit."},"TriggerOffsetUnit":{"enum":["minutes","hours","days","weeks"],"type":"string","description":"Unit of an offset."},"AutomationBenefitRedeemedEventSettings":{"required":["direction","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationEventSettings"}],"properties":{"benefitTemplates":{"type":"array","items":{"description":"One watched benefit template.","$ref":"#/components/schemas/AutomationBenefitTemplateSelection"},"description":"Templates to watch. Empty or omitted means all."},"options":{"description":"Conditions for templates that declare none, and for all when `benefitTemplates` is empty.","$ref":"#/components/schemas/AutomationBenefitTemplateSelectionOptions"},"direction":{"description":"Redemption (negative value), award (positive value), or either.","$ref":"#/components/schemas/MovementDirection"},"offset":{"description":"Delay after the movement. Omitted means shortly after.","$ref":"#/components/schemas/AutomationTriggerOffset"},"type":{"enum":["Benefit:MovementApplied"],"type":"string","description":"Discriminator. Always `Benefit:MovementApplied` for this shape."}},"additionalProperties":false,"description":"A movement (redemption, award or either) on a benefit issued by a benefit template."},"AutomationBenefitTemplateSelection":{"required":["benefitTemplateId"],"type":"object","properties":{"benefitTemplateId":{"minLength":1,"type":"string","description":"Benefit template id. Not blank, not repeated in `benefitTemplates`."},"options":{"description":"Conditions for this template. Omitted falls back to the settings-level options.","$ref":"#/components/schemas/AutomationBenefitTemplateSelectionOptions"}},"additionalProperties":false,"description":"One watched benefit template."},"AutomationBenefitTemplateSelectionOptions":{"type":"object","properties":{"whenFullyRedeemed":{"type":"boolean","description":"Fire only when the movement brings the benefit's total value to zero. Defaults to `false`."}},"additionalProperties":false,"description":"Extra conditions on a watched benefit template."},"MovementDirection":{"enum":["redemption","award","any"],"type":"string","description":"Which movements on a benefit-template-issued benefit an Neo.Runtime.Scheduler.Configuration.BenefitRedeemedSettings trigger reacts to."},"AutomationMetadataChangedEventSettings":{"required":["key","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationEventSettings"}],"properties":{"key":{"minLength":1,"type":"string","description":"Metadata key to watch."},"offset":{"description":"Delay after the change. Omitted means the same update.","$ref":"#/components/schemas/AutomationTriggerOffset"},"type":{"enum":["Pass:MetadataChanged"],"type":"string","description":"Discriminator. Always `Pass:MetadataChanged` for this shape."}},"additionalProperties":false,"description":"A pass metadata key's value appears, changes or disappears."}}}}
```

## The AutomationFixedDateTrigger object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationFixedDateTrigger":{"required":["runAt","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationTrigger"}],"properties":{"runAt":{"type":"string","description":"When it fires. A new or changed value must be in the future.","format":"date-time"},"audienceEvaluationMode":{"description":"`snapshot` evaluates the audience once at `runAt`; `continuous` keeps applying to newly\n            matching passes while `monitoringPeriod` is open. Defaults to `snapshot`.","default":"snapshot","$ref":"#/components/schemas/AudienceEvaluationMode"},"type":{"enum":["fixedDate"],"type":"string","description":"Discriminator. Always `fixedDate` for this shape."}},"additionalProperties":false,"description":"Fires once, at an instant."},"AutomationTrigger":{"type":"object","properties":{"monitoringPeriod":{"oneOf":[{"description":"Runs until disabled or deleted.","$ref":"#/components/schemas/AutomationUntilStoppedMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilDateMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilBenefitTemplateEndMonitoringPeriod"},{"type":"null"}],"description":"When the automation stops; omitted means until disabled or deleted. Required on a continuous\n`fixedDate` trigger, refused on a snapshot one."}},"description":"When an automation fires. Discriminated by `type`."},"AutomationUntilStoppedMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"description":"When a trigger stops. Discriminated by `mode`.","$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilStopped"],"type":"string","description":"Discriminator. Always `untilStopped` for this shape."}},"additionalProperties":false,"description":"Runs until disabled or deleted."},"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."},"AutomationUntilDateMonitoringPeriod":{"required":["endDate","mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"endDate":{"type":"string","description":"When the automation stops. Must be in the future on create, and after `runAt` on a `fixedDate` trigger.","format":"date-time"},"mode":{"enum":["untilDate"],"type":"string","description":"Discriminator. Always `untilDate` for this shape."}},"additionalProperties":false,"description":"Stops at `endDate`."},"AutomationUntilBenefitTemplateEndMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilBenefitTemplateEnd"],"type":"string","description":"Discriminator. Always `untilBenefitTemplateEnd` for this shape."}},"additionalProperties":false,"description":"Stops when the benefit template's validity ends. Only for tasks with `settings.benefitTemplateId`\nwhose template has a fixed end date; else 400."},"AudienceEvaluationMode":{"enum":["snapshot","continuous"],"type":"string","description":"Whether a Neo.Runtime.Scheduler.Configuration.FixedDateTrigger acts only on the passes matching at Neo.Runtime.Scheduler.Configuration.FixedDateTrigger.RunAt,\nor also on passes that come to match later."}}}}
```

## The AutomationMetadataChangedEventSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationMetadataChangedEventSettings":{"required":["key","type"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationEventSettings"}],"properties":{"key":{"minLength":1,"type":"string","description":"Metadata key to watch."},"offset":{"description":"Delay after the change. Omitted means the same update.","$ref":"#/components/schemas/AutomationTriggerOffset"},"type":{"enum":["Pass:MetadataChanged"],"type":"string","description":"Discriminator. Always `Pass:MetadataChanged` for this shape."}},"additionalProperties":false,"description":"A pass metadata key's value appears, changes or disappears."},"AutomationEventSettings":{"type":"object","description":"Pass event to react to. Discriminated by `type`."},"AutomationTriggerOffset":{"required":["unit","value"],"type":"object","properties":{"value":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Number of units, not negative.","format":"int32"},"unit":{"description":"Unit of `value`.","$ref":"#/components/schemas/TriggerOffsetUnit"}},"additionalProperties":false,"description":"A duration in a chosen unit."},"TriggerOffsetUnit":{"enum":["minutes","hours","days","weeks"],"type":"string","description":"Unit of an offset."}}}}
```

## The AutomationMonitoringPeriod object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."}}}}
```

## The AutomationPassInstalledEventSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationPassInstalledEventSettings":{"required":["condition","type"],"type":"object","allOf":[{"description":"Pass event to react to. Discriminated by `type`.","$ref":"#/components/schemas/AutomationEventSettings"}],"properties":{"condition":{"description":"First install only, or every install.","$ref":"#/components/schemas/PassInstalledCondition"},"offset":{"description":"Delay after the install. Omitted means shortly after.","$ref":"#/components/schemas/AutomationTriggerOffset"},"type":{"enum":["Pass:Installed"],"type":"string","description":"Discriminator. Always `Pass:Installed` for this shape."}},"additionalProperties":false,"description":"A pass is installed on a device."},"AutomationEventSettings":{"type":"object","description":"Pass event to react to. Discriminated by `type`."},"PassInstalledCondition":{"enum":["firstInstallationOnly","anyInstallation"],"type":"string","description":"Controls when a Neo.Runtime.Scheduler.Configuration.PassInstalledSettings trigger fires relative to installs."},"AutomationTriggerOffset":{"required":["unit","value"],"type":"object","properties":{"value":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Number of units, not negative.","format":"int32"},"unit":{"description":"Unit of `value`.","$ref":"#/components/schemas/TriggerOffsetUnit"}},"additionalProperties":false,"description":"A duration in a chosen unit."},"TriggerOffsetUnit":{"enum":["minutes","hours","days","weeks"],"type":"string","description":"Unit of an offset."}}}}
```

## The AutomationPinnedTime object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationPinnedTime":{"required":["hour","timezone"],"type":"object","properties":{"hour":{"minLength":1,"type":"string","description":"Time of day as 24-hour `HH:mm`, e.g. `09:30`."},"timezone":{"minLength":1,"type":"string","description":"IANA timezone id, e.g. `Europe/Paris`."}},"additionalProperties":false,"description":"A wall-clock time in a timezone."}}}}
```

## The AutomationRecurrenceTrigger object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationRecurrenceTrigger":{"required":["scheduleExpression","type"],"type":"object","allOf":[{"description":"When an automation fires. Discriminated by `type`.","$ref":"#/components/schemas/AutomationTrigger"}],"properties":{"scheduleExpression":{"minLength":1,"type":"string","description":"Six-field cron expression (seconds first) in UTC, e.g. `0 0 9 * * *` for daily 09:00. An optional\ntrailing year limits it to that year. A new or changed expression with occurrences under five minutes\napart is refused."},"type":{"enum":["recurrence"],"type":"string","description":"Discriminator. Always `recurrence` for this shape."}},"additionalProperties":false,"description":"Fires on a cron schedule."},"AutomationTrigger":{"type":"object","properties":{"monitoringPeriod":{"oneOf":[{"description":"Runs until disabled or deleted.","$ref":"#/components/schemas/AutomationUntilStoppedMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilDateMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilBenefitTemplateEndMonitoringPeriod"},{"type":"null"}],"description":"When the automation stops; omitted means until disabled or deleted. Required on a continuous\n`fixedDate` trigger, refused on a snapshot one."}},"description":"When an automation fires. Discriminated by `type`."},"AutomationUntilStoppedMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"description":"When a trigger stops. Discriminated by `mode`.","$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilStopped"],"type":"string","description":"Discriminator. Always `untilStopped` for this shape."}},"additionalProperties":false,"description":"Runs until disabled or deleted."},"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."},"AutomationUntilDateMonitoringPeriod":{"required":["endDate","mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"endDate":{"type":"string","description":"When the automation stops. Must be in the future on create, and after `runAt` on a `fixedDate` trigger.","format":"date-time"},"mode":{"enum":["untilDate"],"type":"string","description":"Discriminator. Always `untilDate` for this shape."}},"additionalProperties":false,"description":"Stops at `endDate`."},"AutomationUntilBenefitTemplateEndMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilBenefitTemplateEnd"],"type":"string","description":"Discriminator. Always `untilBenefitTemplateEnd` for this shape."}},"additionalProperties":false,"description":"Stops when the benefit template's validity ends. Only for tasks with `settings.benefitTemplateId`\nwhose template has a fixed end date; else 400."}}}}
```

## The AutomationSortModel object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationSortModel":{"type":"object","properties":{"field":{"type":"string","description":"`startDate`, `taskId`, `taskType`, `duration` or `retryIndex`, case-sensitive; else 400."},"direction":{"description":"`ASC` or `DESC`.","$ref":"#/components/schemas/AutomationSortModelDirection"}},"additionalProperties":false,"description":"One sort key, passed as `sortBy[i].field` and `sortBy[i].direction`. Keys apply in order; ties break by execution id, descending."},"AutomationSortModelDirection":{"enum":[0,1],"type":"integer","description":"Sort direction of one sort key.","format":"int32"}}}}
```

## The AutomationSortModelDirection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationSortModelDirection":{"enum":[0,1],"type":"integer","description":"Sort direction of one sort key.","format":"int32"}}}}
```

## The AutomationTrigger object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationTrigger":{"type":"object","properties":{"monitoringPeriod":{"oneOf":[{"description":"Runs until disabled or deleted.","$ref":"#/components/schemas/AutomationUntilStoppedMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilDateMonitoringPeriod"},{"$ref":"#/components/schemas/AutomationUntilBenefitTemplateEndMonitoringPeriod"},{"type":"null"}],"description":"When the automation stops; omitted means until disabled or deleted. Required on a continuous\n`fixedDate` trigger, refused on a snapshot one."}},"description":"When an automation fires. Discriminated by `type`."},"AutomationUntilStoppedMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"description":"When a trigger stops. Discriminated by `mode`.","$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilStopped"],"type":"string","description":"Discriminator. Always `untilStopped` for this shape."}},"additionalProperties":false,"description":"Runs until disabled or deleted."},"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."},"AutomationUntilDateMonitoringPeriod":{"required":["endDate","mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"endDate":{"type":"string","description":"When the automation stops. Must be in the future on create, and after `runAt` on a `fixedDate` trigger.","format":"date-time"},"mode":{"enum":["untilDate"],"type":"string","description":"Discriminator. Always `untilDate` for this shape."}},"additionalProperties":false,"description":"Stops at `endDate`."},"AutomationUntilBenefitTemplateEndMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilBenefitTemplateEnd"],"type":"string","description":"Discriminator. Always `untilBenefitTemplateEnd` for this shape."}},"additionalProperties":false,"description":"Stops when the benefit template's validity ends. Only for tasks with `settings.benefitTemplateId`\nwhose template has a fixed end date; else 400."}}}}
```

## The AutomationTriggerOffset object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationTriggerOffset":{"required":["unit","value"],"type":"object","properties":{"value":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Number of units, not negative.","format":"int32"},"unit":{"description":"Unit of `value`.","$ref":"#/components/schemas/TriggerOffsetUnit"}},"additionalProperties":false,"description":"A duration in a chosen unit."},"TriggerOffsetUnit":{"enum":["minutes","hours","days","weeks"],"type":"string","description":"Unit of an offset."}}}}
```

## The AutomationUntilBenefitTemplateEndMonitoringPeriod object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationUntilBenefitTemplateEndMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilBenefitTemplateEnd"],"type":"string","description":"Discriminator. Always `untilBenefitTemplateEnd` for this shape."}},"additionalProperties":false,"description":"Stops when the benefit template's validity ends. Only for tasks with `settings.benefitTemplateId`\nwhose template has a fixed end date; else 400."},"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."}}}}
```

## The AutomationUntilDateMonitoringPeriod object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationUntilDateMonitoringPeriod":{"required":["endDate","mode"],"type":"object","allOf":[{"$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"endDate":{"type":"string","description":"When the automation stops. Must be in the future on create, and after `runAt` on a `fixedDate` trigger.","format":"date-time"},"mode":{"enum":["untilDate"],"type":"string","description":"Discriminator. Always `untilDate` for this shape."}},"additionalProperties":false,"description":"Stops at `endDate`."},"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."}}}}
```

## The AutomationUntilStoppedMonitoringPeriod object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"AutomationUntilStoppedMonitoringPeriod":{"required":["mode"],"type":"object","allOf":[{"description":"When a trigger stops. Discriminated by `mode`.","$ref":"#/components/schemas/AutomationMonitoringPeriod"}],"properties":{"mode":{"enum":["untilStopped"],"type":"string","description":"Discriminator. Always `untilStopped` for this shape."}},"additionalProperties":false,"description":"Runs until disabled or deleted."},"AutomationMonitoringPeriod":{"type":"object","description":"When a trigger stops. Discriminated by `mode`."}}}}
```

## The BarcodeType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BarcodeType":{"enum":["PDF417","UPCA","UPCE","CODE39","CODE93","CODE128","ITF14","EAN13","EAN8","QRCODE"],"type":"string","description":"Barcode symbology; matched case-insensitively in the URL."}}}}
```

## The Benefit object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Benefit":{"required":["benefitId"],"type":"object","allOf":[{"description":"A benefit as read back.","$ref":"#/components/schemas/BenefitBase"}],"properties":{"benefitId":{"type":"string","description":"Benefit id, unique within the tenant."},"passId":{"type":["null","string"],"description":"Id of the pass that holds the benefit."},"passType":{"type":["null","string"],"description":"Pass template of the linked standalone wallet pass; null if none, or without `tenant.pass:read`."},"linkedPassId":{"type":["null","string"],"description":"Id of the linked wallet pass; null until it is created."}},"additionalProperties":false,"description":"A stored benefit with its unique id."},"BenefitBase":{"required":["category","status","type"],"type":"object","properties":{"priority":{"type":["null","integer"],"description":"Rank among the pass's benefits: higher first, none last. Orders lists and wallet back fields, and picks whose main image becomes the pass artwork.","format":"int32"},"origin":{"description":"Where the benefit came from: a benefit template (`generator``benefitTemplate`, `processId` the template id) or an integration. Omitted without `tenant.pass:read`.","$ref":"#/components/schemas/BenefitOrigin"},"type":{"description":"How the benefit is consumed: `oneTime` once, `multiUse` counts down uses, `unlimited` is never used up.","$ref":"#/components/schemas/BenefitType"},"category":{"description":"What the benefit gives the holder; `other` when stored without one.","$ref":"#/components/schemas/BenefitCategory"},"tags":{"type":"array","items":{"type":"string"},"description":"Labels for segmenting and reporting, never shown to the holder; omitted without `tenant.pass:read`."},"content":{"description":"Title and description the holder reads.","$ref":"#/components/schemas/BenefitContent"},"appearance":{"description":"Images, at most one per slot. With `tenant.pass:read`, a benefit template image is returned as its image path (the value to send back on write); otherwise as a loadable URL.","$ref":"#/components/schemas/BenefitAppearance"},"links":{"type":["null","object"],"properties":{"legalInformation":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"callToAction":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"termsAndConditions":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"privacyPolicy":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"howToUse":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"website":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"other":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"}},"additionalProperties":false,"description":"Links shown on the benefits page, keyed by purpose."},"data":{"description":"Balance, movement history and provider payload.","$ref":"#/components/schemas/BenefitData"},"activationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit becomes redeemable; null means immediately. Before it, status is `scheduled` and redemption is refused. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deactivationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When redemption stops; null means never. Afterwards status is `expired` until the deletion date. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deletionDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit leaves the pass; null means never, and without `tenant.pass:read`. Until then it counts towards the 20 benefits a pass can carry, even if no longer redeemable. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"behavior":{"description":"Allowance of a `multiUse` benefit and where the benefit is surfaced.","$ref":"#/components/schemas/BenefitBehavior"},"code":{"description":"Code staff scan or type to redeem the benefit, with its rendering; null when none.","$ref":"#/components/schemas/BenefitCode"},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit was issued; server-set, ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit last changed (update, movement, template refresh); server-set, null without `tenant.pass:read`. Editing a template does not move it unless the edit refreshes issued benefits. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"status":{"description":"Current state, derived from dates and balance. `active` means a movement would be accepted.","$ref":"#/components/schemas/BenefitStatus"}},"additionalProperties":false,"description":"A benefit as read back."},"BenefitOrigin":{"type":"object","properties":{"externalId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"External id, unique within the tenant. On POST, upserts on it first (before `processId`): updates the existing benefit, or 409 if it belongs to another pass. Kept by later writes that omit it. At most 100 characters."},"generator":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Name of the upstream system, e.g. `crm`; `benefitTemplate` marks a benefit issued from a template. Informative only. At most 100 characters."},"processId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Id of the upstream process or batch job (e.g. `campaign3`). On POST without `externalId`, upserts on (pass, processId); need not be unique across passes. A pass template reads the benefit as `benefits.{processId}`, each run of characters other than letters, digits and `_` becoming one `_`. At most 100 characters."}},"additionalProperties":false,"description":"Where a benefit comes from in an external system, for idempotency and traceability."},"BenefitType":{"enum":["oneTime","unlimited","multiUse"],"type":"string","description":"How a benefit is consumed, which decides what its movements mean and when it is used up."},"BenefitCategory":{"enum":["other","discount","freeProduct","service","access","giftCard"],"type":"string","description":"What a benefit gives the holder, used to group and label it on the benefits page and in reports."},"BenefitContent":{"type":"object","properties":{"title":{"description":"Name the holder sees (\"Untitled benefit\" when absent). At most 200 characters per language.","$ref":"#/components/schemas/LocalizedString"},"description":{"description":"What the benefit gives and how to use it; shown on the benefits page and, when the behavior asks, on the back of the wallet pass. At most 2000 characters per language.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Holder-facing texts of a benefit."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."},"BenefitAppearance":{"type":"object","properties":{"images":{"type":"array","items":{"description":"A benefit image and its slot.","$ref":"#/components/schemas/BenefitImage"},"description":"Images, at most one per slot."}},"additionalProperties":false,"description":"Images of a benefit, at most one per slot."},"BenefitImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual (and the pass artwork when the behavior asks), `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"Localized image URL: a benefit template image path, or the absolute URL given by an integration.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"A benefit image and its slot."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"BenefitLink":{"required":["link"],"type":"object","properties":{"title":{"description":"Button label on the benefits page. At most 100 characters per language.","$ref":"#/components/schemas/LocalizedString"},"link":{"type":"string","description":"Absolute `https` URI the button opens; any other scheme is refused with 400.","format":"uri"}},"additionalProperties":false,"description":"A link with a localized title and a target URI."},"BenefitData":{"type":"object","properties":{"value":{"type":["null","number"],"description":"Uses left: the sum of all movements. A `oneTime` or `multiUse` benefit at 0 or below is `used`; for `unlimited`, a tally of what was taken. Computed on read, ignored on write.","format":"double"},"movements":{"type":"array","items":{"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server.","$ref":"#/components/schemas/BenefitMovement"},"description":"Every change to the balance, oldest first; append-only. On write, accepted only while the benefit has no movement, to open it with a non-default balance (a `oneTime` benefit takes exactly one movement of 1). POST assigns new movement ids; PUT keeps the caller's."},"content":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Free text returned as sent, read by a pass template as `benefits.{processId}.data.content` (e.g. a discount rate). Omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"Balance, movements and provider payload of a benefit."},"BenefitMovement":{"required":["date","movementId","value"],"type":"object","properties":{"movementId":{"type":"string","description":"Movement id, unique within the benefit; replaced on POST."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it happened; stored as sent, so an integration can replay its history. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"number","description":"Change to the balance: positive credits, negative redeems.","format":"double"},"remarks":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Note about the movement, e.g. a till receipt number; never shown to the holder, omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server."},"BenefitBehavior":{"type":"object","properties":{"target":{"type":["null","number"],"description":"Uses a `multiUse` benefit started with (the 5 in \"3 of 5 left\", where 3 is `data.value`); null when there is no allowance.","format":"double"},"mode":{"type":"array","items":{"description":"Where a benefit is shown and what each surface does with it.","$ref":"#/components/schemas/BenefitBehaviorMode"},"description":"Where the benefit is surfaced and what each surface does with it; set from the template at issue, empty without `tenant.pass:read`."}},"additionalProperties":false,"description":"Behavior settings of a benefit."},"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."},"BenefitCode":{"type":"object","properties":{"value":{"type":["null","string"],"description":"The code itself, as encoded in the barcode and shown under it."},"format":{"description":"How the code is rendered: a barcode symbology, or `raw` for text only. `ean13` needs 12 or 13 digits.","$ref":"#/components/schemas/BenefitCodeFormat"}},"additionalProperties":false,"description":"Barcode or reference code with its display format."},"BenefitCodeFormat":{"enum":["ean13","code128","qrCode","pdf417","aztec","dataMatrix","code39","raw"],"type":"string","description":"How a benefit's code is rendered to the holder, and so what the till or the Pass Scanner scans."},"BenefitStatus":{"enum":["scheduled","active","used","expired","removed"],"type":"string","description":"What a benefit is doing right now, in the terms an operator answers the holder in."}}}}
```

## The BenefitAppearance object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitAppearance":{"type":"object","properties":{"images":{"type":"array","items":{"description":"A benefit image and its slot.","$ref":"#/components/schemas/BenefitImage"},"description":"Images, at most one per slot."}},"additionalProperties":false,"description":"Images of a benefit, at most one per slot."},"BenefitImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual (and the pass artwork when the behavior asks), `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"Localized image URL: a benefit template image path, or the absolute URL given by an integration.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"A benefit image and its slot."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."}}}}
```

## The BenefitAppearanceRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitAppearanceRequest":{"type":"object","properties":{"images":{"type":"array","items":{"description":"A benefit image and its slot.","$ref":"#/components/schemas/BenefitImage"},"description":"Images, at most one per slot. Each URL is a web address, or a benefit template image path exactly as a read with `tenant.pass:read` returns it."},"mainImageUrl":{"description":"Deprecated: use `images`. The main image.","$ref":"#/components/schemas/LocalizedString"},"thumbnailUrl":{"description":"Deprecated: use `images`. The thumbnail image.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Images of an incoming benefit. `mainImageUrl` and `thumbnailUrl` are deprecated single-slot fields folded into `images`; an explicit `images` entry wins for the same slot."},"BenefitImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual (and the pass artwork when the behavior asks), `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"Localized image URL: a benefit template image path, or the absolute URL given by an integration.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"A benefit image and its slot."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."}}}}
```

## The BenefitBase object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitBase":{"required":["category","status","type"],"type":"object","properties":{"priority":{"type":["null","integer"],"description":"Rank among the pass's benefits: higher first, none last. Orders lists and wallet back fields, and picks whose main image becomes the pass artwork.","format":"int32"},"origin":{"description":"Where the benefit came from: a benefit template (`generator``benefitTemplate`, `processId` the template id) or an integration. Omitted without `tenant.pass:read`.","$ref":"#/components/schemas/BenefitOrigin"},"type":{"description":"How the benefit is consumed: `oneTime` once, `multiUse` counts down uses, `unlimited` is never used up.","$ref":"#/components/schemas/BenefitType"},"category":{"description":"What the benefit gives the holder; `other` when stored without one.","$ref":"#/components/schemas/BenefitCategory"},"tags":{"type":"array","items":{"type":"string"},"description":"Labels for segmenting and reporting, never shown to the holder; omitted without `tenant.pass:read`."},"content":{"description":"Title and description the holder reads.","$ref":"#/components/schemas/BenefitContent"},"appearance":{"description":"Images, at most one per slot. With `tenant.pass:read`, a benefit template image is returned as its image path (the value to send back on write); otherwise as a loadable URL.","$ref":"#/components/schemas/BenefitAppearance"},"links":{"type":["null","object"],"properties":{"legalInformation":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"callToAction":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"termsAndConditions":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"privacyPolicy":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"howToUse":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"website":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"other":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"}},"additionalProperties":false,"description":"Links shown on the benefits page, keyed by purpose."},"data":{"description":"Balance, movement history and provider payload.","$ref":"#/components/schemas/BenefitData"},"activationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit becomes redeemable; null means immediately. Before it, status is `scheduled` and redemption is refused. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deactivationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When redemption stops; null means never. Afterwards status is `expired` until the deletion date. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deletionDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit leaves the pass; null means never, and without `tenant.pass:read`. Until then it counts towards the 20 benefits a pass can carry, even if no longer redeemable. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"behavior":{"description":"Allowance of a `multiUse` benefit and where the benefit is surfaced.","$ref":"#/components/schemas/BenefitBehavior"},"code":{"description":"Code staff scan or type to redeem the benefit, with its rendering; null when none.","$ref":"#/components/schemas/BenefitCode"},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit was issued; server-set, ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit last changed (update, movement, template refresh); server-set, null without `tenant.pass:read`. Editing a template does not move it unless the edit refreshes issued benefits. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"status":{"description":"Current state, derived from dates and balance. `active` means a movement would be accepted.","$ref":"#/components/schemas/BenefitStatus"}},"additionalProperties":false,"description":"A benefit as read back."},"BenefitOrigin":{"type":"object","properties":{"externalId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"External id, unique within the tenant. On POST, upserts on it first (before `processId`): updates the existing benefit, or 409 if it belongs to another pass. Kept by later writes that omit it. At most 100 characters."},"generator":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Name of the upstream system, e.g. `crm`; `benefitTemplate` marks a benefit issued from a template. Informative only. At most 100 characters."},"processId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Id of the upstream process or batch job (e.g. `campaign3`). On POST without `externalId`, upserts on (pass, processId); need not be unique across passes. A pass template reads the benefit as `benefits.{processId}`, each run of characters other than letters, digits and `_` becoming one `_`. At most 100 characters."}},"additionalProperties":false,"description":"Where a benefit comes from in an external system, for idempotency and traceability."},"BenefitType":{"enum":["oneTime","unlimited","multiUse"],"type":"string","description":"How a benefit is consumed, which decides what its movements mean and when it is used up."},"BenefitCategory":{"enum":["other","discount","freeProduct","service","access","giftCard"],"type":"string","description":"What a benefit gives the holder, used to group and label it on the benefits page and in reports."},"BenefitContent":{"type":"object","properties":{"title":{"description":"Name the holder sees (\"Untitled benefit\" when absent). At most 200 characters per language.","$ref":"#/components/schemas/LocalizedString"},"description":{"description":"What the benefit gives and how to use it; shown on the benefits page and, when the behavior asks, on the back of the wallet pass. At most 2000 characters per language.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Holder-facing texts of a benefit."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."},"BenefitAppearance":{"type":"object","properties":{"images":{"type":"array","items":{"description":"A benefit image and its slot.","$ref":"#/components/schemas/BenefitImage"},"description":"Images, at most one per slot."}},"additionalProperties":false,"description":"Images of a benefit, at most one per slot."},"BenefitImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual (and the pass artwork when the behavior asks), `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"Localized image URL: a benefit template image path, or the absolute URL given by an integration.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"A benefit image and its slot."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"BenefitLink":{"required":["link"],"type":"object","properties":{"title":{"description":"Button label on the benefits page. At most 100 characters per language.","$ref":"#/components/schemas/LocalizedString"},"link":{"type":"string","description":"Absolute `https` URI the button opens; any other scheme is refused with 400.","format":"uri"}},"additionalProperties":false,"description":"A link with a localized title and a target URI."},"BenefitData":{"type":"object","properties":{"value":{"type":["null","number"],"description":"Uses left: the sum of all movements. A `oneTime` or `multiUse` benefit at 0 or below is `used`; for `unlimited`, a tally of what was taken. Computed on read, ignored on write.","format":"double"},"movements":{"type":"array","items":{"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server.","$ref":"#/components/schemas/BenefitMovement"},"description":"Every change to the balance, oldest first; append-only. On write, accepted only while the benefit has no movement, to open it with a non-default balance (a `oneTime` benefit takes exactly one movement of 1). POST assigns new movement ids; PUT keeps the caller's."},"content":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Free text returned as sent, read by a pass template as `benefits.{processId}.data.content` (e.g. a discount rate). Omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"Balance, movements and provider payload of a benefit."},"BenefitMovement":{"required":["date","movementId","value"],"type":"object","properties":{"movementId":{"type":"string","description":"Movement id, unique within the benefit; replaced on POST."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it happened; stored as sent, so an integration can replay its history. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"number","description":"Change to the balance: positive credits, negative redeems.","format":"double"},"remarks":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Note about the movement, e.g. a till receipt number; never shown to the holder, omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server."},"BenefitBehavior":{"type":"object","properties":{"target":{"type":["null","number"],"description":"Uses a `multiUse` benefit started with (the 5 in \"3 of 5 left\", where 3 is `data.value`); null when there is no allowance.","format":"double"},"mode":{"type":"array","items":{"description":"Where a benefit is shown and what each surface does with it.","$ref":"#/components/schemas/BenefitBehaviorMode"},"description":"Where the benefit is surfaced and what each surface does with it; set from the template at issue, empty without `tenant.pass:read`."}},"additionalProperties":false,"description":"Behavior settings of a benefit."},"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."},"BenefitCode":{"type":"object","properties":{"value":{"type":["null","string"],"description":"The code itself, as encoded in the barcode and shown under it."},"format":{"description":"How the code is rendered: a barcode symbology, or `raw` for text only. `ean13` needs 12 or 13 digits.","$ref":"#/components/schemas/BenefitCodeFormat"}},"additionalProperties":false,"description":"Barcode or reference code with its display format."},"BenefitCodeFormat":{"enum":["ean13","code128","qrCode","pdf417","aztec","dataMatrix","code39","raw"],"type":"string","description":"How a benefit's code is rendered to the holder, and so what the till or the Pass Scanner scans."},"BenefitStatus":{"enum":["scheduled","active","used","expired","removed"],"type":"string","description":"What a benefit is doing right now, in the terms an operator answers the holder in."}}}}
```

## The BenefitBehavior object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitBehavior":{"type":"object","properties":{"target":{"type":["null","number"],"description":"Uses a `multiUse` benefit started with (the 5 in \"3 of 5 left\", where 3 is `data.value`); null when there is no allowance.","format":"double"},"mode":{"type":"array","items":{"description":"Where a benefit is shown and what each surface does with it.","$ref":"#/components/schemas/BenefitBehaviorMode"},"description":"Where the benefit is surfaced and what each surface does with it; set from the template at issue, empty without `tenant.pass:read`."}},"additionalProperties":false,"description":"Behavior settings of a benefit."},"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."}}}}
```

## The BenefitBehaviorMode object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."}}}}
```

## The BenefitBehaviorRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitBehaviorRequest":{"type":"object","properties":{"target":{"type":["null","number"],"description":"Uses a `multiUse` benefit starts with: seeds the balance of a benefit created without movements and caps what a later credit can give back.","format":"double"},"mode":{"type":["null","array"],"items":{"description":"Where a benefit is shown and what each surface does with it.","$ref":"#/components/schemas/BenefitBehaviorMode"},"description":"Where the benefit is surfaced and what each surface does with it; omit for the default."},"autoRedeem":{"type":["null","boolean"],"description":"Deprecated: include `redeemOnScan` in `mode` instead."}},"additionalProperties":false,"description":"Behavior of an incoming benefit. Replaces the behavior as a whole: without `mode`, the default surfaces apply (listed everywhere, image on the pass, description on the back), not the previous ones; an empty array means none."},"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."}}}}
```

## The BenefitCategory object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitCategory":{"enum":["other","discount","freeProduct","service","access","giftCard"],"type":"string","description":"What a benefit gives the holder, used to group and label it on the benefits page and in reports."}}}}
```

## The BenefitCode object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitCode":{"type":"object","properties":{"value":{"type":["null","string"],"description":"The code itself, as encoded in the barcode and shown under it."},"format":{"description":"How the code is rendered: a barcode symbology, or `raw` for text only. `ean13` needs 12 or 13 digits.","$ref":"#/components/schemas/BenefitCodeFormat"}},"additionalProperties":false,"description":"Barcode or reference code with its display format."},"BenefitCodeFormat":{"enum":["ean13","code128","qrCode","pdf417","aztec","dataMatrix","code39","raw"],"type":"string","description":"How a benefit's code is rendered to the holder, and so what the till or the Pass Scanner scans."}}}}
```

## The BenefitCodeFormat object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitCodeFormat":{"enum":["ean13","code128","qrCode","pdf417","aztec","dataMatrix","code39","raw"],"type":"string","description":"How a benefit's code is rendered to the holder, and so what the till or the Pass Scanner scans."}}}}
```

## The BenefitContent object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitContent":{"type":"object","properties":{"title":{"description":"Name the holder sees (\"Untitled benefit\" when absent). At most 200 characters per language.","$ref":"#/components/schemas/LocalizedString"},"description":{"description":"What the benefit gives and how to use it; shown on the benefits page and, when the behavior asks, on the back of the wallet pass. At most 2000 characters per language.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Holder-facing texts of a benefit."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."}}}}
```

## The BenefitData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitData":{"type":"object","properties":{"value":{"type":["null","number"],"description":"Uses left: the sum of all movements. A `oneTime` or `multiUse` benefit at 0 or below is `used`; for `unlimited`, a tally of what was taken. Computed on read, ignored on write.","format":"double"},"movements":{"type":"array","items":{"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server.","$ref":"#/components/schemas/BenefitMovement"},"description":"Every change to the balance, oldest first; append-only. On write, accepted only while the benefit has no movement, to open it with a non-default balance (a `oneTime` benefit takes exactly one movement of 1). POST assigns new movement ids; PUT keeps the caller's."},"content":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Free text returned as sent, read by a pass template as `benefits.{processId}.data.content` (e.g. a discount rate). Omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"Balance, movements and provider payload of a benefit."},"BenefitMovement":{"required":["date","movementId","value"],"type":"object","properties":{"movementId":{"type":"string","description":"Movement id, unique within the benefit; replaced on POST."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it happened; stored as sent, so an integration can replay its history. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"number","description":"Change to the balance: positive credits, negative redeems.","format":"double"},"remarks":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Note about the movement, e.g. a till receipt number; never shown to the holder, omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server."}}}}
```

## The BenefitExportTokenResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitExportTokenResponse":{"type":"object","properties":{"downloadUrl":{"type":"string","description":"Absolute URL of `GET /benefits/export/download`, valid 30 minutes. It carries its own credential: keep it private."}},"additionalProperties":false,"description":"Export download link."}}}}
```

## The BenefitImage object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual (and the pass artwork when the behavior asks), `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"Localized image URL: a benefit template image path, or the absolute URL given by an integration.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"A benefit image and its slot."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."}}}}
```

## The BenefitImageSlot object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."}}}}
```

## The BenefitLink object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitLink":{"required":["link"],"type":"object","properties":{"title":{"description":"Button label on the benefits page. At most 100 characters per language.","$ref":"#/components/schemas/LocalizedString"},"link":{"type":"string","description":"Absolute `https` URI the button opens; any other scheme is refused with 400.","format":"uri"}},"additionalProperties":false,"description":"A link with a localized title and a target URI."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."}}}}
```

## The BenefitListCardTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitListCardTranslations":{"type":"object","properties":{"showCode":{"type":["null","string"],"description":"Label of the action revealing the redemption code."},"seeDetails":{"type":["null","string"],"description":"Label of the action opening the benefit's details."},"hide":{"type":["null","string"],"description":"Label of the action closing the opened card."},"used":{"type":["null","string"],"description":"Badge on a benefit that has been used up."},"expired":{"type":["null","string"],"description":"Badge on a benefit whose validity has passed."},"remaining":{"type":["null","string"],"description":"Remaining allowance, for two or more. Carries `{value}` and `{target}` placeholders."},"remaining_one":{"type":["null","string"],"description":"Remaining allowance, for exactly one."},"remainingLabel":{"type":["null","string"],"description":"Screen-reader wording of the remaining allowance."},"progress":{"type":["null","string"],"description":"Progress towards a reward. Carries `{value}` and `{target}` placeholders."},"progressLabel":{"type":["null","string"],"description":"Screen-reader wording of the progress."},"history":{"type":["null","string"],"description":"Heading above the list of past redemptions."},"usedOn":{"type":["null","string"],"description":"One redemption in that list. Carries a `{date}` placeholder."},"legal":{"type":["null","string"],"description":"Label of the link to the benefit's terms."},"dateRange":{"type":["null","string"],"description":"Validity of a benefit that both starts and ends. Carries `{from}` and `{to}` placeholders."},"dateUntil":{"type":["null","string"],"description":"Validity of a benefit that only ends. Carries a `{to}` placeholder."},"dateFrom":{"type":["null","string"],"description":"Validity of a benefit that only starts. Carries a `{from}` placeholder."},"dateOn":{"type":["null","string"],"description":"Validity of a benefit good for a single day. Carries a `{from}` placeholder."}},"additionalProperties":false,"description":"Strings on the card of one benefit on a `benefitList` page."}}}}
```

## The BenefitListCodeTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitListCodeTranslations":{"type":"object","properties":{"label":{"type":["null","string"],"description":"Instruction above the code."},"howTo":{"type":["null","string"],"description":"Explanation of how the code is redeemed."}},"additionalProperties":false,"description":"Strings around the redemption code of a benefit."}}}}
```

## The BenefitListEmptyTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitListEmptyTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the empty state."},"content":{"type":["null","string"],"description":"Text under the empty-state headline."}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page when the pass carries no benefit."}}}}
```

## The BenefitListLayoutTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. Hidden entirely when empty."},"sections":{"description":"Headings of the three groups benefits are listed in.","$ref":"#/components/schemas/BenefitListSectionsTranslations"},"card":{"description":"Strings on the card of one benefit.","$ref":"#/components/schemas/BenefitListCardTranslations"},"code":{"description":"Strings around the code the holder shows to redeem a benefit.","$ref":"#/components/schemas/BenefitListCodeTranslations"},"wallet":{"description":"Strings of the card adding every eligible benefit to the wallet at once.","$ref":"#/components/schemas/BenefitListWalletTranslations"},"empty":{"description":"Strings shown when the pass carries no benefit at all.","$ref":"#/components/schemas/BenefitListEmptyTranslations"}},"additionalProperties":false,"description":"Strings of a `benefitList` page, by area of the page."},"BenefitListSectionsTranslations":{"type":"object","properties":{"available":{"type":["null","string"],"description":"Heading above the benefits the holder can use now."},"upcoming":{"type":["null","string"],"description":"Heading above the benefits that have not started yet."},"past":{"type":["null","string"],"description":"Heading above the benefits that have expired or been used up."},"pastCount":{"type":["null","string"],"description":"Counter next to the past heading, for two or more. Carries a `{count}` placeholder."},"pastCount_one":{"type":["null","string"],"description":"Counter next to the past heading, for exactly one."}},"additionalProperties":false,"description":"Headings of the three groups a `benefitList` page lists benefits in."},"BenefitListCardTranslations":{"type":"object","properties":{"showCode":{"type":["null","string"],"description":"Label of the action revealing the redemption code."},"seeDetails":{"type":["null","string"],"description":"Label of the action opening the benefit's details."},"hide":{"type":["null","string"],"description":"Label of the action closing the opened card."},"used":{"type":["null","string"],"description":"Badge on a benefit that has been used up."},"expired":{"type":["null","string"],"description":"Badge on a benefit whose validity has passed."},"remaining":{"type":["null","string"],"description":"Remaining allowance, for two or more. Carries `{value}` and `{target}` placeholders."},"remaining_one":{"type":["null","string"],"description":"Remaining allowance, for exactly one."},"remainingLabel":{"type":["null","string"],"description":"Screen-reader wording of the remaining allowance."},"progress":{"type":["null","string"],"description":"Progress towards a reward. Carries `{value}` and `{target}` placeholders."},"progressLabel":{"type":["null","string"],"description":"Screen-reader wording of the progress."},"history":{"type":["null","string"],"description":"Heading above the list of past redemptions."},"usedOn":{"type":["null","string"],"description":"One redemption in that list. Carries a `{date}` placeholder."},"legal":{"type":["null","string"],"description":"Label of the link to the benefit's terms."},"dateRange":{"type":["null","string"],"description":"Validity of a benefit that both starts and ends. Carries `{from}` and `{to}` placeholders."},"dateUntil":{"type":["null","string"],"description":"Validity of a benefit that only ends. Carries a `{to}` placeholder."},"dateFrom":{"type":["null","string"],"description":"Validity of a benefit that only starts. Carries a `{from}` placeholder."},"dateOn":{"type":["null","string"],"description":"Validity of a benefit good for a single day. Carries a `{from}` placeholder."}},"additionalProperties":false,"description":"Strings on the card of one benefit on a `benefitList` page."},"BenefitListCodeTranslations":{"type":"object","properties":{"label":{"type":["null","string"],"description":"Instruction above the code."},"howTo":{"type":["null","string"],"description":"Explanation of how the code is redeemed."}},"additionalProperties":false,"description":"Strings around the redemption code of a benefit."},"BenefitListWalletTranslations":{"type":"object","properties":{"bulkTitle":{"type":["null","string"],"description":"Headline of the card, for two or more. Carries a `{count}` placeholder."},"bulkTitle_one":{"type":["null","string"],"description":"Headline of the card, for exactly one."},"bulkHint":{"type":["null","string"],"description":"Text under the headline of the card."}},"additionalProperties":false,"description":"Strings of the add-everything card on a `benefitList` page."},"BenefitListEmptyTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the empty state."},"content":{"type":["null","string"],"description":"Text under the empty-state headline."}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page when the pass carries no benefit."}}}}
```

## The BenefitListPageTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitListPageTranslations":{"type":"object","properties":{"layout":{"description":"The strings of the page itself.","$ref":"#/components/schemas/BenefitListLayoutTranslations"}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page."},"BenefitListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. Hidden entirely when empty."},"sections":{"description":"Headings of the three groups benefits are listed in.","$ref":"#/components/schemas/BenefitListSectionsTranslations"},"card":{"description":"Strings on the card of one benefit.","$ref":"#/components/schemas/BenefitListCardTranslations"},"code":{"description":"Strings around the code the holder shows to redeem a benefit.","$ref":"#/components/schemas/BenefitListCodeTranslations"},"wallet":{"description":"Strings of the card adding every eligible benefit to the wallet at once.","$ref":"#/components/schemas/BenefitListWalletTranslations"},"empty":{"description":"Strings shown when the pass carries no benefit at all.","$ref":"#/components/schemas/BenefitListEmptyTranslations"}},"additionalProperties":false,"description":"Strings of a `benefitList` page, by area of the page."},"BenefitListSectionsTranslations":{"type":"object","properties":{"available":{"type":["null","string"],"description":"Heading above the benefits the holder can use now."},"upcoming":{"type":["null","string"],"description":"Heading above the benefits that have not started yet."},"past":{"type":["null","string"],"description":"Heading above the benefits that have expired or been used up."},"pastCount":{"type":["null","string"],"description":"Counter next to the past heading, for two or more. Carries a `{count}` placeholder."},"pastCount_one":{"type":["null","string"],"description":"Counter next to the past heading, for exactly one."}},"additionalProperties":false,"description":"Headings of the three groups a `benefitList` page lists benefits in."},"BenefitListCardTranslations":{"type":"object","properties":{"showCode":{"type":["null","string"],"description":"Label of the action revealing the redemption code."},"seeDetails":{"type":["null","string"],"description":"Label of the action opening the benefit's details."},"hide":{"type":["null","string"],"description":"Label of the action closing the opened card."},"used":{"type":["null","string"],"description":"Badge on a benefit that has been used up."},"expired":{"type":["null","string"],"description":"Badge on a benefit whose validity has passed."},"remaining":{"type":["null","string"],"description":"Remaining allowance, for two or more. Carries `{value}` and `{target}` placeholders."},"remaining_one":{"type":["null","string"],"description":"Remaining allowance, for exactly one."},"remainingLabel":{"type":["null","string"],"description":"Screen-reader wording of the remaining allowance."},"progress":{"type":["null","string"],"description":"Progress towards a reward. Carries `{value}` and `{target}` placeholders."},"progressLabel":{"type":["null","string"],"description":"Screen-reader wording of the progress."},"history":{"type":["null","string"],"description":"Heading above the list of past redemptions."},"usedOn":{"type":["null","string"],"description":"One redemption in that list. Carries a `{date}` placeholder."},"legal":{"type":["null","string"],"description":"Label of the link to the benefit's terms."},"dateRange":{"type":["null","string"],"description":"Validity of a benefit that both starts and ends. Carries `{from}` and `{to}` placeholders."},"dateUntil":{"type":["null","string"],"description":"Validity of a benefit that only ends. Carries a `{to}` placeholder."},"dateFrom":{"type":["null","string"],"description":"Validity of a benefit that only starts. Carries a `{from}` placeholder."},"dateOn":{"type":["null","string"],"description":"Validity of a benefit good for a single day. Carries a `{from}` placeholder."}},"additionalProperties":false,"description":"Strings on the card of one benefit on a `benefitList` page."},"BenefitListCodeTranslations":{"type":"object","properties":{"label":{"type":["null","string"],"description":"Instruction above the code."},"howTo":{"type":["null","string"],"description":"Explanation of how the code is redeemed."}},"additionalProperties":false,"description":"Strings around the redemption code of a benefit."},"BenefitListWalletTranslations":{"type":"object","properties":{"bulkTitle":{"type":["null","string"],"description":"Headline of the card, for two or more. Carries a `{count}` placeholder."},"bulkTitle_one":{"type":["null","string"],"description":"Headline of the card, for exactly one."},"bulkHint":{"type":["null","string"],"description":"Text under the headline of the card."}},"additionalProperties":false,"description":"Strings of the add-everything card on a `benefitList` page."},"BenefitListEmptyTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the empty state."},"content":{"type":["null","string"],"description":"Text under the empty-state headline."}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page when the pass carries no benefit."}}}}
```

## The BenefitListSectionsTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitListSectionsTranslations":{"type":"object","properties":{"available":{"type":["null","string"],"description":"Heading above the benefits the holder can use now."},"upcoming":{"type":["null","string"],"description":"Heading above the benefits that have not started yet."},"past":{"type":["null","string"],"description":"Heading above the benefits that have expired or been used up."},"pastCount":{"type":["null","string"],"description":"Counter next to the past heading, for two or more. Carries a `{count}` placeholder."},"pastCount_one":{"type":["null","string"],"description":"Counter next to the past heading, for exactly one."}},"additionalProperties":false,"description":"Headings of the three groups a `benefitList` page lists benefits in."}}}}
```

## The BenefitListWalletTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitListWalletTranslations":{"type":"object","properties":{"bulkTitle":{"type":["null","string"],"description":"Headline of the card, for two or more. Carries a `{count}` placeholder."},"bulkTitle_one":{"type":["null","string"],"description":"Headline of the card, for exactly one."},"bulkHint":{"type":["null","string"],"description":"Text under the headline of the card."}},"additionalProperties":false,"description":"Strings of the add-everything card on a `benefitList` page."}}}}
```

## The BenefitMovement object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitMovement":{"required":["date","movementId","value"],"type":"object","properties":{"movementId":{"type":"string","description":"Movement id, unique within the benefit; replaced on POST."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it happened; stored as sent, so an integration can replay its history. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"number","description":"Change to the balance: positive credits, negative redeems.","format":"double"},"remarks":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Note about the movement, e.g. a till receipt number; never shown to the holder, omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server."}}}}
```

## The BenefitMovementSummary object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitMovementSummary":{"type":"object","properties":{"movementId":{"type":"string","description":"Movement id."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it happened. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"number","description":"Change to the balance: positive credits, negative redeems.","format":"double"},"remarks":{"type":["null","string"],"description":"Optional note."}},"additionalProperties":false,"description":"Summary of a benefit movement."}}}}
```

## The BenefitOrigin object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitOrigin":{"type":"object","properties":{"externalId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"External id, unique within the tenant. On POST, upserts on it first (before `processId`): updates the existing benefit, or 409 if it belongs to another pass. Kept by later writes that omit it. At most 100 characters."},"generator":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Name of the upstream system, e.g. `crm`; `benefitTemplate` marks a benefit issued from a template. Informative only. At most 100 characters."},"processId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Id of the upstream process or batch job (e.g. `campaign3`). On POST without `externalId`, upserts on (pass, processId); need not be unique across passes. A pass template reads the benefit as `benefits.{processId}`, each run of characters other than letters, digits and `_` becoming one `_`. At most 100 characters."}},"additionalProperties":false,"description":"Where a benefit comes from in an external system, for idempotency and traceability."}}}}
```

## The BenefitOriginSummary object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitOriginSummary":{"required":["count","processId"],"type":"object","properties":{"processId":{"type":"string","description":"Origin process id (e.g. benefit template id or external job id)."},"count":{"type":"integer","description":"Benefits with this processId across the tenant, not yet past their deletion date.","format":"int32"}},"additionalProperties":false,"description":"Live benefit count of an origin process id."}}}}
```

## The BenefitRequestBase object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitRequestBase":{"type":"object","properties":{"priority":{"type":["null","integer"],"description":"Rank among the pass's benefits: higher first, none last. Orders lists and wallet back fields, and picks whose main image becomes the pass artwork.","format":"int32"},"origin":{"description":"Where the benefit comes from in the caller's system. Set `externalId` or `processId` to make a POST idempotent: it updates the benefit it created instead of adding another.","$ref":"#/components/schemas/BenefitOrigin"},"tags":{"type":["null","array"],"items":{"type":"string"},"description":"Labels for segmenting and reporting, never shown to the holder. At most 20 tags of 50 characters; trimmed, blanks and case-insensitive duplicates dropped. An empty array clears them on update."},"content":{"description":"Title and description the holder reads.","$ref":"#/components/schemas/BenefitContent"},"appearance":{"description":"Images the benefit carries.","$ref":"#/components/schemas/BenefitAppearanceRequest"},"links":{"type":["null","object"],"properties":{"legalInformation":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"callToAction":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"termsAndConditions":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"privacyPolicy":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"howToUse":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"website":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"other":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"}},"additionalProperties":false,"description":"Links shown on the benefits page, keyed by purpose."},"data":{"description":"Opening movements and provider payload. Movements are accepted only while the benefit has none (afterwards use the movements endpoint); without them a `oneTime` benefit starts with one use and a `multiUse` one with `behavior.target`.","$ref":"#/components/schemas/BenefitData"},"activationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit becomes redeemable; omitted on create means immediately. Before it, status is `scheduled` and redemption is refused. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deactivationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When redemption stops; omitted on create means never. Afterwards status is `expired` until the deletion date. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deletionDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit is removed from the pass; omitted on create means never. When omitted on an update that extends `deactivationDate`, it moves forward by the same amount. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"behavior":{"description":"Allowance of a `multiUse` benefit and where the benefit is surfaced.","$ref":"#/components/schemas/BenefitBehaviorRequest"},"code":{"description":"Code staff scan or type to redeem the benefit.","$ref":"#/components/schemas/BenefitCode"}},"additionalProperties":false,"description":"Fields shared by the create and upsert requests. On update, an omitted field keeps its current value."},"BenefitOrigin":{"type":"object","properties":{"externalId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"External id, unique within the tenant. On POST, upserts on it first (before `processId`): updates the existing benefit, or 409 if it belongs to another pass. Kept by later writes that omit it. At most 100 characters."},"generator":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Name of the upstream system, e.g. `crm`; `benefitTemplate` marks a benefit issued from a template. Informative only. At most 100 characters."},"processId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Id of the upstream process or batch job (e.g. `campaign3`). On POST without `externalId`, upserts on (pass, processId); need not be unique across passes. A pass template reads the benefit as `benefits.{processId}`, each run of characters other than letters, digits and `_` becoming one `_`. At most 100 characters."}},"additionalProperties":false,"description":"Where a benefit comes from in an external system, for idempotency and traceability."},"BenefitContent":{"type":"object","properties":{"title":{"description":"Name the holder sees (\"Untitled benefit\" when absent). At most 200 characters per language.","$ref":"#/components/schemas/LocalizedString"},"description":{"description":"What the benefit gives and how to use it; shown on the benefits page and, when the behavior asks, on the back of the wallet pass. At most 2000 characters per language.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Holder-facing texts of a benefit."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."},"BenefitAppearanceRequest":{"type":"object","properties":{"images":{"type":"array","items":{"description":"A benefit image and its slot.","$ref":"#/components/schemas/BenefitImage"},"description":"Images, at most one per slot. Each URL is a web address, or a benefit template image path exactly as a read with `tenant.pass:read` returns it."},"mainImageUrl":{"description":"Deprecated: use `images`. The main image.","$ref":"#/components/schemas/LocalizedString"},"thumbnailUrl":{"description":"Deprecated: use `images`. The thumbnail image.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Images of an incoming benefit. `mainImageUrl` and `thumbnailUrl` are deprecated single-slot fields folded into `images`; an explicit `images` entry wins for the same slot."},"BenefitImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual (and the pass artwork when the behavior asks), `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"Localized image URL: a benefit template image path, or the absolute URL given by an integration.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"A benefit image and its slot."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"BenefitLink":{"required":["link"],"type":"object","properties":{"title":{"description":"Button label on the benefits page. At most 100 characters per language.","$ref":"#/components/schemas/LocalizedString"},"link":{"type":"string","description":"Absolute `https` URI the button opens; any other scheme is refused with 400.","format":"uri"}},"additionalProperties":false,"description":"A link with a localized title and a target URI."},"BenefitData":{"type":"object","properties":{"value":{"type":["null","number"],"description":"Uses left: the sum of all movements. A `oneTime` or `multiUse` benefit at 0 or below is `used`; for `unlimited`, a tally of what was taken. Computed on read, ignored on write.","format":"double"},"movements":{"type":"array","items":{"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server.","$ref":"#/components/schemas/BenefitMovement"},"description":"Every change to the balance, oldest first; append-only. On write, accepted only while the benefit has no movement, to open it with a non-default balance (a `oneTime` benefit takes exactly one movement of 1). POST assigns new movement ids; PUT keeps the caller's."},"content":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Free text returned as sent, read by a pass template as `benefits.{processId}.data.content` (e.g. a discount rate). Omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"Balance, movements and provider payload of a benefit."},"BenefitMovement":{"required":["date","movementId","value"],"type":"object","properties":{"movementId":{"type":"string","description":"Movement id, unique within the benefit; replaced on POST."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it happened; stored as sent, so an integration can replay its history. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"number","description":"Change to the balance: positive credits, negative redeems.","format":"double"},"remarks":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Note about the movement, e.g. a till receipt number; never shown to the holder, omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server."},"BenefitBehaviorRequest":{"type":"object","properties":{"target":{"type":["null","number"],"description":"Uses a `multiUse` benefit starts with: seeds the balance of a benefit created without movements and caps what a later credit can give back.","format":"double"},"mode":{"type":["null","array"],"items":{"description":"Where a benefit is shown and what each surface does with it.","$ref":"#/components/schemas/BenefitBehaviorMode"},"description":"Where the benefit is surfaced and what each surface does with it; omit for the default."},"autoRedeem":{"type":["null","boolean"],"description":"Deprecated: include `redeemOnScan` in `mode` instead."}},"additionalProperties":false,"description":"Behavior of an incoming benefit. Replaces the behavior as a whole: without `mode`, the default surfaces apply (listed everywhere, image on the pass, description on the back), not the previous ones; an empty array means none."},"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."},"BenefitCode":{"type":"object","properties":{"value":{"type":["null","string"],"description":"The code itself, as encoded in the barcode and shown under it."},"format":{"description":"How the code is rendered: a barcode symbology, or `raw` for text only. `ean13` needs 12 or 13 digits.","$ref":"#/components/schemas/BenefitCodeFormat"}},"additionalProperties":false,"description":"Barcode or reference code with its display format."},"BenefitCodeFormat":{"enum":["ean13","code128","qrCode","pdf417","aztec","dataMatrix","code39","raw"],"type":"string","description":"How a benefit's code is rendered to the holder, and so what the till or the Pass Scanner scans."}}}}
```

## The BenefitStatus object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitStatus":{"enum":["scheduled","active","used","expired","removed"],"type":"string","description":"What a benefit is doing right now, in the terms an operator answers the holder in."}}}}
```

## The BenefitTemplate object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplate":{"required":["id","type"],"type":"object","properties":{"id":{"minLength":1,"type":"string","description":"The benefit template's key, unique within the tenant and fixed once created."},"name":{"maxLength":200,"type":["null","string"],"description":"Name operators know the benefit template by in the admin console and in automations. Never shown\nto the holder, who sees Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplate.Content's title instead."},"enabled":{"type":"boolean","description":"Whether the benefit template can be granted. A disabled one is refused when granted to a single\npass, as an unknown benefit template, and skipped by automations and campaigns, without error."},"priority":{"type":["null","integer"],"description":"Rank of the issued benefit among the others on the same pass. Higher comes first; a benefit\nwith no priority comes after every benefit with one.","format":"int32"},"activationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When benefits issued from this benefit template become redeemable. Omit for straight away. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"validityMode":{"description":"How each issued benefit's end of validity (its `deactivationDate`) is computed. Omit for\nbenefits that never expire.","$ref":"#/components/schemas/BenefitTemplateValidityMode"},"fixedDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"The instant every issued benefit stops being redeemable. Required when Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplate.ValidityMode\nis `FixedDate`, unused otherwise. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"duration":{"type":["null","string"],"description":"How long each issued benefit stays redeemable, counted from the moment it is issued. Required when\nNeo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplate.ValidityMode is `Duration`, unused otherwise.","format":"date-span"},"type":{"description":"How the issued benefit is consumed: `OneTime` is redeemed once, `MultiUse` counts down\nNeo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplate.InitialValue uses, `Unlimited` is never used up.","$ref":"#/components/schemas/BenefitType"},"category":{"description":"What the benefit gives the holder, used to group and label it on the benefits page and in reports.","$ref":"#/components/schemas/BenefitCategory"},"tags":{"type":"array","items":{"type":"string"},"description":"Labels copied onto every issued benefit, for segmenting and reporting. Never shown to the holder."},"appearance":{"description":"Images copied onto every issued benefit. Omit for a benefit with no image.","$ref":"#/components/schemas/BenefitTemplateAppearance"},"content":{"description":"The title and description the holder reads, copied onto every issued benefit.","$ref":"#/components/schemas/BenefitTemplateContent"},"links":{"type":["null","object"],"properties":{"legalInformation":{"description":"A link shown as a button with the benefit on the benefits page.","$ref":"#/components/schemas/BenefitTemplateLink"},"callToAction":{"description":"A link shown as a button with the benefit on the benefits page.","$ref":"#/components/schemas/BenefitTemplateLink"},"termsAndConditions":{"description":"A link shown as a button with the benefit on the benefits page.","$ref":"#/components/schemas/BenefitTemplateLink"},"privacyPolicy":{"description":"A link shown as a button with the benefit on the benefits page.","$ref":"#/components/schemas/BenefitTemplateLink"},"howToUse":{"description":"A link shown as a button with the benefit on the benefits page.","$ref":"#/components/schemas/BenefitTemplateLink"},"website":{"description":"A link shown as a button with the benefit on the benefits page.","$ref":"#/components/schemas/BenefitTemplateLink"},"other":{"description":"A link shown as a button with the benefit on the benefits page.","$ref":"#/components/schemas/BenefitTemplateLink"}},"additionalProperties":false,"description":"Links shown with the benefit on the benefits page, keyed by purpose."},"initialValue":{"type":["null","number"],"description":"The number of uses a `MultiUse` benefit starts with - the \"5\" in \"3 of 5 left\".","format":"double"},"dataContent":{"type":["null","string"],"description":"Free text copied into each issued benefit's `data.content`, for a pass template or an integration\nto read. Never shown to the holder as such."},"passType":{"type":["null","string"],"description":"Pass template of a standalone wallet pass to create for each issued benefit, alongside the holder's\nown pass. Omit for a benefit that lives only on the holder's pass."},"code":{"description":"How each issued benefit gets the code staff scan or type to redeem it. Omit for a benefit with no\ncode.","$ref":"#/components/schemas/BenefitTemplateCodeSettings"},"removal":{"description":"When a benefit issued from this benefit template leaves the pass. Omit to remove it at end of validity.","$ref":"#/components/schemas/BenefitTemplateRemoval"},"behavior":{"description":"Where a benefit issued from this benefit template is surfaced, and what each surface does with it. Omit for the defaults.","$ref":"#/components/schemas/BenefitTemplateBehavior"},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit template was created. Set by the server; ignored on write. Null on benefit templates\ncreated before it was recorded. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit template definition last changed. Set by the server on every write; ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"The reusable definition of a benefit: what a holder is given each time it is granted to a pass, by an\nautomation, a campaign or a single grant."},"BenefitTemplateValidityMode":{"enum":["fixedDate","duration"],"type":"string","description":"How the end of validity of a benefit issued from a benefit template is computed."},"BenefitType":{"enum":["oneTime","unlimited","multiUse"],"type":"string","description":"How a benefit is consumed, which decides what its movements mean and when it is used up."},"BenefitCategory":{"enum":["other","discount","freeProduct","service","access","giftCard"],"type":"string","description":"What a benefit gives the holder, used to group and label it on the benefits page and in reports."},"BenefitTemplateAppearance":{"type":"object","properties":{"images":{"type":"array","items":{"description":"A single image entry within a benefit template appearance.","$ref":"#/components/schemas/BenefitTemplateImage"},"description":"The images, at most one per slot; where a slot is named twice the last entry wins."}},"additionalProperties":false,"description":"The images a benefit template gives each benefit it issues."},"BenefitTemplateImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual, `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"The image, per language. Each value is an `http`/`https` address, or the name of an image\nuploaded to this benefit template (e.g. `hero.png`).","$ref":"#/components/schemas/BenefitTemplateLocalizedString"}},"additionalProperties":false,"description":"A single image entry within a benefit template appearance."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"BenefitTemplateLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"The text shown to a holder whose language has no entry in Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateLocalizedString.Localizations."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides, keyed by language code (e.g. `fr`, `en-US`)."}},"additionalProperties":false,"description":"A string with a mandatory default value and optional per-language overrides."},"BenefitTemplateContent":{"type":"object","properties":{"title":{"description":"The benefit's name as the holder sees it, on the benefits page and as a wallet pass field. Required\non create; a benefit without one is shown as \"Untitled benefit\".","$ref":"#/components/schemas/BenefitTemplateLocalizedString"},"description":{"description":"What the benefit gives and how to use it, shown on the benefits page and, when the behaviour asks for\nit, on the back of the wallet pass.","$ref":"#/components/schemas/BenefitTemplateLocalizedString"}},"additionalProperties":false,"description":"The holder-facing texts of a benefit template."},"BenefitTemplateLink":{"required":["link"],"type":"object","properties":{"title":{"description":"The button label. At most 100 characters per language.","$ref":"#/components/schemas/BenefitTemplateLocalizedString"},"link":{"type":"string","description":"The address the button opens: an absolute `https` URI.","format":"uri"}},"additionalProperties":false,"description":"A link shown as a button with the benefit on the benefits page."},"BenefitTemplateCodeSettings":{"type":"object","properties":{"format":{"description":"How the code is rendered to the holder: a barcode symbology, or `raw` for text only.","$ref":"#/components/schemas/BenefitCodeFormat"},"valueMode":{"description":"Where the code value comes from: `Shared` uses Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.Value for every holder,\n`Autogenerated` draws a random one per benefit from Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.Pattern, `Custom` runs\nNeo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.Script. Omit for no code.","$ref":"#/components/schemas/BenefitTemplateCodeValueMode"},"value":{"type":["null","string"],"description":"The code every holder gets, e.g. a promotion code typed at checkout. Required when\nNeo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.ValueMode is `Shared`."},"pattern":{"description":"Shape of the random code drawn for each benefit. Used when Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.ValueMode is\n`Autogenerated`; omitted, a 10-character upper-case alphanumeric code is drawn.","$ref":"#/components/schemas/BenefitTemplateCodePattern"},"script":{"type":["null","string"],"description":"Body of the JavaScript function that returns the code, without its wrapper, e.g.\n`return \"X-\" + Date.now();`. Required when Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.ValueMode is `Custom`."}},"additionalProperties":false,"description":"How each benefit issued from this benefit template gets its code, and how the code is rendered."},"BenefitCodeFormat":{"enum":["ean13","code128","qrCode","pdf417","aztec","dataMatrix","code39","raw"],"type":"string","description":"How a benefit's code is rendered to the holder, and so what the till or the Pass Scanner scans."},"BenefitTemplateCodeValueMode":{"enum":["shared","autogenerated","custom"],"type":"string","description":"Where the code of a benefit issued from a benefit template comes from."},"BenefitTemplateCodePattern":{"type":"object","properties":{"length":{"type":"integer","description":"Number of random characters, prefix and suffix excluded. Between the charset's minimum (Numeric 9,\nAlpha 7, Hex 8, Alphanumeric 6) and 64.","format":"int32"},"charset":{"description":"The characters the random part is drawn from. `ean13` requires `Numeric`.","$ref":"#/components/schemas/BenefitTemplateCodeCharset"},"prefix":{"type":["null","string"],"description":"Fixed text placed before the random part, e.g. a campaign marker. Digits only for `ean13`."},"suffix":{"type":["null","string"],"description":"Fixed text placed after the random part. Digits only for `ean13`."},"uppercase":{"type":"boolean","description":"Whether letters in the random part are upper-case (default) or lower-case. Prefix and suffix are kept as written."}},"additionalProperties":false,"description":"The shape of a randomly drawn code."},"BenefitTemplateCodeCharset":{"enum":["alphanumeric","numeric","alpha","hex"],"type":"string","description":"The characters the random part of an autogenerated code is drawn from."},"BenefitTemplateRemoval":{"type":"object","properties":{"mode":{"description":"Rule used to compute the benefit's deletion date.","$ref":"#/components/schemas/BenefitTemplateRemovalMode"},"days":{"maximum":3650,"minimum":1,"type":["null","integer"],"description":"How many days an expired benefit stays visible on the pass, shown as expired. Required when\nNeo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateRemoval.Mode is `AfterEndOfValidity`, dropped otherwise.","format":"int32"},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"The instant every issued benefit leaves the pass. Required when Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateRemoval.Mode is\n`FixedDate`, dropped otherwise. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"When the benefit issued from this benefit template is removed from the pass."},"BenefitTemplateRemovalMode":{"enum":["never","endOfValidity","afterEndOfValidity","fixedDate"],"type":"string","description":"How the deletion date of an issued benefit is derived."},"BenefitTemplateBehavior":{"type":"object","properties":{"mode":{"type":["null","array"],"items":{"description":"Where a benefit is shown and what each surface does with it.","$ref":"#/components/schemas/BenefitBehaviorMode"},"description":"The behaviours an issued benefit carries, one entry per behaviour."}},"additionalProperties":false,"description":"Where a benefit issued from the benefit template is surfaced, and what each surface does with it."},"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."}}}}
```

## The BenefitTemplateAppearance object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateAppearance":{"type":"object","properties":{"images":{"type":"array","items":{"description":"A single image entry within a benefit template appearance.","$ref":"#/components/schemas/BenefitTemplateImage"},"description":"The images, at most one per slot; where a slot is named twice the last entry wins."}},"additionalProperties":false,"description":"The images a benefit template gives each benefit it issues."},"BenefitTemplateImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual, `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"The image, per language. Each value is an `http`/`https` address, or the name of an image\nuploaded to this benefit template (e.g. `hero.png`).","$ref":"#/components/schemas/BenefitTemplateLocalizedString"}},"additionalProperties":false,"description":"A single image entry within a benefit template appearance."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"BenefitTemplateLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"The text shown to a holder whose language has no entry in Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateLocalizedString.Localizations."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides, keyed by language code (e.g. `fr`, `en-US`)."}},"additionalProperties":false,"description":"A string with a mandatory default value and optional per-language overrides."}}}}
```

## The BenefitTemplateBehavior object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateBehavior":{"type":"object","properties":{"mode":{"type":["null","array"],"items":{"description":"Where a benefit is shown and what each surface does with it.","$ref":"#/components/schemas/BenefitBehaviorMode"},"description":"The behaviours an issued benefit carries, one entry per behaviour."}},"additionalProperties":false,"description":"Where a benefit issued from the benefit template is surfaced, and what each surface does with it."},"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."}}}}
```

## The BenefitTemplateCodeCharset object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateCodeCharset":{"enum":["alphanumeric","numeric","alpha","hex"],"type":"string","description":"The characters the random part of an autogenerated code is drawn from."}}}}
```

## The BenefitTemplateCodePattern object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateCodePattern":{"type":"object","properties":{"length":{"type":"integer","description":"Number of random characters, prefix and suffix excluded. Between the charset's minimum (Numeric 9,\nAlpha 7, Hex 8, Alphanumeric 6) and 64.","format":"int32"},"charset":{"description":"The characters the random part is drawn from. `ean13` requires `Numeric`.","$ref":"#/components/schemas/BenefitTemplateCodeCharset"},"prefix":{"type":["null","string"],"description":"Fixed text placed before the random part, e.g. a campaign marker. Digits only for `ean13`."},"suffix":{"type":["null","string"],"description":"Fixed text placed after the random part. Digits only for `ean13`."},"uppercase":{"type":"boolean","description":"Whether letters in the random part are upper-case (default) or lower-case. Prefix and suffix are kept as written."}},"additionalProperties":false,"description":"The shape of a randomly drawn code."},"BenefitTemplateCodeCharset":{"enum":["alphanumeric","numeric","alpha","hex"],"type":"string","description":"The characters the random part of an autogenerated code is drawn from."}}}}
```

## The BenefitTemplateCodeSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateCodeSettings":{"type":"object","properties":{"format":{"description":"How the code is rendered to the holder: a barcode symbology, or `raw` for text only.","$ref":"#/components/schemas/BenefitCodeFormat"},"valueMode":{"description":"Where the code value comes from: `Shared` uses Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.Value for every holder,\n`Autogenerated` draws a random one per benefit from Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.Pattern, `Custom` runs\nNeo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.Script. Omit for no code.","$ref":"#/components/schemas/BenefitTemplateCodeValueMode"},"value":{"type":["null","string"],"description":"The code every holder gets, e.g. a promotion code typed at checkout. Required when\nNeo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.ValueMode is `Shared`."},"pattern":{"description":"Shape of the random code drawn for each benefit. Used when Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.ValueMode is\n`Autogenerated`; omitted, a 10-character upper-case alphanumeric code is drawn.","$ref":"#/components/schemas/BenefitTemplateCodePattern"},"script":{"type":["null","string"],"description":"Body of the JavaScript function that returns the code, without its wrapper, e.g.\n`return \"X-\" + Date.now();`. Required when Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateCodeSettings.ValueMode is `Custom`."}},"additionalProperties":false,"description":"How each benefit issued from this benefit template gets its code, and how the code is rendered."},"BenefitCodeFormat":{"enum":["ean13","code128","qrCode","pdf417","aztec","dataMatrix","code39","raw"],"type":"string","description":"How a benefit's code is rendered to the holder, and so what the till or the Pass Scanner scans."},"BenefitTemplateCodeValueMode":{"enum":["shared","autogenerated","custom"],"type":"string","description":"Where the code of a benefit issued from a benefit template comes from."},"BenefitTemplateCodePattern":{"type":"object","properties":{"length":{"type":"integer","description":"Number of random characters, prefix and suffix excluded. Between the charset's minimum (Numeric 9,\nAlpha 7, Hex 8, Alphanumeric 6) and 64.","format":"int32"},"charset":{"description":"The characters the random part is drawn from. `ean13` requires `Numeric`.","$ref":"#/components/schemas/BenefitTemplateCodeCharset"},"prefix":{"type":["null","string"],"description":"Fixed text placed before the random part, e.g. a campaign marker. Digits only for `ean13`."},"suffix":{"type":["null","string"],"description":"Fixed text placed after the random part. Digits only for `ean13`."},"uppercase":{"type":"boolean","description":"Whether letters in the random part are upper-case (default) or lower-case. Prefix and suffix are kept as written."}},"additionalProperties":false,"description":"The shape of a randomly drawn code."},"BenefitTemplateCodeCharset":{"enum":["alphanumeric","numeric","alpha","hex"],"type":"string","description":"The characters the random part of an autogenerated code is drawn from."}}}}
```

## The BenefitTemplateCodeValueMode object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateCodeValueMode":{"enum":["shared","autogenerated","custom"],"type":"string","description":"Where the code of a benefit issued from a benefit template comes from."}}}}
```

## The BenefitTemplateContent object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateContent":{"type":"object","properties":{"title":{"description":"The benefit's name as the holder sees it, on the benefits page and as a wallet pass field. Required\non create; a benefit without one is shown as \"Untitled benefit\".","$ref":"#/components/schemas/BenefitTemplateLocalizedString"},"description":{"description":"What the benefit gives and how to use it, shown on the benefits page and, when the behaviour asks for\nit, on the back of the wallet pass.","$ref":"#/components/schemas/BenefitTemplateLocalizedString"}},"additionalProperties":false,"description":"The holder-facing texts of a benefit template."},"BenefitTemplateLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"The text shown to a holder whose language has no entry in Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateLocalizedString.Localizations."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides, keyed by language code (e.g. `fr`, `en-US`)."}},"additionalProperties":false,"description":"A string with a mandatory default value and optional per-language overrides."}}}}
```

## The BenefitTemplateImage object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual, `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"The image, per language. Each value is an `http`/`https` address, or the name of an image\nuploaded to this benefit template (e.g. `hero.png`).","$ref":"#/components/schemas/BenefitTemplateLocalizedString"}},"additionalProperties":false,"description":"A single image entry within a benefit template appearance."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"BenefitTemplateLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"The text shown to a holder whose language has no entry in Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateLocalizedString.Localizations."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides, keyed by language code (e.g. `fr`, `en-US`)."}},"additionalProperties":false,"description":"A string with a mandatory default value and optional per-language overrides."}}}}
```

## The BenefitTemplateImageInfo object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateImageInfo":{"type":"object","properties":{"path":{"type":"string","description":"Image path, `public/benefitTemplates/{id}/{name}`: the value to put in the benefit template's\n`appearance.images[].url`. The bare file name is accepted there too."},"name":{"type":"string","description":"The file name as stored, e.g. `hero.png`; uploading the same name again replaces the image."}},"additionalProperties":false,"description":"Holds the path and file name of a benefit template image."}}}}
```

## The BenefitTemplateLink object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateLink":{"required":["link"],"type":"object","properties":{"title":{"description":"The button label. At most 100 characters per language.","$ref":"#/components/schemas/BenefitTemplateLocalizedString"},"link":{"type":"string","description":"The address the button opens: an absolute `https` URI.","format":"uri"}},"additionalProperties":false,"description":"A link shown as a button with the benefit on the benefits page."},"BenefitTemplateLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"The text shown to a holder whose language has no entry in Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateLocalizedString.Localizations."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides, keyed by language code (e.g. `fr`, `en-US`)."}},"additionalProperties":false,"description":"A string with a mandatory default value and optional per-language overrides."}}}}
```

## The BenefitTemplateLocalizedString object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"The text shown to a holder whose language has no entry in Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateLocalizedString.Localizations."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides, keyed by language code (e.g. `fr`, `en-US`)."}},"additionalProperties":false,"description":"A string with a mandatory default value and optional per-language overrides."}}}}
```

## The BenefitTemplateRemoval object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateRemoval":{"type":"object","properties":{"mode":{"description":"Rule used to compute the benefit's deletion date.","$ref":"#/components/schemas/BenefitTemplateRemovalMode"},"days":{"maximum":3650,"minimum":1,"type":["null","integer"],"description":"How many days an expired benefit stays visible on the pass, shown as expired. Required when\nNeo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateRemoval.Mode is `AfterEndOfValidity`, dropped otherwise.","format":"int32"},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"The instant every issued benefit leaves the pass. Required when Neo.Runtime.Benefit.Catalog.IBenefitTemplateCatalog.BenefitTemplateRemoval.Mode is\n`FixedDate`, dropped otherwise. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"When the benefit issued from this benefit template is removed from the pass."},"BenefitTemplateRemovalMode":{"enum":["never","endOfValidity","afterEndOfValidity","fixedDate"],"type":"string","description":"How the deletion date of an issued benefit is derived."}}}}
```

## The BenefitTemplateRemovalMode object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateRemovalMode":{"enum":["never","endOfValidity","afterEndOfValidity","fixedDate"],"type":"string","description":"How the deletion date of an issued benefit is derived."}}}}
```

## The BenefitTemplateValidityMode object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitTemplateValidityMode":{"enum":["fixedDate","duration"],"type":"string","description":"How the end of validity of a benefit issued from a benefit template is computed."}}}}
```

## The BenefitType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitType":{"enum":["oneTime","unlimited","multiUse"],"type":"string","description":"How a benefit is consumed, which decides what its movements mean and when it is used up."}}}}
```

## The BenefitWithPassRow object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BenefitWithPassRow":{"required":["benefitId","passCreationDate","passId","passType","type"],"type":"object","properties":{"passId":{"type":"string","description":"Id of the pass carrying the benefit, for the pass endpoints."},"passType":{"type":"string","description":"Pass template of the pass carrying the benefit (e.g. `loyalty`), not of a linked benefit pass."},"passCreationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the holder's pass was created. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"passLastUpdateDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the holder's pass last changed, if recorded. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifiers of the holder in other systems, keyed by system and field (e.g. `y2.customerId`)."},"metadata":{"type":"object","additionalProperties":{},"description":"Fields computed from the pass by the tenant's metadata configuration."},"benefitId":{"type":"string","description":"Id of the benefit, for the benefit endpoints."},"type":{"description":"How the benefit is consumed: `oneTime`, `multiUse` or `unlimited`.","$ref":"#/components/schemas/BenefitType"},"value":{"type":"number","description":"Uses left: the sum of all movements. For `unlimited`, a tally of what was taken.","format":"double"},"target":{"type":["null","number"],"description":"Uses a `multiUse` benefit started with; null when there is no allowance.","format":"double"},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit was issued. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit last changed: an update, a movement or a template refresh. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"activationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit becomes redeemable (null = straight away). Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deactivationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit stops being redeemable (null = never expires). Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deletionDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit is removed from the pass (null = never removed). Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"originProcessId":{"type":["null","string"],"description":"The `origin.processId`: the issuing benefit template id, or the integration's process id."},"lastMovement":{"description":"The latest movement - typically the last redemption - so a row can show it without loading the history.","$ref":"#/components/schemas/BenefitMovementSummary"},"movementCount":{"type":"integer","description":"Number of movements, the opening one included.","format":"int32"},"tags":{"type":"array","items":{"type":"string"},"description":"The benefit's tags, for segmenting and reporting."}},"additionalProperties":false,"description":"A benefit and its pass, flattened into one row."},"BenefitType":{"enum":["oneTime","unlimited","multiUse"],"type":"string","description":"How a benefit is consumed, which decides what its movements mean and when it is used up."},"BenefitMovementSummary":{"type":"object","properties":{"movementId":{"type":"string","description":"Movement id."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it happened. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"number","description":"Change to the balance: positive credits, negative redeems.","format":"double"},"remarks":{"type":["null","string"],"description":"Optional note."}},"additionalProperties":false,"description":"Summary of a benefit movement."}}}}
```

## The BloomreachCacheResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BloomreachCacheResponse":{"type":"object","properties":{"customer":{"type":["null","string"],"description":"How long a customer read from Bloomreach is reused, as `d.hh:mm:ss`. Null, zero or negative: the\ncustomer cache is off.","format":"date-span"}},"additionalProperties":false,"description":"How long Bloomreach lookups are reused."}}}}
```

## The BloomreachConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BloomreachConfigurationResponse":{"required":["apiKeyId","baseUrl","hasApiKeySecret","projectToken"],"type":"object","properties":{"projectToken":{"minLength":1,"type":"string","description":"Token of the Bloomreach project customers are read from and events are tracked into."},"baseUrl":{"type":"string","description":"Root of the Bloomreach API, as stored.","format":"uri"},"apiKeyId":{"minLength":1,"type":"string","description":"Identifier of the Bloomreach API key the integration uses."},"hasApiKeySecret":{"type":"boolean","description":"Whether an API key secret is stored. When true, a PUT may omit `apiKeySecret` to keep it."},"cache":{"description":"How long Bloomreach lookups are reused. Null when no cache is configured: nothing is cached.","$ref":"#/components/schemas/BloomreachCacheResponse"}},"additionalProperties":false,"description":"The tenant's Bloomreach connection, without the API key secret."},"BloomreachCacheResponse":{"type":"object","properties":{"customer":{"type":["null","string"],"description":"How long a customer read from Bloomreach is reused, as `d.hh:mm:ss`. Null, zero or negative: the\ncustomer cache is off.","format":"date-span"}},"additionalProperties":false,"description":"How long Bloomreach lookups are reused."}}}}
```

## The BloomreachScriptsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"BloomreachScriptsDefinition":{"required":["contactFinder","customerMapper","eventInterceptor"],"type":"object","properties":{"contactFinder":{"description":"`extensions.bloomreach.contact.finder`: converts a pass's identifiers into the identifiers of the Bloomreach customer it belongs to.","$ref":"#/components/schemas/ExtensionScriptSlot"},"customerMapper":{"description":"`extensions.bloomreach.customer.mapper`: maps an account to and from a Bloomreach customer.","$ref":"#/components/schemas/ExtensionScriptSlot"},"eventInterceptor":{"description":"`extensions.bloomreach.event.interceptor`: renames, adjusts, or drops an event before it is sent to Bloomreach.","$ref":"#/components/schemas/ExtensionScriptSlot"}},"additionalProperties":false,"description":"The scripts the Bloomreach integration can be customised with."},"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."}}}}
```

## The CampaignDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CampaignDefinition":{"required":["identifierKeys","name","passType","tag"],"type":"object","properties":{"id":{"type":"string","description":"Server-set on creation, immutable: 8 letters and digits."},"name":{"maxLength":100,"minLength":0,"type":"string","description":"Label shown in the admin, up to 100 characters."},"tags":{"type":"array","items":{"type":"string"},"description":"Labels to filter and group campaigns in the admin. At most 20 tags of 50 characters; trimmed, blanks\ndropped, case-insensitive duplicates kept once."},"passType":{"minLength":1,"type":"string","description":"The pass template whose identifiers the links carry. Fixed once created."},"layout":{"type":["null","string"],"description":"The download page (a layout of type `pass`) a link opens. `null` uses the pass template's own."},"identifierKeys":{"minItems":1,"type":"array","items":{"type":"string"},"description":"The pass identifiers each link carries, in the order of a link's values, e.g. `[\"ur.customerId\"]`. Each\none is read by a data provider of the pass template. Fixed once created."},"tag":{"maxLength":64,"minLength":0,"type":"string","description":"The source tag every pass added from these links is attributed to (`neo.src`), e.g. the campaign code of\nthe sending tool: 1 to 64 letters, digits, `_` and `-`, unique among the tenant's campaigns\nregardless of case. Fixed once created. Not Neo.Runtime.Campaign.CampaignDefinition.Tags, which only label the campaign in the admin."},"medium":{"maxLength":50,"minLength":0,"type":["null","string"],"description":"The source medium of every pass added from these links: how they are sent, e.g. `rcs`\n(`neo.src.medium`). Up to 50 characters, without\n`,` or `|`."},"status":{"description":"Whether the links work. A stopped campaign's links send the visitor to Neo.Runtime.Campaign.CampaignDefinition.StoppedUrl, or answer\n404 without one, until it is active again.","default":"active","$ref":"#/components/schemas/CampaignStatus"},"stoppedUrl":{"maxLength":2000,"minLength":0,"type":["null","string"],"description":"Where a link of a stopped campaign sends the visitor, e.g. the brand's site: an absolute `http` or\n`https` URL, up to 2,000 characters. `null` answers 404."},"linkCount":{"type":"integer","description":"Links generated so far, server-set.","format":"int64"},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Creation time in UTC, server-set. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"createdBy":{"type":["null","string"],"description":"Who created it, server-set."}},"additionalProperties":false,"description":"A campaign: personal links added to each row of a file, each giving its recipient their pass, created on first open."},"CampaignStatus":{"enum":["active","stopped"],"type":"string","description":"Whether the links of a campaign work."}}}}
```

## The CampaignStatus object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CampaignStatus":{"enum":["active","stopped"],"type":"string","description":"Whether the links of a campaign work."}}}}
```

## The CegidY2BusinessNotificationSettingsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2BusinessNotificationSettingsRequest":{"type":"object","properties":{"webServiceCredentials":{"description":"Business notification user (BNU) the subscription is managed with. Required when the connection's\n`listenToBusinessNotification` is true; refused with 400 otherwise.","$ref":"#/components/schemas/CegidY2WebServiceCredentialsRequest"}},"additionalProperties":false,"description":"Business notification settings of a connection, in the Cegid Y2 PUT request body."},"CegidY2WebServiceCredentialsRequest":{"required":["userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string","description":"Y2 user the business notification subscription is read, created and updated with."},"password":{"type":["null","string"],"description":"Password of the business notification user. Omitted or blank, the password stored for the connection of\nthe same `name` is kept; refused with 400 when none is stored."}},"additionalProperties":false,"description":"Business notification user credentials of a connection, in the Cegid Y2 PUT request body."}}}}
```

## The CegidY2BusinessNotificationSettingsResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2BusinessNotificationSettingsResponse":{"type":"object","properties":{"webServiceCredentials":{"description":"Business notification user (BNU) the subscription is managed with. Null when none is stored.","$ref":"#/components/schemas/CegidY2WebServiceCredentialsResponse"}},"additionalProperties":false,"description":"Business notification settings of a connection, in the Cegid Y2 GET response body."},"CegidY2WebServiceCredentialsResponse":{"required":["hasPassword","userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string","description":"Y2 user the business notification subscription is read, created and updated with."},"hasPassword":{"type":"boolean","description":"Whether a non-blank password is stored for the business notification user. The password itself is never\nreturned; omit it on the PUT to keep it."}},"additionalProperties":false,"description":"Business notification user credentials of a connection, in the Cegid Y2 GET response body."}}}}
```

## The CegidY2CacheSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2CacheSettings":{"type":"object","properties":{"customer":{"type":["null","string"],"description":"Reuse of a Y2 customer read by its customer id.","format":"date-span"},"loyalty":{"type":["null","string"],"description":"Reuse of the loyalty card reads: a customer's cards, and one card by its id.","format":"date-span"},"saleDocuments":{"type":["null","string"],"description":"Reuse of the sale document reads: a customer's sale document list, and one sale document by its key.","format":"date-span"},"cashOperations":{"type":["null","string"],"description":"Reuse of the cash operation reads: a customer's vouchers (bons), and the available amount of one voucher.","format":"date-span"}},"additionalProperties":false,"description":"How long Y2 answers are reused before Y2 is asked again, shared between the Cegid Y2 request and response\nbodies. Durations are `d.hh:mm:ss` strings, e.g. `00:05:00`; a null or zero duration does not cache\nthat lookup."}}}}
```

## The CegidY2ConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2ConfigurationResponse":{"required":["connections","rateLimit","updateCustomerOnPassInstallationChange"],"type":"object","properties":{"connections":{"type":"array","items":{"description":"One Y2 server connection, in the Cegid Y2 GET response body.","$ref":"#/components/schemas/CegidY2ConnectionResponse"},"description":"Y2 server connections, in the stored order, without their passwords."},"updateCustomerOnPassInstallationChange":{"type":"boolean","description":"Whether the Y2 customer is updated when the holder installs the pass on a first device or removes it from\nthe last one."},"cache":{"description":"Cache durations of the Y2 lookups. Null when no cache settings are stored, which disables caching.","$ref":"#/components/schemas/CegidY2CacheSettings"},"rateLimit":{"description":"Client-side rate limiting; the defaults when none are stored.","$ref":"#/components/schemas/CegidY2RateLimitSettings"}},"additionalProperties":false,"description":"Response body for the Cegid Y2 configuration."},"CegidY2ConnectionResponse":{"required":["databaseId","hasPassword","isDefault","listenToBusinessNotification","name","serviceUrl","userName"],"type":"object","properties":{"name":{"minLength":1,"type":"string","description":"Identifies the connection: stores select it through their `y2.connectionName` property or by having\na store id equal to it, and it ends the business notification URL."},"isDefault":{"type":"boolean","description":"Whether this connection serves the calls no store maps to another connection, including every call made\noutside a store context."},"serviceUrl":{"minLength":1,"type":"string","description":"Base URL of the Y2 services, always with a trailing `/`."},"userName":{"minLength":1,"type":"string","description":"Y2 user the integration calls Y2 with."},"hasPassword":{"type":"boolean","description":"Whether a non-blank password is stored for `userName`. The password itself is never returned;\nomit it on the PUT to keep it."},"databaseId":{"minLength":1,"type":"string","description":"Y2 database (folder) the calls target."},"listenToBusinessNotification":{"type":"boolean","description":"Whether Y2 pushes its business notifications to this platform for this connection, so the holders' passes\nfollow customer, receipt and loyalty card changes."},"businessNotificationSettings":{"description":"Business notification settings. Null when none are stored.","$ref":"#/components/schemas/CegidY2BusinessNotificationSettingsResponse"},"receiptSettings":{"description":"How the receipt PDFs of this connection are rendered. Null when none are stored.","$ref":"#/components/schemas/CegidY2ReceiptSettings"}},"additionalProperties":false,"description":"One Y2 server connection, in the Cegid Y2 GET response body."},"CegidY2BusinessNotificationSettingsResponse":{"type":"object","properties":{"webServiceCredentials":{"description":"Business notification user (BNU) the subscription is managed with. Null when none is stored.","$ref":"#/components/schemas/CegidY2WebServiceCredentialsResponse"}},"additionalProperties":false,"description":"Business notification settings of a connection, in the Cegid Y2 GET response body."},"CegidY2WebServiceCredentialsResponse":{"required":["hasPassword","userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string","description":"Y2 user the business notification subscription is read, created and updated with."},"hasPassword":{"type":"boolean","description":"Whether a non-blank password is stored for the business notification user. The password itself is never\nreturned; omit it on the PUT to keep it."}},"additionalProperties":false,"description":"Business notification user credentials of a connection, in the Cegid Y2 GET response body."},"CegidY2ReceiptSettings":{"type":"object","properties":{"templateId":{"type":["null","string"],"description":"Y2 report template the receipt PDF is rendered with, e.g. `ZDE`."},"duplicate":{"type":"boolean","description":"Whether Y2 renders the receipt PDF as a duplicate rather than as the original. Default false.","default":false}},"additionalProperties":false,"description":"Receipt settings of a connection, shared between the Cegid Y2 request and response bodies."},"CegidY2CacheSettings":{"type":"object","properties":{"customer":{"type":["null","string"],"description":"Reuse of a Y2 customer read by its customer id.","format":"date-span"},"loyalty":{"type":["null","string"],"description":"Reuse of the loyalty card reads: a customer's cards, and one card by its id.","format":"date-span"},"saleDocuments":{"type":["null","string"],"description":"Reuse of the sale document reads: a customer's sale document list, and one sale document by its key.","format":"date-span"},"cashOperations":{"type":["null","string"],"description":"Reuse of the cash operation reads: a customer's vouchers (bons), and the available amount of one voucher.","format":"date-span"}},"additionalProperties":false,"description":"How long Y2 answers are reused before Y2 is asked again, shared between the Cegid Y2 request and response\nbodies. Durations are `d.hh:mm:ss` strings, e.g. `00:05:00`; a null or zero duration does not cache\nthat lookup."},"CegidY2RateLimitSettings":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether calls are counted and limited. When false, calls go to Y2 unthrottled on this side. Default true.","default":true},"permitLimit":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Maximum number of calls per window, at least 1. Default 4980. Cegid allows 5000 per 5 minutes on the\nAdvance plan, 20000 on the Dedicated plan.","format":"int32","default":4980},"windowSeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Length of the window `permitLimit` applies to, in seconds, at least 1. Default 300, Cegid's\nown window.","format":"int32","default":300},"retryAfterSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Delay, in seconds, before a throttled call is tried again, used when Cegid's `Retry-After` header\nsupplies none. At least 0, default 60.","format":"int32","default":60},"queueAcquireTimeoutSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Maximum time, in seconds, a call over the limit waits for a slot before failing. Default 0: such a call\nfails at once.","format":"int32","default":0},"queueRetryDelaySeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Interval, in seconds, at which a waiting call checks for a free slot, at least 1. Default 1. Used only when\n`queueAcquireTimeoutSeconds` is above 0.","format":"int32","default":1}},"additionalProperties":false,"description":"Client-side rate limiting of the calls to Y2, shared between the Cegid Y2 request and response bodies. Keeps\nthe calls to Y2 under the quota of the tenant's Cegid plan."}}}}
```

## The CegidY2ConnectionRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2ConnectionRequest":{"required":["databaseId","name","serviceUrl","userName"],"type":"object","properties":{"name":{"minLength":1,"type":"string","description":"Identifies the connection. Unique within the request (compared case-sensitively), refused with 400 when\nrepeated."},"isDefault":{"type":"boolean","description":"Whether this connection serves the calls no store maps to another connection, including every call made\noutside a store context. Exactly one connection is the default, refused with 400 otherwise. Default false.","default":false},"serviceUrl":{"minLength":1,"type":"string","description":"Base URL of the Y2 services. A trailing `/` is added when missing."},"userName":{"minLength":1,"type":"string","description":"Y2 user the integration calls Y2 with."},"password":{"type":["null","string"],"description":"Password of `userName`. Omitted or blank, the password stored for the connection of the same\n`name` is kept; refused with 400 when none is stored."},"databaseId":{"minLength":1,"type":"string","description":"Y2 database (folder) the calls target."},"listenToBusinessNotification":{"type":"boolean","description":"Whether Y2 pushes its business notifications (customer, receipt and loyalty card changes) to this platform,\nso the holders' passes follow them. Default false.","default":false},"businessNotificationSettings":{"description":"Business notification settings. Required, with `webServiceCredentials`, when\n`listenToBusinessNotification` is true; refused with 400 otherwise.","$ref":"#/components/schemas/CegidY2BusinessNotificationSettingsRequest"},"receiptSettings":{"description":"How the receipt PDFs of this connection are rendered. Null leaves receipt PDFs to the stores'\n`y2.receiptTemplateId` property.","$ref":"#/components/schemas/CegidY2ReceiptSettings"}},"additionalProperties":false,"description":"One Y2 server connection, in the Cegid Y2 PUT request body."},"CegidY2BusinessNotificationSettingsRequest":{"type":"object","properties":{"webServiceCredentials":{"description":"Business notification user (BNU) the subscription is managed with. Required when the connection's\n`listenToBusinessNotification` is true; refused with 400 otherwise.","$ref":"#/components/schemas/CegidY2WebServiceCredentialsRequest"}},"additionalProperties":false,"description":"Business notification settings of a connection, in the Cegid Y2 PUT request body."},"CegidY2WebServiceCredentialsRequest":{"required":["userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string","description":"Y2 user the business notification subscription is read, created and updated with."},"password":{"type":["null","string"],"description":"Password of the business notification user. Omitted or blank, the password stored for the connection of\nthe same `name` is kept; refused with 400 when none is stored."}},"additionalProperties":false,"description":"Business notification user credentials of a connection, in the Cegid Y2 PUT request body."},"CegidY2ReceiptSettings":{"type":"object","properties":{"templateId":{"type":["null","string"],"description":"Y2 report template the receipt PDF is rendered with, e.g. `ZDE`."},"duplicate":{"type":"boolean","description":"Whether Y2 renders the receipt PDF as a duplicate rather than as the original. Default false.","default":false}},"additionalProperties":false,"description":"Receipt settings of a connection, shared between the Cegid Y2 request and response bodies."}}}}
```

## The CegidY2ConnectionResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2ConnectionResponse":{"required":["databaseId","hasPassword","isDefault","listenToBusinessNotification","name","serviceUrl","userName"],"type":"object","properties":{"name":{"minLength":1,"type":"string","description":"Identifies the connection: stores select it through their `y2.connectionName` property or by having\na store id equal to it, and it ends the business notification URL."},"isDefault":{"type":"boolean","description":"Whether this connection serves the calls no store maps to another connection, including every call made\noutside a store context."},"serviceUrl":{"minLength":1,"type":"string","description":"Base URL of the Y2 services, always with a trailing `/`."},"userName":{"minLength":1,"type":"string","description":"Y2 user the integration calls Y2 with."},"hasPassword":{"type":"boolean","description":"Whether a non-blank password is stored for `userName`. The password itself is never returned;\nomit it on the PUT to keep it."},"databaseId":{"minLength":1,"type":"string","description":"Y2 database (folder) the calls target."},"listenToBusinessNotification":{"type":"boolean","description":"Whether Y2 pushes its business notifications to this platform for this connection, so the holders' passes\nfollow customer, receipt and loyalty card changes."},"businessNotificationSettings":{"description":"Business notification settings. Null when none are stored.","$ref":"#/components/schemas/CegidY2BusinessNotificationSettingsResponse"},"receiptSettings":{"description":"How the receipt PDFs of this connection are rendered. Null when none are stored.","$ref":"#/components/schemas/CegidY2ReceiptSettings"}},"additionalProperties":false,"description":"One Y2 server connection, in the Cegid Y2 GET response body."},"CegidY2BusinessNotificationSettingsResponse":{"type":"object","properties":{"webServiceCredentials":{"description":"Business notification user (BNU) the subscription is managed with. Null when none is stored.","$ref":"#/components/schemas/CegidY2WebServiceCredentialsResponse"}},"additionalProperties":false,"description":"Business notification settings of a connection, in the Cegid Y2 GET response body."},"CegidY2WebServiceCredentialsResponse":{"required":["hasPassword","userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string","description":"Y2 user the business notification subscription is read, created and updated with."},"hasPassword":{"type":"boolean","description":"Whether a non-blank password is stored for the business notification user. The password itself is never\nreturned; omit it on the PUT to keep it."}},"additionalProperties":false,"description":"Business notification user credentials of a connection, in the Cegid Y2 GET response body."},"CegidY2ReceiptSettings":{"type":"object","properties":{"templateId":{"type":["null","string"],"description":"Y2 report template the receipt PDF is rendered with, e.g. `ZDE`."},"duplicate":{"type":"boolean","description":"Whether Y2 renders the receipt PDF as a duplicate rather than as the original. Default false.","default":false}},"additionalProperties":false,"description":"Receipt settings of a connection, shared between the Cegid Y2 request and response bodies."}}}}
```

## The CegidY2RateLimitSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2RateLimitSettings":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether calls are counted and limited. When false, calls go to Y2 unthrottled on this side. Default true.","default":true},"permitLimit":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Maximum number of calls per window, at least 1. Default 4980. Cegid allows 5000 per 5 minutes on the\nAdvance plan, 20000 on the Dedicated plan.","format":"int32","default":4980},"windowSeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Length of the window `permitLimit` applies to, in seconds, at least 1. Default 300, Cegid's\nown window.","format":"int32","default":300},"retryAfterSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Delay, in seconds, before a throttled call is tried again, used when Cegid's `Retry-After` header\nsupplies none. At least 0, default 60.","format":"int32","default":60},"queueAcquireTimeoutSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Maximum time, in seconds, a call over the limit waits for a slot before failing. Default 0: such a call\nfails at once.","format":"int32","default":0},"queueRetryDelaySeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Interval, in seconds, at which a waiting call checks for a free slot, at least 1. Default 1. Used only when\n`queueAcquireTimeoutSeconds` is above 0.","format":"int32","default":1}},"additionalProperties":false,"description":"Client-side rate limiting of the calls to Y2, shared between the Cegid Y2 request and response bodies. Keeps\nthe calls to Y2 under the quota of the tenant's Cegid plan."}}}}
```

## The CegidY2ReceiptSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2ReceiptSettings":{"type":"object","properties":{"templateId":{"type":["null","string"],"description":"Y2 report template the receipt PDF is rendered with, e.g. `ZDE`."},"duplicate":{"type":"boolean","description":"Whether Y2 renders the receipt PDF as a duplicate rather than as the original. Default false.","default":false}},"additionalProperties":false,"description":"Receipt settings of a connection, shared between the Cegid Y2 request and response bodies."}}}}
```

## The CegidY2ScriptsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2ScriptsDefinition":{"required":["advisorRepository","connectionInterceptor","mapper"],"type":"object","properties":{"mapper":{"description":"Adjusts the customer mapping between Y2 and the account, in both directions.","$ref":"#/components/schemas/ExtensionScriptSlot"},"advisorRepository":{"description":"Filters the Y2 salespersons offered as advisors, and optionally projects them.","$ref":"#/components/schemas/ExtensionScriptSlot"},"connectionInterceptor":{"description":"Intercepts the requests sent to Y2 and their responses.","$ref":"#/components/schemas/ExtensionScriptSlot"}},"additionalProperties":false,"description":"The scripts the Cegid Y2 integration can be customised with."},"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."}}}}
```

## The CegidY2WebServiceCredentialsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2WebServiceCredentialsRequest":{"required":["userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string","description":"Y2 user the business notification subscription is read, created and updated with."},"password":{"type":["null","string"],"description":"Password of the business notification user. Omitted or blank, the password stored for the connection of\nthe same `name` is kept; refused with 400 when none is stored."}},"additionalProperties":false,"description":"Business notification user credentials of a connection, in the Cegid Y2 PUT request body."}}}}
```

## The CegidY2WebServiceCredentialsResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CegidY2WebServiceCredentialsResponse":{"required":["hasPassword","userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string","description":"Y2 user the business notification subscription is read, created and updated with."},"hasPassword":{"type":"boolean","description":"Whether a non-blank password is stored for the business notification user. The password itself is never\nreturned; omit it on the PUT to keep it."}},"additionalProperties":false,"description":"Business notification user credentials of a connection, in the Cegid Y2 GET response body."}}}}
```

## The CheckinPolicyDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CheckinPolicyDefinition":{"required":["mode"],"type":"object","properties":{"mode":{"description":"Policy in force; `full` when none is configured.","$ref":"#/components/schemas/CheckinPolicyMode"}},"additionalProperties":false,"description":"Check-in policy in force."},"CheckinPolicyMode":{"enum":["noIdentification","none","partial","full"],"type":"string","description":"Identification required from a customer collecting a pass through an enrolment form."}}}}
```

## The CheckinPolicyMode object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CheckinPolicyMode":{"enum":["noIdentification","none","partial","full"],"type":"string","description":"Identification required from a customer collecting a pass through an enrolment form."}}}}
```

## The CmComAccountResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CmComAccountResponse":{"required":["accountId","id","label","partnerId"],"type":"object","properties":{"id":{"type":"string","description":"The name tenants select the account by."},"label":{"type":"string","description":"Name shown in the admin console."},"partnerId":{"type":"string","description":"The partner the account belongs to; `twc` is The Wallet Crew."},"accountId":{"type":"string","description":"The account's GUID at CM.com."}},"additionalProperties":false,"description":"A CM.com account the platform holds."}}}}
```

## The CmComChannelResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CmComChannelResponse":{"required":["channelId","countries","isPending","type"],"type":"object","properties":{"type":{"type":"string","description":"The channel type as CM.com groups them, e.g. `rcs`."},"channelId":{"type":"string","description":"The value to store as the tenant's channel."},"name":{"type":["null","string"],"description":"The channel's name in CM.com; null when CM.com gives none (only RCS agents carry one today)."},"countries":{"type":"array","items":{"type":"string"},"description":"The countries the channel is live in, as CM.com reports them; empty when it reports none."},"isPending":{"type":"boolean","description":"Whether the channel is still being set up."},"stage":{"type":["null","string"],"description":"The last step CM.com reports for the channel, e.g. `active`; null when it reports none."},"createdOn":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the channel was requested, UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"A channel of the CM.com account."}}}}
```

## The CmComMessageResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CmComMessageResponse":{"required":["id","name","status"],"type":"object","properties":{"id":{"type":"string","description":"CM.com's identifier of the message."},"name":{"type":"string","description":"The name given in CM.com."},"status":{"type":"string","description":"CM.com's status, e.g. `draft` or `sent`."},"createdOn":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it was created in CM.com, UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"scheduledOn":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it is or was scheduled to start, UTC; null for a draft. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"recipients":{"type":["null","integer"],"description":"How many recipients CM.com reports; null when it reports none yet.","format":"int64"},"linkFieldId":{"type":["null","integer"],"description":"The address-book field whose value is the link of the message's button; null when no button opens a field,\nin which case the message's deliveries cannot be synchronized.","format":"int32"}},"additionalProperties":false,"description":"A message sent over one of the tenant's channels: what CM.com calls a campaign."}}}}
```

## The CmComSettingsResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CmComSettingsResponse":{"required":["account","channels"],"type":"object","properties":{"account":{"type":"string","description":"Name of the CM.com account the tenant uses."},"channels":{"type":"array","items":{"description":"A channel of the CM.com account that the tenant sends from.","$ref":"#/components/schemas/CmComTenantChannel"},"description":"The channels the tenant sends from; empty until chosen."}},"additionalProperties":false,"description":"The tenant's CM.com connection."},"CmComTenantChannel":{"required":["channelId","type"],"type":"object","properties":{"type":{"minLength":1,"pattern":"^[A-Za-z]{1,32}$","type":"string","description":"The channel type as the account's channel list names it, e.g. `rcs` or `whatsApp`."},"channelId":{"maxLength":100,"minLength":1,"type":"string","description":"The `channelID` of the channel in the account's channel list."},"name":{"maxLength":100,"minLength":0,"type":["null","string"],"description":"A name for the channel, at most 100 characters. Omitted or blank leaves it unnamed."}},"additionalProperties":false,"description":"A channel of the CM.com account that the tenant sends from."}}}}
```

## The CmComSyncPhase object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CmComSyncPhase":{"enum":["waiting","loading","undelivered","delivered"],"type":"string","description":"What a running import is doing."}}}}
```

## The CmComSyncProgress object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CmComSyncProgress":{"required":["messageId","runId","startedAt","state","updatedAt"],"type":"object","properties":{"runId":{"type":"string","description":"Identifies the import; a new import of the same message gets a new one."},"messageId":{"type":"string","description":"CM.com's identifier of the message read."},"campaignId":{"type":["null","string"],"description":"The campaign the events are written into, found from the recipients' links; null until found."},"campaignName":{"type":["null","string"],"description":"The name of that campaign; null until found."},"dryRun":{"type":"boolean","description":"Whether this run is a dry run: true when the run only counted what it would add; Neo.Extensions.CmCom.Sync.CmComSyncProgress.Emitted then counts\nevents that would have been recorded."},"state":{"description":"Where the import stands.","$ref":"#/components/schemas/CmComSyncState"},"phase":{"description":"What the import is doing; null unless it is queued or running.","$ref":"#/components/schemas/CmComSyncPhase"},"startedAt":{"type":"string","description":"When the import was started.","format":"date-time"},"updatedAt":{"type":"string","description":"When the import last reported.","format":"date-time"},"totalRows":{"type":["null","integer"],"description":"How many recipients CM.com reports for the message; null when it reports none.","format":"int64"},"rowsRead":{"type":"integer","description":"Rows read from CM.com: a recipient is one row in each export it appears in.","format":"int64"},"emitted":{"type":"integer","description":"Events written.","format":"int64"},"alreadyKnown":{"type":"integer","description":"Events left out because the campaign already holds them.","format":"int64"},"skipped":{"type":"integer","description":"Events and rows left out for another reason: the event happened outside the last 90 days or before the campaign\nwas created, the row's link is not a link of the campaign, or its status cannot be read.","format":"int64"},"estimatedTime":{"type":"integer","description":"Rows whose export gives no processing time and whose events were dated from the message's scheduled time instead;\n0 for an import that did not count them.","format":"int64"},"noProcessedTime":{"type":"integer","description":"Rows left out, within Neo.Extensions.CmCom.Sync.CmComSyncProgress.Skipped, because the export gives no processing time and the message has no\nscheduled time to use instead; 0 for an import that did not count them.","format":"int64"},"errorCode":{"type":["null","string"],"description":"Why the import failed, as a stable code: `targetRefused`, `noLinks`, `campaignMissing`,\n`campaignBusy`, `cmcomUnavailable`, `telemetryUnavailable`, `lockLost`, `stopped` or\n`unexpected`. Null unless it failed."},"error":{"type":["null","string"],"description":"What went wrong, in words for the administrator; null unless it failed."}},"additionalProperties":false,"description":"The progress of the latest import of the deliveries of one CM.com message. Events written before an import stops\nstay written, so the counters always describe what was written."},"CmComSyncState":{"enum":["queued","running","completed","failed","cancelled"],"type":"string","description":"Where an import of CM.com deliveries stands."},"CmComSyncPhase":{"enum":["waiting","loading","undelivered","delivered"],"type":"string","description":"What a running import is doing."}}}}
```

## The CmComSyncState object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CmComSyncState":{"enum":["queued","running","completed","failed","cancelled"],"type":"string","description":"Where an import of CM.com deliveries stands."}}}}
```

## The CmComTenantChannel object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CmComTenantChannel":{"required":["channelId","type"],"type":"object","properties":{"type":{"minLength":1,"pattern":"^[A-Za-z]{1,32}$","type":"string","description":"The channel type as the account's channel list names it, e.g. `rcs` or `whatsApp`."},"channelId":{"maxLength":100,"minLength":1,"type":"string","description":"The `channelID` of the channel in the account's channel list."},"name":{"maxLength":100,"minLength":0,"type":["null","string"],"description":"A name for the channel, at most 100 characters. Omitted or blank leaves it unnamed."}},"additionalProperties":false,"description":"A channel of the CM.com account that the tenant sends from."}}}}
```

## The ComarchConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchConfigurationResponse":{"required":["connection","providers","rateLimit"],"type":"object","properties":{"connection":{"description":"How the tenant reaches the Comarch API.","$ref":"#/components/schemas/ComarchConnectionResponse"},"providers":{"description":"How the built-in customer and coupon providers behave. `coupon` is always present.","$ref":"#/components/schemas/ComarchProvidersConfiguration"},"kafkaConnection":{"description":"The Kafka topic the tenant listens to; null when Kafka is not configured.","$ref":"#/components/schemas/ComarchKafkaConnectionResponse"},"rateLimit":{"description":"Cap on the calls sent to Comarch.","$ref":"#/components/schemas/ComarchRateLimitSettings"}},"additionalProperties":false,"description":"The stored Comarch configuration of the tenant, without its secrets."},"ComarchConnectionResponse":{"required":["baseUrl","clientId","hasClientSecret","partnerCode","programCode"],"type":"object","properties":{"baseUrl":{"type":"string","description":"Root URL of the Comarch CLM B2B Gateway API, always ending with a slash.","format":"uri"},"clientId":{"minLength":1,"type":"string","description":"OAuth2 client id issued by Comarch for the B2B Gateway API."},"programCode":{"minLength":1,"type":"string","description":"Comarch CLM code of the loyalty programme (Comarch `program_code`)."},"partnerCode":{"minLength":1,"type":"string","description":"Comarch code of the tenant's partner; only this partner's stores are looked up."},"hasClientSecret":{"type":"boolean","description":"Whether a client secret is stored. When true, a save may omit `connection.clientSecret` to keep it."}},"additionalProperties":false,"description":"How the tenant reaches the Comarch CLM B2B Gateway API, as stored, without the client secret."},"ComarchProvidersConfiguration":{"required":["customer"],"type":"object","properties":{"customer":{"description":"How the holder's Comarch customer record is read and updated.","$ref":"#/components/schemas/ComarchCustomerConfiguration"},"coupon":{"description":"Coupon sync settings. Always returned; on a save, omit it to keep the current settings.","$ref":"#/components/schemas/ComarchCouponConfiguration"}},"additionalProperties":false,"description":"How the built-in Comarch customer and coupon providers behave."},"ComarchCustomerConfiguration":{"type":"object","properties":{"retrieveCustomerTransactionBalance":{"type":"boolean","description":"When true, the account also carries `comarch.customer.waitingToBookPoints` (points not yet booked),\nat the cost of one more Comarch call per customer lookup. Default false.","default":false},"updateOnPassInstallationChange":{"type":"boolean","description":"When true, every pass install or removal on a device calls the\n`extensions.comarch.walletInstallationCustomerUpdater` script, and the update it returns is sent to\nthe Comarch customer named by the pass's Comarch customer id. Default false.","default":false}},"additionalProperties":false,"description":"How the holder's Comarch customer record is read and updated."},"ComarchCouponConfiguration":{"type":"object","properties":{"enabled":{"type":"boolean","description":"When true, the Comarch coupons of the pass's customer are reconciled with the pass's benefits on every\npass creation and every pass update that recomputes metadata. Default false.","default":false},"passType":{"type":["null","string"],"description":"Pass template of a separate pass issued for each synced coupon. Null or blank issues none."},"usedRetentionDays":{"maximum":3650,"minimum":0,"type":"integer","description":"Days a used coupon stays on the pass after the sync first sees it used, 0 to 3650 (else 400). 0 removes it at once. Default 0.","format":"int32","default":0},"expiredRetentionDays":{"maximum":3650,"minimum":0,"type":"integer","description":"Days an expired coupon stays on the pass, counted from its expiry date, 0 to 3650 (else 400). Default 30.","format":"int32","default":30}},"additionalProperties":false,"description":"How the holder's Comarch coupons become benefits on their passes."},"ComarchKafkaConnectionResponse":{"required":["bootstrapServers","hasPassword","topic","username"],"type":"object","properties":{"bootstrapServers":{"minLength":1,"type":"string","description":"Comma-separated list of Kafka bootstrap servers, as `host:port`."},"username":{"minLength":1,"type":"string","description":"Kafka user; must support SASL SCRAM-SHA-512."},"topic":{"minLength":1,"type":"string","description":"Kafka topic Comarch publishes its events to."},"hasPassword":{"type":"boolean","description":"Whether a Kafka password is stored. When false, no Comarch event is received."}},"additionalProperties":false,"description":"The Comarch Kafka topic the tenant listens to, as stored, without the password."},"ComarchRateLimitSettings":{"type":"object","properties":{"throttlingLimit":{"maximum":10000,"minimum":1,"type":"integer","description":"Maximum calls per second sent to Comarch, 1 to 10000 (else 400). Default 80.","format":"int32","default":80}},"additionalProperties":false,"description":"Cap on the calls this tenant sends to Comarch."}}}}
```

## The ComarchConnectionRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchConnectionRequest":{"required":["baseUrl","clientId","partnerCode","programCode"],"type":"object","properties":{"baseUrl":{"type":"string","description":"Root URL of the Comarch CLM B2B Gateway API. A trailing slash is added when missing.","format":"uri"},"clientId":{"minLength":1,"type":"string","description":"OAuth2 client id issued by Comarch for the B2B Gateway API."},"programCode":{"minLength":1,"type":"string","description":"Comarch CLM code of the loyalty programme (Comarch `program_code`)."},"partnerCode":{"minLength":1,"type":"string","description":"Comarch code of the tenant's partner; only this partner's stores are looked up."},"clientSecret":{"type":["null","string"],"description":"OAuth2 client secret. Never returned.\nOmitted, null or blank keeps the stored secret; refused with a 400 when none is stored yet."}},"additionalProperties":false,"description":"How the tenant reaches the Comarch CLM B2B Gateway API, as sent on a save."}}}}
```

## The ComarchConnectionResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchConnectionResponse":{"required":["baseUrl","clientId","hasClientSecret","partnerCode","programCode"],"type":"object","properties":{"baseUrl":{"type":"string","description":"Root URL of the Comarch CLM B2B Gateway API, always ending with a slash.","format":"uri"},"clientId":{"minLength":1,"type":"string","description":"OAuth2 client id issued by Comarch for the B2B Gateway API."},"programCode":{"minLength":1,"type":"string","description":"Comarch CLM code of the loyalty programme (Comarch `program_code`)."},"partnerCode":{"minLength":1,"type":"string","description":"Comarch code of the tenant's partner; only this partner's stores are looked up."},"hasClientSecret":{"type":"boolean","description":"Whether a client secret is stored. When true, a save may omit `connection.clientSecret` to keep it."}},"additionalProperties":false,"description":"How the tenant reaches the Comarch CLM B2B Gateway API, as stored, without the client secret."}}}}
```

## The ComarchCouponConfiguration object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchCouponConfiguration":{"type":"object","properties":{"enabled":{"type":"boolean","description":"When true, the Comarch coupons of the pass's customer are reconciled with the pass's benefits on every\npass creation and every pass update that recomputes metadata. Default false.","default":false},"passType":{"type":["null","string"],"description":"Pass template of a separate pass issued for each synced coupon. Null or blank issues none."},"usedRetentionDays":{"maximum":3650,"minimum":0,"type":"integer","description":"Days a used coupon stays on the pass after the sync first sees it used, 0 to 3650 (else 400). 0 removes it at once. Default 0.","format":"int32","default":0},"expiredRetentionDays":{"maximum":3650,"minimum":0,"type":"integer","description":"Days an expired coupon stays on the pass, counted from its expiry date, 0 to 3650 (else 400). Default 30.","format":"int32","default":30}},"additionalProperties":false,"description":"How the holder's Comarch coupons become benefits on their passes."}}}}
```

## The ComarchCustomerConfiguration object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchCustomerConfiguration":{"type":"object","properties":{"retrieveCustomerTransactionBalance":{"type":"boolean","description":"When true, the account also carries `comarch.customer.waitingToBookPoints` (points not yet booked),\nat the cost of one more Comarch call per customer lookup. Default false.","default":false},"updateOnPassInstallationChange":{"type":"boolean","description":"When true, every pass install or removal on a device calls the\n`extensions.comarch.walletInstallationCustomerUpdater` script, and the update it returns is sent to\nthe Comarch customer named by the pass's Comarch customer id. Default false.","default":false}},"additionalProperties":false,"description":"How the holder's Comarch customer record is read and updated."}}}}
```

## The ComarchKafkaConnectionRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchKafkaConnectionRequest":{"required":["bootstrapServers","topic","username"],"type":"object","properties":{"bootstrapServers":{"minLength":1,"type":"string","description":"Comma-separated list of Kafka bootstrap servers, as `host:port`."},"username":{"minLength":1,"type":"string","description":"Kafka user; must support SASL SCRAM-SHA-512."},"topic":{"minLength":1,"type":"string","description":"Kafka topic Comarch publishes its events to."},"password":{"type":["null","string"],"description":"Kafka password. Never returned.\nOmitted, null or blank keeps the stored password; refused with a 400 when none is stored yet."}},"additionalProperties":false,"description":"The Comarch Kafka topic the tenant listens to, as sent on a save. Comarch events read from it (customer,\npoint balance, coupon) refresh the passes of the customers they name."}}}}
```

## The ComarchKafkaConnectionResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchKafkaConnectionResponse":{"required":["bootstrapServers","hasPassword","topic","username"],"type":"object","properties":{"bootstrapServers":{"minLength":1,"type":"string","description":"Comma-separated list of Kafka bootstrap servers, as `host:port`."},"username":{"minLength":1,"type":"string","description":"Kafka user; must support SASL SCRAM-SHA-512."},"topic":{"minLength":1,"type":"string","description":"Kafka topic Comarch publishes its events to."},"hasPassword":{"type":"boolean","description":"Whether a Kafka password is stored. When false, no Comarch event is received."}},"additionalProperties":false,"description":"The Comarch Kafka topic the tenant listens to, as stored, without the password."}}}}
```

## The ComarchProvidersConfiguration object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchProvidersConfiguration":{"required":["customer"],"type":"object","properties":{"customer":{"description":"How the holder's Comarch customer record is read and updated.","$ref":"#/components/schemas/ComarchCustomerConfiguration"},"coupon":{"description":"Coupon sync settings. Always returned; on a save, omit it to keep the current settings.","$ref":"#/components/schemas/ComarchCouponConfiguration"}},"additionalProperties":false,"description":"How the built-in Comarch customer and coupon providers behave."},"ComarchCustomerConfiguration":{"type":"object","properties":{"retrieveCustomerTransactionBalance":{"type":"boolean","description":"When true, the account also carries `comarch.customer.waitingToBookPoints` (points not yet booked),\nat the cost of one more Comarch call per customer lookup. Default false.","default":false},"updateOnPassInstallationChange":{"type":"boolean","description":"When true, every pass install or removal on a device calls the\n`extensions.comarch.walletInstallationCustomerUpdater` script, and the update it returns is sent to\nthe Comarch customer named by the pass's Comarch customer id. Default false.","default":false}},"additionalProperties":false,"description":"How the holder's Comarch customer record is read and updated."},"ComarchCouponConfiguration":{"type":"object","properties":{"enabled":{"type":"boolean","description":"When true, the Comarch coupons of the pass's customer are reconciled with the pass's benefits on every\npass creation and every pass update that recomputes metadata. Default false.","default":false},"passType":{"type":["null","string"],"description":"Pass template of a separate pass issued for each synced coupon. Null or blank issues none."},"usedRetentionDays":{"maximum":3650,"minimum":0,"type":"integer","description":"Days a used coupon stays on the pass after the sync first sees it used, 0 to 3650 (else 400). 0 removes it at once. Default 0.","format":"int32","default":0},"expiredRetentionDays":{"maximum":3650,"minimum":0,"type":"integer","description":"Days an expired coupon stays on the pass, counted from its expiry date, 0 to 3650 (else 400). Default 30.","format":"int32","default":30}},"additionalProperties":false,"description":"How the holder's Comarch coupons become benefits on their passes."}}}}
```

## The ComarchRateLimitSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchRateLimitSettings":{"type":"object","properties":{"throttlingLimit":{"maximum":10000,"minimum":1,"type":"integer","description":"Maximum calls per second sent to Comarch, 1 to 10000 (else 400). Default 80.","format":"int32","default":80}},"additionalProperties":false,"description":"Cap on the calls this tenant sends to Comarch."}}}}
```

## The ComarchScriptsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ComarchScriptsDefinition":{"required":["couponMapper","customerMapper","locationMapper","walletInstallationCustomerUpdater"],"type":"object","properties":{"customerMapper":{"description":"`extensions.comarch.customerMapper`: adjusts the account fields mapped from a Comarch customer.","$ref":"#/components/schemas/ExtensionScriptSlot"},"locationMapper":{"description":"`extensions.comarch.locationMapper`: adjusts the account fields mapped from a Comarch store.","$ref":"#/components/schemas/ExtensionScriptSlot"},"walletInstallationCustomerUpdater":{"description":"`extensions.comarch.walletInstallationCustomerUpdater`: the update sent to the Comarch customer when a device installs or removes the pass.","$ref":"#/components/schemas/ExtensionScriptSlot"},"couponMapper":{"description":"`extensions.comarch.couponMapper`: adjusts, or skips, the benefit a Comarch coupon becomes. Runs only while `providers.coupon.enabled` is on.","$ref":"#/components/schemas/ExtensionScriptSlot"}},"additionalProperties":false,"description":"The scripts the Comarch integration can be customised with."},"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."}}}}
```

## The ConfigSchemaCatalog object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ConfigSchemaCatalog":{"type":"object","properties":{"definitions":{"type":"object","additionalProperties":{},"description":"Every schema by title. References between them are written `#/definitions/{title}`, so\nthe object is a JSON Schema definitions map and can be used as one without rewriting."},"associations":{"type":"array","items":{"description":"The rule binding one schema to the files it validates. The same rules decide which schema a file is\nvalidated against when it is saved.","$ref":"#/components/schemas/SchemaAssociation"},"description":"Which files each schema validates. A file matched by no association has no schema, e.g. web hooks,\nscripts and unknown files."}},"additionalProperties":false,"description":"The tenant configuration schemas, and which file each of them validates."},"SchemaAssociation":{"type":"object","properties":{"schema":{"type":"string","description":"Title of the schema this rule selects."},"kind":{"description":"Which of the matching rules applies.","$ref":"#/components/schemas/SchemaAssociationKind"},"path":{"type":"string","description":"The exact file for Neo.Configuration.Tenants.Documentation.SchemaAssociationKind.File (e.g. `config.yml`), otherwise the folder\nprefix the file name must start with, trailing `/` included (e.g. `server/passes/`)."},"extension":{"type":["null","string"],"description":"Suffix the file name must end with, dot included (e.g. `.yml`), for\nNeo.Configuration.Tenants.Documentation.SchemaAssociationKind.Prefix. Null accepts any file under Path."},"property":{"type":["null","string"],"description":"Top-level property of the file carrying the discriminating value, for\nNeo.Configuration.Tenants.Documentation.SchemaAssociationKind.Discriminator; null otherwise."},"value":{"type":["null","string"],"description":"String that property must hold, for Neo.Configuration.Tenants.Documentation.SchemaAssociationKind.Discriminator; null otherwise."}},"additionalProperties":false,"description":"The rule binding one schema to the files it validates. The same rules decide which schema a file is\nvalidated against when it is saved."},"SchemaAssociationKind":{"enum":["File","Prefix","Discriminator"],"type":"string","description":"How a schema decides which configuration files it validates."}}}}
```

## The ConnectBenefitTemplate object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ConnectBenefitTemplate":{"type":"object","properties":{"id":{"type":"string","description":"Benefit template id, as on the benefits of a scanned pass."},"title":{"description":"Title shown to staff; falls back to the admin console name, then the id.","$ref":"#/components/schemas/LocalizedText"}},"additionalProperties":false,"description":"A benefit template the device accepts."},"LocalizedText":{"type":"object","properties":{"default":{"type":"string","description":"Text used when no localization matches."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code; null if none."}},"additionalProperties":false,"description":"A text with translations."}}}}
```

## The ConnectProfile object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ConnectProfile":{"type":"object","properties":{"id":{"type":"string","description":"Profile id, sent back when starting a session."},"name":{"type":"string","description":"Name shown to staff."},"description":{"type":["null","string"],"description":"Free text; null when none."},"emoji":{"type":["null","string"],"description":"Icon shown next to the name; null when none."},"color":{"type":["null","string"],"description":"Hex colour, `#rrggbb`; null when none."},"validFrom":{"type":["null","string"],"description":"First usable instant, UTC; null for no start.","format":"date-time"},"validUntil":{"type":["null","string"],"description":"Instant it stops being usable, UTC; null for no end.","format":"date-time"},"schedule":{"type":"array","items":{"description":"Opening window: opens at each occurrence of Cron and stays open for DurationMinutes.","$ref":"#/components/schemas/DeviceProfileWindow"},"description":"Opening windows; empty means always open within the validity dates."},"settings":{"oneOf":[{"description":"What a Pass Scanner scanner does while running the profile.","$ref":"#/components/schemas/PassScannerConnectProfileSettings"}],"description":"Type-specific settings."}},"additionalProperties":false,"description":"A profile as the device runs it; the device evaluates the schedule in its own timezone."},"DeviceProfileWindow":{"type":"object","properties":{"cron":{"type":"string","description":"Cron expression with seconds and no year, as in automations (`0 0 7 * * *` is daily at 07:00). Wall-clock time in the device's timezone; unparsable returns 400."},"durationMinutes":{"type":"integer","description":"Minutes the window stays open, 1 to 1440 (otherwise 400).","format":"int32"}},"additionalProperties":false,"description":"Opening window: opens at each occurrence of Cron and stays open for DurationMinutes."},"PassScannerConnectProfileSettings":{"required":["$type"],"type":"object","allOf":[{"description":"Type-specific profile settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`).","$ref":"#/components/schemas/ConnectProfileSettingsBase"}],"properties":{"scanFilter":{"description":"Benefits accepted; empty accepts all.","$ref":"#/components/schemas/ConnectScanFilter"},"allowStamps":{"type":"boolean","description":"Whether staff can add stamps. Off, scanning a stamp card only shows it."},"redeemOnScan":{"description":"Redemption behaviour on scan.","$ref":"#/components/schemas/RedeemOnScanSettings"},"$type":{"enum":["passScanner"],"type":"string","description":"Discriminator. Always `passScanner` for this shape."}},"additionalProperties":false,"description":"What a Pass Scanner scanner does while running the profile."},"ConnectProfileSettingsBase":{"type":"object","description":"Type-specific profile settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`)."},"ConnectScanFilter":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"},"description":"Benefit template tags to accept."},"benefitTemplates":{"type":"array","items":{"description":"A benefit template the device accepts.","$ref":"#/components/schemas/ConnectBenefitTemplate"},"description":"Benefit templates to accept, with the title shown to staff."}},"additionalProperties":false,"description":"A benefit is accepted if it carries one of Tags or comes from one of BenefitTemplates. Both empty accepts all."},"ConnectBenefitTemplate":{"type":"object","properties":{"id":{"type":"string","description":"Benefit template id, as on the benefits of a scanned pass."},"title":{"description":"Title shown to staff; falls back to the admin console name, then the id.","$ref":"#/components/schemas/LocalizedText"}},"additionalProperties":false,"description":"A benefit template the device accepts."},"LocalizedText":{"type":"object","properties":{"default":{"type":"string","description":"Text used when no localization matches."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code; null if none."}},"additionalProperties":false,"description":"A text with translations."},"RedeemOnScanSettings":{"type":"object","properties":{"repeatScanBlockSeconds":{"type":"integer","description":"Seconds the device ignores a repeat scan of the same pass, 0 to 3600; 0 disables the block.","format":"int32"}},"additionalProperties":false,"description":"Redemption behaviour on scan."}}}}
```

## The ConnectProfileSettingsBase object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ConnectProfileSettingsBase":{"type":"object","description":"Type-specific profile settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`)."}}}}
```

## The ConnectRenewalKeyRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ConnectRenewalKeyRequest":{"required":["issuerId","keyId","privateKey"],"type":"object","properties":{"issuerId":{"minLength":1,"type":"string","description":"Issuer ID shown on the App Store Connect API keys page."},"keyId":{"minLength":1,"type":"string","description":"Key ID Apple assigned, also in the file name `AuthKey_{id}.p8`."},"privateKey":{"minLength":1,"type":"string","description":"Content of the `.p8` file, PEM block included."}},"additionalProperties":false,"description":"Request body to connect the renewal key."}}}}
```

## The ConnectResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ConnectResponse":{"type":"object","properties":{"settings":{"oneOf":[{"$ref":"#/components/schemas/PassScannerSettings"}],"description":"Device settings, including the rotating barcode secret when the tenant has one."},"profiles":{"type":"array","items":{"description":"A profile as the device runs it; the device evaluates the schedule in its own timezone.","$ref":"#/components/schemas/ConnectProfile"},"description":"Profiles the device can run, in display order. Empty accepts every benefit. Deleted profiles and profiles of another device type are left out."},"session":{"description":"Running session, or null; what to resume after a restart.","$ref":"#/components/schemas/DeviceSessionState"},"pubSub":{"description":"Where the device listens for `sessionClosed` and `settingsChanged` (then call `GET settings`). Null when push is unavailable: the device learns of a closed session from the `TWC-Device-Session` header and of changed settings on its next refresh.","$ref":"#/components/schemas/PubSubConnection"}},"additionalProperties":false,"description":"Everything a device needs to run, returned on connect and settings refresh."},"PassScannerSettings":{"required":["$type","logoUrl"],"type":"object","allOf":[{"description":"Device settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`).","$ref":"#/components/schemas/DeviceSettingsBase"}],"properties":{"logoUrl":{"type":"string","description":"Absolute URL of the logo shown by the app. Copied at creation from the tenant's large favicon, else logo, else favicon; not updated by later branding changes."},"nfc":{"description":"Keys to read Apple and Google Wallet passes over NFC. Returned only by `connect` and `settings`; absent when the tenant has none.","$ref":"#/components/schemas/NfcSettings"},"rotatingBarcode":{"description":"Data to check a Google Wallet rotating barcode. Returned only by `connect` and `settings`; absent when the tenant has none.","$ref":"#/components/schemas/RotatingBarcodeSettings"},"$type":{"enum":["passScanner"],"type":"string","description":"Discriminator. Always `passScanner` for this shape."}},"additionalProperties":false,"description":"Pass Scanner device settings."},"DeviceSettingsBase":{"type":"object","properties":{"telemetry":{"description":"Telemetry settings to apply; always populated (defaults: `information`, 60 seconds).","$ref":"#/components/schemas/TelemetrySettings"}},"description":"Device settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`)."},"TelemetrySettings":{"type":"object","properties":{"minimumSeverity":{"description":"Lowest severity sent; lower items are dropped on the device.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"maxBatchSize":{"type":"integer","description":"Most items per upload; larger batches are rejected.","format":"int32"},"flushIntervalSeconds":{"type":"integer","description":"Seconds the device buffers before uploading.","format":"int32"}},"additionalProperties":false,"description":"What and how much the device reports."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."},"NfcSettings":{"type":"object","properties":{"apple":{"description":"Apple Wallet (Value Added Services).","$ref":"#/components/schemas/AppleNfcSettings"},"google":{"description":"Google Wallet (Smart Tap).","$ref":"#/components/schemas/GoogleNfcSettings"}},"additionalProperties":false,"description":"What a device needs to read wallet passes over NFC. Each wallet is absent when the tenant has not set it up."},"AppleNfcSettings":{"type":"object","properties":{"privateKey":{"type":"string","description":"EC P-256 private key that decrypts the NFC message of a pass: PKCS#8, Base64. Keep it on the device."},"passTypeIdentifier":{"type":"string","description":"Pass type identifier of the tenant's Apple passes."}},"additionalProperties":false},"GoogleNfcSettings":{"type":"object","properties":{"collectorId":{"type":"string","description":"Smart Tap collector ID the device announces to the phone."},"keyVersion":{"type":"integer","description":"Version under which the matching public key is registered with Google.","format":"int32"},"privateKey":{"type":"string","description":"EC P-256 private key of the Smart Tap authentication key: PKCS#8, Base64. Keep it on the device."}},"additionalProperties":false},"RotatingBarcodeSettings":{"type":"object","properties":{"secret":{"type":"string","description":"Tenant secret to check the passwords. Keep it on the device."},"periodSeconds":{"type":"integer","description":"Seconds a password stays valid.","format":"int32"},"digits":{"type":"integer","description":"Digits per password.","format":"int32"}},"additionalProperties":false,"description":"What a device needs to check Google Wallet rotating barcode one-time passwords (shown where the barcode value holds `{totp_value_0}`)."},"ConnectProfile":{"type":"object","properties":{"id":{"type":"string","description":"Profile id, sent back when starting a session."},"name":{"type":"string","description":"Name shown to staff."},"description":{"type":["null","string"],"description":"Free text; null when none."},"emoji":{"type":["null","string"],"description":"Icon shown next to the name; null when none."},"color":{"type":["null","string"],"description":"Hex colour, `#rrggbb`; null when none."},"validFrom":{"type":["null","string"],"description":"First usable instant, UTC; null for no start.","format":"date-time"},"validUntil":{"type":["null","string"],"description":"Instant it stops being usable, UTC; null for no end.","format":"date-time"},"schedule":{"type":"array","items":{"description":"Opening window: opens at each occurrence of Cron and stays open for DurationMinutes.","$ref":"#/components/schemas/DeviceProfileWindow"},"description":"Opening windows; empty means always open within the validity dates."},"settings":{"oneOf":[{"description":"What a Pass Scanner scanner does while running the profile.","$ref":"#/components/schemas/PassScannerConnectProfileSettings"}],"description":"Type-specific settings."}},"additionalProperties":false,"description":"A profile as the device runs it; the device evaluates the schedule in its own timezone."},"DeviceProfileWindow":{"type":"object","properties":{"cron":{"type":"string","description":"Cron expression with seconds and no year, as in automations (`0 0 7 * * *` is daily at 07:00). Wall-clock time in the device's timezone; unparsable returns 400."},"durationMinutes":{"type":"integer","description":"Minutes the window stays open, 1 to 1440 (otherwise 400).","format":"int32"}},"additionalProperties":false,"description":"Opening window: opens at each occurrence of Cron and stays open for DurationMinutes."},"PassScannerConnectProfileSettings":{"required":["$type"],"type":"object","allOf":[{"description":"Type-specific profile settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`).","$ref":"#/components/schemas/ConnectProfileSettingsBase"}],"properties":{"scanFilter":{"description":"Benefits accepted; empty accepts all.","$ref":"#/components/schemas/ConnectScanFilter"},"allowStamps":{"type":"boolean","description":"Whether staff can add stamps. Off, scanning a stamp card only shows it."},"redeemOnScan":{"description":"Redemption behaviour on scan.","$ref":"#/components/schemas/RedeemOnScanSettings"},"$type":{"enum":["passScanner"],"type":"string","description":"Discriminator. Always `passScanner` for this shape."}},"additionalProperties":false,"description":"What a Pass Scanner scanner does while running the profile."},"ConnectProfileSettingsBase":{"type":"object","description":"Type-specific profile settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`)."},"ConnectScanFilter":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"},"description":"Benefit template tags to accept."},"benefitTemplates":{"type":"array","items":{"description":"A benefit template the device accepts.","$ref":"#/components/schemas/ConnectBenefitTemplate"},"description":"Benefit templates to accept, with the title shown to staff."}},"additionalProperties":false,"description":"A benefit is accepted if it carries one of Tags or comes from one of BenefitTemplates. Both empty accepts all."},"ConnectBenefitTemplate":{"type":"object","properties":{"id":{"type":"string","description":"Benefit template id, as on the benefits of a scanned pass."},"title":{"description":"Title shown to staff; falls back to the admin console name, then the id.","$ref":"#/components/schemas/LocalizedText"}},"additionalProperties":false,"description":"A benefit template the device accepts."},"LocalizedText":{"type":"object","properties":{"default":{"type":"string","description":"Text used when no localization matches."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code; null if none."}},"additionalProperties":false,"description":"A text with translations."},"RedeemOnScanSettings":{"type":"object","properties":{"repeatScanBlockSeconds":{"type":"integer","description":"Seconds the device ignores a repeat scan of the same pass, 0 to 3600; 0 disables the block.","format":"int32"}},"additionalProperties":false,"description":"Redemption behaviour on scan."},"DeviceSessionState":{"type":"object","properties":{"sessionId":{"type":"string","description":"Session id, sent by the device as `session.id` baggage."},"profileId":{"type":"string","description":"Profile run."},"since":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Session start, UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastSeen":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Last request within the session, UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"A device running one profile."},"PubSubConnection":{"type":"object","properties":{"url":{"type":"string","description":"WebSocket URL; get a fresh one from `GET settings` to reconnect.","format":"uri"}},"additionalProperties":false,"description":"Push channel of a device."}}}}
```

## The ConnectResult object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ConnectResult":{"type":"object","properties":{"websocketUri":{"type":"string","description":"Websocket URL, valid for 10 seconds: open it right away.","format":"uri"},"sessionId":{"type":"string","description":"Watcher session to send to `ping`. Opaque, 32 hexadecimal characters."}},"additionalProperties":false,"description":"Websocket location and watcher session."}}}}
```

## The ConnectScanFilter object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ConnectScanFilter":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"},"description":"Benefit template tags to accept."},"benefitTemplates":{"type":"array","items":{"description":"A benefit template the device accepts.","$ref":"#/components/schemas/ConnectBenefitTemplate"},"description":"Benefit templates to accept, with the title shown to staff."}},"additionalProperties":false,"description":"A benefit is accepted if it carries one of Tags or comes from one of BenefitTemplates. Both empty accepts all."},"ConnectBenefitTemplate":{"type":"object","properties":{"id":{"type":"string","description":"Benefit template id, as on the benefits of a scanned pass."},"title":{"description":"Title shown to staff; falls back to the admin console name, then the id.","$ref":"#/components/schemas/LocalizedText"}},"additionalProperties":false,"description":"A benefit template the device accepts."},"LocalizedText":{"type":"object","properties":{"default":{"type":"string","description":"Text used when no localization matches."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code; null if none."}},"additionalProperties":false,"description":"A text with translations."}}}}
```

## The ConnectionToken object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ConnectionToken":{"type":"object","properties":{"deviceId":{"type":"string","description":"Device the key is bound to; sent in every device route."},"tenantId":{"type":"string","description":"Tenant of the device: the `{tenantId}` of every route it calls."},"apiKey":{"type":"string","description":"Secret for the `X-API-KEY` header. Shown once; store it on the device."},"environment":{"type":"string","description":"Base URL of the platform to call.","format":"uri"}},"additionalProperties":false,"description":"What a device needs to start talking to the platform."}}}}
```

## The CreateApiKeyRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateApiKeyRequest":{"required":["name"],"type":"object","properties":{"name":{"maxLength":200,"minLength":1,"type":"string","description":"Unique within the tenant, case-insensitive. 1 to 200 ASCII letters, digits, hyphens, underscores or dots."},"enabled":{"type":"boolean","description":"Whether the key is accepted on creation. Defaults to `true`."},"permissions":{"type":"array","items":{"type":"string"},"description":"Scopes, `area:*` wildcards or `*`. At least one."},"tags":{"maxItems":20,"type":"array","items":{"type":"string"},"description":"Free-form labels. None when omitted."}},"additionalProperties":false,"description":"Request body to create an API key."}}}}
```

## The CreateDevice object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateDevice":{"type":"object","properties":{"type":{"description":"Device type.","$ref":"#/components/schemas/DeviceType"},"name":{"type":"string","description":"Name shown in the admin console: required, at most 200 characters."},"description":{"type":["null","string"],"description":"Free text for operators."},"isEnabled":{"type":"boolean","description":"Whether the device may connect once it has a key. Default `true`."},"telemetry":{"description":"Telemetry settings; null applies defaults.","$ref":"#/components/schemas/UpdateTelemetrySettings"},"profileIds":{"type":["null","array"],"items":{"type":"string"},"description":"Profiles the device can run, in display order; null for none. Each must exist, match the device type and appear once."}},"additionalProperties":false,"description":"Payload to create a device."},"DeviceType":{"enum":["passScanner"],"type":"string","description":"Device kind: decides its settings, profiles and API key permissions."},"UpdateTelemetrySettings":{"type":"object","properties":{"minimumSeverity":{"description":"Lowest severity the device sends; above everything it emits, it is silenced.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"flushIntervalSeconds":{"type":"integer","description":"Seconds the device buffers before uploading, 5 to 3600 (otherwise 400).","format":"int32"}},"additionalProperties":false,"description":"Operator-editable telemetry settings. The maximum batch size cannot be changed."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."}}}}
```

## The CreateEmailTemplateRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateEmailTemplateRequest":{"required":["cultures","id"],"type":"object","properties":{"id":{"minLength":1,"type":"string","description":"Template identifier: 1 to 50 letters, digits, hyphens, underscores, dots or spaces; not `.` or `..`, else 400. 409 if it exists."},"cultures":{"type":"object","additionalProperties":{"description":"Design source and compiled content of one culture.","$ref":"#/components/schemas/EmailTemplateCultureContent"},"description":"Content per culture code. At least one entry; each code 1 to 10 letters, digits, hyphens or underscores, else 400."}},"additionalProperties":false,"description":"Request body to create an e-mail template."},"EmailTemplateCultureContent":{"required":["css","html"],"type":"object","properties":{"html":{"type":"string","description":"HTML design source, reloaded into the editor, not sent. Null is saved as empty."},"css":{"type":"string","description":"CSS design source, reloaded into the editor, not sent. Null is saved as empty."},"subject":{"type":["null","string"],"description":"Compiled subject used to send mail. Null in a response when the culture has no compiled content yet."},"body":{"type":["null","string"],"description":"Compiled body (HTML with Liquid placeholders) used to send mail. Null in a response when the culture has no compiled content yet."}},"additionalProperties":false,"description":"Design source and compiled content of one culture."}}}}
```

## The CreateEnrolmentFormRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateEnrolmentFormRequest":{"required":["name"],"type":"object","properties":{"name":{"minLength":1,"type":"string","description":"Form name, 1 to 50 letters, digits, hyphens or underscores; becomes a public URL segment; `locales` is reserved. Else 400; 409 if a layout already has this name."},"flow":{"type":["null","string"],"description":"Flow executed on registration. Required unless `yaml` is used. Must name an existing registration flow, else 400."},"localization":{"description":"Localization wiring. Omitted means no locale resources.","$ref":"#/components/schemas/EnrolmentFormLocalization"},"yaml":{"type":["null","string"],"description":"Complete form as YAML, saved as sent. Exclusive with `flow` and `localization`; not blank, else 400."}},"additionalProperties":false,"description":"Request body to create an enrolment form."},"EnrolmentFormLocalization":{"type":"object","properties":{"resources":{"type":"array","items":{"type":"string"},"description":"Locale resource directories, e.g. `/locales/fields/`. Order matters: the last directory wins for a duplicate key. A blank entry is refused with 400; a missing directory is accepted."}},"additionalProperties":false,"description":"Localization wiring of a form."}}}}
```

## The CreateFlowRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateFlowRequest":{"required":["name","steps"],"type":"object","properties":{"name":{"minLength":1,"type":"string","description":"Flow name. Starts with a lowercase letter; 2 to 50 letters, digits, hyphens or underscores, else 400. 409 if a flow with the same name (ignoring case) exists."},"type":{"type":["null","string"],"description":"Flow type; must be available to the tenant, else 400. Omitted or blank means `userRegistration`."},"steps":{"type":"array","items":{"description":"One step of a flow.","$ref":"#/components/schemas/FlowStepDefinition"},"description":"Steps in execution order. May be empty."}},"additionalProperties":false,"description":"Request body to create a flow."},"FlowStepDefinition":{"required":["type"],"type":"object","properties":{"type":{"minLength":1,"type":"string","description":"Step type, e.g. `mail`, `sms`, `pass` or `script`. Must be available to the tenant, else 400. Empty in a response when the step has none."}},"additionalProperties":{},"description":"One step of a flow."}}}}
```

## The CreateGoogleIssuerRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateGoogleIssuerRequest":{"required":["contactEmails","name","projectId"],"type":"object","properties":{"projectId":{"minLength":1,"type":"string","description":"Google Cloud project id of the platform's service account that creates the issuer."},"name":{"maxLength":100,"minLength":1,"type":"string","description":"Name of the issuer, shown to Google Wallet users."},"contactEmails":{"minItems":1,"type":"array","items":{"type":"string"},"description":"Contact e-mails of the issuer, at least one. Google shows the first one, and sends the others its alerts. They give no access to the Google Pay & Wallet Console."}},"additionalProperties":false,"description":"Request body to create the issuer."}}}}
```

## The CreateOrUpdateModel object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateOrUpdateModel":{"required":["layout"],"type":"object","properties":{"layout":{"minLength":1,"type":"string","description":"Target page, as a path within the tenant web app."},"parameters":{"type":"object","additionalProperties":{"type":"string"},"description":"Query parameters added to the layout URL on every visit; a same-named visitor parameter replaces them."},"options":{"description":"Label, expiry date and id length. Omitted on update, label and expiry are cleared.","$ref":"#/components/schemas/WebRedirectOptions"}},"additionalProperties":false,"description":"Short URL to create, or the full replacement of an existing one."},"WebRedirectOptions":{"type":"object","properties":{"expirationDate":{"type":["null","string"],"description":"Informational expiry date; `null` for none.","format":"date-time"},"label":{"type":["null","string"],"description":"Admin-only label, never shown to the visitor. Omitted on update, it is cleared."},"length":{"type":"integer","description":"Length of the generated id. Default `6`.","format":"int32"}},"additionalProperties":false,"description":"Short URL settings."}}}}
```

## The CreatePassData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreatePassData":{"type":"object","allOf":[{"description":"Fields a caller can set on a pass, at creation or on update.","$ref":"#/components/schemas/PassData"}],"properties":{"extensions":{"type":["null","object"],"additionalProperties":{},"description":"Initial state of the pass's extensions, keyed by name (`apple`, `google`)."}},"additionalProperties":false,"description":"Content of a new pass."},"PassData":{"type":"object","properties":{"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifiers of the holder in other systems, keyed by system and field (`shopify.customerId`), matched by `findPass`, `id.{key}` lookups and filters. Avoid keys starting with `id.`."},"additionalData":{"type":["null","object"],"additionalProperties":{},"description":"Free data stored with the pass and available to its templates."},"themeId":{"type":["null","string"],"description":"Theme applied to the pass. Omit or `null` to leave it unchanged (none on create); an empty string removes it. An unknown id is refused with a 400."}},"additionalProperties":false,"description":"Fields a caller can set on a pass, at creation or on update."}}}}
```

## The CreateRoleRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateRoleRequest":{"required":["name","permissions"],"type":"object","properties":{"name":{"maxLength":200,"minLength":1,"type":"string","description":"Unique within the tenant. 1 to 200 ASCII letters, digits, hyphens, underscores or dots. Not `administrator`; immutable."},"permissions":{"type":"array","items":{"type":"string"},"description":"Scopes, `area:*` wildcards or `*`. At least one. Wildcards are stored as sent and returned expanded."}},"additionalProperties":false,"description":"Request body to create a role."}}}}
```

## The CreateStoreRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateStoreRequest":{"required":["latitude","longitude","storeId"],"type":"object","properties":{"storeId":{"minLength":1,"type":"string","description":"Store identifier in the retail system. Unique within the tenant, case-insensitive. ASCII letters, digits, hyphens, underscores and dots; immutable."},"displayName":{"maxLength":200,"type":["null","string"],"description":"Display name, up to 200 characters. Optional."},"address":{"type":["null","string"],"description":"Postal address as free text. Optional."},"longitude":{"maximum":180,"minimum":-180,"type":"number","description":"Longitude in decimal degrees, -180 to 180.","format":"double"},"latitude":{"maximum":90,"minimum":-90,"type":"number","description":"Latitude in decimal degrees, -90 to 90.","format":"double"},"altitude":{"type":["null","integer"],"description":"Altitude in meters. Optional.","format":"int32"},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"ISO 639 codes of the languages spoken. Omitted means none."},"advisors":{"type":"array","items":{"description":"Advisor assigned to a store.","$ref":"#/components/schemas/StoreAdvisorRequest"},"description":"Advisors working in the store. Omitted means none."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Free-form values read by integrations, e.g. `y2.connectionName`. Omitted means none."}},"additionalProperties":false,"description":"Request body to create a store."},"StoreAdvisorRequest":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"minLength":1,"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"maxLength":200,"minLength":1,"type":"string","description":"Advisor display name, up to 200 characters."}},"additionalProperties":false,"description":"Advisor assigned to a store."}}}}
```

## The CreateTenantUserRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CreateTenantUserRequest":{"required":["email","role"],"type":"object","properties":{"email":{"minLength":1,"type":"string","description":"User e-mail. An existing account with this address is reused, otherwise one is created."},"name":{"maxLength":200,"type":["null","string"],"description":"Display name, up to 200 characters. Used only when a new account is created."},"role":{"minLength":1,"type":"string","description":"Role to grant on this tenant: `administrator` or a tenant role, case-insensitive. Else 400."},"language":{"type":["null","string"],"description":"Admin console language of the invitee, used only when no account exists yet. English when omitted or unsupported."}},"additionalProperties":false,"description":"Request body to invite a user."}}}}
```

## The CredentialConfiguration object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CredentialConfiguration":{"required":["client_email","client_id","private_key","private_key_id","project_id","type"],"type":"object","properties":{"type":{"minLength":1,"type":"string","description":"Type of the credential."},"project_id":{"type":"string","description":"Project ID associated with this credential."},"quota_project":{"type":["null","string"],"description":"Project ID associated with this credential for the purposes of quota calculations and billing."},"client_id":{"type":"string","description":"Client ID associated with UserCredential created by GCloud Auth Login."},"client_secret":{"type":["null","string"],"description":"Client Secret associated with UserCredential created by GCloud Auth Login."},"client_email":{"type":"string","description":"Client Email associated with ServiceAccountCredential obtained from Google Developers Console."},"private_key":{"type":"string","description":"Private Key associated with ServiceAccountCredential obtained from Google Developers Console."},"private_key_id":{"type":"string","description":"Private Key ID associated with ServiceAccountCredential obtained from Google Developers Console."},"refresh_token":{"type":["null","string"],"description":"Refresh Token associated with UserCredential created by\n<a href=\"https://cloud.google.com/sdk/gcloud/reference/auth/login\">GCloud Auth Login</a>."}},"additionalProperties":{},"description":"Google service account credential, stored with the snake_case keys of the JSON key file\ndownloaded from the Google Cloud console."}}}}
```

## The CredentialDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CredentialDefinition":{"required":["clientEmail","clientId","hasClientSecret","hasPrivateKey","hasRefreshToken","privateKeyId","projectId","type"],"type":"object","properties":{"type":{"type":"string","description":"`type` of the credential JSON file; `service_account` for a service account key."},"projectId":{"type":"string","description":"Google Cloud project of the service account (`project_id`)."},"quotaProject":{"type":["null","string"],"description":"Project billed for API calls when it differs from `projectId`; null when not set."},"clientId":{"type":"string","description":"OAuth client ID (`client_id`)."},"clientEmail":{"type":"string","description":"Service account e-mail (`client_email`)."},"privateKeyId":{"type":"string","description":"Private key ID (`private_key_id`), to tell which key is in use."},"hasPrivateKey":{"type":"boolean","description":"Whether the private key is set. Without it, no Google Wallet API call can be made."},"hasClientSecret":{"type":"boolean","description":"Whether a client secret is set. A service account key has none."},"hasRefreshToken":{"type":"boolean","description":"Whether a refresh token is set. A service account key has none."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Other credential fields, returned as stored."}},"additionalProperties":false,"description":"Issuer service account credential; the private key, client secret and refresh token are never returned."}}}}
```

## The CredentialRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CredentialRequest":{"required":["clientEmail","clientId","privateKeyId","projectId","type"],"type":"object","properties":{"type":{"minLength":1,"type":"string","description":"`type` of the credential JSON file; `service_account` for a service account key."},"projectId":{"minLength":1,"type":"string","description":"Google Cloud project of the service account (`project_id`)."},"quotaProject":{"type":["null","string"],"description":"Project billed for API calls when it differs from `projectId`. Omitted or null clears it."},"clientId":{"minLength":1,"type":"string","description":"OAuth client ID (`client_id`)."},"clientSecret":{"type":["null","string"],"description":"OAuth client secret, for a user credential. Omit or leave empty to keep the current one."},"clientEmail":{"minLength":1,"type":"string","description":"Service account e-mail (`client_email`)."},"privateKey":{"type":["null","string"],"description":"PEM-encoded private key (`private_key`). Omit or leave empty to keep the current key; required the first time."},"privateKeyId":{"minLength":1,"type":"string","description":"Private key ID (`private_key_id`)."},"refreshToken":{"type":["null","string"],"description":"OAuth refresh token, for a user credential. Omit or leave empty to keep the current one."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Every other field of the key file. Replaces the stored fields."}},"additionalProperties":false,"description":"Request body to configure the issuer service account credential."}}}}
```

## The CurrentTenantUser object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CurrentTenantUser":{"required":["email","permissions","userId"],"type":"object","properties":{"userId":{"minLength":1,"type":"string","description":"User id."},"email":{"minLength":1,"type":"string","description":"Sign-in e-mail."},"displayName":{"type":["null","string"],"description":"Display name; null when none."},"role":{"type":["null","string"],"description":"Role on this tenant: `globalAdministrator` for a global administrator, `administrator` for a tenant administrator."},"permissions":{"type":"array","items":{"type":"string"},"description":"Every scope held on this tenant, sorted, wildcards expanded: role permissions plus individual grants."}},"additionalProperties":false,"description":"The signed-in user, as seen from this tenant."}}}}
```

## The CustomDomainAvailability object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainAvailability":{"enum":["available","unavailable","claimedByThisTenant","unknown"],"type":"string","description":"Whether a hostname can be claimed."}}}}
```

## The CustomDomainCertificate object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainCertificate":{"type":"object","properties":{"status":{"type":["null","string"],"description":"Raw certificate status (e.g. `active`), for support. Null before one exists."},"expiresOn":{"type":["null","string"],"description":"When the current certificate expires; null until one is issued.","format":"date-time"},"autoRenew":{"type":"boolean","description":"Whether the certificate renews automatically. Renewal requires the customer's DNS records to stay in\nplace."}},"additionalProperties":false,"description":"TLS certificate issued for the hostname."}}}}
```

## The CustomDomainDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainDefinition":{"required":["dnsRecords","domain"],"type":"object","properties":{"domain":{"type":"string","description":"Domain mail is sent from."},"dnsRecords":{"type":"array","items":{"description":"A DNS record the customer creates at their own provider.","$ref":"#/components/schemas/EmailDnsRecord"},"description":"Records the customer must create at their DNS provider."}},"additionalProperties":false,"description":"Custom domain mail is sent from, with the DNS records it needs."},"EmailDnsRecord":{"required":["name","purpose","type","value"],"type":"object","properties":{"type":{"type":"string","description":"Record type, `CNAME` or `TXT`."},"name":{"type":"string","description":"Record name, fully qualified."},"value":{"type":"string","description":"Value to set."},"purpose":{"description":"What the record is for.","$ref":"#/components/schemas/EmailDnsRecordPurpose"}},"additionalProperties":false,"description":"A DNS record the customer creates at their own provider."},"EmailDnsRecordPurpose":{"enum":["sendgridValidation","dkimPrimary","dkimSecondary","dmarc"],"type":"string","description":"What a DNS record of the custom sending domain is for."}}}}
```

## The CustomDomainDiagnostics object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainDiagnostics":{"type":"object","properties":{"cloudflareId":{"type":["null","string"],"description":"Provider identifier of the custom hostname."},"cloudflareStatus":{"type":["null","string"],"description":"Raw hostname status."},"cloudflareSslStatus":{"type":["null","string"],"description":"Raw certificate status."},"domainControlValidationMethod":{"type":["null","string"],"description":"Domain control validation method: `http` or `txt`."},"originSni":{"type":["null","string"],"description":"Origin SNI hostname, when one is set."},"validationErrors":{"type":"array","items":{"type":"string"},"description":"Raw validation messages. Usually present shortly after creation, until the customer has added their\nrecords."}},"additionalProperties":false,"description":"Raw provisioning detail, for support. Not customer-facing copy."}}}}
```

## The CustomDomainDnsRecord object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainDnsRecord":{"type":"object","properties":{"type":{"type":"string","description":"Record type: `CNAME` for routing, `TXT` for ownership verification."},"name":{"type":"string","description":"Record name, fully qualified: the hostname itself for the CNAME, `asuid.` followed by the hostname for\nthe TXT."},"value":{"type":"string","description":"Value to set: the platform's routing target for the CNAME, the ownership verification token for the\nTXT."},"purpose":{"description":"What breaks if it is missing.","$ref":"#/components/schemas/CustomDomainDnsRecordPurpose"}},"additionalProperties":false,"description":"A DNS record the customer creates at their own provider."},"CustomDomainDnsRecordPurpose":{"enum":["routing","ownershipVerification"],"type":"string","description":"What a DNS record the customer must create is for. Each record is checked on its own."}}}}
```

## The CustomDomainDnsRecordPurpose object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainDnsRecordPurpose":{"enum":["routing","ownershipVerification"],"type":"string","description":"What a DNS record the customer must create is for. Each record is checked on its own."}}}}
```

## The CustomDomainPreflight object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainPreflight":{"type":"object","properties":{"hostname":{"type":"string","description":"The hostname, lowercased and normalised."},"isValid":{"type":"boolean","description":"False when one of the rules below rejected it."},"rejections":{"type":"array","items":{"description":"Why a hostname was rejected.","$ref":"#/components/schemas/HostnameRejection"},"description":"Which rules rejected it. Empty when it may be used."},"isApex":{"type":"boolean","description":"True when the hostname is the root of its DNS zone. Correct for multi-part suffixes such as\n`brand.co.uk` and for delegated subzones."},"zoneApex":{"type":["null","string"],"description":"Root of the zone the hostname belongs to, when DNS answered."},"dnsProvider":{"type":["null","string"],"description":"Recognised DNS provider, or null when the nameservers are unfamiliar."},"supportsApex":{"type":["null","boolean"],"description":"Whether that provider can point a zone root at a hostname. Null means unknown — show the generic\ncaution, never \"no\"."},"availability":{"description":"Whether the hostname can be claimed.","$ref":"#/components/schemas/CustomDomainAvailability"}},"additionalProperties":false,"description":"What a preflight found out about a hostname."},"HostnameRejection":{"enum":["malformed","tooLong","wildcard","ownDomain"],"type":"string","description":"Why a hostname was rejected."},"CustomDomainAvailability":{"enum":["available","unavailable","claimedByThisTenant","unknown"],"type":"string","description":"Whether a hostname can be claimed."}}}}
```

## The CustomDomainProbeFailure object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainProbeFailure":{"enum":["unreachable","tlsFailure","differentServer","hostNotRewritten","timeout"],"type":"string","description":"Why a configuration check did not pass."}}}}
```

## The CustomDomainProbeResult object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainProbeResult":{"type":"object","properties":{"passed":{"type":"boolean","description":"True when an HTTPS request to the hostname reached this application and arrived identified as that\nhostname."},"resolvedHost":{"type":["null","string"],"description":"The host this application reported seeing, when the answer could be read at all; null for an unreachable\nhost, a TLS failure, a timeout or a non-success response. Differs from the hostname on\n`hostNotRewritten`."},"failure":{"description":"Why it did not pass. Null when it did.","$ref":"#/components/schemas/CustomDomainProbeFailure"},"checkedAt":{"type":"string","description":"When the check ran, in UTC.","format":"date-time"}},"additionalProperties":false,"description":"Outcome of one configuration check."},"CustomDomainProbeFailure":{"enum":["unreachable","tlsFailure","differentServer","hostNotRewritten","timeout"],"type":"string","description":"Why a configuration check did not pass."}}}}
```

## The CustomDomainRecord object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainRecord":{"required":["dnsRecords","hostname","isBoundInAzure","isLive","state"],"type":"object","properties":{"hostname":{"type":"string","description":"The hostname, lowercased."},"state":{"description":"Where provisioning has got to.","$ref":"#/components/schemas/CustomDomainState"},"dnsRecords":{"type":"array","items":{"description":"A DNS record the customer creates at their own provider.","$ref":"#/components/schemas/CustomDomainDnsRecord"},"description":"Records the customer must create at their DNS provider. Always both, even once they are in place."},"isLive":{"type":"boolean","description":"True when the tenant's `publicUri` points at this hostname, so end users are sent here."},"isBoundInAzure":{"type":["null","boolean"],"description":"Whether the hostname is bound on the platform. Null when this could not be determined, which does not\nmean the ownership record is missing."},"certificate":{"description":"Certificate detail. Null before a certificate is being issued, and whenever its status could not be read.","$ref":"#/components/schemas/CustomDomainCertificate"},"claimedAt":{"type":["null","string"],"description":"When the hostname was claimed. Null when this could not be determined.","format":"date-time"},"lastCheckedAt":{"type":["null","string"],"description":"When the provisioning status was read to build this record, i.e. the time of the request. Null means the\nstatus could not be read and Neo.Runtime.Security.CustomDomains.CustomDomainRecord.State reflects the tenant configuration only — do not read\ncertificate health from such a record.","format":"date-time"},"diagnostics":{"description":"Raw provisioning detail. Returned only by the GET, to a global administrator; null on every other call,\nincluding the create and activate responses.","$ref":"#/components/schemas/CustomDomainDiagnostics"}},"additionalProperties":false,"description":"One custom domain, as the admin API reports it."},"CustomDomainState":{"enum":["pending_dns","validating","ready","active","failed","deleted"],"type":"string","description":"Where a custom domain is in provisioning."},"CustomDomainDnsRecord":{"type":"object","properties":{"type":{"type":"string","description":"Record type: `CNAME` for routing, `TXT` for ownership verification."},"name":{"type":"string","description":"Record name, fully qualified: the hostname itself for the CNAME, `asuid.` followed by the hostname for\nthe TXT."},"value":{"type":"string","description":"Value to set: the platform's routing target for the CNAME, the ownership verification token for the\nTXT."},"purpose":{"description":"What breaks if it is missing.","$ref":"#/components/schemas/CustomDomainDnsRecordPurpose"}},"additionalProperties":false,"description":"A DNS record the customer creates at their own provider."},"CustomDomainDnsRecordPurpose":{"enum":["routing","ownershipVerification"],"type":"string","description":"What a DNS record the customer must create is for. Each record is checked on its own."},"CustomDomainCertificate":{"type":"object","properties":{"status":{"type":["null","string"],"description":"Raw certificate status (e.g. `active`), for support. Null before one exists."},"expiresOn":{"type":["null","string"],"description":"When the current certificate expires; null until one is issued.","format":"date-time"},"autoRenew":{"type":"boolean","description":"Whether the certificate renews automatically. Renewal requires the customer's DNS records to stay in\nplace."}},"additionalProperties":false,"description":"TLS certificate issued for the hostname."},"CustomDomainDiagnostics":{"type":"object","properties":{"cloudflareId":{"type":["null","string"],"description":"Provider identifier of the custom hostname."},"cloudflareStatus":{"type":["null","string"],"description":"Raw hostname status."},"cloudflareSslStatus":{"type":["null","string"],"description":"Raw certificate status."},"domainControlValidationMethod":{"type":["null","string"],"description":"Domain control validation method: `http` or `txt`."},"originSni":{"type":["null","string"],"description":"Origin SNI hostname, when one is set."},"validationErrors":{"type":"array","items":{"type":"string"},"description":"Raw validation messages. Usually present shortly after creation, until the customer has added their\nrecords."}},"additionalProperties":false,"description":"Raw provisioning detail, for support. Not customer-facing copy."}}}}
```

## The CustomDomainState object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomDomainState":{"enum":["pending_dns","validating","ready","active","failed","deleted"],"type":"string","description":"Where a custom domain is in provisioning."}}}}
```

## The CustomerPayload object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"CustomerPayload":{"required":["callbackUrl"],"type":"object","properties":{"callbackUrl":{"type":"string","description":"Base URL of the LiveStore instance that opened the session. Once the holder's account is saved, the form\nredirects to `{callbackUrl}/customers/{customerId}`."},"customerId":{"type":["null","string"],"description":"Identifier of the customer in the retail system LiveStore works with (Y2 or UR, per the tenant's LiveStore\nconfiguration). Set on the account as `id.y2.customerId` or `id.ur.customerId`;\nwhen absent, the account gets no customer identifier from the session."},"storeId":{"type":["null","string"],"description":"Store the session is opened in. The `storeId` query parameter, when sent, replaces it."}},"additionalProperties":{},"description":"The customer a Cegid LiveStore session is opened for."}}}}
```

## The DataWrapper\_JsonElement object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DataWrapper_JsonElement":{"required":["Body","Header"],"type":"object","properties":{"__id":{"type":"string","description":"See . A new GUID when the event is raised."},"__creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"See . The current UTC time when the event is raised. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"__eventName":{"type":"string"},"Header":{"description":"What happened, where and by whom.","$ref":"#/components/schemas/Header"},"Body":{"description":"Key of the entity the notification is about, under `Key`. Its shape depends on\n`Header.EventSource`."}},"additionalProperties":false,"description":"A Y2 business notification: what happened, and the key of the entity it happened to."},"Header":{"required":["ContentType","EventId","EventSource","SourceId","UserId"],"type":"object","properties":{"EventId":{"type":"string","description":"Y2 identifier of the notification. Carried into the emitted event."},"EventSource":{"type":"string","description":"Y2 service operation that raised the notification, e.g.\n`Cegid.Retail.Services.ThirdParties.Customers.ICustomerService.Update`. Decides how the\nnotification is handled and which shape `Body` must have."},"ContentType":{"type":"string","description":"Y2 service operation that reads the entity designated by `Body`, e.g.\n`…ICustomerService.GetCustomerDetail`. Carried into the emitted event."},"SourceId":{"type":"string","description":"System that raised the notification, `Y2`. Carried into the emitted event."},"UserId":{"type":"string","description":"Y2 user whose action raised the notification. Carried into the emitted event."},"Date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When Y2 raised the notification, in UTC. Carried into the emitted event. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"Header of a Y2 business notification."}}}}
```

## The DeliveryReport object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeliveryReport":{"required":["occurredAt","status","values"],"type":"object","properties":{"values":{"type":"array","items":{"type":"string"},"description":"The link's identifier values, one per identifier key of the campaign, in their order: the row the link was\ngenerated from."},"status":{"description":"What happened to the message carrying the link.","$ref":"#/components/schemas/DeliveryStatus"},"occurredAt":{"type":"string","description":"When it happened in the external system, ISO 8601 with its offset, for instance `2026-11-03T16:30:00Z`.\nThe campaign's figures date it at this time.","format":"date-time"},"provider":{"maxLength":64,"type":["null","string"],"description":"The system that reports it, for instance the SMS or email provider. Up to 64 characters."}},"additionalProperties":false,"description":"What an external system reports about one campaign link it sent."},"DeliveryStatus":{"enum":["sent","delivered","read","failed"],"type":"string","description":"What an external system reports about a campaign link it sent."}}}}
```

## The DeliveryReportsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeliveryReportsRequest":{"required":["reports"],"type":"object","properties":{"reports":{"maxItems":1000,"minItems":1,"type":"array","items":{"description":"What an external system reports about one campaign link it sent.","$ref":"#/components/schemas/DeliveryReport"},"description":"1 to 1,000 reports."}},"additionalProperties":false,"description":"The delivery reports to record."},"DeliveryReport":{"required":["occurredAt","status","values"],"type":"object","properties":{"values":{"type":"array","items":{"type":"string"},"description":"The link's identifier values, one per identifier key of the campaign, in their order: the row the link was\ngenerated from."},"status":{"description":"What happened to the message carrying the link.","$ref":"#/components/schemas/DeliveryStatus"},"occurredAt":{"type":"string","description":"When it happened in the external system, ISO 8601 with its offset, for instance `2026-11-03T16:30:00Z`.\nThe campaign's figures date it at this time.","format":"date-time"},"provider":{"maxLength":64,"type":["null","string"],"description":"The system that reports it, for instance the SMS or email provider. Up to 64 characters."}},"additionalProperties":false,"description":"What an external system reports about one campaign link it sent."},"DeliveryStatus":{"enum":["sent","delivered","read","failed"],"type":"string","description":"What an external system reports about a campaign link it sent."}}}}
```

## The DeliveryStatus object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeliveryStatus":{"enum":["sent","delivered","read","failed"],"type":"string","description":"What an external system reports about a campaign link it sent."}}}}
```

## The Device object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Device":{"type":"object","properties":{"deviceId":{"type":"string","description":"Id generated on create (GUID)."},"name":{"type":"string","description":"Name shown in the admin console."},"description":{"type":["null","string"],"description":"Free text; null if none."},"isEnabled":{"type":"boolean","description":"Whether the device may connect, refresh settings and start sessions. Disabled devices get 403 `Device disabled`."},"type":{"description":"Device type.","$ref":"#/components/schemas/DeviceType"},"settings":{"oneOf":[{"description":"Pass Scanner device settings.","$ref":"#/components/schemas/PassScannerSettings"}],"description":"Type-specific settings, without rotating barcode settings."},"profileIds":{"type":"array","items":{"type":"string"},"description":"Profiles the device can run, in display order. Empty accepts every benefit."},"session":{"description":"Running session, or null.","$ref":"#/components/schemas/DeviceSessionState"}},"additionalProperties":false,"description":"A registered device, as the admin console sees it."},"DeviceType":{"enum":["passScanner"],"type":"string","description":"Device kind: decides its settings, profiles and API key permissions."},"PassScannerSettings":{"required":["$type","logoUrl"],"type":"object","allOf":[{"description":"Device settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`).","$ref":"#/components/schemas/DeviceSettingsBase"}],"properties":{"logoUrl":{"type":"string","description":"Absolute URL of the logo shown by the app. Copied at creation from the tenant's large favicon, else logo, else favicon; not updated by later branding changes."},"nfc":{"description":"Keys to read Apple and Google Wallet passes over NFC. Returned only by `connect` and `settings`; absent when the tenant has none.","$ref":"#/components/schemas/NfcSettings"},"rotatingBarcode":{"description":"Data to check a Google Wallet rotating barcode. Returned only by `connect` and `settings`; absent when the tenant has none.","$ref":"#/components/schemas/RotatingBarcodeSettings"},"$type":{"enum":["passScanner"],"type":"string","description":"Discriminator. Always `passScanner` for this shape."}},"additionalProperties":false,"description":"Pass Scanner device settings."},"DeviceSettingsBase":{"type":"object","properties":{"telemetry":{"description":"Telemetry settings to apply; always populated (defaults: `information`, 60 seconds).","$ref":"#/components/schemas/TelemetrySettings"}},"description":"Device settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`)."},"TelemetrySettings":{"type":"object","properties":{"minimumSeverity":{"description":"Lowest severity sent; lower items are dropped on the device.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"maxBatchSize":{"type":"integer","description":"Most items per upload; larger batches are rejected.","format":"int32"},"flushIntervalSeconds":{"type":"integer","description":"Seconds the device buffers before uploading.","format":"int32"}},"additionalProperties":false,"description":"What and how much the device reports."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."},"NfcSettings":{"type":"object","properties":{"apple":{"description":"Apple Wallet (Value Added Services).","$ref":"#/components/schemas/AppleNfcSettings"},"google":{"description":"Google Wallet (Smart Tap).","$ref":"#/components/schemas/GoogleNfcSettings"}},"additionalProperties":false,"description":"What a device needs to read wallet passes over NFC. Each wallet is absent when the tenant has not set it up."},"AppleNfcSettings":{"type":"object","properties":{"privateKey":{"type":"string","description":"EC P-256 private key that decrypts the NFC message of a pass: PKCS#8, Base64. Keep it on the device."},"passTypeIdentifier":{"type":"string","description":"Pass type identifier of the tenant's Apple passes."}},"additionalProperties":false},"GoogleNfcSettings":{"type":"object","properties":{"collectorId":{"type":"string","description":"Smart Tap collector ID the device announces to the phone."},"keyVersion":{"type":"integer","description":"Version under which the matching public key is registered with Google.","format":"int32"},"privateKey":{"type":"string","description":"EC P-256 private key of the Smart Tap authentication key: PKCS#8, Base64. Keep it on the device."}},"additionalProperties":false},"RotatingBarcodeSettings":{"type":"object","properties":{"secret":{"type":"string","description":"Tenant secret to check the passwords. Keep it on the device."},"periodSeconds":{"type":"integer","description":"Seconds a password stays valid.","format":"int32"},"digits":{"type":"integer","description":"Digits per password.","format":"int32"}},"additionalProperties":false,"description":"What a device needs to check Google Wallet rotating barcode one-time passwords (shown where the barcode value holds `{totp_value_0}`)."},"DeviceSessionState":{"type":"object","properties":{"sessionId":{"type":"string","description":"Session id, sent by the device as `session.id` baggage."},"profileId":{"type":"string","description":"Profile run."},"since":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Session start, UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastSeen":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Last request within the session, UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"A device running one profile."}}}}
```

## The DeviceEndReason object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceEndReason":{"enum":["manual","scheduleEnded"],"type":"string","description":"Why a device ended its session."}}}}
```

## The DeviceProfile object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceProfile":{"type":"object","properties":{"id":{"type":"string","description":"Stable identifier, chosen on create."},"type":{"description":"Device type; only a device of that type can run it.","$ref":"#/components/schemas/DeviceType"},"name":{"type":"string","description":"Name shown to staff on the device."},"description":{"type":["null","string"],"description":"Free text for operators; null if none."},"emoji":{"type":["null","string"],"description":"Icon shown next to the name; null if none."},"color":{"type":["null","string"],"description":"Hex colour `#rrggbb`; null if none."},"validFrom":{"type":["null","string"],"description":"First usable instant, UTC; null for no start.","format":"date-time"},"validUntil":{"type":["null","string"],"description":"Instant it stops being usable, UTC; null for no end.","format":"date-time"},"schedule":{"type":"array","items":{"description":"Opening window: opens at each occurrence of Cron and stays open for DurationMinutes.","$ref":"#/components/schemas/DeviceProfileWindow"},"description":"Opening windows; empty means always open within the validity dates."},"settings":{"oneOf":[{"description":"What a Pass Scanner scanner does while running the profile.","$ref":"#/components/schemas/PassScannerProfileSettings"}],"description":"Type-specific settings."},"warnings":{"type":"array","items":{"description":"Non-blocking issue an operator should know about.","$ref":"#/components/schemas/DeviceProfileWarning"},"description":"What an operator should fix; empty if nothing."}},"additionalProperties":false,"description":"Reusable scan context a device can run (Breakfast, Gate F, Cloakroom): what it accepts, and when."},"DeviceType":{"enum":["passScanner"],"type":"string","description":"Device kind: decides its settings, profiles and API key permissions."},"DeviceProfileWindow":{"type":"object","properties":{"cron":{"type":"string","description":"Cron expression with seconds and no year, as in automations (`0 0 7 * * *` is daily at 07:00). Wall-clock time in the device's timezone; unparsable returns 400."},"durationMinutes":{"type":"integer","description":"Minutes the window stays open, 1 to 1440 (otherwise 400).","format":"int32"}},"additionalProperties":false,"description":"Opening window: opens at each occurrence of Cron and stays open for DurationMinutes."},"PassScannerProfileSettings":{"required":["$type"],"type":"object","allOf":[{"description":"Type-specific settings. The JSON carries a `$type` discriminator (`passScanner`) that must match the profile's `type`.","$ref":"#/components/schemas/DeviceProfileSettingsBase"}],"properties":{"scanFilter":{"description":"Benefits the device accepts; null or empty accepts all.","$ref":"#/components/schemas/ScanFilter"},"allowStamps":{"type":"boolean","description":"Whether staff can add stamps while the profile runs. Off, scanning a stamp card only shows it."},"redeemOnScan":{"description":"Redemption behaviour on scan; null applies defaults (5-second repeat-scan block).","$ref":"#/components/schemas/RedeemOnScanSettings"},"$type":{"enum":["passScanner"],"type":"string","description":"Discriminator. Always `passScanner` for this shape."}},"additionalProperties":false,"description":"What a Pass Scanner scanner does while running the profile."},"DeviceProfileSettingsBase":{"type":"object","description":"Type-specific settings. The JSON carries a `$type` discriminator (`passScanner`) that must match the profile's `type`."},"ScanFilter":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"},"description":"Benefit template tags to accept. At most 50, each non-blank, at most 100 characters; trimmed and deduplicated on save."},"benefitTemplateIds":{"type":"array","items":{"type":"string"},"description":"Benefit templates to accept. At most 200, none blank; trimmed and deduplicated on save. An unknown id is dropped with a `benefitTemplateMissing` warning, not refused."}},"additionalProperties":false,"description":"A benefit is accepted if it carries one of the tags or comes from one of the benefit templates. Both empty accepts every benefit."},"RedeemOnScanSettings":{"type":"object","properties":{"repeatScanBlockSeconds":{"type":"integer","description":"Seconds the device ignores a repeat scan of the same pass, 0 to 3600; 0 disables the block.","format":"int32"}},"additionalProperties":false,"description":"Redemption behaviour on scan."},"DeviceProfileWarning":{"type":"object","properties":{"code":{"type":"string","description":"`benefitTemplateMissing` or `filterAcceptsAll`."},"message":{"type":"string","description":"Human-readable explanation."},"benefitTemplateId":{"type":["null","string"],"description":"Benefit template concerned, for `benefitTemplateMissing`."}},"additionalProperties":false,"description":"Non-blocking issue an operator should know about."}}}}
```

## The DeviceProfileSettingsBase object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceProfileSettingsBase":{"type":"object","description":"Type-specific settings. The JSON carries a `$type` discriminator (`passScanner`) that must match the profile's `type`."}}}}
```

## The DeviceProfileWarning object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceProfileWarning":{"type":"object","properties":{"code":{"type":"string","description":"`benefitTemplateMissing` or `filterAcceptsAll`."},"message":{"type":"string","description":"Human-readable explanation."},"benefitTemplateId":{"type":["null","string"],"description":"Benefit template concerned, for `benefitTemplateMissing`."}},"additionalProperties":false,"description":"Non-blocking issue an operator should know about."}}}}
```

## The DeviceProfileWindow object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceProfileWindow":{"type":"object","properties":{"cron":{"type":"string","description":"Cron expression with seconds and no year, as in automations (`0 0 7 * * *` is daily at 07:00). Wall-clock time in the device's timezone; unparsable returns 400."},"durationMinutes":{"type":"integer","description":"Minutes the window stays open, 1 to 1440 (otherwise 400).","format":"int32"}},"additionalProperties":false,"description":"Opening window: opens at each occurrence of Cron and stays open for DurationMinutes."}}}}
```

## The DeviceSessionState object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceSessionState":{"type":"object","properties":{"sessionId":{"type":"string","description":"Session id, sent by the device as `session.id` baggage."},"profileId":{"type":"string","description":"Profile run."},"since":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Session start, UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastSeen":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Last request within the session, UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"A device running one profile."}}}}
```

## The DeviceSettingsBase object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceSettingsBase":{"type":"object","properties":{"telemetry":{"description":"Telemetry settings to apply; always populated (defaults: `information`, 60 seconds).","$ref":"#/components/schemas/TelemetrySettings"}},"description":"Device settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`)."},"TelemetrySettings":{"type":"object","properties":{"minimumSeverity":{"description":"Lowest severity sent; lower items are dropped on the device.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"maxBatchSize":{"type":"integer","description":"Most items per upload; larger batches are rejected.","format":"int32"},"flushIntervalSeconds":{"type":"integer","description":"Seconds the device buffers before uploading.","format":"int32"}},"additionalProperties":false,"description":"What and how much the device reports."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."}}}}
```

## The DeviceTelemetryBatch object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceTelemetryBatch":{"required":["batchId","items","sentAt"],"type":"object","properties":{"batchId":{"type":"string","description":"Client-generated batch identifier, used as the idempotency key: re-send a batch with the same id after a\ntimeout, and a batch id recently received from the same device is not recorded again and its items are\nreported as deduplicated. Blank returns 400."},"sentAt":{"type":"string","description":"Device clock reading when the batch was sent. The difference against arrival time is the clock\nskew applied to every item.","format":"date-time"},"appSessionId":{"type":["null","string"],"description":"Identifier of the app launch the items came from. Not the profile session: that is\nNeo.Runtime.Devices.Telemetry.DeviceTelemetryItem.SessionId."},"appVersion":{"type":["null","string"],"description":"App version string, e.g. `1.0.3+1`."},"platform":{"type":["null","string"],"description":"Device platform, `android` or `ios`."},"osVersion":{"type":["null","string"],"description":"Operating system version."},"deviceModel":{"type":["null","string"],"description":"Manufacturer and model, e.g. `Zebra TC22`."},"items":{"type":"array","items":{"description":"One telemetry item as the device recorded it.","$ref":"#/components/schemas/DeviceTelemetryItem"},"description":"The items carried by this batch, at most the limit in the device's telemetry settings (500 by\ndefault); a larger batch is refused whole with 413. Each item is validated on its own: an invalid one\nis counted as rejected without failing the others."}},"additionalProperties":false,"description":"A batch of telemetry uploaded by one device in one request."},"DeviceTelemetryItem":{"required":["timestamp","type"],"type":"object","properties":{"type":{"description":"Telemetry kind, deciding which fields are required. An unrecognised kind is counted as rejected.","$ref":"#/components/schemas/DeviceTelemetryItemType"},"timestamp":{"type":"string","description":"Device clock reading when the item was recorded. Corrected by the batch's clock skew and capped at\nthe time the batch arrived. An item without one is counted as rejected.","format":"date-time"},"severity":{"description":"Severity of the item; `information` when omitted. An exception item is always recorded at\n`error` or above, whatever it says here.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"name":{"type":["null","string"],"description":"Item name. Required (non-blank) for Neo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.Event,\nNeo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.Dependency and Neo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.PageView;\nan item without one is counted as rejected."},"message":{"type":["null","string"],"description":"Message body. Required (non-blank) for\nNeo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.Trace and Neo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.Exception; an\nitem without one is counted as rejected."},"sessionId":{"type":["null","string"],"description":"Profile session the device ran when it recorded the item, as a GUID; an item without a valid one is\nattributed to no session."},"traceId":{"type":["null","string"],"description":"W3C trace id (32 hex characters) the device span belonged to. With a valid Neo.Runtime.Devices.Telemetry.DeviceTelemetryItem.SpanId, the\nitem is correlated with the API requests of that trace."},"spanId":{"type":["null","string"],"description":"W3C span id (16 hex characters) of the device span. Only used together with Neo.Runtime.Devices.Telemetry.DeviceTelemetryItem.TraceId."},"durationMs":{"type":["null","number"],"description":"Duration of the operation in milliseconds, rounded to the millisecond. Meaningful for\ndependency and page-view items.","format":"double"},"success":{"type":["null","boolean"],"description":"Whether a dependency call succeeded."},"resultCode":{"type":["null","string"],"description":"Result code of a dependency call, typically an HTTP status."},"properties":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Custom properties recorded with the item. Keys that match a property the platform sets (compared\ncase-insensitively) are not recorded."}},"additionalProperties":false,"description":"One telemetry item as the device recorded it."},"DeviceTelemetryItemType":{"enum":["trace","exception","event","dependency","pageView","unknown"],"type":"string","description":"Kind of telemetry an item carries."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."}}}}
```

## The DeviceTelemetryItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceTelemetryItem":{"required":["timestamp","type"],"type":"object","properties":{"type":{"description":"Telemetry kind, deciding which fields are required. An unrecognised kind is counted as rejected.","$ref":"#/components/schemas/DeviceTelemetryItemType"},"timestamp":{"type":"string","description":"Device clock reading when the item was recorded. Corrected by the batch's clock skew and capped at\nthe time the batch arrived. An item without one is counted as rejected.","format":"date-time"},"severity":{"description":"Severity of the item; `information` when omitted. An exception item is always recorded at\n`error` or above, whatever it says here.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"name":{"type":["null","string"],"description":"Item name. Required (non-blank) for Neo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.Event,\nNeo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.Dependency and Neo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.PageView;\nan item without one is counted as rejected."},"message":{"type":["null","string"],"description":"Message body. Required (non-blank) for\nNeo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.Trace and Neo.Runtime.Devices.Telemetry.DeviceTelemetryItemType.Exception; an\nitem without one is counted as rejected."},"sessionId":{"type":["null","string"],"description":"Profile session the device ran when it recorded the item, as a GUID; an item without a valid one is\nattributed to no session."},"traceId":{"type":["null","string"],"description":"W3C trace id (32 hex characters) the device span belonged to. With a valid Neo.Runtime.Devices.Telemetry.DeviceTelemetryItem.SpanId, the\nitem is correlated with the API requests of that trace."},"spanId":{"type":["null","string"],"description":"W3C span id (16 hex characters) of the device span. Only used together with Neo.Runtime.Devices.Telemetry.DeviceTelemetryItem.TraceId."},"durationMs":{"type":["null","number"],"description":"Duration of the operation in milliseconds, rounded to the millisecond. Meaningful for\ndependency and page-view items.","format":"double"},"success":{"type":["null","boolean"],"description":"Whether a dependency call succeeded."},"resultCode":{"type":["null","string"],"description":"Result code of a dependency call, typically an HTTP status."},"properties":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Custom properties recorded with the item. Keys that match a property the platform sets (compared\ncase-insensitively) are not recorded."}},"additionalProperties":false,"description":"One telemetry item as the device recorded it."},"DeviceTelemetryItemType":{"enum":["trace","exception","event","dependency","pageView","unknown"],"type":"string","description":"Kind of telemetry an item carries."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."}}}}
```

## The DeviceTelemetryItemType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceTelemetryItemType":{"enum":["trace","exception","event","dependency","pageView","unknown"],"type":"string","description":"Kind of telemetry an item carries."}}}}
```

## The DeviceTelemetrySeverity object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."}}}}
```

## The DeviceType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DeviceType":{"enum":["passScanner"],"type":"string","description":"Device kind: decides its settings, profiles and API key permissions."}}}}
```

## The DiscoverableProgramRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DiscoverableProgramRequest":{"type":"object","properties":{"classId":{"type":["null","string"],"description":"Full Google class id to create or update. Omitted, a class id derived from `countryCode` is used."},"countryCode":{"type":"string","description":"ISO 3166-1 alpha-2 country the program is offered in. Required; an unknown code is refused with 400."},"programName":{"type":["null","string"],"description":"Program name, used only when `localizedProgramName` is empty."},"programLogo":{"type":"string","description":"Public URL of the program logo, fetched by Google. Required."},"issuerName":{"type":"object","additionalProperties":{"type":"string"},"description":"Issuer name keyed by language code. Required; the first entry becomes the default language."},"localizedProgramName":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Program name keyed by language code; the first entry becomes the default language and the plain program name."},"signinUrl":{"type":["null","string"],"description":"Page where an existing member signs in to link their account. Omitted, sign-in is removed from the program."},"signupUrl":{"type":["null","string"],"description":"Page where a new holder joins the program. Omitted together with `signupSharedDatas`, sign-up is removed from the program."},"signupSharedDatas":{"type":["null","array"],"items":{"type":"string"},"description":"Holder data Google shares with the sign-up page, as Google shared data types. Any casing is accepted (`firstName`, `first-name` and `FIRST_NAME` are equivalent); blanks, duplicates and `SHARED_DATA_TYPE_UNSPECIFIED` are dropped."}},"additionalProperties":false,"description":"The discoverable program to publish on a loyalty class."}}}}
```

## The DiscoverableProgramResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DiscoverableProgramResponse":{"type":"object","properties":{"classId":{"type":"string","description":"Full Google class id, `{issuerId}.{suffix}`."},"countryCode":{"type":"string","description":"ISO 3166-1 alpha-2 country the program is offered in. Empty when Google has none on the class."},"programName":{"type":"string","description":"Program name in the class's default language; empty when unset."},"programLogo":{"type":["null","string"],"description":"Public URL of the program logo; null when the class has none."},"issuerName":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Issuer name keyed by language code. A class with only a plain, unlocalized name returns it under `en`; null when there is no name at all."},"localizedProgramName":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Program name keyed by language code, with the same fallback to `en` as `issuerName`."},"signinUrl":{"type":["null","string"],"description":"Page where an existing member signs in to link their account; null when not set."},"signupUrl":{"type":["null","string"],"description":"Page where a new holder joins the program; null when not set."},"signupSharedDatas":{"type":["null","array"],"items":{"type":"string"},"description":"Holder data Google shares with the sign-up page, as upper snake case Google shared data types (for example `FIRST_NAME`, `EMAIL_OR_PHONE`); null when none."},"state":{"type":["null","string"],"description":"Publication state of the program (trusted testers only, live, or disabled), set by Google and passed through as Google reports it; null when Google has not set one."}},"additionalProperties":false,"description":"A loyalty class and the discoverable program it publishes in the Google Wallet app."}}}}
```

## The DownloadPageDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DownloadPageDefinition":{"required":["localization","name","requireValidRedirectId","type","yaml"],"type":"object","properties":{"name":{"type":"string","description":"Name of the page."},"type":{"description":"Kind of page. Fixed at creation.","$ref":"#/components/schemas/DownloadPageType"},"headerImage":{"type":["null","string"],"description":"Image shown in the header, as a URL. `/public/…` for an image stored in the tenant\nconfiguration. Null when the page shows none."},"requireValidRedirectId":{"type":"boolean","description":"Whether the page refuses traffic that does not come through a valid short link."},"autoDownloadPass":{"type":["null","boolean"],"description":"Whether the pass is downloaded without the customer acting. `pass` pages only."},"passCreation":{"description":"Pass creation wiring. Null when the page does not create passes.","$ref":"#/components/schemas/DownloadPagePassCreation"},"allowDownloadAllPasses":{"type":["null","boolean"],"description":"Whether a download-everything button is offered. `passList` and `benefitList` pages only."},"showInactivePasses":{"type":["null","boolean"],"description":"Whether inactive passes are listed, undownloadable. `passList` pages only."},"localization":{"description":"Localization wiring and translated strings.","$ref":"#/components/schemas/DownloadPageLocalization"},"yaml":{"type":"string","description":"The page as YAML, verbatim."}},"additionalProperties":false,"description":"Full definition of a download page, returned by the get/create/save endpoints."},"DownloadPageType":{"enum":["pass","passList","benefitList"],"type":"string","description":"Kind of download page."},"DownloadPagePassCreation":{"required":["flow","flowExists","flowHasPassStep"],"type":"object","properties":{"flow":{"type":"string","description":"Flow executed to create the pass."},"flowExists":{"type":"boolean","description":"Whether the flow still exists as a registration flow. False means the page cannot create a pass\nany more — the flow was renamed or deleted."},"flowHasPassStep":{"type":"boolean","description":"Whether the flow carries a `pass` step. False means the flow runs but creates no pass, so\nthe page will not show one. Advisory: the configuration is valid either way."}},"additionalProperties":false,"description":"How a `pass` page creates the pass it shows, when it is missing."},"DownloadPageLocalization":{"type":"object","properties":{"resources":{"type":"array","items":{"type":"string"},"description":"Translation directories, e.g. `/locales/myPage/`. Order matters when the same string is\ndefined in more than one directory. Translations are read from, and written to, the first one."},"directory":{"type":["null","string"],"description":"Directory the translations below are read from and written to. Null when the page declares no\ntranslation directory, in which case translations cannot be saved."},"translations":{"type":"object","additionalProperties":{"description":"Translated strings of one culture.","$ref":"#/components/schemas/DownloadPageTranslations"},"description":"Translated strings, keyed by culture. Cultures with no translations are absent."}},"additionalProperties":false,"description":"Localization wiring and translated strings of a download page."},"DownloadPageTranslations":{"type":"object","properties":{"mobile":{"description":"Phone strings. `pass` pages only.","$ref":"#/components/schemas/PassMobileTranslations"},"desktop":{"description":"Desktop strings. `pass` pages only.","$ref":"#/components/schemas/PassDesktopTranslations"},"layout":{"description":"Headline strings. `passList` pages only.","$ref":"#/components/schemas/PassListLayoutTranslations"},"qrCode":{"description":"QR code strings. `passList` pages only.","$ref":"#/components/schemas/PassListQrCodeTranslations"},"benefitList":{"description":"Benefit list page strings. `benefitList` pages only.","$ref":"#/components/schemas/BenefitListPageTranslations"}},"additionalProperties":false,"description":"Translated strings of one culture."},"PassMobileTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. May be HTML, prefixed with `$html`."},"postInstalled":{"description":"Strings shown once the pass has been added to the wallet.","$ref":"#/components/schemas/PassPostInstalledTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a phone."},"PassPostInstalledTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the confirmation."},"description":{"type":["null","string"],"description":"Text under the confirmation headline."},"viewMyCard":{"type":["null","string"],"description":"Label of the button opening the installed pass."}},"additionalProperties":false,"description":"Strings shown on a `pass` page once the pass has been installed."},"PassDesktopTranslations":{"type":"object","properties":{"qrCode":{"description":"Strings around the QR code the customer scans with their phone.","$ref":"#/components/schemas/PassDesktopQrCodeTranslations"},"needHelpButton":{"type":["null","string"],"description":"Label of the button opening the scanning help."},"needHelpDialog":{"description":"Strings of the scanning help dialog.","$ref":"#/components/schemas/PassNeedHelpDialogTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a desktop browser."},"PassDesktopQrCodeTranslations":{"type":"object","properties":{"caption":{"type":["null","string"],"description":"Instruction above the QR code."},"passDescription":{"type":["null","string"],"description":"Text describing what scanning the QR code does."},"baseline":{"type":["null","string"],"description":"Supporting text under the QR code."}},"additionalProperties":false,"description":"Strings around the QR code on a `pass` page opened on a desktop browser."},"PassNeedHelpDialogTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Title of the dialog."},"closeButton":{"type":["null","string"],"description":"Label of the button closing the dialog."}},"additionalProperties":false,"description":"Strings of the scanning help dialog on a `pass` page."},"PassListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline used for two or more passes."},"title_one":{"type":["null","string"],"description":"Headline used for exactly one pass."},"title_zero":{"type":["null","string"],"description":"Headline used when the customer holds no pass."},"subTitle":{"type":["null","string"],"description":"Text under the headline."},"subTitle_zero":{"type":["null","string"],"description":"Text under the headline when the customer holds no pass."},"individual":{"type":["null","string"],"description":"Label of the individual-passes section, for two or more."},"individual_one":{"type":["null","string"],"description":"Label of the individual-passes section, for exactly one."},"all":{"type":["null","string"],"description":"Label of the all-passes action, for two or more."},"all_one":{"type":["null","string"],"description":"Label of the all-passes action, for exactly one."},"tickets":{"type":["null","string"],"description":"Pass counter. Carries a `{count}` placeholder."}},"additionalProperties":false,"description":"Headline strings of a `passList` page."},"PassListQrCodeTranslations":{"type":"object","properties":{"seeQRCode":{"type":["null","string"],"description":"Label of the action revealing the QR code."},"scanQRCode":{"type":["null","string"],"description":"Title shown with the QR code."},"QRCodeInstructions":{"type":["null","string"],"description":"Scanning instructions. May be HTML, prefixed with `$html`."},"copyQRLink":{"type":["null","string"],"description":"Label of the action copying the QR code link."},"linkCopied":{"type":["null","string"],"description":"Confirmation shown once the link has been copied."}},"additionalProperties":false,"description":"Strings around the QR code on a `passList` page."},"BenefitListPageTranslations":{"type":"object","properties":{"layout":{"description":"The strings of the page itself.","$ref":"#/components/schemas/BenefitListLayoutTranslations"}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page."},"BenefitListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. Hidden entirely when empty."},"sections":{"description":"Headings of the three groups benefits are listed in.","$ref":"#/components/schemas/BenefitListSectionsTranslations"},"card":{"description":"Strings on the card of one benefit.","$ref":"#/components/schemas/BenefitListCardTranslations"},"code":{"description":"Strings around the code the holder shows to redeem a benefit.","$ref":"#/components/schemas/BenefitListCodeTranslations"},"wallet":{"description":"Strings of the card adding every eligible benefit to the wallet at once.","$ref":"#/components/schemas/BenefitListWalletTranslations"},"empty":{"description":"Strings shown when the pass carries no benefit at all.","$ref":"#/components/schemas/BenefitListEmptyTranslations"}},"additionalProperties":false,"description":"Strings of a `benefitList` page, by area of the page."},"BenefitListSectionsTranslations":{"type":"object","properties":{"available":{"type":["null","string"],"description":"Heading above the benefits the holder can use now."},"upcoming":{"type":["null","string"],"description":"Heading above the benefits that have not started yet."},"past":{"type":["null","string"],"description":"Heading above the benefits that have expired or been used up."},"pastCount":{"type":["null","string"],"description":"Counter next to the past heading, for two or more. Carries a `{count}` placeholder."},"pastCount_one":{"type":["null","string"],"description":"Counter next to the past heading, for exactly one."}},"additionalProperties":false,"description":"Headings of the three groups a `benefitList` page lists benefits in."},"BenefitListCardTranslations":{"type":"object","properties":{"showCode":{"type":["null","string"],"description":"Label of the action revealing the redemption code."},"seeDetails":{"type":["null","string"],"description":"Label of the action opening the benefit's details."},"hide":{"type":["null","string"],"description":"Label of the action closing the opened card."},"used":{"type":["null","string"],"description":"Badge on a benefit that has been used up."},"expired":{"type":["null","string"],"description":"Badge on a benefit whose validity has passed."},"remaining":{"type":["null","string"],"description":"Remaining allowance, for two or more. Carries `{value}` and `{target}` placeholders."},"remaining_one":{"type":["null","string"],"description":"Remaining allowance, for exactly one."},"remainingLabel":{"type":["null","string"],"description":"Screen-reader wording of the remaining allowance."},"progress":{"type":["null","string"],"description":"Progress towards a reward. Carries `{value}` and `{target}` placeholders."},"progressLabel":{"type":["null","string"],"description":"Screen-reader wording of the progress."},"history":{"type":["null","string"],"description":"Heading above the list of past redemptions."},"usedOn":{"type":["null","string"],"description":"One redemption in that list. Carries a `{date}` placeholder."},"legal":{"type":["null","string"],"description":"Label of the link to the benefit's terms."},"dateRange":{"type":["null","string"],"description":"Validity of a benefit that both starts and ends. Carries `{from}` and `{to}` placeholders."},"dateUntil":{"type":["null","string"],"description":"Validity of a benefit that only ends. Carries a `{to}` placeholder."},"dateFrom":{"type":["null","string"],"description":"Validity of a benefit that only starts. Carries a `{from}` placeholder."},"dateOn":{"type":["null","string"],"description":"Validity of a benefit good for a single day. Carries a `{from}` placeholder."}},"additionalProperties":false,"description":"Strings on the card of one benefit on a `benefitList` page."},"BenefitListCodeTranslations":{"type":"object","properties":{"label":{"type":["null","string"],"description":"Instruction above the code."},"howTo":{"type":["null","string"],"description":"Explanation of how the code is redeemed."}},"additionalProperties":false,"description":"Strings around the redemption code of a benefit."},"BenefitListWalletTranslations":{"type":"object","properties":{"bulkTitle":{"type":["null","string"],"description":"Headline of the card, for two or more. Carries a `{count}` placeholder."},"bulkTitle_one":{"type":["null","string"],"description":"Headline of the card, for exactly one."},"bulkHint":{"type":["null","string"],"description":"Text under the headline of the card."}},"additionalProperties":false,"description":"Strings of the add-everything card on a `benefitList` page."},"BenefitListEmptyTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the empty state."},"content":{"type":["null","string"],"description":"Text under the empty-state headline."}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page when the pass carries no benefit."}}}}
```

## The DownloadPageListItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DownloadPageListItem":{"required":["localeResourceCount","name","type"],"type":"object","properties":{"name":{"type":"string","description":"Name of the page, unique within the tenant, and the last segment of its public URL."},"type":{"description":"Kind of page.","$ref":"#/components/schemas/DownloadPageType"},"passCreationFlow":{"type":["null","string"],"description":"Flow executed when the page has to create the pass it shows. Null when the page does not create\npasses, and always null for a `passList` or `benefitList` page."},"localeResourceCount":{"type":"integer","description":"Number of translation directories the page reads its strings from.","format":"int32"}},"additionalProperties":false,"description":"Download page returned by the list endpoint."},"DownloadPageType":{"enum":["pass","passList","benefitList"],"type":"string","description":"Kind of download page."}}}}
```

## The DownloadPageLocalization object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DownloadPageLocalization":{"type":"object","properties":{"resources":{"type":"array","items":{"type":"string"},"description":"Translation directories, e.g. `/locales/myPage/`. Order matters when the same string is\ndefined in more than one directory. Translations are read from, and written to, the first one."},"directory":{"type":["null","string"],"description":"Directory the translations below are read from and written to. Null when the page declares no\ntranslation directory, in which case translations cannot be saved."},"translations":{"type":"object","additionalProperties":{"description":"Translated strings of one culture.","$ref":"#/components/schemas/DownloadPageTranslations"},"description":"Translated strings, keyed by culture. Cultures with no translations are absent."}},"additionalProperties":false,"description":"Localization wiring and translated strings of a download page."},"DownloadPageTranslations":{"type":"object","properties":{"mobile":{"description":"Phone strings. `pass` pages only.","$ref":"#/components/schemas/PassMobileTranslations"},"desktop":{"description":"Desktop strings. `pass` pages only.","$ref":"#/components/schemas/PassDesktopTranslations"},"layout":{"description":"Headline strings. `passList` pages only.","$ref":"#/components/schemas/PassListLayoutTranslations"},"qrCode":{"description":"QR code strings. `passList` pages only.","$ref":"#/components/schemas/PassListQrCodeTranslations"},"benefitList":{"description":"Benefit list page strings. `benefitList` pages only.","$ref":"#/components/schemas/BenefitListPageTranslations"}},"additionalProperties":false,"description":"Translated strings of one culture."},"PassMobileTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. May be HTML, prefixed with `$html`."},"postInstalled":{"description":"Strings shown once the pass has been added to the wallet.","$ref":"#/components/schemas/PassPostInstalledTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a phone."},"PassPostInstalledTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the confirmation."},"description":{"type":["null","string"],"description":"Text under the confirmation headline."},"viewMyCard":{"type":["null","string"],"description":"Label of the button opening the installed pass."}},"additionalProperties":false,"description":"Strings shown on a `pass` page once the pass has been installed."},"PassDesktopTranslations":{"type":"object","properties":{"qrCode":{"description":"Strings around the QR code the customer scans with their phone.","$ref":"#/components/schemas/PassDesktopQrCodeTranslations"},"needHelpButton":{"type":["null","string"],"description":"Label of the button opening the scanning help."},"needHelpDialog":{"description":"Strings of the scanning help dialog.","$ref":"#/components/schemas/PassNeedHelpDialogTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a desktop browser."},"PassDesktopQrCodeTranslations":{"type":"object","properties":{"caption":{"type":["null","string"],"description":"Instruction above the QR code."},"passDescription":{"type":["null","string"],"description":"Text describing what scanning the QR code does."},"baseline":{"type":["null","string"],"description":"Supporting text under the QR code."}},"additionalProperties":false,"description":"Strings around the QR code on a `pass` page opened on a desktop browser."},"PassNeedHelpDialogTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Title of the dialog."},"closeButton":{"type":["null","string"],"description":"Label of the button closing the dialog."}},"additionalProperties":false,"description":"Strings of the scanning help dialog on a `pass` page."},"PassListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline used for two or more passes."},"title_one":{"type":["null","string"],"description":"Headline used for exactly one pass."},"title_zero":{"type":["null","string"],"description":"Headline used when the customer holds no pass."},"subTitle":{"type":["null","string"],"description":"Text under the headline."},"subTitle_zero":{"type":["null","string"],"description":"Text under the headline when the customer holds no pass."},"individual":{"type":["null","string"],"description":"Label of the individual-passes section, for two or more."},"individual_one":{"type":["null","string"],"description":"Label of the individual-passes section, for exactly one."},"all":{"type":["null","string"],"description":"Label of the all-passes action, for two or more."},"all_one":{"type":["null","string"],"description":"Label of the all-passes action, for exactly one."},"tickets":{"type":["null","string"],"description":"Pass counter. Carries a `{count}` placeholder."}},"additionalProperties":false,"description":"Headline strings of a `passList` page."},"PassListQrCodeTranslations":{"type":"object","properties":{"seeQRCode":{"type":["null","string"],"description":"Label of the action revealing the QR code."},"scanQRCode":{"type":["null","string"],"description":"Title shown with the QR code."},"QRCodeInstructions":{"type":["null","string"],"description":"Scanning instructions. May be HTML, prefixed with `$html`."},"copyQRLink":{"type":["null","string"],"description":"Label of the action copying the QR code link."},"linkCopied":{"type":["null","string"],"description":"Confirmation shown once the link has been copied."}},"additionalProperties":false,"description":"Strings around the QR code on a `passList` page."},"BenefitListPageTranslations":{"type":"object","properties":{"layout":{"description":"The strings of the page itself.","$ref":"#/components/schemas/BenefitListLayoutTranslations"}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page."},"BenefitListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. Hidden entirely when empty."},"sections":{"description":"Headings of the three groups benefits are listed in.","$ref":"#/components/schemas/BenefitListSectionsTranslations"},"card":{"description":"Strings on the card of one benefit.","$ref":"#/components/schemas/BenefitListCardTranslations"},"code":{"description":"Strings around the code the holder shows to redeem a benefit.","$ref":"#/components/schemas/BenefitListCodeTranslations"},"wallet":{"description":"Strings of the card adding every eligible benefit to the wallet at once.","$ref":"#/components/schemas/BenefitListWalletTranslations"},"empty":{"description":"Strings shown when the pass carries no benefit at all.","$ref":"#/components/schemas/BenefitListEmptyTranslations"}},"additionalProperties":false,"description":"Strings of a `benefitList` page, by area of the page."},"BenefitListSectionsTranslations":{"type":"object","properties":{"available":{"type":["null","string"],"description":"Heading above the benefits the holder can use now."},"upcoming":{"type":["null","string"],"description":"Heading above the benefits that have not started yet."},"past":{"type":["null","string"],"description":"Heading above the benefits that have expired or been used up."},"pastCount":{"type":["null","string"],"description":"Counter next to the past heading, for two or more. Carries a `{count}` placeholder."},"pastCount_one":{"type":["null","string"],"description":"Counter next to the past heading, for exactly one."}},"additionalProperties":false,"description":"Headings of the three groups a `benefitList` page lists benefits in."},"BenefitListCardTranslations":{"type":"object","properties":{"showCode":{"type":["null","string"],"description":"Label of the action revealing the redemption code."},"seeDetails":{"type":["null","string"],"description":"Label of the action opening the benefit's details."},"hide":{"type":["null","string"],"description":"Label of the action closing the opened card."},"used":{"type":["null","string"],"description":"Badge on a benefit that has been used up."},"expired":{"type":["null","string"],"description":"Badge on a benefit whose validity has passed."},"remaining":{"type":["null","string"],"description":"Remaining allowance, for two or more. Carries `{value}` and `{target}` placeholders."},"remaining_one":{"type":["null","string"],"description":"Remaining allowance, for exactly one."},"remainingLabel":{"type":["null","string"],"description":"Screen-reader wording of the remaining allowance."},"progress":{"type":["null","string"],"description":"Progress towards a reward. Carries `{value}` and `{target}` placeholders."},"progressLabel":{"type":["null","string"],"description":"Screen-reader wording of the progress."},"history":{"type":["null","string"],"description":"Heading above the list of past redemptions."},"usedOn":{"type":["null","string"],"description":"One redemption in that list. Carries a `{date}` placeholder."},"legal":{"type":["null","string"],"description":"Label of the link to the benefit's terms."},"dateRange":{"type":["null","string"],"description":"Validity of a benefit that both starts and ends. Carries `{from}` and `{to}` placeholders."},"dateUntil":{"type":["null","string"],"description":"Validity of a benefit that only ends. Carries a `{to}` placeholder."},"dateFrom":{"type":["null","string"],"description":"Validity of a benefit that only starts. Carries a `{from}` placeholder."},"dateOn":{"type":["null","string"],"description":"Validity of a benefit good for a single day. Carries a `{from}` placeholder."}},"additionalProperties":false,"description":"Strings on the card of one benefit on a `benefitList` page."},"BenefitListCodeTranslations":{"type":"object","properties":{"label":{"type":["null","string"],"description":"Instruction above the code."},"howTo":{"type":["null","string"],"description":"Explanation of how the code is redeemed."}},"additionalProperties":false,"description":"Strings around the redemption code of a benefit."},"BenefitListWalletTranslations":{"type":"object","properties":{"bulkTitle":{"type":["null","string"],"description":"Headline of the card, for two or more. Carries a `{count}` placeholder."},"bulkTitle_one":{"type":["null","string"],"description":"Headline of the card, for exactly one."},"bulkHint":{"type":["null","string"],"description":"Text under the headline of the card."}},"additionalProperties":false,"description":"Strings of the add-everything card on a `benefitList` page."},"BenefitListEmptyTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the empty state."},"content":{"type":["null","string"],"description":"Text under the empty-state headline."}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page when the pass carries no benefit."}}}}
```

## The DownloadPagePassCreation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DownloadPagePassCreation":{"required":["flow","flowExists","flowHasPassStep"],"type":"object","properties":{"flow":{"type":"string","description":"Flow executed to create the pass."},"flowExists":{"type":"boolean","description":"Whether the flow still exists as a registration flow. False means the page cannot create a pass\nany more — the flow was renamed or deleted."},"flowHasPassStep":{"type":"boolean","description":"Whether the flow carries a `pass` step. False means the flow runs but creates no pass, so\nthe page will not show one. Advisory: the configuration is valid either way."}},"additionalProperties":false,"description":"How a `pass` page creates the pass it shows, when it is missing."}}}}
```

## The DownloadPageTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DownloadPageTranslations":{"type":"object","properties":{"mobile":{"description":"Phone strings. `pass` pages only.","$ref":"#/components/schemas/PassMobileTranslations"},"desktop":{"description":"Desktop strings. `pass` pages only.","$ref":"#/components/schemas/PassDesktopTranslations"},"layout":{"description":"Headline strings. `passList` pages only.","$ref":"#/components/schemas/PassListLayoutTranslations"},"qrCode":{"description":"QR code strings. `passList` pages only.","$ref":"#/components/schemas/PassListQrCodeTranslations"},"benefitList":{"description":"Benefit list page strings. `benefitList` pages only.","$ref":"#/components/schemas/BenefitListPageTranslations"}},"additionalProperties":false,"description":"Translated strings of one culture."},"PassMobileTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. May be HTML, prefixed with `$html`."},"postInstalled":{"description":"Strings shown once the pass has been added to the wallet.","$ref":"#/components/schemas/PassPostInstalledTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a phone."},"PassPostInstalledTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the confirmation."},"description":{"type":["null","string"],"description":"Text under the confirmation headline."},"viewMyCard":{"type":["null","string"],"description":"Label of the button opening the installed pass."}},"additionalProperties":false,"description":"Strings shown on a `pass` page once the pass has been installed."},"PassDesktopTranslations":{"type":"object","properties":{"qrCode":{"description":"Strings around the QR code the customer scans with their phone.","$ref":"#/components/schemas/PassDesktopQrCodeTranslations"},"needHelpButton":{"type":["null","string"],"description":"Label of the button opening the scanning help."},"needHelpDialog":{"description":"Strings of the scanning help dialog.","$ref":"#/components/schemas/PassNeedHelpDialogTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a desktop browser."},"PassDesktopQrCodeTranslations":{"type":"object","properties":{"caption":{"type":["null","string"],"description":"Instruction above the QR code."},"passDescription":{"type":["null","string"],"description":"Text describing what scanning the QR code does."},"baseline":{"type":["null","string"],"description":"Supporting text under the QR code."}},"additionalProperties":false,"description":"Strings around the QR code on a `pass` page opened on a desktop browser."},"PassNeedHelpDialogTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Title of the dialog."},"closeButton":{"type":["null","string"],"description":"Label of the button closing the dialog."}},"additionalProperties":false,"description":"Strings of the scanning help dialog on a `pass` page."},"PassListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline used for two or more passes."},"title_one":{"type":["null","string"],"description":"Headline used for exactly one pass."},"title_zero":{"type":["null","string"],"description":"Headline used when the customer holds no pass."},"subTitle":{"type":["null","string"],"description":"Text under the headline."},"subTitle_zero":{"type":["null","string"],"description":"Text under the headline when the customer holds no pass."},"individual":{"type":["null","string"],"description":"Label of the individual-passes section, for two or more."},"individual_one":{"type":["null","string"],"description":"Label of the individual-passes section, for exactly one."},"all":{"type":["null","string"],"description":"Label of the all-passes action, for two or more."},"all_one":{"type":["null","string"],"description":"Label of the all-passes action, for exactly one."},"tickets":{"type":["null","string"],"description":"Pass counter. Carries a `{count}` placeholder."}},"additionalProperties":false,"description":"Headline strings of a `passList` page."},"PassListQrCodeTranslations":{"type":"object","properties":{"seeQRCode":{"type":["null","string"],"description":"Label of the action revealing the QR code."},"scanQRCode":{"type":["null","string"],"description":"Title shown with the QR code."},"QRCodeInstructions":{"type":["null","string"],"description":"Scanning instructions. May be HTML, prefixed with `$html`."},"copyQRLink":{"type":["null","string"],"description":"Label of the action copying the QR code link."},"linkCopied":{"type":["null","string"],"description":"Confirmation shown once the link has been copied."}},"additionalProperties":false,"description":"Strings around the QR code on a `passList` page."},"BenefitListPageTranslations":{"type":"object","properties":{"layout":{"description":"The strings of the page itself.","$ref":"#/components/schemas/BenefitListLayoutTranslations"}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page."},"BenefitListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. Hidden entirely when empty."},"sections":{"description":"Headings of the three groups benefits are listed in.","$ref":"#/components/schemas/BenefitListSectionsTranslations"},"card":{"description":"Strings on the card of one benefit.","$ref":"#/components/schemas/BenefitListCardTranslations"},"code":{"description":"Strings around the code the holder shows to redeem a benefit.","$ref":"#/components/schemas/BenefitListCodeTranslations"},"wallet":{"description":"Strings of the card adding every eligible benefit to the wallet at once.","$ref":"#/components/schemas/BenefitListWalletTranslations"},"empty":{"description":"Strings shown when the pass carries no benefit at all.","$ref":"#/components/schemas/BenefitListEmptyTranslations"}},"additionalProperties":false,"description":"Strings of a `benefitList` page, by area of the page."},"BenefitListSectionsTranslations":{"type":"object","properties":{"available":{"type":["null","string"],"description":"Heading above the benefits the holder can use now."},"upcoming":{"type":["null","string"],"description":"Heading above the benefits that have not started yet."},"past":{"type":["null","string"],"description":"Heading above the benefits that have expired or been used up."},"pastCount":{"type":["null","string"],"description":"Counter next to the past heading, for two or more. Carries a `{count}` placeholder."},"pastCount_one":{"type":["null","string"],"description":"Counter next to the past heading, for exactly one."}},"additionalProperties":false,"description":"Headings of the three groups a `benefitList` page lists benefits in."},"BenefitListCardTranslations":{"type":"object","properties":{"showCode":{"type":["null","string"],"description":"Label of the action revealing the redemption code."},"seeDetails":{"type":["null","string"],"description":"Label of the action opening the benefit's details."},"hide":{"type":["null","string"],"description":"Label of the action closing the opened card."},"used":{"type":["null","string"],"description":"Badge on a benefit that has been used up."},"expired":{"type":["null","string"],"description":"Badge on a benefit whose validity has passed."},"remaining":{"type":["null","string"],"description":"Remaining allowance, for two or more. Carries `{value}` and `{target}` placeholders."},"remaining_one":{"type":["null","string"],"description":"Remaining allowance, for exactly one."},"remainingLabel":{"type":["null","string"],"description":"Screen-reader wording of the remaining allowance."},"progress":{"type":["null","string"],"description":"Progress towards a reward. Carries `{value}` and `{target}` placeholders."},"progressLabel":{"type":["null","string"],"description":"Screen-reader wording of the progress."},"history":{"type":["null","string"],"description":"Heading above the list of past redemptions."},"usedOn":{"type":["null","string"],"description":"One redemption in that list. Carries a `{date}` placeholder."},"legal":{"type":["null","string"],"description":"Label of the link to the benefit's terms."},"dateRange":{"type":["null","string"],"description":"Validity of a benefit that both starts and ends. Carries `{from}` and `{to}` placeholders."},"dateUntil":{"type":["null","string"],"description":"Validity of a benefit that only ends. Carries a `{to}` placeholder."},"dateFrom":{"type":["null","string"],"description":"Validity of a benefit that only starts. Carries a `{from}` placeholder."},"dateOn":{"type":["null","string"],"description":"Validity of a benefit good for a single day. Carries a `{from}` placeholder."}},"additionalProperties":false,"description":"Strings on the card of one benefit on a `benefitList` page."},"BenefitListCodeTranslations":{"type":"object","properties":{"label":{"type":["null","string"],"description":"Instruction above the code."},"howTo":{"type":["null","string"],"description":"Explanation of how the code is redeemed."}},"additionalProperties":false,"description":"Strings around the redemption code of a benefit."},"BenefitListWalletTranslations":{"type":"object","properties":{"bulkTitle":{"type":["null","string"],"description":"Headline of the card, for two or more. Carries a `{count}` placeholder."},"bulkTitle_one":{"type":["null","string"],"description":"Headline of the card, for exactly one."},"bulkHint":{"type":["null","string"],"description":"Text under the headline of the card."}},"additionalProperties":false,"description":"Strings of the add-everything card on a `benefitList` page."},"BenefitListEmptyTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the empty state."},"content":{"type":["null","string"],"description":"Text under the empty-state headline."}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page when the pass carries no benefit."}}}}
```

## The DownloadPageType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"DownloadPageType":{"enum":["pass","passList","benefitList"],"type":"string","description":"Kind of download page."}}}}
```

## The EmailDnsRecord object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EmailDnsRecord":{"required":["name","purpose","type","value"],"type":"object","properties":{"type":{"type":"string","description":"Record type, `CNAME` or `TXT`."},"name":{"type":"string","description":"Record name, fully qualified."},"value":{"type":"string","description":"Value to set."},"purpose":{"description":"What the record is for.","$ref":"#/components/schemas/EmailDnsRecordPurpose"}},"additionalProperties":false,"description":"A DNS record the customer creates at their own provider."},"EmailDnsRecordPurpose":{"enum":["sendgridValidation","dkimPrimary","dkimSecondary","dmarc"],"type":"string","description":"What a DNS record of the custom sending domain is for."}}}}
```

## The EmailDnsRecordPurpose object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EmailDnsRecordPurpose":{"enum":["sendgridValidation","dkimPrimary","dkimSecondary","dmarc"],"type":"string","description":"What a DNS record of the custom sending domain is for."}}}}
```

## The EmailProviderDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EmailProviderDefinition":{"required":["hasApiKey","starterScript"],"type":"object","properties":{"type":{"type":["null","string"],"description":"Provider type: `sendgrid`, `mailchimp`, `script`, or another type configured outside this API. Null when none is configured."},"from":{"description":"Sender identity. Null for `script` or when nothing is configured.","$ref":"#/components/schemas/FromDefinition"},"hasApiKey":{"type":"boolean","description":"Whether an API key is set. Always false for `script`."},"customDomain":{"description":"Custom sending domain. Null unless the provider is `sendgrid` with a custom domain.","$ref":"#/components/schemas/CustomDomainDefinition"},"script":{"type":["null","string"],"description":"Provider script content; null when none yet."},"starterScript":{"type":"string","description":"Starter implementation to seed a new script with."}},"additionalProperties":false,"description":"E-mail provider settings. The API key is never returned."},"FromDefinition":{"required":["email"],"type":"object","properties":{"email":{"type":"string","description":"Email address mail is sent from."},"name":{"type":["null","string"],"description":"Display name mail is sent from."}},"additionalProperties":false,"description":"Sender identity used by the SendGrid and Mailchimp providers."},"CustomDomainDefinition":{"required":["dnsRecords","domain"],"type":"object","properties":{"domain":{"type":"string","description":"Domain mail is sent from."},"dnsRecords":{"type":"array","items":{"description":"A DNS record the customer creates at their own provider.","$ref":"#/components/schemas/EmailDnsRecord"},"description":"Records the customer must create at their DNS provider."}},"additionalProperties":false,"description":"Custom domain mail is sent from, with the DNS records it needs."},"EmailDnsRecord":{"required":["name","purpose","type","value"],"type":"object","properties":{"type":{"type":"string","description":"Record type, `CNAME` or `TXT`."},"name":{"type":"string","description":"Record name, fully qualified."},"value":{"type":"string","description":"Value to set."},"purpose":{"description":"What the record is for.","$ref":"#/components/schemas/EmailDnsRecordPurpose"}},"additionalProperties":false,"description":"A DNS record the customer creates at their own provider."},"EmailDnsRecordPurpose":{"enum":["sendgridValidation","dkimPrimary","dkimSecondary","dmarc"],"type":"string","description":"What a DNS record of the custom sending domain is for."}}}}
```

## The EmailProviderSecrets object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EmailProviderSecrets":{"type":"object","properties":{"type":{"type":["null","string"],"description":"Provider type: `sendgrid`, `mailchimp`, `script`, or another type configured outside this API."},"from":{"description":"Sender identity. Null for `script`.","$ref":"#/components/schemas/FromDefinition"},"apiKey":{"type":["null","string"],"description":"API key of the provider; null when none is set."}},"additionalProperties":false,"description":"E-mail provider settings with their API key."},"FromDefinition":{"required":["email"],"type":"object","properties":{"email":{"type":"string","description":"Email address mail is sent from."},"name":{"type":["null","string"],"description":"Display name mail is sent from."}},"additionalProperties":false,"description":"Sender identity used by the SendGrid and Mailchimp providers."}}}}
```

## The EmailProviderType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EmailProviderType":{"enum":["sendgrid","mailchimp","script"],"type":"string","description":"Email provider supported by this endpoint."}}}}
```

## The EmailTemplateCultureContent object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EmailTemplateCultureContent":{"required":["css","html"],"type":"object","properties":{"html":{"type":"string","description":"HTML design source, reloaded into the editor, not sent. Null is saved as empty."},"css":{"type":"string","description":"CSS design source, reloaded into the editor, not sent. Null is saved as empty."},"subject":{"type":["null","string"],"description":"Compiled subject used to send mail. Null in a response when the culture has no compiled content yet."},"body":{"type":["null","string"],"description":"Compiled body (HTML with Liquid placeholders) used to send mail. Null in a response when the culture has no compiled content yet."}},"additionalProperties":false,"description":"Design source and compiled content of one culture."}}}}
```

## The EmailTemplateDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EmailTemplateDefinition":{"required":["cultures","id"],"type":"object","properties":{"id":{"type":"string","description":"Identifier the platform sends the template by."},"cultures":{"type":"object","additionalProperties":{"description":"Design source and compiled content of one culture.","$ref":"#/components/schemas/EmailTemplateCultureContent"},"description":"Content of every culture with a design source, keyed by culture code."}},"additionalProperties":false,"description":"Full e-mail template definition."},"EmailTemplateCultureContent":{"required":["css","html"],"type":"object","properties":{"html":{"type":"string","description":"HTML design source, reloaded into the editor, not sent. Null is saved as empty."},"css":{"type":"string","description":"CSS design source, reloaded into the editor, not sent. Null is saved as empty."},"subject":{"type":["null","string"],"description":"Compiled subject used to send mail. Null in a response when the culture has no compiled content yet."},"body":{"type":["null","string"],"description":"Compiled body (HTML with Liquid placeholders) used to send mail. Null in a response when the culture has no compiled content yet."}},"additionalProperties":false,"description":"Design source and compiled content of one culture."}}}}
```

## The EmailTemplateListItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EmailTemplateListItem":{"required":["cultures","id"],"type":"object","properties":{"id":{"type":"string","description":"Identifier the platform sends the template by."},"cultures":{"type":"array","items":{"type":"string"},"description":"Sorted culture codes with a design source. A listed culture may still lack a compiled subject and body."}},"additionalProperties":false,"description":"E-mail template list entry."}}}}
```

## The EmailVerificationResult object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EmailVerificationResult":{"type":"object","properties":{"isValid":{"type":"boolean","description":"`true` when the address is well formed and its domain can receive mail."}},"additionalProperties":false,"description":"Email check outcome."}}}}
```

## The EnrolmentFormDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EnrolmentFormDefinition":{"required":["localization","name","yaml"],"type":"object","properties":{"name":{"type":"string","description":"Form name, last segment of its public URL `/{tenantId}/{name}`."},"flow":{"type":["null","string"],"description":"Flow executed on registration; null when the stored form has none (a typed save requires one)."},"localization":{"description":"Localization wiring.","$ref":"#/components/schemas/EnrolmentFormLocalization"},"yaml":{"type":"string","description":"The form as YAML, exactly as saved."}},"additionalProperties":false,"description":"Full enrolment form definition."},"EnrolmentFormLocalization":{"type":"object","properties":{"resources":{"type":"array","items":{"type":"string"},"description":"Locale resource directories, e.g. `/locales/fields/`. Order matters: the last directory wins for a duplicate key. A blank entry is refused with 400; a missing directory is accepted."}},"additionalProperties":false,"description":"Localization wiring of a form."}}}}
```

## The EnrolmentFormListItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EnrolmentFormListItem":{"required":["hasForm","localeResourceCount","name"],"type":"object","properties":{"name":{"type":"string","description":"Form name, unique within the tenant; last segment of its public URL."},"flow":{"type":["null","string"],"description":"Flow executed on registration; null when the stored form has none."},"localeResourceCount":{"type":"integer","description":"Number of locale resource directories the form uses.","format":"int32"},"hasForm":{"type":"boolean","description":"Whether the form declares any fields."}},"additionalProperties":false,"description":"Enrolment form list entry."}}}}
```

## The EnrolmentFormLocalization object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EnrolmentFormLocalization":{"type":"object","properties":{"resources":{"type":"array","items":{"type":"string"},"description":"Locale resource directories, e.g. `/locales/fields/`. Order matters: the last directory wins for a duplicate key. A blank entry is refused with 400; a missing directory is accepted."}},"additionalProperties":false,"description":"Localization wiring of a form."}}}}
```

## The EnrolmentLocaleResourceCulture object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EnrolmentLocaleResourceCulture":{"required":["culture","formNames","resourceDir","values"],"type":"object","properties":{"resourceDir":{"type":"string","description":"Directory name, as in `resourceDir`."},"culture":{"type":"string","description":"Culture of the content, e.g. `en`."},"formNames":{"type":"array","items":{"type":"string"},"description":"Enrolment forms referencing this directory."},"values":{"description":"Saved translations: nested objects whose leaves are strings."}},"additionalProperties":false,"description":"One culture's stored content."}}}}
```

## The EnrolmentLocaleResourceListItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"EnrolmentLocaleResourceListItem":{"required":["cultures","formNames","resourceDir"],"type":"object","properties":{"resourceDir":{"type":"string","description":"Directory name under `locales/`, e.g. `fields`."},"formNames":{"type":"array","items":{"type":"string"},"description":"Enrolment forms referencing this directory."},"cultures":{"type":"array","items":{"type":"string"},"description":"Cultures with translations in the directory."}},"additionalProperties":false,"description":"Resource directory list entry."}}}}
```

## The Execution object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Execution":{"required":["duration","id","retryIndex","startDate","success"],"type":"object","properties":{"id":{"type":"string","description":"Delivery id, used as `executionId` on the detail endpoint."},"startDate":{"type":"string","description":"When the delivery started, in UTC.","format":"date-time"},"retryIndex":{"type":"integer","description":"Times the occurrence was postponed before this delivery; `0` on the first.","format":"int32"},"success":{"type":["null","boolean"],"description":"Whether it succeeded."},"duration":{"type":["null","string"],"description":"Run time, as `[d.]hh:mm:ss[.fffffff]`.","format":"date-span"}},"additionalProperties":false,"description":"One delivery of an automation run; a postponed occurrence appears once per delivery."}}}}
```

## The ExecutionDetail object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ExecutionDetail":{"required":["logs"],"type":"object","allOf":[{"$ref":"#/components/schemas/Execution"}],"properties":{"logs":{"type":"array","items":{"description":"One log message or outgoing call.","$ref":"#/components/schemas/ExecutionLog"},"description":"Log messages and outgoing calls, newest first."}},"additionalProperties":false,"description":"An execution with its logs."},"Execution":{"required":["duration","id","retryIndex","startDate","success"],"type":"object","properties":{"id":{"type":"string","description":"Delivery id, used as `executionId` on the detail endpoint."},"startDate":{"type":"string","description":"When the delivery started, in UTC.","format":"date-time"},"retryIndex":{"type":"integer","description":"Times the occurrence was postponed before this delivery; `0` on the first.","format":"int32"},"success":{"type":["null","boolean"],"description":"Whether it succeeded."},"duration":{"type":["null","string"],"description":"Run time, as `[d.]hh:mm:ss[.fffffff]`.","format":"date-span"}},"additionalProperties":false,"description":"One delivery of an automation run; a postponed occurrence appears once per delivery."},"ExecutionLog":{"required":["data","entryType","eventDate","id"],"type":"object","properties":{"id":{"type":"string","description":"Id of the entry."},"eventDate":{"type":"string","description":"When logged, in UTC.","format":"date-time"},"entryType":{"type":"string","description":"`Trace` for a log message, `Dependencies` for an outgoing call."},"data":{"type":["null","string"],"description":"A log message, or a one-line summary of an outgoing call."}},"additionalProperties":false,"description":"One log message or outgoing call."}}}}
```

## The ExecutionLog object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ExecutionLog":{"required":["data","entryType","eventDate","id"],"type":"object","properties":{"id":{"type":"string","description":"Id of the entry."},"eventDate":{"type":"string","description":"When logged, in UTC.","format":"date-time"},"entryType":{"type":"string","description":"`Trace` for a log message, `Dependencies` for an outgoing call."},"data":{"type":["null","string"],"description":"A log message, or a one-line summary of an outgoing call."}},"additionalProperties":false,"description":"One log message or outgoing call."}}}}
```

## The ExecutionSummary object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ExecutionSummary":{"required":["taskId","taskType"],"type":"object","allOf":[{"$ref":"#/components/schemas/Execution"}],"properties":{"taskId":{"type":"string","description":"Owning automation id; may be a deleted automation."},"taskType":{"type":["null","string"],"description":"Task type that ran, e.g. `wallet.pushUpdates`."}},"additionalProperties":false,"description":"An execution with its automation."},"Execution":{"required":["duration","id","retryIndex","startDate","success"],"type":"object","properties":{"id":{"type":"string","description":"Delivery id, used as `executionId` on the detail endpoint."},"startDate":{"type":"string","description":"When the delivery started, in UTC.","format":"date-time"},"retryIndex":{"type":"integer","description":"Times the occurrence was postponed before this delivery; `0` on the first.","format":"int32"},"success":{"type":["null","boolean"],"description":"Whether it succeeded."},"duration":{"type":["null","string"],"description":"Run time, as `[d.]hh:mm:ss[.fffffff]`.","format":"date-span"}},"additionalProperties":false,"description":"One delivery of an automation run; a postponed occurrence appears once per delivery."}}}}
```

## The ExportTokenRequest object

````json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ExportTokenRequest":{"type":"object","properties":{"filters":{"type":["null","array"],"items":{"description":"One condition on passes. Several conditions must all hold.","$ref":"#/components/schemas/FilterModel"},"description":"The filters of `GET /benefits`, with the same fields and operators. Omit to export every benefit."},"sortBys":{"type":["null","array"],"items":{"description":"One sort key for pass queries. Several keys apply in order, the first one being the primary sort.","$ref":"#/components/schemas/SortModel"},"description":"The sort descriptors of `GET /benefits`. Omit for an unordered export."}},"additionalProperties":false,"description":"Export token request body."},"FilterModel":{"type":"object","properties":{"field":{"type":"string","description":"`id`, `passType`, `themeId`, `creationDate` and `lastUpdateDate` (UTC), `installationStatus` (installed wallets concatenated: `\"\"`, `\"apple\"`, `\"google\"` or `\"applegoogle\"`; test with `contains`), `identifiers.{key}`, or `metadata.{key}` (compared as the type the tenant's metadata configuration gives it)."},"operator":{"description":"Comparison operator. Required.","$ref":"#/components/schemas/FilterModelOperator"},"value":{"type":["null","array"],"items":{"type":"string"},"description":"Values to compare, as repeated `value` query parameters (several only for `in`/`notIn`). Numbers use `.` as decimal separator, booleans are `true`/`false`, dates are ISO 8601 with timezone.\nA value containing `{{`, `{%` or `{#` is first rendered as a Liquid template (`{{ 'now' | date: '%Y-%m-%d' }}`).\n<example>```\nGET /passes?filter[0].field=passType&filter[0].operator=in&filter[0].value=boarding&filter[0].value=loyalty\n```</example>"}},"additionalProperties":false,"description":"One condition on passes. Several conditions must all hold."},"FilterModelOperator":{"enum":["Contains","StartsWith","EndsWith","Equals","IsEmpty","IsNotEmpty","NotEquals","In","NotIn","GreaterThan","LessThan","GreaterThanOrEqual","LessThanOrEqual"],"type":"string","description":"How a pass filter compares the field with its value."},"SortModel":{"type":"object","properties":{"field":{"type":"string","description":"`id`, `passType`, `themeId`, `creationDate`, `lastUpdateDate`, `apple`,\n            `google` (installation data of that wallet), `identifiers.{key}` or `metadata.{key}`; a datetime\n            metadata field sorts chronologically. Any other field is refused with a 400."},"direction":{"description":"`ASC` or `DESC`.","$ref":"#/components/schemas/SortModelDirection"}},"additionalProperties":false,"description":"One sort key for pass queries. Several keys apply in order, the first one being the primary sort."},"SortModelDirection":{"enum":[0,1],"type":"integer","description":"Sort direction for pass list queries, sent as `ASC` or `DESC`.","format":"int32"}}}}
````

## The ExportTokenResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ExportTokenResponse":{"type":"object","properties":{"downloadUrl":{"type":"string","description":"Absolute URL of `GET /passes/export/download`, carrying its access token. Valid for 30 minutes; anyone holding it can download the export, so treat it as confidential."}},"additionalProperties":false,"description":"A link that downloads the export without any other credential."}}}}
```

## The ExtensionScriptSlot object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."}}}}
```

## The FacebookSignInDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FacebookSignInDefinition":{"required":["appId","hasAppSecret"],"type":"object","properties":{"appId":{"type":"string","description":"App ID of the Facebook app customers sign in through. The customer web app starts Facebook login with\nit."},"hasAppSecret":{"type":"boolean","description":"Whether an app secret is configured. The secret itself is never returned; when true, a PUT may omit\n`appSecret` to keep it."}},"additionalProperties":false,"description":"Sign in with Facebook settings, without the app secret."}}}}
```

## The FilterAction object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FilterAction":{"enum":[0,1],"type":"integer","description":"What Y2 does with a notification the filter matches.","format":"int32"}}}}
```

## The FilterInformation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FilterInformation":{"type":"object","properties":{"eventSources":{"type":["null","array"],"items":{"type":"string"},"description":"Y2 service operations the filter matches, in the form of `Header.EventSource`, e.g.\n`Cegid.Retail.Services.ThirdParties.Customers.ICustomerService.Update`."},"userIds":{"type":["null","array"],"items":{"type":"string"},"description":"Y2 users the filter matches, in the form of `Header.UserId`: the user whose action raised the\nnotification."},"action":{"description":"Whether a matching notification is delivered or dropped.","$ref":"#/components/schemas/FilterAction"}},"additionalProperties":false,"description":"A Y2 rule selecting the notifications the subscription delivers or drops."},"FilterAction":{"enum":[0,1],"type":"integer","description":"What Y2 does with a notification the filter matches.","format":"int32"}}}}
```

## The FilterModel object

````json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FilterModel":{"type":"object","properties":{"field":{"type":"string","description":"`id`, `passType`, `themeId`, `creationDate` and `lastUpdateDate` (UTC), `installationStatus` (installed wallets concatenated: `\"\"`, `\"apple\"`, `\"google\"` or `\"applegoogle\"`; test with `contains`), `identifiers.{key}`, or `metadata.{key}` (compared as the type the tenant's metadata configuration gives it)."},"operator":{"description":"Comparison operator. Required.","$ref":"#/components/schemas/FilterModelOperator"},"value":{"type":["null","array"],"items":{"type":"string"},"description":"Values to compare, as repeated `value` query parameters (several only for `in`/`notIn`). Numbers use `.` as decimal separator, booleans are `true`/`false`, dates are ISO 8601 with timezone.\nA value containing `{{`, `{%` or `{#` is first rendered as a Liquid template (`{{ 'now' | date: '%Y-%m-%d' }}`).\n<example>```\nGET /passes?filter[0].field=passType&filter[0].operator=in&filter[0].value=boarding&filter[0].value=loyalty\n```</example>"}},"additionalProperties":false,"description":"One condition on passes. Several conditions must all hold."},"FilterModelOperator":{"enum":["Contains","StartsWith","EndsWith","Equals","IsEmpty","IsNotEmpty","NotEquals","In","NotIn","GreaterThan","LessThan","GreaterThanOrEqual","LessThanOrEqual"],"type":"string","description":"How a pass filter compares the field with its value."}}}}
````

## The FilterModelOperator object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FilterModelOperator":{"enum":["Contains","StartsWith","EndsWith","Equals","IsEmpty","IsNotEmpty","NotEquals","In","NotIn","GreaterThan","LessThan","GreaterThanOrEqual","LessThanOrEqual"],"type":"string","description":"How a pass filter compares the field with its value."}}}}
```

## The FlowDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FlowDefinition":{"required":["name","steps","type"],"type":"object","properties":{"name":{"type":"string","description":"Flow name; what layouts reference it by."},"type":{"type":"string","description":"Flow type, e.g. `userRegistration` (also when the stored flow has none)."},"steps":{"type":"array","items":{"description":"One step of a flow.","$ref":"#/components/schemas/FlowStepDefinition"},"description":"Steps in execution order. After a create or save, the steps as sent."}},"additionalProperties":false,"description":"Full flow definition."},"FlowStepDefinition":{"required":["type"],"type":"object","properties":{"type":{"minLength":1,"type":"string","description":"Step type, e.g. `mail`, `sms`, `pass` or `script`. Must be available to the tenant, else 400. Empty in a response when the step has none."}},"additionalProperties":{},"description":"One step of a flow."}}}}
```

## The FlowListItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FlowListItem":{"required":["name","stepCount","type"],"type":"object","properties":{"name":{"type":"string","description":"Flow name, unique within the tenant; what layouts reference it by."},"type":{"type":"string","description":"Flow type, e.g. `userRegistration` (also when the stored flow has none)."},"stepCount":{"type":"integer","description":"Number of steps.","format":"int32"}},"additionalProperties":false,"description":"Flow list entry."}}}}
```

## The FlowStepDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FlowStepDefinition":{"required":["type"],"type":"object","properties":{"type":{"minLength":1,"type":"string","description":"Step type, e.g. `mail`, `sms`, `pass` or `script`. Must be available to the tenant, else 400. Empty in a response when the step has none."}},"additionalProperties":{},"description":"One step of a flow."}}}}
```

## The FromDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FromDefinition":{"required":["email"],"type":"object","properties":{"email":{"type":"string","description":"Email address mail is sent from."},"name":{"type":["null","string"],"description":"Display name mail is sent from."}},"additionalProperties":false,"description":"Sender identity used by the SendGrid and Mailchimp providers."}}}}
```

## The FromRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"FromRequest":{"required":["email"],"type":"object","properties":{"email":{"minLength":1,"type":"string","description":"Email address mail is sent from. Must be a syntactically valid address, else 400.","format":"email"},"name":{"maxLength":200,"type":["null","string"],"description":"Display name, up to 200 characters, else 400. Omitted or blank means the address alone is shown."}},"additionalProperties":false,"description":"Request body to configure the sender identity."}}}}
```

## The GeneralSecretsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GeneralSecretsDefinition":{"type":"object","properties":{"secret1":{"type":["null","string"],"description":"Primary secret. Null when empty."},"secret2":{"type":["null","string"],"description":"Secondary secret, kept while the primary is rotated. Null when empty."}},"additionalProperties":false,"description":"General secrets of the tenant."}}}}
```

## The GenericEventData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GenericEventData":{"type":"object","allOf":[{"description":"A Y2 business notification: what happened, and the key of the entity it happened to.","$ref":"#/components/schemas/DataWrapper_JsonElement"}],"additionalProperties":false,"description":"A Y2 business notification as Y2 posts it, with its body left as raw JSON. Also the payload of the\n`Y2:BusinessNotification:Generic` event, emitted for an event source with no dedicated handling."},"DataWrapper_JsonElement":{"required":["Body","Header"],"type":"object","properties":{"__id":{"type":"string","description":"See . A new GUID when the event is raised."},"__creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"See . The current UTC time when the event is raised. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"__eventName":{"type":"string"},"Header":{"description":"What happened, where and by whom.","$ref":"#/components/schemas/Header"},"Body":{"description":"Key of the entity the notification is about, under `Key`. Its shape depends on\n`Header.EventSource`."}},"additionalProperties":false,"description":"A Y2 business notification: what happened, and the key of the entity it happened to."},"Header":{"required":["ContentType","EventId","EventSource","SourceId","UserId"],"type":"object","properties":{"EventId":{"type":"string","description":"Y2 identifier of the notification. Carried into the emitted event."},"EventSource":{"type":"string","description":"Y2 service operation that raised the notification, e.g.\n`Cegid.Retail.Services.ThirdParties.Customers.ICustomerService.Update`. Decides how the\nnotification is handled and which shape `Body` must have."},"ContentType":{"type":"string","description":"Y2 service operation that reads the entity designated by `Body`, e.g.\n`…ICustomerService.GetCustomerDetail`. Carried into the emitted event."},"SourceId":{"type":"string","description":"System that raised the notification, `Y2`. Carried into the emitted event."},"UserId":{"type":"string","description":"Y2 user whose action raised the notification. Carried into the emitted event."},"Date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When Y2 raised the notification, in UTC. Carried into the emitted event. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"Header of a Y2 business notification."}}}}
```

## The GoogleClassResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GoogleClassResponse":{"type":"object","properties":{"id":{"type":"string","description":"Full Google class id, `{issuerId}.{suffix}`."},"reviewStatus":{"type":["null","string"],"description":"Google's review status of the class, passed through as Google reports it (for example `UNDER_REVIEW`, `APPROVED`, `REJECTED`, `DRAFT`); null when Google sends none."}},"additionalProperties":false,"description":"A Google Wallet class registered under the tenant's issuer."}}}}
```

## The GoogleClassType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GoogleClassType":{"enum":[0,1,2,3,4],"type":"integer","description":"The Google Wallet class family to read; each family is a separate collection at Google:\n`Loyalty` (loyalty cards), `GiftCard`, `Offer` (coupons), `EventTicket`, `Generic`.","format":"int32"}}}}
```

## The GoogleIssuerResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GoogleIssuerResponse":{"required":["issuerId"],"type":"object","properties":{"issuerId":{"type":"string","description":"Issuer ID, as in the Google Pay & Wallet Console."}},"additionalProperties":false,"description":"The issuer that was created."}}}}
```

## The GoogleNfcSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GoogleNfcSettings":{"type":"object","properties":{"collectorId":{"type":"string","description":"Smart Tap collector ID the device announces to the phone."},"keyVersion":{"type":"integer","description":"Version under which the matching public key is registered with Google.","format":"int32"},"privateKey":{"type":"string","description":"EC P-256 private key of the Smart Tap authentication key: PKCS#8, Base64. Keep it on the device."}},"additionalProperties":false}}}}
```

## The GoogleSecretsResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GoogleSecretsResponse":{"required":["issuerId"],"type":"object","properties":{"issuerId":{"type":"string","description":"Issuer ID from the Google Pay & Wallet Console."},"projectId":{"type":["null","string"],"description":"Google Cloud project whose platform service account the tenant uses; null when the tenant has its own `credential`."},"credential":{"description":"The tenant's own service account, with the fields of the JSON key file downloaded from the Google Cloud console; null when `projectId` is set.","$ref":"#/components/schemas/CredentialConfiguration"}},"additionalProperties":false,"description":"Google Wallet settings with their private keys."},"CredentialConfiguration":{"required":["client_email","client_id","private_key","private_key_id","project_id","type"],"type":"object","properties":{"type":{"minLength":1,"type":"string","description":"Type of the credential."},"project_id":{"type":"string","description":"Project ID associated with this credential."},"quota_project":{"type":["null","string"],"description":"Project ID associated with this credential for the purposes of quota calculations and billing."},"client_id":{"type":"string","description":"Client ID associated with UserCredential created by GCloud Auth Login."},"client_secret":{"type":["null","string"],"description":"Client Secret associated with UserCredential created by GCloud Auth Login."},"client_email":{"type":"string","description":"Client Email associated with ServiceAccountCredential obtained from Google Developers Console."},"private_key":{"type":"string","description":"Private Key associated with ServiceAccountCredential obtained from Google Developers Console."},"private_key_id":{"type":"string","description":"Private Key ID associated with ServiceAccountCredential obtained from Google Developers Console."},"refresh_token":{"type":["null","string"],"description":"Refresh Token associated with UserCredential created by\n<a href=\"https://cloud.google.com/sdk/gcloud/reference/auth/login\">GCloud Auth Login</a>."}},"additionalProperties":{},"description":"Google service account credential, stored with the snake_case keys of the JSON key file\ndownloaded from the Google Cloud console."}}}}
```

## The GoogleServiceAccountResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GoogleServiceAccountResponse":{"required":["consoleOwners","email","label","partnerId","projectId"],"type":"object","properties":{"projectId":{"type":"string","description":"Id of the Google Cloud project of the service account."},"label":{"type":"string","description":"Name shown in the admin console."},"email":{"type":"string","description":"E-mail of the service account."},"consoleOwners":{"type":"array","items":{"type":"string"},"description":"Google accounts that own every issuer created with the service account, so they see it in the Google Pay & Wallet Console."},"partnerId":{"type":"string","description":"The partner the service account belongs to; `twc` is The Wallet Crew."}},"additionalProperties":false,"description":"The service account of a Google Cloud project, held by the platform."}}}}
```

## The GoogleSignInDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GoogleSignInDefinition":{"required":["clientId"],"type":"object","properties":{"clientId":{"type":"string","description":"OAuth client ID of the Google app customers sign in with. The customer web app starts Google sign-in\nwith it."},"gtmId":{"type":["null","string"],"description":"Google Tag Manager container the customer web app loads, e.g. `GTM-XXXX`. Null when none is\nloaded."}},"additionalProperties":false,"description":"Sign in with Google settings."}}}}
```

## The GoogleWalletProviderDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GoogleWalletProviderDefinition":{"required":["issuerId"],"type":"object","properties":{"issuerId":{"type":"string","description":"Issuer ID from the Google Pay & Wallet Console; prefixes the ID of every Google pass class and object."},"credential":{"description":"The tenant's own service account credential used to call the Google Wallet API; null when `projectId` is set.","$ref":"#/components/schemas/CredentialDefinition"},"projectId":{"type":["null","string"],"description":"Google Cloud project whose platform service account this tenant uses; null when the tenant has its own credential."},"webServiceUrl":{"type":["null","string"],"description":"Callback URL Google Wallet notifies when a holder saves or removes a pass. Null means the platform endpoint `/api/{tenantId}/passes/google`.","format":"uri"}},"additionalProperties":false,"description":"Google Wallet provider settings."},"CredentialDefinition":{"required":["clientEmail","clientId","hasClientSecret","hasPrivateKey","hasRefreshToken","privateKeyId","projectId","type"],"type":"object","properties":{"type":{"type":"string","description":"`type` of the credential JSON file; `service_account` for a service account key."},"projectId":{"type":"string","description":"Google Cloud project of the service account (`project_id`)."},"quotaProject":{"type":["null","string"],"description":"Project billed for API calls when it differs from `projectId`; null when not set."},"clientId":{"type":"string","description":"OAuth client ID (`client_id`)."},"clientEmail":{"type":"string","description":"Service account e-mail (`client_email`)."},"privateKeyId":{"type":"string","description":"Private key ID (`private_key_id`), to tell which key is in use."},"hasPrivateKey":{"type":"boolean","description":"Whether the private key is set. Without it, no Google Wallet API call can be made."},"hasClientSecret":{"type":"boolean","description":"Whether a client secret is set. A service account key has none."},"hasRefreshToken":{"type":"boolean","description":"Whether a refresh token is set. A service account key has none."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Other credential fields, returned as stored."}},"additionalProperties":false,"description":"Issuer service account credential; the private key, client secret and refresh token are never returned."}}}}
```

## The GrantMcpWritesRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"GrantMcpWritesRequest":{"type":"object","properties":{"durationMinutes":{"maximum":480,"minimum":1,"type":["null","integer"],"description":"How long writes stay allowed, in minutes. Defaults to 15; at most 480.","format":"int32"}},"additionalProperties":false,"description":"Request body to allow the caller's MCP writes."}}}}
```

## The Header object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Header":{"required":["ContentType","EventId","EventSource","SourceId","UserId"],"type":"object","properties":{"EventId":{"type":"string","description":"Y2 identifier of the notification. Carried into the emitted event."},"EventSource":{"type":"string","description":"Y2 service operation that raised the notification, e.g.\n`Cegid.Retail.Services.ThirdParties.Customers.ICustomerService.Update`. Decides how the\nnotification is handled and which shape `Body` must have."},"ContentType":{"type":"string","description":"Y2 service operation that reads the entity designated by `Body`, e.g.\n`…ICustomerService.GetCustomerDetail`. Carried into the emitted event."},"SourceId":{"type":"string","description":"System that raised the notification, `Y2`. Carried into the emitted event."},"UserId":{"type":"string","description":"Y2 user whose action raised the notification. Carried into the emitted event."},"Date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When Y2 raised the notification, in UTC. Carried into the emitted event. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"Header of a Y2 business notification."}}}}
```

## The HostnameRejection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"HostnameRejection":{"enum":["malformed","tooLong","wildcard","ownDomain"],"type":"string","description":"Why a hostname was rejected."}}}}
```

## The HttpValidationProblemDetails object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}}}}}
```

## The InsertBenefitRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"InsertBenefitRequest":{"required":["type"],"type":"object","allOf":[{"description":"Fields shared by the create and upsert requests. On update, an omitted field keeps its current value.","$ref":"#/components/schemas/BenefitRequestBase"}],"properties":{"type":{"description":"How the benefit is consumed: `oneTime` once, `multiUse` counts down uses, `unlimited` is never used up.","$ref":"#/components/schemas/BenefitType"},"category":{"description":"What the benefit gives the holder. `giftCard` is accepted for `multiUse` only; other combinations are refused with 400.","$ref":"#/components/schemas/BenefitCategory"},"passType":{"type":["null","string"],"description":"Pass template of a standalone wallet pass created for this benefit, alongside the holder's pass (e.g. a gift card); its id is returned as `linkedPassId`. Null: no linked pass."},"options":{"description":"Processing options.","$ref":"#/components/schemas/InsertOptions"}},"additionalProperties":false,"description":"Request to create a benefit; `type` is required."},"BenefitRequestBase":{"type":"object","properties":{"priority":{"type":["null","integer"],"description":"Rank among the pass's benefits: higher first, none last. Orders lists and wallet back fields, and picks whose main image becomes the pass artwork.","format":"int32"},"origin":{"description":"Where the benefit comes from in the caller's system. Set `externalId` or `processId` to make a POST idempotent: it updates the benefit it created instead of adding another.","$ref":"#/components/schemas/BenefitOrigin"},"tags":{"type":["null","array"],"items":{"type":"string"},"description":"Labels for segmenting and reporting, never shown to the holder. At most 20 tags of 50 characters; trimmed, blanks and case-insensitive duplicates dropped. An empty array clears them on update."},"content":{"description":"Title and description the holder reads.","$ref":"#/components/schemas/BenefitContent"},"appearance":{"description":"Images the benefit carries.","$ref":"#/components/schemas/BenefitAppearanceRequest"},"links":{"type":["null","object"],"properties":{"legalInformation":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"callToAction":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"termsAndConditions":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"privacyPolicy":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"howToUse":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"website":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"other":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"}},"additionalProperties":false,"description":"Links shown on the benefits page, keyed by purpose."},"data":{"description":"Opening movements and provider payload. Movements are accepted only while the benefit has none (afterwards use the movements endpoint); without them a `oneTime` benefit starts with one use and a `multiUse` one with `behavior.target`.","$ref":"#/components/schemas/BenefitData"},"activationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit becomes redeemable; omitted on create means immediately. Before it, status is `scheduled` and redemption is refused. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deactivationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When redemption stops; omitted on create means never. Afterwards status is `expired` until the deletion date. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deletionDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit is removed from the pass; omitted on create means never. When omitted on an update that extends `deactivationDate`, it moves forward by the same amount. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"behavior":{"description":"Allowance of a `multiUse` benefit and where the benefit is surfaced.","$ref":"#/components/schemas/BenefitBehaviorRequest"},"code":{"description":"Code staff scan or type to redeem the benefit.","$ref":"#/components/schemas/BenefitCode"}},"additionalProperties":false,"description":"Fields shared by the create and upsert requests. On update, an omitted field keeps its current value."},"BenefitOrigin":{"type":"object","properties":{"externalId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"External id, unique within the tenant. On POST, upserts on it first (before `processId`): updates the existing benefit, or 409 if it belongs to another pass. Kept by later writes that omit it. At most 100 characters."},"generator":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Name of the upstream system, e.g. `crm`; `benefitTemplate` marks a benefit issued from a template. Informative only. At most 100 characters."},"processId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Id of the upstream process or batch job (e.g. `campaign3`). On POST without `externalId`, upserts on (pass, processId); need not be unique across passes. A pass template reads the benefit as `benefits.{processId}`, each run of characters other than letters, digits and `_` becoming one `_`. At most 100 characters."}},"additionalProperties":false,"description":"Where a benefit comes from in an external system, for idempotency and traceability."},"BenefitContent":{"type":"object","properties":{"title":{"description":"Name the holder sees (\"Untitled benefit\" when absent). At most 200 characters per language.","$ref":"#/components/schemas/LocalizedString"},"description":{"description":"What the benefit gives and how to use it; shown on the benefits page and, when the behavior asks, on the back of the wallet pass. At most 2000 characters per language.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Holder-facing texts of a benefit."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."},"BenefitAppearanceRequest":{"type":"object","properties":{"images":{"type":"array","items":{"description":"A benefit image and its slot.","$ref":"#/components/schemas/BenefitImage"},"description":"Images, at most one per slot. Each URL is a web address, or a benefit template image path exactly as a read with `tenant.pass:read` returns it."},"mainImageUrl":{"description":"Deprecated: use `images`. The main image.","$ref":"#/components/schemas/LocalizedString"},"thumbnailUrl":{"description":"Deprecated: use `images`. The thumbnail image.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Images of an incoming benefit. `mainImageUrl` and `thumbnailUrl` are deprecated single-slot fields folded into `images`; an explicit `images` entry wins for the same slot."},"BenefitImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual (and the pass artwork when the behavior asks), `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"Localized image URL: a benefit template image path, or the absolute URL given by an integration.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"A benefit image and its slot."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"BenefitLink":{"required":["link"],"type":"object","properties":{"title":{"description":"Button label on the benefits page. At most 100 characters per language.","$ref":"#/components/schemas/LocalizedString"},"link":{"type":"string","description":"Absolute `https` URI the button opens; any other scheme is refused with 400.","format":"uri"}},"additionalProperties":false,"description":"A link with a localized title and a target URI."},"BenefitData":{"type":"object","properties":{"value":{"type":["null","number"],"description":"Uses left: the sum of all movements. A `oneTime` or `multiUse` benefit at 0 or below is `used`; for `unlimited`, a tally of what was taken. Computed on read, ignored on write.","format":"double"},"movements":{"type":"array","items":{"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server.","$ref":"#/components/schemas/BenefitMovement"},"description":"Every change to the balance, oldest first; append-only. On write, accepted only while the benefit has no movement, to open it with a non-default balance (a `oneTime` benefit takes exactly one movement of 1). POST assigns new movement ids; PUT keeps the caller's."},"content":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Free text returned as sent, read by a pass template as `benefits.{processId}.data.content` (e.g. a discount rate). Omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"Balance, movements and provider payload of a benefit."},"BenefitMovement":{"required":["date","movementId","value"],"type":"object","properties":{"movementId":{"type":"string","description":"Movement id, unique within the benefit; replaced on POST."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it happened; stored as sent, so an integration can replay its history. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"number","description":"Change to the balance: positive credits, negative redeems.","format":"double"},"remarks":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Note about the movement, e.g. a till receipt number; never shown to the holder, omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server."},"BenefitBehaviorRequest":{"type":"object","properties":{"target":{"type":["null","number"],"description":"Uses a `multiUse` benefit starts with: seeds the balance of a benefit created without movements and caps what a later credit can give back.","format":"double"},"mode":{"type":["null","array"],"items":{"description":"Where a benefit is shown and what each surface does with it.","$ref":"#/components/schemas/BenefitBehaviorMode"},"description":"Where the benefit is surfaced and what each surface does with it; omit for the default."},"autoRedeem":{"type":["null","boolean"],"description":"Deprecated: include `redeemOnScan` in `mode` instead."}},"additionalProperties":false,"description":"Behavior of an incoming benefit. Replaces the behavior as a whole: without `mode`, the default surfaces apply (listed everywhere, image on the pass, description on the back), not the previous ones; an empty array means none."},"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."},"BenefitCode":{"type":"object","properties":{"value":{"type":["null","string"],"description":"The code itself, as encoded in the barcode and shown under it."},"format":{"description":"How the code is rendered: a barcode symbology, or `raw` for text only. `ean13` needs 12 or 13 digits.","$ref":"#/components/schemas/BenefitCodeFormat"}},"additionalProperties":false,"description":"Barcode or reference code with its display format."},"BenefitCodeFormat":{"enum":["ean13","code128","qrCode","pdf417","aztec","dataMatrix","code39","raw"],"type":"string","description":"How a benefit's code is rendered to the holder, and so what the till or the Pass Scanner scans."},"BenefitType":{"enum":["oneTime","unlimited","multiUse"],"type":"string","description":"How a benefit is consumed, which decides what its movements mean and when it is used up."},"BenefitCategory":{"enum":["other","discount","freeProduct","service","access","giftCard"],"type":"string","description":"What a benefit gives the holder, used to group and label it on the benefits page and in reports."},"InsertOptions":{"type":"object","properties":{"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller's own call id (10-100 characters), e.g. a campaign run id, to trace a batch. Not stored."},"notification":{"description":"Push message sent to the pass once the benefit is written, same payload as the pass notification endpoints. Omit for no notification.","$ref":"#/components/schemas/NotifyRequest"}},"additionalProperties":false,"description":"Options of benefit creation."},"NotifyRequest":{"type":"object","properties":{"content":{"type":["null","string"],"description":"Message for devices whose language has no entry in `localizedContent`. Optional when `localizedContent` has text; defaults to the tenant's default language entry, else the first language in ordinal order."},"localizedContent":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Message per device language. Keys are a lowercase ISO 639-1 code, optionally with an uppercase\nregion (`en`, `fr-FR`). Entries with blank text are not sent.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}},"options":{"description":"Delivery options. Omitted, the notification is queued without refreshing pass data.","$ref":"#/components/schemas/NotifyRequestOptions"}},"additionalProperties":false,"description":"The message to show the holder, in one or several languages."},"NotifyRequestOptions":{"type":"object","properties":{"updateData":{"type":"boolean","description":"Also refreshes the Google Wallet pass content with the message. Apple always refreshes the whole pass.","default":false},"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller-chosen id for tracing, such as a campaign or batch. 10 to 100 characters after trimming, otherwise 400."},"bypassQueue":{"type":"boolean","description":"Sends within the request (200) instead of queuing (202), for urgent low-volume messages.","default":false}},"additionalProperties":false,"description":"How the notification is delivered."}}}}
```

## The InsertOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"InsertOptions":{"type":"object","properties":{"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller's own call id (10-100 characters), e.g. a campaign run id, to trace a batch. Not stored."},"notification":{"description":"Push message sent to the pass once the benefit is written, same payload as the pass notification endpoints. Omit for no notification.","$ref":"#/components/schemas/NotifyRequest"}},"additionalProperties":false,"description":"Options of benefit creation."},"NotifyRequest":{"type":"object","properties":{"content":{"type":["null","string"],"description":"Message for devices whose language has no entry in `localizedContent`. Optional when `localizedContent` has text; defaults to the tenant's default language entry, else the first language in ordinal order."},"localizedContent":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Message per device language. Keys are a lowercase ISO 639-1 code, optionally with an uppercase\nregion (`en`, `fr-FR`). Entries with blank text are not sent.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}},"options":{"description":"Delivery options. Omitted, the notification is queued without refreshing pass data.","$ref":"#/components/schemas/NotifyRequestOptions"}},"additionalProperties":false,"description":"The message to show the holder, in one or several languages."},"NotifyRequestOptions":{"type":"object","properties":{"updateData":{"type":"boolean","description":"Also refreshes the Google Wallet pass content with the message. Apple always refreshes the whole pass.","default":false},"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller-chosen id for tracing, such as a campaign or batch. 10 to 100 characters after trimming, otherwise 400."},"bypassQueue":{"type":"boolean","description":"Sends within the request (200) instead of queuing (202), for urgent low-volume messages.","default":false}},"additionalProperties":false,"description":"How the notification is delivered."}}}}
```

## The InvitationStatusResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"InvitationStatusResponse":{"required":["state"],"type":"object","properties":{"state":{"minLength":1,"type":"string","description":"`valid`: latest link, ready to activate. `expired`: latest link timed out and no password set; a new link can be sent.\n            `used`: already activated. `invalid`: unusable, e.g. access removed or a newer link sent."},"tenantName":{"type":["null","string"],"description":"Tenant display name. Null when `state` is `invalid`."},"role":{"type":["null","string"],"description":"Role granted on the tenant. Null when `state` is `invalid`."},"maskedEmail":{"type":["null","string"],"description":"Invitee e-mail with the local part hidden, e.g. `j***@brand.com`. Null when `state` is `invalid`."},"language":{"type":["null","string"],"description":"Invitee's stored admin console language. Null when none is stored or `state` is `invalid`."}},"additionalProperties":false,"description":"What an invitation link currently means."}}}}
```

## The InvitationTokenRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"InvitationTokenRequest":{"required":["token"],"type":"object","properties":{"token":{"minLength":1,"type":"string","description":"Token from the invitation link. An unusable token resolves to `invalid`, not an error."}},"additionalProperties":false,"description":"Request body carrying an invitation link's token."}}}}
```

## The IssueSendGridKeyRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"IssueSendGridKeyRequest":{"required":["accountId"],"type":"object","properties":{"accountId":{"minLength":1,"pattern":"^[a-z][a-z0-9-]{1,31}$","type":"string","description":"Identifier of the SendGrid account the key is created from."},"senderName":{"maxLength":200,"type":["null","string"],"description":"Display name mail is sent from, up to 200 characters. Omit it for the account's default sender name."}},"additionalProperties":false,"description":"Request body to send the tenant's mail through a SendGrid account of the platform."}}}}
```

## The IssuedCertificateResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"IssuedCertificateResponse":{"required":["expiresAt","id","inUse"],"type":"object","properties":{"id":{"type":"string","description":"Apple's id of the certificate, the one to revoke it with."},"serialNumber":{"type":["null","string"],"description":"Serial number of the certificate, when Apple gives one: what tells two certificates apart in the Apple portal."},"name":{"type":["null","string"],"description":"Name Apple gave the certificate, when it did."},"type":{"description":"Whether it carries the NFC entitlement; null when Apple does not say.","$ref":"#/components/schemas/ApplePassCertificateType"},"expiresAt":{"type":"string","description":"When the certificate expires.","format":"date-time"},"inUse":{"type":"boolean","description":"Whether the tenant signs its passes with it: such a certificate cannot be revoked here."}},"additionalProperties":false,"description":"A certificate Apple issued for the tenant's Pass Type ID."},"ApplePassCertificateType":{"enum":["passTypeId","passTypeIdWithNfc"],"type":"string","description":"The two kinds of Pass Type ID certificate Apple issues."}}}}
```

## The KlaviyoConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"KlaviyoConfigurationResponse":{"required":["enableSmsSupport","hasPrivateApiKey","siteId"],"type":"object","properties":{"siteId":{"minLength":1,"type":"string","description":"Klaviyo public API key, also called site ID, as last saved."},"listId":{"type":["null","string"],"description":"Klaviyo list the account's consents are synchronised to; `builtin` for Klaviyo's built-in consents\nwithout a list; null when the account's consents are not synchronised. See `listId`."},"enableSmsSupport":{"type":"boolean","description":"Whether the account's `consents_sms` consent is synchronised to Klaviyo, in addition to the email consent."},"hasPrivateApiKey":{"type":"boolean","description":"Whether a private API key is stored. When true, a save may omit `privateApiKey` to keep it."}},"additionalProperties":false,"description":"The stored Klaviyo connection of the tenant, without its private API key."}}}}
```

## The KlaviyoScriptsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"KlaviyoScriptsDefinition":{"required":["mapper","subscriptionsProvider"],"type":"object","properties":{"mapper":{"description":"`extensions.klaviyo.mapper`: adjusts the Klaviyo profile mapped from an account.","$ref":"#/components/schemas/ExtensionScriptSlot"},"subscriptionsProvider":{"description":"`extensions.klaviyo.subscriptions.provider`: the Klaviyo lists an account is subscribed to or unsubscribed from.","$ref":"#/components/schemas/ExtensionScriptSlot"}},"additionalProperties":false,"description":"The scripts the Klaviyo integration can be customised with."},"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."}}}}
```

## The LineSignInDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"LineSignInDefinition":{"required":["clientId"],"type":"object","properties":{"clientId":{"type":"string","description":"Channel ID of the LINE Login channel customers sign in through (LINE Developers Console). The customer\nweb app starts LINE Login with it."}},"additionalProperties":false,"description":"Sign in with LINE settings."}}}}
```

## The LinksRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"LinksRequest":{"required":["values"],"type":"object","properties":{"values":{"maxItems":10000,"minItems":1,"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"One row per link: a value per identifier key of the campaign, in their order. 1 to 10,000 rows."}},"additionalProperties":false,"description":"The rows to generate links for."}}}}
```

## The LinksResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"LinksResponse":{"type":"object","properties":{"links":{"type":"array","items":{"type":"string"},"description":"One link per row, in the order of the rows."}},"additionalProperties":false,"description":"The generated links."}}}}
```

## The LocalizedString object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."}}}}
```

## The LocalizedText object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"LocalizedText":{"type":"object","properties":{"default":{"type":"string","description":"Text used when no localization matches."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code; null if none."}},"additionalProperties":false,"description":"A text with translations."}}}}
```

## The ManagedTeamResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ManagedTeamResponse":{"required":["isDemo","name","partnerId"],"type":"object","properties":{"partnerId":{"type":"string","description":"The partner the team belongs to; `twc` is The Wallet Crew."},"name":{"type":"string","description":"Name of the team."},"isDemo":{"type":"boolean","description":"Whether the team is meant for demonstrations only, not for production."}},"additionalProperties":false,"description":"An Apple team whose key the platform holds for the tenant."}}}}
```

## The MarketingCloudConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"MarketingCloudConfigurationResponse":{"required":["enabled","hasSigninKey"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether Journey Builder calls are accepted. When false, the Notify and Push Update activities answer as not\nconfigured."},"hasSigninKey":{"type":"boolean","description":"Whether a signing key is stored. When true, a PUT may omit `signinKey` to keep it."}},"additionalProperties":false,"description":"The tenant's Salesforce Marketing Cloud settings, without the signing key."}}}}
```

## The McpAccessDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"McpAccessDefinition":{"required":["defaultGrantMinutes","environment","maxGrantMinutes","serverUrl","tenant","writesAvailable"],"type":"object","properties":{"environment":{"type":"string","description":"Environment this MCP server serves. Each environment is a separate server."},"serverUrl":{"type":"string","description":"URL to add to an MCP client to connect it to this environment."},"writesAvailable":{"type":"boolean","description":"Whether write tools are open on this environment at all."},"tenant":{"description":"The tenant's MCP switches, which can block the caller's writes whatever their grant.","$ref":"#/components/schemas/McpSettingsDefinition"},"writeGrantExpiresAt":{"type":["null","string"],"description":"When the caller's write grant on this tenant ends. Null when they hold none.","format":"date-time"},"defaultGrantMinutes":{"type":"integer","description":"Grant duration proposed by default, in minutes.","format":"int32"},"maxGrantMinutes":{"type":"integer","description":"Longest grant, in minutes.","format":"int32"}},"additionalProperties":false,"description":"MCP access to the tenant on this environment, seen by the caller."},"McpSettingsDefinition":{"required":["enabled","write"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the tenant allows MCP clients. When false, every tool call on the tenant is refused."},"write":{"type":"boolean","description":"Whether the tenant allows MCP write tools. When false, only read tools work."}},"additionalProperties":false,"description":"The tenant's MCP switches. They apply to every user, administrators included."}}}}
```

## The McpSettingsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"McpSettingsDefinition":{"required":["enabled","write"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the tenant allows MCP clients. When false, every tool call on the tenant is refused."},"write":{"type":"boolean","description":"Whether the tenant allows MCP write tools. When false, only read tools work."}},"additionalProperties":false,"description":"The tenant's MCP switches. They apply to every user, administrators included."}}}}
```

## The MeResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"MeResponse":{"type":"object","properties":{"hasTenants":{"type":"boolean","description":"Whether the user holds a role on at least one tenant."},"emailVerified":{"type":"boolean","description":"Whether the e-mail address is verified, including verification since sign-in."},"language":{"type":["null","string"],"description":"Admin console language code, e.g. `fr`; null when none is stored."}},"additionalProperties":false,"description":"Access state of the signed-in user."}}}}
```

## The MediaImageDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"MediaImageDefinition":{"required":["fileName","size","url"],"type":"object","properties":{"fileName":{"type":"string","description":"File name with extension; identifies the image on delete."},"url":{"type":"string","description":"Absolute public URL. A replaced image gets a new URL; earlier URLs serve the current image."},"lastModified":{"type":["null","string"],"description":"When last written; null when unknown, and always null in the upload response.","format":"date-time"},"size":{"type":"integer","description":"Size in bytes.","format":"int64"}},"additionalProperties":false,"description":"A public media image."}}}}
```

## The MovementDirection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"MovementDirection":{"enum":["redemption","award","any"],"type":"string","description":"Which movements on a benefit-template-issued benefit an Neo.Runtime.Scheduler.Configuration.BenefitRedeemedSettings trigger reacts to."}}}}
```

## The MovementResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"MovementResponse":{"type":"object","properties":{"movementId":{"type":"string","description":"Id of the movement, as listed in the benefit's `data.movements`."}},"additionalProperties":false,"description":"Created movement."}}}}
```

## The MultipleUpdatePassData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"MultipleUpdatePassData":{"type":"object","allOf":[{"description":"Changes to apply to an existing pass, with options.","$ref":"#/components/schemas/UpdatePassData_MultipleUpdatePassDataOptions"}],"additionalProperties":false,"description":"Changes applied to every matched pass. Omitted fields are left as they are."},"UpdatePassData_MultipleUpdatePassDataOptions":{"type":"object","properties":{"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifiers of the holder in other systems, keyed by system and field (`shopify.customerId`), matched by `findPass`, `id.{key}` lookups and filters. Avoid keys starting with `id.`."},"additionalData":{"type":["null","object"],"additionalProperties":{},"description":"Free data stored with the pass and available to its templates."},"themeId":{"type":["null","string"],"description":"Theme applied to the pass. Omit or `null` to leave it unchanged (none on create); an empty string removes it. An unknown id is refused with a 400."},"passType":{"type":["null","string"],"description":"Pass template to move the pass to. Omitted or blank keeps the current one; an unknown name is refused with a 400."},"updateMetadata":{"type":"boolean","description":"Replaced by `options.updateMetadata`.","default":false,"deprecated":true},"options":{"description":"How the update is applied. Omitted, the defaults of each option apply.","$ref":"#/components/schemas/MultipleUpdatePassDataOptions"}},"additionalProperties":false,"description":"Changes to apply to an existing pass, with options."},"MultipleUpdatePassDataOptions":{"type":"object","allOf":[{"$ref":"#/components/schemas/UpdatePassDataOptions"}],"properties":{"throughput":{"type":"number","description":"Passes updated per second, greater than 0 and at most 1000. Default 12; best effort.","format":"float"}},"additionalProperties":false,"description":"Options for a bulk update."},"UpdatePassDataOptions":{"type":"object","properties":{"updateMetadata":{"type":"boolean","description":"Recomputes the stored pass metadata read by filters and sorts. Slower; unneeded when only displayed content changes. Default `true`, except on a bulk update sent without a body."},"correlationId":{"type":["null","string"],"description":"Groups updates into one operation tracked by `GET /passes/pushUpdate/status` and stopped by `POST /passes/pushUpdate/{correlationId}/cancel`. Random when omitted; a synchronous update then records no progress."}},"additionalProperties":false,"description":"How an update is applied."}}}}
```

## The MultipleUpdatePassDataOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"MultipleUpdatePassDataOptions":{"type":"object","allOf":[{"$ref":"#/components/schemas/UpdatePassDataOptions"}],"properties":{"throughput":{"type":"number","description":"Passes updated per second, greater than 0 and at most 1000. Default 12; best effort.","format":"float"}},"additionalProperties":false,"description":"Options for a bulk update."},"UpdatePassDataOptions":{"type":"object","properties":{"updateMetadata":{"type":"boolean","description":"Recomputes the stored pass metadata read by filters and sorts. Slower; unneeded when only displayed content changes. Default `true`, except on a bulk update sent without a body."},"correlationId":{"type":["null","string"],"description":"Groups updates into one operation tracked by `GET /passes/pushUpdate/status` and stopped by `POST /passes/pushUpdate/{correlationId}/cancel`. Random when omitted; a synchronous update then records no progress."}},"additionalProperties":false,"description":"How an update is applied."}}}}
```

## The NewProfile object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"NewProfile":{"type":"object","properties":{"profileId":{"type":"integer","description":"Actito identifier of the profile.","format":"int64"}},"additionalProperties":false,"description":"The profile a profile webhook is about."}}}}
```

## The NfcDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"NfcDefinition":{"required":["configured"],"type":"object","properties":{"configured":{"type":"boolean","description":"Whether a key pair is set. Without one, Apple passes are issued without NFC."},"publicKey":{"type":["null","string"],"description":"Public key passes carry, a Base64 X.509 SubjectPublicKeyInfo; null when not configured."},"createdAt":{"type":["null","string"],"description":"When the key pair was set; null when not configured.","format":"date-time"}},"additionalProperties":false,"description":"NFC key pair of the tenant. The private key is never returned."}}}}
```

## The NfcSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"NfcSettings":{"type":"object","properties":{"apple":{"description":"Apple Wallet (Value Added Services).","$ref":"#/components/schemas/AppleNfcSettings"},"google":{"description":"Google Wallet (Smart Tap).","$ref":"#/components/schemas/GoogleNfcSettings"}},"additionalProperties":false,"description":"What a device needs to read wallet passes over NFC. Each wallet is absent when the tenant has not set it up."},"AppleNfcSettings":{"type":"object","properties":{"privateKey":{"type":"string","description":"EC P-256 private key that decrypts the NFC message of a pass: PKCS#8, Base64. Keep it on the device."},"passTypeIdentifier":{"type":"string","description":"Pass type identifier of the tenant's Apple passes."}},"additionalProperties":false},"GoogleNfcSettings":{"type":"object","properties":{"collectorId":{"type":"string","description":"Smart Tap collector ID the device announces to the phone."},"keyVersion":{"type":"integer","description":"Version under which the matching public key is registered with Google.","format":"int32"},"privateKey":{"type":"string","description":"EC P-256 private key of the Smart Tap authentication key: PKCS#8, Base64. Keep it on the device."}},"additionalProperties":false}}}}
```

## The NotifyRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"NotifyRequest":{"type":"object","properties":{"content":{"type":["null","string"],"description":"Message for devices whose language has no entry in `localizedContent`. Optional when `localizedContent` has text; defaults to the tenant's default language entry, else the first language in ordinal order."},"localizedContent":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Message per device language. Keys are a lowercase ISO 639-1 code, optionally with an uppercase\nregion (`en`, `fr-FR`). Entries with blank text are not sent.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}},"options":{"description":"Delivery options. Omitted, the notification is queued without refreshing pass data.","$ref":"#/components/schemas/NotifyRequestOptions"}},"additionalProperties":false,"description":"The message to show the holder, in one or several languages."},"NotifyRequestOptions":{"type":"object","properties":{"updateData":{"type":"boolean","description":"Also refreshes the Google Wallet pass content with the message. Apple always refreshes the whole pass.","default":false},"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller-chosen id for tracing, such as a campaign or batch. 10 to 100 characters after trimming, otherwise 400."},"bypassQueue":{"type":"boolean","description":"Sends within the request (200) instead of queuing (202), for urgent low-volume messages.","default":false}},"additionalProperties":false,"description":"How the notification is delivered."}}}}
```

## The NotifyRequestOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"NotifyRequestOptions":{"type":"object","properties":{"updateData":{"type":"boolean","description":"Also refreshes the Google Wallet pass content with the message. Apple always refreshes the whole pass.","default":false},"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller-chosen id for tracing, such as a campaign or batch. 10 to 100 characters after trimming, otherwise 400."},"bypassQueue":{"type":"boolean","description":"Sends within the request (200) instead of queuing (202), for urgent low-volume messages.","default":false}},"additionalProperties":false,"description":"How the notification is delivered."}}}}
```

## The OptionsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"OptionsRequest":{"type":"object","properties":{"expiresOn":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Value is no longer read from this instant; `null` for no expiry. Send with `Z` or an offset. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"notBefore":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Value is not read until this instant (the previous valid value is served); `null` for immediately. Same time zone rule. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"Window in which the value is readable; `notBefore` must precede `expiresOn` when both are set."}}}}
```

## The OrderChangeRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"OrderChangeRequest":{"required":["lastUpdate","orderSecretToken","state"],"type":"object","properties":{"ticketId":{"type":["null","integer"],"description":"Secutix ticket concerned by the change.","format":"int64"},"saleMovementId":{"type":["null","integer"],"description":"Secutix sale movement (one ticket line of the order) concerned by the change. Its pass is the one\nupdated. Omitted, the passes of all movements and contacts of the order identified by\n`orderSecretToken` are updated.","format":"int64"},"orderSecretToken":{"type":"string","description":"Secret token of the Secutix order. Required and non-empty, otherwise 400."},"state":{"type":"string","description":"Order state as reported by Secutix."},"lastUpdate":{"type":"string","description":"Time of the change, as Secutix formats it."}},"additionalProperties":false,"description":"Order change notification, as Secutix sends it."}}}}
```

## The OrderConfirmedData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"OrderConfirmedData":{"type":"object","properties":{"identifier":{"type":"string","description":"Yurplan identifier of the order."},"tickets":{"type":"array","items":{"description":"A Yurplan ticket.","$ref":"#/components/schemas/TicketData"},"description":"Tickets of the order: one pass is created per ticket, an empty list creates none."}},"additionalProperties":false,"description":"Payload of an order confirmation."},"TicketData":{"type":"object","properties":{"token":{"type":"string","description":"Yurplan token of the ticket. With the event id it forms the pass identifier\n            `yurplan.ticketId`; it is exposed to the pass template as `barCode`."},"identifier":{"type":"string","description":"Yurplan identifier of the ticket. Required; 400 when missing."}},"additionalProperties":false,"description":"A Yurplan ticket."}}}}
```

## The Pass object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Pass":{"type":"object","properties":{"id":{"type":"string","description":"Id assigned at creation, or set by a `neo.id` identifier."},"secret":{"type":"string","description":"Confidential per-pass secret, returned to callers holding `tenant.pass:read`. Store it like a credential: do not log it or share it."},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the pass was issued, UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastUpdateDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the pass content last changed, UTC; equals `creationDate` when it never has. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"passType":{"type":"string","description":"Pass template the pass renders from."},"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifiers of the holder in other systems, keyed by system and field (`shopify.customerId`)."},"metadata":{"type":"object","additionalProperties":{},"description":"Fields computed from the pass by the tenant's metadata configuration, used by filters and sorts. Datetime values are ISO 8601 strings."},"additionalData":{"type":"object","additionalProperties":{},"description":"Free data stored with the pass by its creator and updates."},"providers":{"type":"object","additionalProperties":{},"description":"Wallets the pass is installed on: `apple` (first `installationDate` and `devices`) and `google` (`installationDate`), each present while installed."},"themeId":{"type":["null","string"],"description":"Theme applied to the pass; `null` when none."}},"additionalProperties":false,"description":"A pass as listed by `GET /passes`."}}}}
```

## The PassAppleColorType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassAppleColorType":{"enum":["footer"],"type":"string","description":"What an additional Apple Wallet color paints: a color beyond background, foreground and label that an\nappearance source (a theme, for example) can override."}}}}
```

## The PassCertificateDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassCertificateDefinition":{"required":["certificate","hasKey"],"type":"object","properties":{"certificate":{"type":"string","description":"Pass Type ID certificate from Apple, PEM-encoded. Public, returned in clear."},"hasKey":{"type":"boolean","description":"Whether the certificate's private key is set. Without it, no Apple pass can be signed."}},"additionalProperties":false,"description":"Pass signing certificate; private key material is redacted."}}}}
```

## The PassCertificateRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassCertificateRequest":{"required":["certificate"],"type":"object","properties":{"key":{"type":["null","string"],"description":"PEM-encoded private key of the certificate. Omit or leave empty to keep the current key, or to take the key of the stored signing request when the certificate was made from it; required the first time."},"certificate":{"minLength":1,"type":"string","description":"Pass Type ID certificate from Apple, PEM-encoded."}},"additionalProperties":false,"description":"Request body to configure the pass signing certificate."}}}}
```

## The PassCertificateSigningRequestDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassCertificateSigningRequestDefinition":{"required":["hasKey","passTypeIdentifier"],"type":"object","properties":{"certificateRequest":{"type":["null","string"],"description":"PEM-encoded CSR to submit to Apple; null when none is stored."},"passTypeIdentifier":{"type":"string","description":"Pass type identifier the request is for, e.g. `pass.com.brand.loyalty`."},"hasKey":{"type":"boolean","description":"Whether the private key the request was generated from is set."}},"additionalProperties":false,"description":"Current certificate signing request (CSR); private key material is redacted."}}}}
```

## The PassCertificateSigningRequestRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassCertificateSigningRequestRequest":{"required":["passTypeIdentifier"],"type":"object","properties":{"key":{"type":["null","string"],"description":"PEM-encoded private key the CSR was generated from. Omit or leave empty to keep the stored one; required when no CSR is stored."},"certificateRequest":{"type":["null","string"],"description":"PEM-encoded CSR to submit to Apple."},"passTypeIdentifier":{"minLength":1,"type":"string","description":"Pass type identifier the request is for."}},"additionalProperties":false,"description":"Request body to configure a certificate signing request (CSR)."}}}}
```

## The PassConnectResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassConnectResponse":{"type":"object","properties":{"url":{"type":"string","description":"WebSocket URL for live changes of the pass. It expires: request a new one to reconnect."}},"additionalProperties":false,"description":"Where to listen for live changes of one pass."}}}}
```

## The PassData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassData":{"type":"object","properties":{"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifiers of the holder in other systems, keyed by system and field (`shopify.customerId`), matched by `findPass`, `id.{key}` lookups and filters. Avoid keys starting with `id.`."},"additionalData":{"type":["null","object"],"additionalProperties":{},"description":"Free data stored with the pass and available to its templates."},"themeId":{"type":["null","string"],"description":"Theme applied to the pass. Omit or `null` to leave it unchanged (none on create); an empty string removes it. An unknown id is refused with a 400."}},"additionalProperties":false,"description":"Fields a caller can set on a pass, at creation or on update."}}}}
```

## The PassDataField object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDataField":{"type":"object","properties":{"path":{"type":"string","description":"The variable as a template reads it, e.g. `loyalty.points`. A part in braces stands for a set of\nnames, e.g. `additionalData.{key}`."},"type":{"description":"The value's type.","$ref":"#/components/schemas/PassDataFieldType"},"items":{"type":["null","array"],"items":{"description":"A template variable a provider writes.","$ref":"#/components/schemas/PassDataField"},"description":"For an Neo.Runtime.PassDataProviders.PassDataFieldType.Array, the fields of each item, paths relative to the item."},"role":{"type":["null","string"],"description":"What the value means to the platform, one of Neo.Runtime.PassDataProviders.PassDataRole; null when it means nothing to it."},"description":{"type":["null","string"],"description":"What the value holds, for a field its provider words itself (a tenant script); the admin words the other providers' fields from its own texts."}},"additionalProperties":false,"description":"A template variable a provider writes."},"PassDataFieldType":{"enum":["string","number","boolean","datetime","object","array"],"type":"string"}}}}
```

## The PassDataFieldType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDataFieldType":{"enum":["string","number","boolean","datetime","object","array"],"type":"string"}}}}
```

## The PassDataIdentifier object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDataIdentifier":{"type":"object","properties":{"key":{"type":"string","description":"The identifier key as a pass carries it, e.g. `y2.customerId`; templates read it as `id.y2.customerId`."},"optional":{"type":"boolean","description":"Whether the provider can find its data without it, so a pass does not need to carry it."},"requiresSignature":{"type":"boolean","description":"Whether a request naming this identifier has to prove it may, with a signature or a secret. false\nonly for a value nobody can guess, such as a random token. The platform picks the mechanism; a tenant can also waive\nit for a key in `pass.allowedUnsignedIdentifiers`."}},"additionalProperties":false,"description":"A pass identifier a provider reads."}}}}
```

## The PassDataInspection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDataInspection":{"type":"object","properties":{"passId":{"type":"string","description":"The pass id."},"passType":{"type":"string","description":"The pass type."},"providers":{"type":"array","items":{"description":"What one provider wrote for the pass.","$ref":"#/components/schemas/PassDataProviderInspection"},"description":"The platform providers, in the order they run, then the pass type's data providers in their configured order."}},"additionalProperties":false,"description":"A pass's data, provider by provider, as its templates see it now."},"PassDataProviderInspection":{"type":"object","properties":{"name":{"type":"string","description":"The provider's name: a platform provider (`theme`), a provider listed in `dataProviders` (`cegid.y2.loyalty`), or `script.{scriptId}` for a tenant script."},"kind":{"description":"Whether it runs for every pass type, or as one of the pass type's data providers.","$ref":"#/components/schemas/PassDataProviderKind"},"namespace":{"type":["null","string"],"description":"The namespace its keys are also published under (`cegid.y2`, `custom.{scriptId}`); absent for a platform provider."},"status":{"description":"Whether it found data, found none, or failed.","$ref":"#/components/schemas/PassDataProviderStatus"},"durationMs":{"type":"integer","description":"How long it ran, over every round it ran in.","format":"int32"},"values":{"type":"object","additionalProperties":{},"description":"The variables it wrote, in key order, under the keys templates read them by: under its namespace when it has one."},"problem":{"description":"Why it failed; absent otherwise.","$ref":"#/components/schemas/PassDataProblem"}},"additionalProperties":false,"description":"What one provider wrote for the pass."},"PassDataProviderKind":{"enum":["platform","customerProvider"],"type":"string"},"PassDataProviderStatus":{"enum":["found","notFound","failed"],"type":"string"},"PassDataProblem":{"type":"object","properties":{"code":{"type":"string","description":"Stable code: `scriptError`, `timeout`, `unreachable` or `providerError`."},"title":{"type":"string","description":"The code, in a few words."},"detail":{"type":["null","string"],"description":"What went wrong, when the platform or the tenant's own script wrote the message."}},"additionalProperties":false,"description":"Why a provider failed."}}}}
```

## The PassDataProblem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDataProblem":{"type":"object","properties":{"code":{"type":"string","description":"Stable code: `scriptError`, `timeout`, `unreachable` or `providerError`."},"title":{"type":"string","description":"The code, in a few words."},"detail":{"type":["null","string"],"description":"What went wrong, when the platform or the tenant's own script wrote the message."}},"additionalProperties":false,"description":"Why a provider failed."}}}}
```

## The PassDataProviderInspection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDataProviderInspection":{"type":"object","properties":{"name":{"type":"string","description":"The provider's name: a platform provider (`theme`), a provider listed in `dataProviders` (`cegid.y2.loyalty`), or `script.{scriptId}` for a tenant script."},"kind":{"description":"Whether it runs for every pass type, or as one of the pass type's data providers.","$ref":"#/components/schemas/PassDataProviderKind"},"namespace":{"type":["null","string"],"description":"The namespace its keys are also published under (`cegid.y2`, `custom.{scriptId}`); absent for a platform provider."},"status":{"description":"Whether it found data, found none, or failed.","$ref":"#/components/schemas/PassDataProviderStatus"},"durationMs":{"type":"integer","description":"How long it ran, over every round it ran in.","format":"int32"},"values":{"type":"object","additionalProperties":{},"description":"The variables it wrote, in key order, under the keys templates read them by: under its namespace when it has one."},"problem":{"description":"Why it failed; absent otherwise.","$ref":"#/components/schemas/PassDataProblem"}},"additionalProperties":false,"description":"What one provider wrote for the pass."},"PassDataProviderKind":{"enum":["platform","customerProvider"],"type":"string"},"PassDataProviderStatus":{"enum":["found","notFound","failed"],"type":"string"},"PassDataProblem":{"type":"object","properties":{"code":{"type":"string","description":"Stable code: `scriptError`, `timeout`, `unreachable` or `providerError`."},"title":{"type":"string","description":"The code, in a few words."},"detail":{"type":["null","string"],"description":"What went wrong, when the platform or the tenant's own script wrote the message."}},"additionalProperties":false,"description":"Why a provider failed."}}}}
```

## The PassDataProviderKind object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDataProviderKind":{"enum":["platform","customerProvider"],"type":"string"}}}}
```

## The PassDataProviderStatus object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDataProviderStatus":{"enum":["found","notFound","failed"],"type":"string"}}}}
```

## The PassDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDefinition":{"required":["certificate","passTypeIdentifier"],"type":"object","properties":{"passTypeIdentifier":{"type":"string","description":"Pass type identifier registered with Apple, e.g. `pass.com.brand.loyalty`; written into every Apple pass."},"certificate":{"description":"Certificate every Apple pass is signed with.","$ref":"#/components/schemas/PassCertificateDefinition"},"certificateRequest":{"description":"CSR awaiting Apple's certificate, used to renew it; null when none is stored.","$ref":"#/components/schemas/PassCertificateSigningRequestDefinition"}},"additionalProperties":false,"description":"Pass configuration; private key material is redacted."},"PassCertificateDefinition":{"required":["certificate","hasKey"],"type":"object","properties":{"certificate":{"type":"string","description":"Pass Type ID certificate from Apple, PEM-encoded. Public, returned in clear."},"hasKey":{"type":"boolean","description":"Whether the certificate's private key is set. Without it, no Apple pass can be signed."}},"additionalProperties":false,"description":"Pass signing certificate; private key material is redacted."},"PassCertificateSigningRequestDefinition":{"required":["hasKey","passTypeIdentifier"],"type":"object","properties":{"certificateRequest":{"type":["null","string"],"description":"PEM-encoded CSR to submit to Apple; null when none is stored."},"passTypeIdentifier":{"type":"string","description":"Pass type identifier the request is for, e.g. `pass.com.brand.loyalty`."},"hasKey":{"type":"boolean","description":"Whether the private key the request was generated from is set."}},"additionalProperties":false,"description":"Current certificate signing request (CSR); private key material is redacted."}}}}
```

## The PassDesktopQrCodeTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDesktopQrCodeTranslations":{"type":"object","properties":{"caption":{"type":["null","string"],"description":"Instruction above the QR code."},"passDescription":{"type":["null","string"],"description":"Text describing what scanning the QR code does."},"baseline":{"type":["null","string"],"description":"Supporting text under the QR code."}},"additionalProperties":false,"description":"Strings around the QR code on a `pass` page opened on a desktop browser."}}}}
```

## The PassDesktopTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassDesktopTranslations":{"type":"object","properties":{"qrCode":{"description":"Strings around the QR code the customer scans with their phone.","$ref":"#/components/schemas/PassDesktopQrCodeTranslations"},"needHelpButton":{"type":["null","string"],"description":"Label of the button opening the scanning help."},"needHelpDialog":{"description":"Strings of the scanning help dialog.","$ref":"#/components/schemas/PassNeedHelpDialogTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a desktop browser."},"PassDesktopQrCodeTranslations":{"type":"object","properties":{"caption":{"type":["null","string"],"description":"Instruction above the QR code."},"passDescription":{"type":["null","string"],"description":"Text describing what scanning the QR code does."},"baseline":{"type":["null","string"],"description":"Supporting text under the QR code."}},"additionalProperties":false,"description":"Strings around the QR code on a `pass` page opened on a desktop browser."},"PassNeedHelpDialogTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Title of the dialog."},"closeButton":{"type":["null","string"],"description":"Label of the button closing the dialog."}},"additionalProperties":false,"description":"Strings of the scanning help dialog on a `pass` page."}}}}
```

## The PassImageSlot object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassImageSlot":{"enum":["appleStrip","appleArtwork","appleBackground","appleThumbnail","appleLogo","appleIcon","applePrimaryLogo","appleSecondaryLogo","googleHero","googleLogo","googleWideLogo","googleProgramLogo","googleWideProgramLogo","googleTitleImage","googleWideTitleImage"],"type":"string","description":"An image position on a wallet pass that an appearance source (a theme, for example) can override."}}}}
```

## The PassInstalledCondition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassInstalledCondition":{"enum":["firstInstallationOnly","anyInstallation"],"type":"string","description":"Controls when a Neo.Runtime.Scheduler.Configuration.PassInstalledSettings trigger fires relative to installs."}}}}
```

## The PassListLayoutTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline used for two or more passes."},"title_one":{"type":["null","string"],"description":"Headline used for exactly one pass."},"title_zero":{"type":["null","string"],"description":"Headline used when the customer holds no pass."},"subTitle":{"type":["null","string"],"description":"Text under the headline."},"subTitle_zero":{"type":["null","string"],"description":"Text under the headline when the customer holds no pass."},"individual":{"type":["null","string"],"description":"Label of the individual-passes section, for two or more."},"individual_one":{"type":["null","string"],"description":"Label of the individual-passes section, for exactly one."},"all":{"type":["null","string"],"description":"Label of the all-passes action, for two or more."},"all_one":{"type":["null","string"],"description":"Label of the all-passes action, for exactly one."},"tickets":{"type":["null","string"],"description":"Pass counter. Carries a `{count}` placeholder."}},"additionalProperties":false,"description":"Headline strings of a `passList` page."}}}}
```

## The PassListQrCodeTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassListQrCodeTranslations":{"type":"object","properties":{"seeQRCode":{"type":["null","string"],"description":"Label of the action revealing the QR code."},"scanQRCode":{"type":["null","string"],"description":"Title shown with the QR code."},"QRCodeInstructions":{"type":["null","string"],"description":"Scanning instructions. May be HTML, prefixed with `$html`."},"copyQRLink":{"type":["null","string"],"description":"Label of the action copying the QR code link."},"linkCopied":{"type":["null","string"],"description":"Confirmation shown once the link has been copied."}},"additionalProperties":false,"description":"Strings around the QR code on a `passList` page."}}}}
```

## The PassMobileTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassMobileTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. May be HTML, prefixed with `$html`."},"postInstalled":{"description":"Strings shown once the pass has been added to the wallet.","$ref":"#/components/schemas/PassPostInstalledTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a phone."},"PassPostInstalledTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the confirmation."},"description":{"type":["null","string"],"description":"Text under the confirmation headline."},"viewMyCard":{"type":["null","string"],"description":"Label of the button opening the installed pass."}},"additionalProperties":false,"description":"Strings shown on a `pass` page once the pass has been installed."}}}}
```

## The PassNeedHelpDialogTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassNeedHelpDialogTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Title of the dialog."},"closeButton":{"type":["null","string"],"description":"Label of the button closing the dialog."}},"additionalProperties":false,"description":"Strings of the scanning help dialog on a `pass` page."}}}}
```

## The PassPostInstalledTranslations object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassPostInstalledTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the confirmation."},"description":{"type":["null","string"],"description":"Text under the confirmation headline."},"viewMyCard":{"type":["null","string"],"description":"Label of the button opening the installed pass."}},"additionalProperties":false,"description":"Strings shown on a `pass` page once the pass has been installed."}}}}
```

## The PassRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassRequest":{"required":["certificate","passTypeIdentifier"],"type":"object","properties":{"passTypeIdentifier":{"minLength":1,"type":"string","description":"Pass type identifier registered with Apple, e.g. `pass.com.brand.loyalty`."},"certificate":{"description":"Certificate Apple passes are signed with.","$ref":"#/components/schemas/PassCertificateRequest"},"certificateRequest":{"description":"CSR awaiting Apple's certificate. Omitted or null removes the stored one, so send it back while a renewal is pending.","$ref":"#/components/schemas/PassCertificateSigningRequestRequest"}},"additionalProperties":false,"description":"Request body to configure the Apple Wallet pass."},"PassCertificateRequest":{"required":["certificate"],"type":"object","properties":{"key":{"type":["null","string"],"description":"PEM-encoded private key of the certificate. Omit or leave empty to keep the current key, or to take the key of the stored signing request when the certificate was made from it; required the first time."},"certificate":{"minLength":1,"type":"string","description":"Pass Type ID certificate from Apple, PEM-encoded."}},"additionalProperties":false,"description":"Request body to configure the pass signing certificate."},"PassCertificateSigningRequestRequest":{"required":["passTypeIdentifier"],"type":"object","properties":{"key":{"type":["null","string"],"description":"PEM-encoded private key the CSR was generated from. Omit or leave empty to keep the stored one; required when no CSR is stored."},"certificateRequest":{"type":["null","string"],"description":"PEM-encoded CSR to submit to Apple."},"passTypeIdentifier":{"minLength":1,"type":"string","description":"Pass type identifier the request is for."}},"additionalProperties":false,"description":"Request body to configure a certificate signing request (CSR)."}}}}
```

## The PassScannerConnectProfileSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassScannerConnectProfileSettings":{"required":["$type"],"type":"object","allOf":[{"description":"Type-specific profile settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`).","$ref":"#/components/schemas/ConnectProfileSettingsBase"}],"properties":{"scanFilter":{"description":"Benefits accepted; empty accepts all.","$ref":"#/components/schemas/ConnectScanFilter"},"allowStamps":{"type":"boolean","description":"Whether staff can add stamps. Off, scanning a stamp card only shows it."},"redeemOnScan":{"description":"Redemption behaviour on scan.","$ref":"#/components/schemas/RedeemOnScanSettings"},"$type":{"enum":["passScanner"],"type":"string","description":"Discriminator. Always `passScanner` for this shape."}},"additionalProperties":false,"description":"What a Pass Scanner scanner does while running the profile."},"ConnectProfileSettingsBase":{"type":"object","description":"Type-specific profile settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`)."},"ConnectScanFilter":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"},"description":"Benefit template tags to accept."},"benefitTemplates":{"type":"array","items":{"description":"A benefit template the device accepts.","$ref":"#/components/schemas/ConnectBenefitTemplate"},"description":"Benefit templates to accept, with the title shown to staff."}},"additionalProperties":false,"description":"A benefit is accepted if it carries one of Tags or comes from one of BenefitTemplates. Both empty accepts all."},"ConnectBenefitTemplate":{"type":"object","properties":{"id":{"type":"string","description":"Benefit template id, as on the benefits of a scanned pass."},"title":{"description":"Title shown to staff; falls back to the admin console name, then the id.","$ref":"#/components/schemas/LocalizedText"}},"additionalProperties":false,"description":"A benefit template the device accepts."},"LocalizedText":{"type":"object","properties":{"default":{"type":"string","description":"Text used when no localization matches."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code; null if none."}},"additionalProperties":false,"description":"A text with translations."},"RedeemOnScanSettings":{"type":"object","properties":{"repeatScanBlockSeconds":{"type":"integer","description":"Seconds the device ignores a repeat scan of the same pass, 0 to 3600; 0 disables the block.","format":"int32"}},"additionalProperties":false,"description":"Redemption behaviour on scan."}}}}
```

## The PassScannerProfileSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassScannerProfileSettings":{"required":["$type"],"type":"object","allOf":[{"description":"Type-specific settings. The JSON carries a `$type` discriminator (`passScanner`) that must match the profile's `type`.","$ref":"#/components/schemas/DeviceProfileSettingsBase"}],"properties":{"scanFilter":{"description":"Benefits the device accepts; null or empty accepts all.","$ref":"#/components/schemas/ScanFilter"},"allowStamps":{"type":"boolean","description":"Whether staff can add stamps while the profile runs. Off, scanning a stamp card only shows it."},"redeemOnScan":{"description":"Redemption behaviour on scan; null applies defaults (5-second repeat-scan block).","$ref":"#/components/schemas/RedeemOnScanSettings"},"$type":{"enum":["passScanner"],"type":"string","description":"Discriminator. Always `passScanner` for this shape."}},"additionalProperties":false,"description":"What a Pass Scanner scanner does while running the profile."},"DeviceProfileSettingsBase":{"type":"object","description":"Type-specific settings. The JSON carries a `$type` discriminator (`passScanner`) that must match the profile's `type`."},"ScanFilter":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"},"description":"Benefit template tags to accept. At most 50, each non-blank, at most 100 characters; trimmed and deduplicated on save."},"benefitTemplateIds":{"type":"array","items":{"type":"string"},"description":"Benefit templates to accept. At most 200, none blank; trimmed and deduplicated on save. An unknown id is dropped with a `benefitTemplateMissing` warning, not refused."}},"additionalProperties":false,"description":"A benefit is accepted if it carries one of the tags or comes from one of the benefit templates. Both empty accepts every benefit."},"RedeemOnScanSettings":{"type":"object","properties":{"repeatScanBlockSeconds":{"type":"integer","description":"Seconds the device ignores a repeat scan of the same pass, 0 to 3600; 0 disables the block.","format":"int32"}},"additionalProperties":false,"description":"Redemption behaviour on scan."}}}}
```

## The PassScannerSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassScannerSettings":{"required":["$type","logoUrl"],"type":"object","allOf":[{"description":"Device settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`).","$ref":"#/components/schemas/DeviceSettingsBase"}],"properties":{"logoUrl":{"type":"string","description":"Absolute URL of the logo shown by the app. Copied at creation from the tenant's large favicon, else logo, else favicon; not updated by later branding changes."},"nfc":{"description":"Keys to read Apple and Google Wallet passes over NFC. Returned only by `connect` and `settings`; absent when the tenant has none.","$ref":"#/components/schemas/NfcSettings"},"rotatingBarcode":{"description":"Data to check a Google Wallet rotating barcode. Returned only by `connect` and `settings`; absent when the tenant has none.","$ref":"#/components/schemas/RotatingBarcodeSettings"},"$type":{"enum":["passScanner"],"type":"string","description":"Discriminator. Always `passScanner` for this shape."}},"additionalProperties":false,"description":"Pass Scanner device settings."},"DeviceSettingsBase":{"type":"object","properties":{"telemetry":{"description":"Telemetry settings to apply; always populated (defaults: `information`, 60 seconds).","$ref":"#/components/schemas/TelemetrySettings"}},"description":"Device settings. The JSON carries a `$type` discriminator equal to the device type (`passScanner`)."},"TelemetrySettings":{"type":"object","properties":{"minimumSeverity":{"description":"Lowest severity sent; lower items are dropped on the device.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"maxBatchSize":{"type":"integer","description":"Most items per upload; larger batches are rejected.","format":"int32"},"flushIntervalSeconds":{"type":"integer","description":"Seconds the device buffers before uploading.","format":"int32"}},"additionalProperties":false,"description":"What and how much the device reports."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."},"NfcSettings":{"type":"object","properties":{"apple":{"description":"Apple Wallet (Value Added Services).","$ref":"#/components/schemas/AppleNfcSettings"},"google":{"description":"Google Wallet (Smart Tap).","$ref":"#/components/schemas/GoogleNfcSettings"}},"additionalProperties":false,"description":"What a device needs to read wallet passes over NFC. Each wallet is absent when the tenant has not set it up."},"AppleNfcSettings":{"type":"object","properties":{"privateKey":{"type":"string","description":"EC P-256 private key that decrypts the NFC message of a pass: PKCS#8, Base64. Keep it on the device."},"passTypeIdentifier":{"type":"string","description":"Pass type identifier of the tenant's Apple passes."}},"additionalProperties":false},"GoogleNfcSettings":{"type":"object","properties":{"collectorId":{"type":"string","description":"Smart Tap collector ID the device announces to the phone."},"keyVersion":{"type":"integer","description":"Version under which the matching public key is registered with Google.","format":"int32"},"privateKey":{"type":"string","description":"EC P-256 private key of the Smart Tap authentication key: PKCS#8, Base64. Keep it on the device."}},"additionalProperties":false},"RotatingBarcodeSettings":{"type":"object","properties":{"secret":{"type":"string","description":"Tenant secret to check the passwords. Keep it on the device."},"periodSeconds":{"type":"integer","description":"Seconds a password stays valid.","format":"int32"},"digits":{"type":"integer","description":"Digits per password.","format":"int32"}},"additionalProperties":false,"description":"What a device needs to check Google Wallet rotating barcode one-time passwords (shown where the barcode value holds `{totp_value_0}`)."}}}}
```

## The PassStatistic object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassStatistic":{"type":"object","properties":{"count":{"description":"Issued and installed pass counts.","$ref":"#/components/schemas/PassStatisticCount"}},"additionalProperties":false,"description":"Pass statistics for the tenant, or for one pass template."},"PassStatisticCount":{"type":"object","properties":{"total":{"type":"integer","description":"Passes issued, installed or not.","format":"int32"},"active":{"type":"integer","description":"Passes installed on at least one device, in either wallet.","format":"int32"},"apple":{"type":"integer","description":"Passes registered on at least one Apple device right now.","format":"int32"},"google":{"type":"integer","description":"Passes currently saved in Google Wallet.","format":"int32"}},"additionalProperties":false,"description":"Pass counts at the time of the request. A pass installed on both wallets counts once in\n`active` and once in each of `apple` and `google`."}}}}
```

## The PassStatisticCount object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassStatisticCount":{"type":"object","properties":{"total":{"type":"integer","description":"Passes issued, installed or not.","format":"int32"},"active":{"type":"integer","description":"Passes installed on at least one device, in either wallet.","format":"int32"},"apple":{"type":"integer","description":"Passes registered on at least one Apple device right now.","format":"int32"},"google":{"type":"integer","description":"Passes currently saved in Google Wallet.","format":"int32"}},"additionalProperties":false,"description":"Pass counts at the time of the request. A pass installed on both wallets counts once in\n`active` and once in each of `apple` and `google`."}}}}
```

## The PassTheme object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTheme":{"required":["id","name"],"type":"object","properties":{"id":{"maxLength":64,"minLength":0,"pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]{0,63}$","type":"string","description":"Stable, URL-safe identifier (for example `summer-2026`): 1 to 64 letters, digits, `-` or\n`_`, starting with a letter or a digit, case-sensitive. Cannot be changed after creation:\npasses reference it and the theme's image paths contain it."},"name":{"maxLength":200,"minLength":0,"type":"string","description":"Display name shown in the admin interface and in the pass theme picker. At most 200 characters."},"tags":{"type":"array","items":{"type":"string"},"description":"Free-form labels used to filter and group themes in the admin. At most 20 tags of 50 characters; each\nis trimmed, blank ones are dropped and a tag repeated in another casing is kept once."},"appearance":{"description":"Colors and images laid over the pass template. `null` keeps the pass template's appearance.","$ref":"#/components/schemas/PassThemeAppearance"},"content":{"description":"Localized text the pass template can show to the holder. `null` when the theme has none.","$ref":"#/components/schemas/PassThemeContent"},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the theme was created, in UTC. Set by the server; ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the theme was last created or updated, in UTC. Set by the server; ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"API representation of a theme — a reusable visual skin applied over a pass template for a season or\na campaign."},"PassThemeAppearance":{"type":"object","properties":{"backgroundColor":{"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":["null","string"],"description":"Card background color, as `#RRGGBB`, `#RGB` or `rgb(r, g, b)` with channels from 0 to\n255. Returned as `#RRGGBB` (`#FF7A52`). Empty keeps the pass template's color."},"foregroundColor":{"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":["null","string"],"description":"Color of the field values. Same notations as `backgroundColor`; empty keeps the pass\ntemplate's color."},"labelColor":{"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":["null","string"],"description":"Color of the field labels, on Apple Wallet only. Same notations as `backgroundColor`; empty keeps\nthe pass template's color."},"additional":{"description":"Colors that only one wallet draws, each identified by what it paints. Anything not listed keeps the\npass template's own.","$ref":"#/components/schemas/PassThemeAdditionalColors"},"mainImageUrl":{"description":"The theme's default image. Used by the banner slot of each platform when it carries no override\nof its own — the Apple strip and the Google hero. Everything else, Apple's other large slots\nincluded, is only set through Neo.Runtime.Theme.Catalog.IThemeCatalog.PassThemeAppearance.Images.","$ref":"#/components/schemas/PassThemeLocalizedString"},"images":{"type":"array","items":{"description":"One image override within a theme appearance.","$ref":"#/components/schemas/PassThemeImage"},"description":"Per-slot image overrides. At most one entry per Neo.Runtime.Wallet.Appearance.PassImageSlot: a second entry for the\nsame slot is refused with a 400."}},"additionalProperties":false,"description":"Colors and images of a theme. Anything left empty keeps the pass template's own value."},"PassThemeAdditionalColors":{"type":"object","properties":{"apple":{"type":"array","items":{"description":"One additional Apple Wallet color.","$ref":"#/components/schemas/PassThemeAppleColor"},"description":"Colors applied to Apple Wallet passes. At most one entry per `type`: a second entry for the same\ntype is refused with a 400."}},"additionalProperties":false,"description":"The colors beyond background, foreground and label, grouped by the wallet that draws them."},"PassThemeAppleColor":{"required":["type","value"],"type":"object","properties":{"type":{"description":"What the color paints. `footer` is the background of the frosted footer strip of poster passes\n(iOS 27 and later); without it the pass template's footer applies, and without that iOS draws its own\ntranslucent blur.","$ref":"#/components/schemas/PassAppleColorType"},"value":{"minLength":1,"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":"string","description":"The color, in the same notations as `backgroundColor`."}},"additionalProperties":false,"description":"One additional Apple Wallet color."},"PassAppleColorType":{"enum":["footer"],"type":"string","description":"What an additional Apple Wallet color paints: a color beyond background, foreground and label that an\nappearance source (a theme, for example) can override."},"PassThemeLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"Value used when no localization matches the requested language."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides keyed by language code (`fr`, `fr-FR`). Each key must be one of the\ntenant's available languages (compared ignoring case), or the theme is refused with a 400. For images\nthese are honoured on Apple Wallet only — Google Wallet takes a single image per slot and always\nreceives Neo.Runtime.Theme.Catalog.IThemeCatalog.PassThemeLocalizedString.Default."}},"additionalProperties":false,"description":"A value with a mandatory default and optional per-language overrides."},"PassThemeImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Which image on which platform this entry replaces.","$ref":"#/components/schemas/PassImageSlot"},"url":{"description":"Image location: an absolute `https://` URL, or the `path` of an image already uploaded to\nthis theme (`public/themes/summer-2026/apple-strip.png`). Anything else, including another\ntheme's image or one not uploaded yet, is refused with a 400.","$ref":"#/components/schemas/PassThemeLocalizedString"}},"additionalProperties":false,"description":"One image override within a theme appearance."},"PassImageSlot":{"enum":["appleStrip","appleArtwork","appleBackground","appleThumbnail","appleLogo","appleIcon","applePrimaryLogo","appleSecondaryLogo","googleHero","googleLogo","googleWideLogo","googleProgramLogo","googleWideProgramLogo","googleTitleImage","googleWideTitleImage"],"type":"string","description":"An image position on a wallet pass that an appearance source (a theme, for example) can override."},"PassThemeContent":{"type":"object","properties":{"title":{"description":"Theme title. Reachable from a pass template as `{{ theme.title }}`.","$ref":"#/components/schemas/PassThemeLocalizedString"},"description":{"description":"Theme description. Reachable from a pass template as `{{ theme.description }}`.","$ref":"#/components/schemas/PassThemeLocalizedString"}},"additionalProperties":false,"description":"Localized text of a theme, shown on the pass."}}}}
```

## The PassThemeAdditionalColors object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassThemeAdditionalColors":{"type":"object","properties":{"apple":{"type":"array","items":{"description":"One additional Apple Wallet color.","$ref":"#/components/schemas/PassThemeAppleColor"},"description":"Colors applied to Apple Wallet passes. At most one entry per `type`: a second entry for the same\ntype is refused with a 400."}},"additionalProperties":false,"description":"The colors beyond background, foreground and label, grouped by the wallet that draws them."},"PassThemeAppleColor":{"required":["type","value"],"type":"object","properties":{"type":{"description":"What the color paints. `footer` is the background of the frosted footer strip of poster passes\n(iOS 27 and later); without it the pass template's footer applies, and without that iOS draws its own\ntranslucent blur.","$ref":"#/components/schemas/PassAppleColorType"},"value":{"minLength":1,"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":"string","description":"The color, in the same notations as `backgroundColor`."}},"additionalProperties":false,"description":"One additional Apple Wallet color."},"PassAppleColorType":{"enum":["footer"],"type":"string","description":"What an additional Apple Wallet color paints: a color beyond background, foreground and label that an\nappearance source (a theme, for example) can override."}}}}
```

## The PassThemeAppearance object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassThemeAppearance":{"type":"object","properties":{"backgroundColor":{"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":["null","string"],"description":"Card background color, as `#RRGGBB`, `#RGB` or `rgb(r, g, b)` with channels from 0 to\n255. Returned as `#RRGGBB` (`#FF7A52`). Empty keeps the pass template's color."},"foregroundColor":{"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":["null","string"],"description":"Color of the field values. Same notations as `backgroundColor`; empty keeps the pass\ntemplate's color."},"labelColor":{"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":["null","string"],"description":"Color of the field labels, on Apple Wallet only. Same notations as `backgroundColor`; empty keeps\nthe pass template's color."},"additional":{"description":"Colors that only one wallet draws, each identified by what it paints. Anything not listed keeps the\npass template's own.","$ref":"#/components/schemas/PassThemeAdditionalColors"},"mainImageUrl":{"description":"The theme's default image. Used by the banner slot of each platform when it carries no override\nof its own — the Apple strip and the Google hero. Everything else, Apple's other large slots\nincluded, is only set through Neo.Runtime.Theme.Catalog.IThemeCatalog.PassThemeAppearance.Images.","$ref":"#/components/schemas/PassThemeLocalizedString"},"images":{"type":"array","items":{"description":"One image override within a theme appearance.","$ref":"#/components/schemas/PassThemeImage"},"description":"Per-slot image overrides. At most one entry per Neo.Runtime.Wallet.Appearance.PassImageSlot: a second entry for the\nsame slot is refused with a 400."}},"additionalProperties":false,"description":"Colors and images of a theme. Anything left empty keeps the pass template's own value."},"PassThemeAdditionalColors":{"type":"object","properties":{"apple":{"type":"array","items":{"description":"One additional Apple Wallet color.","$ref":"#/components/schemas/PassThemeAppleColor"},"description":"Colors applied to Apple Wallet passes. At most one entry per `type`: a second entry for the same\ntype is refused with a 400."}},"additionalProperties":false,"description":"The colors beyond background, foreground and label, grouped by the wallet that draws them."},"PassThemeAppleColor":{"required":["type","value"],"type":"object","properties":{"type":{"description":"What the color paints. `footer` is the background of the frosted footer strip of poster passes\n(iOS 27 and later); without it the pass template's footer applies, and without that iOS draws its own\ntranslucent blur.","$ref":"#/components/schemas/PassAppleColorType"},"value":{"minLength":1,"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":"string","description":"The color, in the same notations as `backgroundColor`."}},"additionalProperties":false,"description":"One additional Apple Wallet color."},"PassAppleColorType":{"enum":["footer"],"type":"string","description":"What an additional Apple Wallet color paints: a color beyond background, foreground and label that an\nappearance source (a theme, for example) can override."},"PassThemeLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"Value used when no localization matches the requested language."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides keyed by language code (`fr`, `fr-FR`). Each key must be one of the\ntenant's available languages (compared ignoring case), or the theme is refused with a 400. For images\nthese are honoured on Apple Wallet only — Google Wallet takes a single image per slot and always\nreceives Neo.Runtime.Theme.Catalog.IThemeCatalog.PassThemeLocalizedString.Default."}},"additionalProperties":false,"description":"A value with a mandatory default and optional per-language overrides."},"PassThemeImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Which image on which platform this entry replaces.","$ref":"#/components/schemas/PassImageSlot"},"url":{"description":"Image location: an absolute `https://` URL, or the `path` of an image already uploaded to\nthis theme (`public/themes/summer-2026/apple-strip.png`). Anything else, including another\ntheme's image or one not uploaded yet, is refused with a 400.","$ref":"#/components/schemas/PassThemeLocalizedString"}},"additionalProperties":false,"description":"One image override within a theme appearance."},"PassImageSlot":{"enum":["appleStrip","appleArtwork","appleBackground","appleThumbnail","appleLogo","appleIcon","applePrimaryLogo","appleSecondaryLogo","googleHero","googleLogo","googleWideLogo","googleProgramLogo","googleWideProgramLogo","googleTitleImage","googleWideTitleImage"],"type":"string","description":"An image position on a wallet pass that an appearance source (a theme, for example) can override."}}}}
```

## The PassThemeAppleColor object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassThemeAppleColor":{"required":["type","value"],"type":"object","properties":{"type":{"description":"What the color paints. `footer` is the background of the frosted footer strip of poster passes\n(iOS 27 and later); without it the pass template's footer applies, and without that iOS draws its own\ntranslucent blur.","$ref":"#/components/schemas/PassAppleColorType"},"value":{"minLength":1,"pattern":"^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*\\))$","type":"string","description":"The color, in the same notations as `backgroundColor`."}},"additionalProperties":false,"description":"One additional Apple Wallet color."},"PassAppleColorType":{"enum":["footer"],"type":"string","description":"What an additional Apple Wallet color paints: a color beyond background, foreground and label that an\nappearance source (a theme, for example) can override."}}}}
```

## The PassThemeContent object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassThemeContent":{"type":"object","properties":{"title":{"description":"Theme title. Reachable from a pass template as `{{ theme.title }}`.","$ref":"#/components/schemas/PassThemeLocalizedString"},"description":{"description":"Theme description. Reachable from a pass template as `{{ theme.description }}`.","$ref":"#/components/schemas/PassThemeLocalizedString"}},"additionalProperties":false,"description":"Localized text of a theme, shown on the pass."},"PassThemeLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"Value used when no localization matches the requested language."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides keyed by language code (`fr`, `fr-FR`). Each key must be one of the\ntenant's available languages (compared ignoring case), or the theme is refused with a 400. For images\nthese are honoured on Apple Wallet only — Google Wallet takes a single image per slot and always\nreceives Neo.Runtime.Theme.Catalog.IThemeCatalog.PassThemeLocalizedString.Default."}},"additionalProperties":false,"description":"A value with a mandatory default and optional per-language overrides."}}}}
```

## The PassThemeImage object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassThemeImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Which image on which platform this entry replaces.","$ref":"#/components/schemas/PassImageSlot"},"url":{"description":"Image location: an absolute `https://` URL, or the `path` of an image already uploaded to\nthis theme (`public/themes/summer-2026/apple-strip.png`). Anything else, including another\ntheme's image or one not uploaded yet, is refused with a 400.","$ref":"#/components/schemas/PassThemeLocalizedString"}},"additionalProperties":false,"description":"One image override within a theme appearance."},"PassImageSlot":{"enum":["appleStrip","appleArtwork","appleBackground","appleThumbnail","appleLogo","appleIcon","applePrimaryLogo","appleSecondaryLogo","googleHero","googleLogo","googleWideLogo","googleProgramLogo","googleWideProgramLogo","googleTitleImage","googleWideTitleImage"],"type":"string","description":"An image position on a wallet pass that an appearance source (a theme, for example) can override."},"PassThemeLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"Value used when no localization matches the requested language."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides keyed by language code (`fr`, `fr-FR`). Each key must be one of the\ntenant's available languages (compared ignoring case), or the theme is refused with a 400. For images\nthese are honoured on Apple Wallet only — Google Wallet takes a single image per slot and always\nreceives Neo.Runtime.Theme.Catalog.IThemeCatalog.PassThemeLocalizedString.Default."}},"additionalProperties":false,"description":"A value with a mandatory default and optional per-language overrides."}}}}
```

## The PassThemeLocalizedString object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassThemeLocalizedString":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"Value used when no localization matches the requested language."},"localizations":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Per-language overrides keyed by language code (`fr`, `fr-FR`). Each key must be one of the\ntenant's available languages (compared ignoring case), or the theme is refused with a 400. For images\nthese are honoured on Apple Wallet only — Google Wallet takes a single image per slot and always\nreceives Neo.Runtime.Theme.Catalog.IThemeCatalog.PassThemeLocalizedString.Default."}},"additionalProperties":false,"description":"A value with a mandatory default and optional per-language overrides."}}}}
```

## The PassTypeAppearance object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppearance":{"type":"object","properties":{"background":{"type":["null","string"],"description":"The card's background, as configured — `rgb(...)` or `#rrggbb`."},"foreground":{"type":["null","string"],"description":"The colour field values are drawn in."},"label":{"type":["null","string"],"description":"The colour field labels are drawn in."}},"additionalProperties":false,"description":"The colours a pass is drawn in, which is what tells two templates apart at a glance."}}}}
```

## The PassTypeApple object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeApple":{"type":"object","properties":{"actionLinks":{"description":"Configuration for action links associated with the pass.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the Additional Info section below the pass content. Used for poster event ticket passes (iOS 18+)."},"appLaunchUrl":{"type":["null","string"],"description":"URL passed to the associated app at launch (from associatedStoreIdentifiers). Not supported on watchOS."},"associatedStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"App Store identifiers of apps associated with the pass; the first one compatible with the device is used, with a\nlink on the back of the pass (it opens the App Store when the app is not installed). Payment passes only; not\nsupported on watchOS."},"auxiliaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Additional fields to be displayed on the front of the pass."},"auxiliaryStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"Additional App Store identifiers of associated apps, linked in the event guide. Poster event tickets only; not supported on watchOS."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be on the back of the pass."},"backgroundColor":{"type":["null","string"],"description":"Background color of the pass, specified as an CSS-style RGB triple."},"barCodeAlternateText":{"type":["null","string"],"description":"Text displayed near the barcode, such as a human-readable version of its data. A Liquid template, not a translatable string."},"barCodeFormat":{"type":["null","string"],"description":"Bar code format. One of: qr, pdf417, aztec, code128, code39, codabar, ean13, i2of5. code39, codabar, ean13 and\ni2of5 need iOS 27; the pass also carries a QR code of the same value for older devices. No bar code is drawn\nwhen `barCodeValue` renders empty."},"barCodeValue":{"type":["null","string"],"description":"Bar code field value (ex: `id.y2.customerId`)."},"beacons":{"type":["null","array"],"items":{"description":"Configuration for a beacon device","$ref":"#/components/schemas/PassTypeAppleBeacon"},"description":"Beacons marking locations where the pass is relevant. At most 10."},"description":{"description":"A simple description of the pass","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventLogoText":{"description":"Text next to the logo on poster event tickets; takes precedence over `logoText`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expirationDate":{"type":["null","string"],"description":"Date and time when the pass expires, with hours and minutes and optional seconds."},"featuredActions":{"type":["null","array"],"items":{"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination.","$ref":"#/components/schemas/PassTypeAppleFeaturedAction"},"description":"Featured actions displayed below the pass in Wallet (iOS 27+). Maximum 2 entries."},"footerBackgroundColor":{"type":["null","string"],"description":"Background color of the footer, as a CSS-style RGB triple such as rgb(100, 10, 110). Poster event tickets only."},"footerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the footer of the pass (iOS 27+). Only the posterGeneric style has them: a customer card or stamp card with the poster layout, or a generic pass with artwork. Event tickets, gift cards and offers ignore them."},"foregroundColor":{"type":["null","string"],"description":"Foreground color of the pass, specified as a CSS-style RGB triple."},"groupingIdentifier":{"type":["null","string"],"description":"Identifier grouping related passes (same groupingIdentifier, passTypeIdentifier and type), such as boarding passes for connections on one trip."},"headerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the header on the front of the pass. Use sparingly: unlike other fields, they stay visible in a stack of passes."},"images":{"description":"Configuration of image for this pass.","$ref":"#/components/schemas/PassTypeAppleImage"},"labelColor":{"type":["null","string"],"description":"Color of the label text, specified as a CSS-style RGB triple."},"locations":{"type":["null","array"],"items":{"description":"Configuration for a location","$ref":"#/components/schemas/PassTypeAppleLocation"},"description":"Locations where the pass is relevant, such as a store. At most 10."},"logoText":{"description":"Text displayed next to the logo on the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"maxDistance":{"type":["null","integer"],"description":"Maximum distance in meters from a relevant location at which the pass is relevant; the smaller of this and the pass's default distance is used.","format":"int32"},"nfc":{"description":"NFC-enabled pass keys support sending reward card information as part of an Apple Pay transaction.","$ref":"#/components/schemas/PassTypeAppleNfc"},"organizationName":{"type":["null","string"],"description":"Display name of the organization that originated and signed the pass."},"primaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed prominently on the front of the pass."},"relevantDate":{"type":["null","string"],"description":"Date and time when the pass becomes relevant, such as a movie's start, with hours and minutes and optional seconds. Recommended for event tickets and boarding passes."},"relevantDates":{"type":["null","array"],"items":{"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one.","$ref":"#/components/schemas/PassTypeAppleRelevantDate"},"description":"An array of date intervals during which the pass is relevant. Supersedes `RelevantDate` when non-empty."},"secondaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed on the front of the pass."},"semantics":{"description":"Semantics configuration for the pass.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"sharing":{"description":"What the Share button of the pass sends. Omitted, a link to the install page of the pass.","$ref":"#/components/schemas/PassTypeAppleSharing"},"summaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Up to three values displayed below the barcode on the poster generic layout (iOS 27+). Edited separately from `PrimaryFields`, which stays classic-only."},"suppressHeaderDarkening":{"type":["null","boolean"],"description":"Whether to display the header darkening gradient. Default false. Poster event tickets only."},"suppressStripShine":{"type":["null","boolean"],"description":"A Boolean value that controls whether to display the strip image without a shine effect. The default value is true."},"type":{"type":["null","string"],"description":"Type of pass. One of: generic, boardingPass, coupon, eventTicket, storeCard."},"upcomingPassInformation":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleUpcomingPassInformation"},"description":"Further events the ticket admits to, each shown as its own entry in the event guide."},"useAutomaticColors":{"type":["null","boolean"],"description":"Whether Wallet computes the foreground and label colors from the background image, ignoring `foregroundColor` and `labelColor`. Poster event tickets only."},"usePosterLayout":{"type":["null","boolean"],"description":"When true, a customer card pass uses the iOS 27+ poster generic layout instead of the standard store card layout."},"voided":{"type":["null","string"],"description":"Indicates the pass is void, such as a redeemed one-time coupon."}},"additionalProperties":false,"description":"Configuration of an Apple pass. See [Apple's PassKit bundle\nreference](https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/TopLevel.html)."},"PassTypeAppleActionLinks":{"type":"object","properties":{"accessibilityURL":{"type":["null","string"],"description":"A URL that links to your accessiblity content, or the venue's. Poster event tickets only."},"addOnURL":{"type":["null","string"],"description":"A URL that can link to experiences that someone can add to the pass. Poster event tickets only."},"bagPolicyURL":{"type":["null","string"],"description":"A URL that links to the bag policy of the venue for the event that the pass represents. Poster event tickets only."},"contactVenueEmail":{"type":["null","string"],"description":"The preferred email address to contact the venue, event, or issuer. Poster event tickets only."},"contactVenuePhoneNumber":{"type":["null","string"],"description":"The phone number for contacting the venue, event, or issuer. Poster event tickets only."},"contactVenueWebsite":{"type":["null","string"],"description":"A URL that links to the website of the venue, event, or issuer. Poster event tickets only."},"directionsInformationURL":{"type":["null","string"],"description":"A URL that links to directions for the event. Poster event tickets only."},"merchandiseURL":{"type":["null","string"],"description":"A URL that links to a site for ordering merchandise for the event that the pass represents. Poster event tickets only."},"orderFoodURL":{"type":["null","string"],"description":"A URL that links to the food ordering page for the event that the pass represents. Poster event tickets only."},"parkingInformationURL":{"type":["null","string"],"description":"A URL that links to parking information for the event that the pass represents. Poster event tickets only."},"purchaseParkingURL":{"type":["null","string"],"description":"A URL that links to a site to purchase parking for the event that the pass represents. Poster event tickets only."},"sellURL":{"type":["null","string"],"description":"A URL that links to the selling flow for the ticket the pass represents. Poster event tickets only."},"transferURL":{"type":["null","string"],"description":"A URL that links to the transferring flow for the ticket that the pass represents. Poster event tickets only."},"managementURL":{"type":["null","string"],"description":"A URL that links to the site for managing the ticket that the pass represents."},"transitInformationURL":{"type":["null","string"],"description":"A URL that links to information about transit options in the area of the event that the pass represents. Poster event tickets only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleField":{"type":"object","properties":{"changeMessage":{"description":"Alert text shown when the pass is updated, containing `%@` for the field's new value (for example <c>Gate\nchanged to %@.</c>). Without it, the user is not notified of changes.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"Kind of field. One of: number, date. Omitted for a plain text field."},"key":{"type":["null","string"],"description":"The key must be unique within the scope of the entire pass. For example, 'departure-gate.'."},"label":{"description":"Label text for the field.","$ref":"#/components/schemas/PassTypeLocalizedString"},"textAlignment":{"type":["null","string"],"description":"Text alignment for the field. One of: left, center, right, natural."},"currencyCode":{"type":["null","string"],"description":"ISO 4217 currency code for a number field. When set, Apple Wallet formats the value as a currency and ignores `numberStyle`."},"numberStyle":{"type":["null","string"],"description":"Number style for a number field. One of: decimal, percent, scientific, spellOut."},"dateStyle":{"type":["null","string"],"description":"Date part style for a date field. One of: none, short, medium, long, full."},"timeStyle":{"type":["null","string"],"description":"Time part style for a date field. One of: none, short, medium, long, full."},"isRelative":{"type":["null","boolean"],"description":"Show the date field as a relative value such as \"tomorrow\" when a date or time style is set."},"ignoresTimeZone":{"type":["null","boolean"],"description":"Keep the value's own time zone for a date field when a date or time style is set."},"automaticallyDetectDataDetectorTypes":{"type":["null","boolean"],"description":"Whether iOS turns phone numbers, links, addresses and dates found in the value into tappable links. Omitted, it\ndoes; `false` shows the value as plain text. Applies to a field with no `type`."},"value":{"description":"Value of the field, for example 42. May contain HTML links: only the <a> tag and its href attribute are supported.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Information about a field."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeAppleBeacon":{"type":"object","properties":{"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"major":{"type":["null","integer"],"description":"Major identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"minor":{"type":["null","integer"],"description":"Minor identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"uuid":{"type":["null","string"],"description":"Unique identifier of a Bluetooth Low Energy location beacon."}},"additionalProperties":false,"description":"Configuration for a beacon device"},"PassTypeAppleFeaturedAction":{"type":"object","properties":{"icon":{"type":["null","string"],"description":"SF Symbol name of the card's icon; prefer circular, filled variants. Omitted, a default icon for the action type is used."},"type":{"type":["null","string"],"description":"The predefined action type that determines the label and behavior of the featured action card."},"url":{"type":["null","string"],"description":"URL opened when the action is tapped: a website, a deep link into your app, or a `tel:` URI for `call` actions."},"placeIdentifier":{"type":["null","string"],"description":"The Apple Maps Place ID opened by `place` actions."}},"additionalProperties":false,"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination."},"PassTypeAppleImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster background image (artwork.png) for poster event tickets (iOS 18+) and poster generic passes (iOS 27+).\nSetting it on a generic pass activates the posterGeneric layout, on an event ticket posterEventTicket. Falls\nback to the strip image on older devices. Covers the poster card, whose size depends on the iPhone (370x503 pt\non a 402 pt wide iPhone): Wallet scales it to cover the card, centred horizontally, top-aligned on event\ntickets and centred on poster generic passes and store cards."},"background":{"type":["null","string"],"description":"Blurred background (background.png) behind the front of non-poster event tickets, 343 x 503 points. Poster layouts use ArtWork instead."},"footer":{"type":["null","string"],"description":"The image displayed on the front of the pass near the barcode. The allotted space is 858 x 45 points."},"icon":{"type":["null","string"],"description":"The pass's icon, shown in notifications, emails with a pass attached and on the lock screen with a shine effect and rounded corners. 87 x 87 points."},"logo":{"type":["null","string"],"description":"Image at the top left of the front, in a 480 x 150 points space; usually narrower."},"primaryLogo":{"type":["null","string"],"description":"Top-left logo for poster layouts (posterGeneric iOS 27+ and posterEventTicket iOS 18+). Fitted into 126x36 pt (posterEventTicket draws it at most 126x30 pt)."},"reuseExisting":{"type":["null","boolean"],"description":"For an upcoming event's header image or venue map: reuse the image the pass already carries rather than download one. `urls` takes precedence when set."},"secondaryLogo":{"type":["null","string"],"description":"Logo image that is displayed on bottom right footer inset of the pass. Ticket issuer or event company logo 135x12 pts."},"stampImages":{"type":["null","array"],"items":{"description":"The Apple images a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeAppleStampImage"},"description":"Per-stamp-count overrides of `Strip` and `ArtWork`, for a stamp card."},"strip":{"type":["null","string"],"description":"Image behind the primary fields: 1125 x 296 points for event tickets, 1125 x 432 for gift cards and coupons,\n1125 x 369 otherwise. Older hardware: 960 x 252, 960 x 330 (square barcode on 3.5 inch screens) or 960 x 369."},"thumbnail":{"type":["null","string"],"description":"Additional image on the front, such as a cardholder picture, 270 x 270 points. Aspect ratio between 2:3 and 3:2, otherwise cropped."},"urls":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleImageUrl"},"description":"For an upcoming event's header image or venue map: the remote copies of the image the device downloads."},"venueMap":{"type":["null","string"],"description":"Issuer-provided static map of the venue, which will be shown in the event guide."}},"additionalProperties":false,"description":"Image configuration for the pass"},"PassTypeAppleStampImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster artwork, used only when the template enables the poster layout."},"count":{"type":["null","integer"],"description":"The stamp count these images are shown at.","format":"int32"},"strip":{"type":["null","string"],"description":"Strip image for the classic store-card layout."}},"additionalProperties":false,"description":"The Apple images a stamp card shows at one exact stamp count."},"PassTypeAppleImageUrl":{"type":"object","properties":{"scale":{"type":["null","number"],"description":"The scale of the image. If unspecified, defaults to 1.","format":"double"},"sha256":{"type":["null","string"],"description":"(Required) The SHA256 hash of the image."},"size":{"type":["null","string"],"description":"Size of the image asset in bytes. The maximum allowed size is 2 megabytes."},"url":{"type":["null","string"],"description":"URL of the image to download. Required; https only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleLocation":{"type":"object","properties":{"altitude":{"type":["null","string"],"description":"Altitude, in meters, of the location."},"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"latitude":{"type":["null","string"],"description":"Latitude, in degrees, of the location."},"longitude":{"type":["null","string"],"description":"Longitude, in degrees, of the location."}},"additionalProperties":false,"description":"Configuration for a location"},"PassTypeAppleNfc":{"type":"object","properties":{"message":{"type":["null","string"],"description":"Payload sent to the Apple Pay terminal, at most 64 bytes (longer is truncated)."},"requiresAuthentication":{"type":["null","boolean"],"description":"Whether the NFC pass requires authentication for each use. Default false."}},"additionalProperties":false,"description":"Information about the NFC payload passed to an Apple Pay terminal. It is encrypted with the tenant's NFC key; without one, passes are issued without NFC."},"PassTypeAppleRelevantDate":{"type":"object","properties":{"endDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the end of the relevancy interval. Optional."},"startDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the start of the relevancy interval."}},"additionalProperties":false,"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one."},"PassTypeAppleSemantics":{"type":"object","properties":{"additionalTicketAttributes":{"type":["null","string"],"description":"Additional ticket attributes that other tags or keys in the pass don't include."},"admissionLevel":{"type":["null","string"],"description":"The level of admission the ticket provides, such as general admission, VIP, and so forth."},"admissionLevelAbbreviation":{"type":["null","string"],"description":"An abbreviation of the level of admission the ticket provides, such as GA or VIP."},"albumIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each album corresponding to the event, in decreasing order of significance."},"artistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each artist performing at the event, in decreasing order of significance."},"attendeeName":{"type":["null","string"],"description":"The name of the person the ticket grants admission to."},"awayTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the away team's name. Use this key only for a sports event ticket."},"awayTeamLocation":{"type":["null","string"],"description":"The home location of the away team. Use this key only for a sports event ticket."},"awayTeamName":{"type":["null","string"],"description":"The name of the away team. Use this key only for a sports event ticket."},"balance":{"description":"The current balance redeemable with the pass. Use this key only for a store card pass.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"duration":{"type":["null","string"],"description":"The duration of the event or transit journey, in seconds. Sent as a string: whole seconds or a Liquid template."},"entranceDescription":{"type":["null","string"],"description":"The long description of the entrance information."},"eventLiveMessage":{"type":["null","string"],"description":"The message Wallet shows in the Lock Screen Live Activity when the event starts."},"eventEndDate":{"type":["null","string"],"description":"The date and time the event ends. ISO 8601 date as string."},"eventName":{"description":"The full name of the event, such as the title of a movie.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventStartDate":{"type":["null","string"],"description":"The date and time the event starts. ISO 8601 date as string."},"eventStartDateInfo":{"description":"An object that provides information for the date and time the event starts. See SemanticTagType.EventDateInfo (iOS 18.0+).","$ref":"#/components/schemas/PassTypeAppleEventDateInfoValue"},"eventType":{"type":["null","string"],"description":"Type of event: PKEventTypeGeneric, PKEventTypeLivePerformance, PKEventTypeMovie, PKEventTypeSports,\nPKEventTypeConference, PKEventTypeConvention, PKEventTypeWorkshop or PKEventTypeSocialGathering."},"genre":{"type":["null","string"],"description":"The genre of the performance, such as classical."},"homeTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the home team's name. Use this key only for a sports event ticket."},"homeTeamLocation":{"type":["null","string"],"description":"The home location of the home team. Use this key only for a sports event ticket."},"homeTeamName":{"type":["null","string"],"description":"The name of the home team. Use this key only for a sports event ticket."},"leagueAbbreviation":{"type":["null","string"],"description":"The abbreviated league name for a sports event. Use this key only for a sports event ticket."},"leagueName":{"type":["null","string"],"description":"The unabbreviated league name for a sports event. Use this key only for a sports event ticket."},"performerNames":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the full names of the performers and opening acts at the event, in decreasing order of significance."},"playlistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each playlist corresponding to the event, in decreasing order of significance."},"seats":{"type":["null","array"],"items":{"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat.","$ref":"#/components/schemas/PassTypeAppleSeat"},"description":"An array of objects that represent the details for each seat at an event or on a transit journey. See SemanticTagType.Seat."},"silenceRequested":{"type":["null","string"],"description":"Whether the person's device stays silent during an event or transit journey (the system may override the\nperiod). Sent as a string: `true`, `false` or a Liquid template."},"sportName":{"type":["null","string"],"description":"The commonly used name of the sport. Use this key only for a sports event ticket."},"tailgatingAllowed":{"type":["null","string"],"description":"A Boolean value that indicates whether tailgating is allowed at the event. Sent as a string: `true`, `false` or a Liquid template."},"totalPrice":{"description":"The total price for the pass. Use this key for any pass type.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"venueBoxOfficeOpenDate":{"type":["null","string"],"description":"The date when the box office opens (ISO 8601)."},"venueCloseDate":{"type":["null","string"],"description":"The date when the venue closes (ISO 8601)."},"venueDoorsOpenDate":{"type":["null","string"],"description":"The date the doors to the venue open (ISO 8601)."},"venueEntrance":{"type":["null","string"],"description":"The full name of the entrance, such as Gate A, to use to gain access to the ticketed event."},"venueEntranceDoor":{"type":["null","string"],"description":"The venue entrance door."},"venueEntranceGate":{"type":["null","string"],"description":"The venue entrance gate."},"venueEntrancePortal":{"type":["null","string"],"description":"The venue entrance portal."},"venueFanZoneOpenDate":{"type":["null","string"],"description":"The date the fan zone opens (ISO 8601)."},"venueGatesOpenDate":{"type":["null","string"],"description":"The date the gates to the venue open (ISO 8601)."},"venueLocation":{"description":"An object that represents the geographic coordinates of the venue. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"venueName":{"type":["null","string"],"description":"The full name of the venue."},"venueOpenDate":{"type":["null","string"],"description":"The date when the venue opens (ISO 8601). Use this if none of the more specific venue open tags apply."},"venueParkingLotsOpenDate":{"type":["null","string"],"description":"The date the parking lots open (ISO 8601)."},"venuePhoneNumber":{"type":["null","string"],"description":"The phone number for inquiries about the venue's ticketed event."},"venueRegionName":{"type":["null","string"],"description":"The name of the city or hosting region of the venue."},"venueRoom":{"type":["null","string"],"description":"The full name of the room where the ticketed event is to take place."},"wifiAccess":{"type":["null","array"],"items":{"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork.","$ref":"#/components/schemas/PassTypeAppleWifiNetwork"},"description":"Wi-Fi networks associated with the event, such as the network name and password of a conference. See SemanticTagType.WifiNetwork."}},"additionalProperties":false,"description":"Apple Wallet semantic tags of the pass, as documented in Apple's SemanticTags specification."},"PassTypeAppleCurrencyAmount":{"type":"object","properties":{"amount":{"type":["null","string"],"description":"Amount in currency units."},"currencyCode":{"type":["null","string"],"description":"Three-letter currency code (ISO 4217), e.g., \"USD\"."}},"additionalProperties":false,"description":"An amount of money and its currency. See SemanticTagType.CurrencyAmount."},"PassTypeAppleEventDateInfoValue":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The date (ISO 8601 date as string)."},"ignoreTimeComponents":{"type":["null","string"],"description":"A Boolean value that indicates whether the system ignores the time components of the date. Sent as a string: `true`, `false` or a Liquid template."},"timeZone":{"type":["null","string"],"description":"The time zone to display in the date. Uses IANA time zone database identifiers (e.g. \"America/Los_Angeles\")."},"unannounced":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is announced. Sent as a string: `true`, `false` or a Liquid template."},"undetermined":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is determined. Sent as a string: `true`, `false` or a Liquid template."}},"additionalProperties":false,"description":"Date and time of an event. See SemanticTagType.EventDateInfo (iOS 18+)."},"PassTypeAppleSeat":{"type":"object","properties":{"seatAisle":{"type":["null","string"],"description":"The aisle that contains the seat."},"seatDescription":{"type":["null","string"],"description":"A description of the seat, such as 'A flat bed seat'."},"seatIdentifier":{"type":["null","string"],"description":"The identifier code for the seat."},"seatLevel":{"type":["null","string"],"description":"The level that contains the seat."},"seatNumber":{"type":["null","string"],"description":"The number of the seat."},"seatRow":{"type":["null","string"],"description":"The row that contains the seat."},"seatSection":{"type":["null","string"],"description":"The section that contains the seat."},"seatSectionColor":{"type":["null","string"],"description":"A color associated with identifying the seat, specified as a CSS-style RGB triple, such as rgb(23, 187, 82)."},"seatType":{"type":["null","string"],"description":"The type of seat, such as 'Reserved seating'."}},"additionalProperties":false,"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat."},"PassTypeLocation":{"type":"object","properties":{"latitude":{"type":["null","string"],"description":"Latitude in degrees."},"longitude":{"type":["null","string"],"description":"Longitude in degrees."}},"additionalProperties":false,"description":"An object that represents the coordinates of a location. See SemanticTagType.Location."},"PassTypeAppleWifiNetwork":{"type":"object","properties":{"password":{"type":["null","string"],"description":"Wi-Fi password (if any)."},"ssid":{"type":["null","string"],"description":"Wi-Fi SSID (network name)."}},"additionalProperties":false,"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork."},"PassTypeAppleSharing":{"type":"object","properties":{"method":{"type":["null","string"],"description":"What the Share button sends. One of: url (the text followed by the URL, the default), pkpass (the .pkpass file), disabled (no Share button)."},"url":{"type":["null","string"],"description":"URL shared by the `url` method, a template rendered with the pass's values. Omitted, the install page of the pass."},"text":{"type":["null","string"],"description":"Text sent ahead of the URL with the `url` method, a template rendered with the pass's values. Not translatable. Shown by some share targets, always included when the link is copied."}},"additionalProperties":false,"description":"What the Share button of an Apple pass sends."},"PassTypeAppleUpcomingPassInformation":{"type":"object","properties":{"actionLinks":{"description":"A collection of URLs used to populate UI elements in the details view.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the Additional Info section below a pass."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the details view of the upcoming pass information entry."},"dateInformation":{"description":"Information about the start and end time of the upcoming pass information entry. If omitted, the entry is labeled as TBD.","$ref":"#/components/schemas/PassTypeAppleDateInformation"},"identifier":{"type":["null","string"],"description":"Required. Unique identifier of the upcoming pass information entry."},"images":{"description":"A collection of image names used to populate images in the details view.","$ref":"#/components/schemas/PassTypeAppleImages"},"isActive":{"type":["null","string"],"description":"Indicates whether the upcoming pass information entry is currently active. The default value is false."},"name":{"type":["null","string"],"description":"(Required) The name of the upcoming pass information entry. A Liquid template, not a translatable string: one value for every language."},"semantics":{"description":"The semantic, machine-readable metadata about the upcoming pass information entry.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"type":{"type":["null","string"],"description":"(Required) The type of upcoming pass information entry. Value: event."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleDateInformation":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The start date of the upcoming pass information entry. If omitted, the entry lists the Time and Date as TBD."},"ignoreTimeComponents":{"type":["null","boolean"],"description":"Indicates whether the entry should ignore the time components of the date."},"isAllDay":{"type":["null","boolean"],"description":"Indicates whether the entry spans the entire day and that the time components should be ignored."},"isUnannounced":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been announced (commonly referred to as TBA)."},"isUndetermined":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been determined (commonly referred to as TBD)."},"timeZone":{"type":["null","string"],"description":"The time zone to adjust the date into. If omitted, the entry uses the current time zone of the device."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleImages":{"type":"object","properties":{"headerImage":{"description":"The name of the image file used for the header image on the details screen. This can be a remote asset.","$ref":"#/components/schemas/PassTypeAppleImage"},"venueMap":{"description":"The name of the image file used for the venue map in the event guide for each upcoming pass information entry.\nThis can be a remote asset and is available for event entries.","$ref":"#/components/schemas/PassTypeAppleImage"}},"additionalProperties":false,"description":"Part of the Apple configuration."}}}}
```

## The PassTypeAppleActionLinks object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleActionLinks":{"type":"object","properties":{"accessibilityURL":{"type":["null","string"],"description":"A URL that links to your accessiblity content, or the venue's. Poster event tickets only."},"addOnURL":{"type":["null","string"],"description":"A URL that can link to experiences that someone can add to the pass. Poster event tickets only."},"bagPolicyURL":{"type":["null","string"],"description":"A URL that links to the bag policy of the venue for the event that the pass represents. Poster event tickets only."},"contactVenueEmail":{"type":["null","string"],"description":"The preferred email address to contact the venue, event, or issuer. Poster event tickets only."},"contactVenuePhoneNumber":{"type":["null","string"],"description":"The phone number for contacting the venue, event, or issuer. Poster event tickets only."},"contactVenueWebsite":{"type":["null","string"],"description":"A URL that links to the website of the venue, event, or issuer. Poster event tickets only."},"directionsInformationURL":{"type":["null","string"],"description":"A URL that links to directions for the event. Poster event tickets only."},"merchandiseURL":{"type":["null","string"],"description":"A URL that links to a site for ordering merchandise for the event that the pass represents. Poster event tickets only."},"orderFoodURL":{"type":["null","string"],"description":"A URL that links to the food ordering page for the event that the pass represents. Poster event tickets only."},"parkingInformationURL":{"type":["null","string"],"description":"A URL that links to parking information for the event that the pass represents. Poster event tickets only."},"purchaseParkingURL":{"type":["null","string"],"description":"A URL that links to a site to purchase parking for the event that the pass represents. Poster event tickets only."},"sellURL":{"type":["null","string"],"description":"A URL that links to the selling flow for the ticket the pass represents. Poster event tickets only."},"transferURL":{"type":["null","string"],"description":"A URL that links to the transferring flow for the ticket that the pass represents. Poster event tickets only."},"managementURL":{"type":["null","string"],"description":"A URL that links to the site for managing the ticket that the pass represents."},"transitInformationURL":{"type":["null","string"],"description":"A URL that links to information about transit options in the area of the event that the pass represents. Poster event tickets only."}},"additionalProperties":false,"description":"Part of the Apple configuration."}}}}
```

## The PassTypeAppleBeacon object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleBeacon":{"type":"object","properties":{"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"major":{"type":["null","integer"],"description":"Major identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"minor":{"type":["null","integer"],"description":"Minor identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"uuid":{"type":["null","string"],"description":"Unique identifier of a Bluetooth Low Energy location beacon."}},"additionalProperties":false,"description":"Configuration for a beacon device"},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeAppleCurrencyAmount object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleCurrencyAmount":{"type":"object","properties":{"amount":{"type":["null","string"],"description":"Amount in currency units."},"currencyCode":{"type":["null","string"],"description":"Three-letter currency code (ISO 4217), e.g., \"USD\"."}},"additionalProperties":false,"description":"An amount of money and its currency. See SemanticTagType.CurrencyAmount."}}}}
```

## The PassTypeAppleDateInformation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleDateInformation":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The start date of the upcoming pass information entry. If omitted, the entry lists the Time and Date as TBD."},"ignoreTimeComponents":{"type":["null","boolean"],"description":"Indicates whether the entry should ignore the time components of the date."},"isAllDay":{"type":["null","boolean"],"description":"Indicates whether the entry spans the entire day and that the time components should be ignored."},"isUnannounced":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been announced (commonly referred to as TBA)."},"isUndetermined":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been determined (commonly referred to as TBD)."},"timeZone":{"type":["null","string"],"description":"The time zone to adjust the date into. If omitted, the entry uses the current time zone of the device."}},"additionalProperties":false,"description":"Part of the Apple configuration."}}}}
```

## The PassTypeAppleEventDateInfoValue object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleEventDateInfoValue":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The date (ISO 8601 date as string)."},"ignoreTimeComponents":{"type":["null","string"],"description":"A Boolean value that indicates whether the system ignores the time components of the date. Sent as a string: `true`, `false` or a Liquid template."},"timeZone":{"type":["null","string"],"description":"The time zone to display in the date. Uses IANA time zone database identifiers (e.g. \"America/Los_Angeles\")."},"unannounced":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is announced. Sent as a string: `true`, `false` or a Liquid template."},"undetermined":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is determined. Sent as a string: `true`, `false` or a Liquid template."}},"additionalProperties":false,"description":"Date and time of an event. See SemanticTagType.EventDateInfo (iOS 18+)."}}}}
```

## The PassTypeAppleFeaturedAction object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleFeaturedAction":{"type":"object","properties":{"icon":{"type":["null","string"],"description":"SF Symbol name of the card's icon; prefer circular, filled variants. Omitted, a default icon for the action type is used."},"type":{"type":["null","string"],"description":"The predefined action type that determines the label and behavior of the featured action card."},"url":{"type":["null","string"],"description":"URL opened when the action is tapped: a website, a deep link into your app, or a `tel:` URI for `call` actions."},"placeIdentifier":{"type":["null","string"],"description":"The Apple Maps Place ID opened by `place` actions."}},"additionalProperties":false,"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination."}}}}
```

## The PassTypeAppleField object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleField":{"type":"object","properties":{"changeMessage":{"description":"Alert text shown when the pass is updated, containing `%@` for the field's new value (for example <c>Gate\nchanged to %@.</c>). Without it, the user is not notified of changes.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"Kind of field. One of: number, date. Omitted for a plain text field."},"key":{"type":["null","string"],"description":"The key must be unique within the scope of the entire pass. For example, 'departure-gate.'."},"label":{"description":"Label text for the field.","$ref":"#/components/schemas/PassTypeLocalizedString"},"textAlignment":{"type":["null","string"],"description":"Text alignment for the field. One of: left, center, right, natural."},"currencyCode":{"type":["null","string"],"description":"ISO 4217 currency code for a number field. When set, Apple Wallet formats the value as a currency and ignores `numberStyle`."},"numberStyle":{"type":["null","string"],"description":"Number style for a number field. One of: decimal, percent, scientific, spellOut."},"dateStyle":{"type":["null","string"],"description":"Date part style for a date field. One of: none, short, medium, long, full."},"timeStyle":{"type":["null","string"],"description":"Time part style for a date field. One of: none, short, medium, long, full."},"isRelative":{"type":["null","boolean"],"description":"Show the date field as a relative value such as \"tomorrow\" when a date or time style is set."},"ignoresTimeZone":{"type":["null","boolean"],"description":"Keep the value's own time zone for a date field when a date or time style is set."},"automaticallyDetectDataDetectorTypes":{"type":["null","boolean"],"description":"Whether iOS turns phone numbers, links, addresses and dates found in the value into tappable links. Omitted, it\ndoes; `false` shows the value as plain text. Applies to a field with no `type`."},"value":{"description":"Value of the field, for example 42. May contain HTML links: only the <a> tag and its href attribute are supported.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Information about a field."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeAppleImage object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster background image (artwork.png) for poster event tickets (iOS 18+) and poster generic passes (iOS 27+).\nSetting it on a generic pass activates the posterGeneric layout, on an event ticket posterEventTicket. Falls\nback to the strip image on older devices. Covers the poster card, whose size depends on the iPhone (370x503 pt\non a 402 pt wide iPhone): Wallet scales it to cover the card, centred horizontally, top-aligned on event\ntickets and centred on poster generic passes and store cards."},"background":{"type":["null","string"],"description":"Blurred background (background.png) behind the front of non-poster event tickets, 343 x 503 points. Poster layouts use ArtWork instead."},"footer":{"type":["null","string"],"description":"The image displayed on the front of the pass near the barcode. The allotted space is 858 x 45 points."},"icon":{"type":["null","string"],"description":"The pass's icon, shown in notifications, emails with a pass attached and on the lock screen with a shine effect and rounded corners. 87 x 87 points."},"logo":{"type":["null","string"],"description":"Image at the top left of the front, in a 480 x 150 points space; usually narrower."},"primaryLogo":{"type":["null","string"],"description":"Top-left logo for poster layouts (posterGeneric iOS 27+ and posterEventTicket iOS 18+). Fitted into 126x36 pt (posterEventTicket draws it at most 126x30 pt)."},"reuseExisting":{"type":["null","boolean"],"description":"For an upcoming event's header image or venue map: reuse the image the pass already carries rather than download one. `urls` takes precedence when set."},"secondaryLogo":{"type":["null","string"],"description":"Logo image that is displayed on bottom right footer inset of the pass. Ticket issuer or event company logo 135x12 pts."},"stampImages":{"type":["null","array"],"items":{"description":"The Apple images a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeAppleStampImage"},"description":"Per-stamp-count overrides of `Strip` and `ArtWork`, for a stamp card."},"strip":{"type":["null","string"],"description":"Image behind the primary fields: 1125 x 296 points for event tickets, 1125 x 432 for gift cards and coupons,\n1125 x 369 otherwise. Older hardware: 960 x 252, 960 x 330 (square barcode on 3.5 inch screens) or 960 x 369."},"thumbnail":{"type":["null","string"],"description":"Additional image on the front, such as a cardholder picture, 270 x 270 points. Aspect ratio between 2:3 and 3:2, otherwise cropped."},"urls":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleImageUrl"},"description":"For an upcoming event's header image or venue map: the remote copies of the image the device downloads."},"venueMap":{"type":["null","string"],"description":"Issuer-provided static map of the venue, which will be shown in the event guide."}},"additionalProperties":false,"description":"Image configuration for the pass"},"PassTypeAppleStampImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster artwork, used only when the template enables the poster layout."},"count":{"type":["null","integer"],"description":"The stamp count these images are shown at.","format":"int32"},"strip":{"type":["null","string"],"description":"Strip image for the classic store-card layout."}},"additionalProperties":false,"description":"The Apple images a stamp card shows at one exact stamp count."},"PassTypeAppleImageUrl":{"type":"object","properties":{"scale":{"type":["null","number"],"description":"The scale of the image. If unspecified, defaults to 1.","format":"double"},"sha256":{"type":["null","string"],"description":"(Required) The SHA256 hash of the image."},"size":{"type":["null","string"],"description":"Size of the image asset in bytes. The maximum allowed size is 2 megabytes."},"url":{"type":["null","string"],"description":"URL of the image to download. Required; https only."}},"additionalProperties":false,"description":"Part of the Apple configuration."}}}}
```

## The PassTypeAppleImageUrl object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleImageUrl":{"type":"object","properties":{"scale":{"type":["null","number"],"description":"The scale of the image. If unspecified, defaults to 1.","format":"double"},"sha256":{"type":["null","string"],"description":"(Required) The SHA256 hash of the image."},"size":{"type":["null","string"],"description":"Size of the image asset in bytes. The maximum allowed size is 2 megabytes."},"url":{"type":["null","string"],"description":"URL of the image to download. Required; https only."}},"additionalProperties":false,"description":"Part of the Apple configuration."}}}}
```

## The PassTypeAppleImages object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleImages":{"type":"object","properties":{"headerImage":{"description":"The name of the image file used for the header image on the details screen. This can be a remote asset.","$ref":"#/components/schemas/PassTypeAppleImage"},"venueMap":{"description":"The name of the image file used for the venue map in the event guide for each upcoming pass information entry.\nThis can be a remote asset and is available for event entries.","$ref":"#/components/schemas/PassTypeAppleImage"}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster background image (artwork.png) for poster event tickets (iOS 18+) and poster generic passes (iOS 27+).\nSetting it on a generic pass activates the posterGeneric layout, on an event ticket posterEventTicket. Falls\nback to the strip image on older devices. Covers the poster card, whose size depends on the iPhone (370x503 pt\non a 402 pt wide iPhone): Wallet scales it to cover the card, centred horizontally, top-aligned on event\ntickets and centred on poster generic passes and store cards."},"background":{"type":["null","string"],"description":"Blurred background (background.png) behind the front of non-poster event tickets, 343 x 503 points. Poster layouts use ArtWork instead."},"footer":{"type":["null","string"],"description":"The image displayed on the front of the pass near the barcode. The allotted space is 858 x 45 points."},"icon":{"type":["null","string"],"description":"The pass's icon, shown in notifications, emails with a pass attached and on the lock screen with a shine effect and rounded corners. 87 x 87 points."},"logo":{"type":["null","string"],"description":"Image at the top left of the front, in a 480 x 150 points space; usually narrower."},"primaryLogo":{"type":["null","string"],"description":"Top-left logo for poster layouts (posterGeneric iOS 27+ and posterEventTicket iOS 18+). Fitted into 126x36 pt (posterEventTicket draws it at most 126x30 pt)."},"reuseExisting":{"type":["null","boolean"],"description":"For an upcoming event's header image or venue map: reuse the image the pass already carries rather than download one. `urls` takes precedence when set."},"secondaryLogo":{"type":["null","string"],"description":"Logo image that is displayed on bottom right footer inset of the pass. Ticket issuer or event company logo 135x12 pts."},"stampImages":{"type":["null","array"],"items":{"description":"The Apple images a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeAppleStampImage"},"description":"Per-stamp-count overrides of `Strip` and `ArtWork`, for a stamp card."},"strip":{"type":["null","string"],"description":"Image behind the primary fields: 1125 x 296 points for event tickets, 1125 x 432 for gift cards and coupons,\n1125 x 369 otherwise. Older hardware: 960 x 252, 960 x 330 (square barcode on 3.5 inch screens) or 960 x 369."},"thumbnail":{"type":["null","string"],"description":"Additional image on the front, such as a cardholder picture, 270 x 270 points. Aspect ratio between 2:3 and 3:2, otherwise cropped."},"urls":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleImageUrl"},"description":"For an upcoming event's header image or venue map: the remote copies of the image the device downloads."},"venueMap":{"type":["null","string"],"description":"Issuer-provided static map of the venue, which will be shown in the event guide."}},"additionalProperties":false,"description":"Image configuration for the pass"},"PassTypeAppleStampImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster artwork, used only when the template enables the poster layout."},"count":{"type":["null","integer"],"description":"The stamp count these images are shown at.","format":"int32"},"strip":{"type":["null","string"],"description":"Strip image for the classic store-card layout."}},"additionalProperties":false,"description":"The Apple images a stamp card shows at one exact stamp count."},"PassTypeAppleImageUrl":{"type":"object","properties":{"scale":{"type":["null","number"],"description":"The scale of the image. If unspecified, defaults to 1.","format":"double"},"sha256":{"type":["null","string"],"description":"(Required) The SHA256 hash of the image."},"size":{"type":["null","string"],"description":"Size of the image asset in bytes. The maximum allowed size is 2 megabytes."},"url":{"type":["null","string"],"description":"URL of the image to download. Required; https only."}},"additionalProperties":false,"description":"Part of the Apple configuration."}}}}
```

## The PassTypeAppleLocation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleLocation":{"type":"object","properties":{"altitude":{"type":["null","string"],"description":"Altitude, in meters, of the location."},"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"latitude":{"type":["null","string"],"description":"Latitude, in degrees, of the location."},"longitude":{"type":["null","string"],"description":"Longitude, in degrees, of the location."}},"additionalProperties":false,"description":"Configuration for a location"},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeAppleNfc object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleNfc":{"type":"object","properties":{"message":{"type":["null","string"],"description":"Payload sent to the Apple Pay terminal, at most 64 bytes (longer is truncated)."},"requiresAuthentication":{"type":["null","boolean"],"description":"Whether the NFC pass requires authentication for each use. Default false."}},"additionalProperties":false,"description":"Information about the NFC payload passed to an Apple Pay terminal. It is encrypted with the tenant's NFC key; without one, passes are issued without NFC."}}}}
```

## The PassTypeAppleRelevantDate object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleRelevantDate":{"type":"object","properties":{"endDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the end of the relevancy interval. Optional."},"startDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the start of the relevancy interval."}},"additionalProperties":false,"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one."}}}}
```

## The PassTypeAppleSeat object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleSeat":{"type":"object","properties":{"seatAisle":{"type":["null","string"],"description":"The aisle that contains the seat."},"seatDescription":{"type":["null","string"],"description":"A description of the seat, such as 'A flat bed seat'."},"seatIdentifier":{"type":["null","string"],"description":"The identifier code for the seat."},"seatLevel":{"type":["null","string"],"description":"The level that contains the seat."},"seatNumber":{"type":["null","string"],"description":"The number of the seat."},"seatRow":{"type":["null","string"],"description":"The row that contains the seat."},"seatSection":{"type":["null","string"],"description":"The section that contains the seat."},"seatSectionColor":{"type":["null","string"],"description":"A color associated with identifying the seat, specified as a CSS-style RGB triple, such as rgb(23, 187, 82)."},"seatType":{"type":["null","string"],"description":"The type of seat, such as 'Reserved seating'."}},"additionalProperties":false,"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat."}}}}
```

## The PassTypeAppleSemantics object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleSemantics":{"type":"object","properties":{"additionalTicketAttributes":{"type":["null","string"],"description":"Additional ticket attributes that other tags or keys in the pass don't include."},"admissionLevel":{"type":["null","string"],"description":"The level of admission the ticket provides, such as general admission, VIP, and so forth."},"admissionLevelAbbreviation":{"type":["null","string"],"description":"An abbreviation of the level of admission the ticket provides, such as GA or VIP."},"albumIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each album corresponding to the event, in decreasing order of significance."},"artistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each artist performing at the event, in decreasing order of significance."},"attendeeName":{"type":["null","string"],"description":"The name of the person the ticket grants admission to."},"awayTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the away team's name. Use this key only for a sports event ticket."},"awayTeamLocation":{"type":["null","string"],"description":"The home location of the away team. Use this key only for a sports event ticket."},"awayTeamName":{"type":["null","string"],"description":"The name of the away team. Use this key only for a sports event ticket."},"balance":{"description":"The current balance redeemable with the pass. Use this key only for a store card pass.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"duration":{"type":["null","string"],"description":"The duration of the event or transit journey, in seconds. Sent as a string: whole seconds or a Liquid template."},"entranceDescription":{"type":["null","string"],"description":"The long description of the entrance information."},"eventLiveMessage":{"type":["null","string"],"description":"The message Wallet shows in the Lock Screen Live Activity when the event starts."},"eventEndDate":{"type":["null","string"],"description":"The date and time the event ends. ISO 8601 date as string."},"eventName":{"description":"The full name of the event, such as the title of a movie.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventStartDate":{"type":["null","string"],"description":"The date and time the event starts. ISO 8601 date as string."},"eventStartDateInfo":{"description":"An object that provides information for the date and time the event starts. See SemanticTagType.EventDateInfo (iOS 18.0+).","$ref":"#/components/schemas/PassTypeAppleEventDateInfoValue"},"eventType":{"type":["null","string"],"description":"Type of event: PKEventTypeGeneric, PKEventTypeLivePerformance, PKEventTypeMovie, PKEventTypeSports,\nPKEventTypeConference, PKEventTypeConvention, PKEventTypeWorkshop or PKEventTypeSocialGathering."},"genre":{"type":["null","string"],"description":"The genre of the performance, such as classical."},"homeTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the home team's name. Use this key only for a sports event ticket."},"homeTeamLocation":{"type":["null","string"],"description":"The home location of the home team. Use this key only for a sports event ticket."},"homeTeamName":{"type":["null","string"],"description":"The name of the home team. Use this key only for a sports event ticket."},"leagueAbbreviation":{"type":["null","string"],"description":"The abbreviated league name for a sports event. Use this key only for a sports event ticket."},"leagueName":{"type":["null","string"],"description":"The unabbreviated league name for a sports event. Use this key only for a sports event ticket."},"performerNames":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the full names of the performers and opening acts at the event, in decreasing order of significance."},"playlistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each playlist corresponding to the event, in decreasing order of significance."},"seats":{"type":["null","array"],"items":{"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat.","$ref":"#/components/schemas/PassTypeAppleSeat"},"description":"An array of objects that represent the details for each seat at an event or on a transit journey. See SemanticTagType.Seat."},"silenceRequested":{"type":["null","string"],"description":"Whether the person's device stays silent during an event or transit journey (the system may override the\nperiod). Sent as a string: `true`, `false` or a Liquid template."},"sportName":{"type":["null","string"],"description":"The commonly used name of the sport. Use this key only for a sports event ticket."},"tailgatingAllowed":{"type":["null","string"],"description":"A Boolean value that indicates whether tailgating is allowed at the event. Sent as a string: `true`, `false` or a Liquid template."},"totalPrice":{"description":"The total price for the pass. Use this key for any pass type.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"venueBoxOfficeOpenDate":{"type":["null","string"],"description":"The date when the box office opens (ISO 8601)."},"venueCloseDate":{"type":["null","string"],"description":"The date when the venue closes (ISO 8601)."},"venueDoorsOpenDate":{"type":["null","string"],"description":"The date the doors to the venue open (ISO 8601)."},"venueEntrance":{"type":["null","string"],"description":"The full name of the entrance, such as Gate A, to use to gain access to the ticketed event."},"venueEntranceDoor":{"type":["null","string"],"description":"The venue entrance door."},"venueEntranceGate":{"type":["null","string"],"description":"The venue entrance gate."},"venueEntrancePortal":{"type":["null","string"],"description":"The venue entrance portal."},"venueFanZoneOpenDate":{"type":["null","string"],"description":"The date the fan zone opens (ISO 8601)."},"venueGatesOpenDate":{"type":["null","string"],"description":"The date the gates to the venue open (ISO 8601)."},"venueLocation":{"description":"An object that represents the geographic coordinates of the venue. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"venueName":{"type":["null","string"],"description":"The full name of the venue."},"venueOpenDate":{"type":["null","string"],"description":"The date when the venue opens (ISO 8601). Use this if none of the more specific venue open tags apply."},"venueParkingLotsOpenDate":{"type":["null","string"],"description":"The date the parking lots open (ISO 8601)."},"venuePhoneNumber":{"type":["null","string"],"description":"The phone number for inquiries about the venue's ticketed event."},"venueRegionName":{"type":["null","string"],"description":"The name of the city or hosting region of the venue."},"venueRoom":{"type":["null","string"],"description":"The full name of the room where the ticketed event is to take place."},"wifiAccess":{"type":["null","array"],"items":{"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork.","$ref":"#/components/schemas/PassTypeAppleWifiNetwork"},"description":"Wi-Fi networks associated with the event, such as the network name and password of a conference. See SemanticTagType.WifiNetwork."}},"additionalProperties":false,"description":"Apple Wallet semantic tags of the pass, as documented in Apple's SemanticTags specification."},"PassTypeAppleCurrencyAmount":{"type":"object","properties":{"amount":{"type":["null","string"],"description":"Amount in currency units."},"currencyCode":{"type":["null","string"],"description":"Three-letter currency code (ISO 4217), e.g., \"USD\"."}},"additionalProperties":false,"description":"An amount of money and its currency. See SemanticTagType.CurrencyAmount."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeAppleEventDateInfoValue":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The date (ISO 8601 date as string)."},"ignoreTimeComponents":{"type":["null","string"],"description":"A Boolean value that indicates whether the system ignores the time components of the date. Sent as a string: `true`, `false` or a Liquid template."},"timeZone":{"type":["null","string"],"description":"The time zone to display in the date. Uses IANA time zone database identifiers (e.g. \"America/Los_Angeles\")."},"unannounced":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is announced. Sent as a string: `true`, `false` or a Liquid template."},"undetermined":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is determined. Sent as a string: `true`, `false` or a Liquid template."}},"additionalProperties":false,"description":"Date and time of an event. See SemanticTagType.EventDateInfo (iOS 18+)."},"PassTypeAppleSeat":{"type":"object","properties":{"seatAisle":{"type":["null","string"],"description":"The aisle that contains the seat."},"seatDescription":{"type":["null","string"],"description":"A description of the seat, such as 'A flat bed seat'."},"seatIdentifier":{"type":["null","string"],"description":"The identifier code for the seat."},"seatLevel":{"type":["null","string"],"description":"The level that contains the seat."},"seatNumber":{"type":["null","string"],"description":"The number of the seat."},"seatRow":{"type":["null","string"],"description":"The row that contains the seat."},"seatSection":{"type":["null","string"],"description":"The section that contains the seat."},"seatSectionColor":{"type":["null","string"],"description":"A color associated with identifying the seat, specified as a CSS-style RGB triple, such as rgb(23, 187, 82)."},"seatType":{"type":["null","string"],"description":"The type of seat, such as 'Reserved seating'."}},"additionalProperties":false,"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat."},"PassTypeLocation":{"type":"object","properties":{"latitude":{"type":["null","string"],"description":"Latitude in degrees."},"longitude":{"type":["null","string"],"description":"Longitude in degrees."}},"additionalProperties":false,"description":"An object that represents the coordinates of a location. See SemanticTagType.Location."},"PassTypeAppleWifiNetwork":{"type":"object","properties":{"password":{"type":["null","string"],"description":"Wi-Fi password (if any)."},"ssid":{"type":["null","string"],"description":"Wi-Fi SSID (network name)."}},"additionalProperties":false,"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork."}}}}
```

## The PassTypeAppleSharing object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleSharing":{"type":"object","properties":{"method":{"type":["null","string"],"description":"What the Share button sends. One of: url (the text followed by the URL, the default), pkpass (the .pkpass file), disabled (no Share button)."},"url":{"type":["null","string"],"description":"URL shared by the `url` method, a template rendered with the pass's values. Omitted, the install page of the pass."},"text":{"type":["null","string"],"description":"Text sent ahead of the URL with the `url` method, a template rendered with the pass's values. Not translatable. Shown by some share targets, always included when the link is copied."}},"additionalProperties":false,"description":"What the Share button of an Apple pass sends."}}}}
```

## The PassTypeAppleStampImage object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleStampImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster artwork, used only when the template enables the poster layout."},"count":{"type":["null","integer"],"description":"The stamp count these images are shown at.","format":"int32"},"strip":{"type":["null","string"],"description":"Strip image for the classic store-card layout."}},"additionalProperties":false,"description":"The Apple images a stamp card shows at one exact stamp count."}}}}
```

## The PassTypeAppleUpcomingPassInformation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleUpcomingPassInformation":{"type":"object","properties":{"actionLinks":{"description":"A collection of URLs used to populate UI elements in the details view.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the Additional Info section below a pass."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the details view of the upcoming pass information entry."},"dateInformation":{"description":"Information about the start and end time of the upcoming pass information entry. If omitted, the entry is labeled as TBD.","$ref":"#/components/schemas/PassTypeAppleDateInformation"},"identifier":{"type":["null","string"],"description":"Required. Unique identifier of the upcoming pass information entry."},"images":{"description":"A collection of image names used to populate images in the details view.","$ref":"#/components/schemas/PassTypeAppleImages"},"isActive":{"type":["null","string"],"description":"Indicates whether the upcoming pass information entry is currently active. The default value is false."},"name":{"type":["null","string"],"description":"(Required) The name of the upcoming pass information entry. A Liquid template, not a translatable string: one value for every language."},"semantics":{"description":"The semantic, machine-readable metadata about the upcoming pass information entry.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"type":{"type":["null","string"],"description":"(Required) The type of upcoming pass information entry. Value: event."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleActionLinks":{"type":"object","properties":{"accessibilityURL":{"type":["null","string"],"description":"A URL that links to your accessiblity content, or the venue's. Poster event tickets only."},"addOnURL":{"type":["null","string"],"description":"A URL that can link to experiences that someone can add to the pass. Poster event tickets only."},"bagPolicyURL":{"type":["null","string"],"description":"A URL that links to the bag policy of the venue for the event that the pass represents. Poster event tickets only."},"contactVenueEmail":{"type":["null","string"],"description":"The preferred email address to contact the venue, event, or issuer. Poster event tickets only."},"contactVenuePhoneNumber":{"type":["null","string"],"description":"The phone number for contacting the venue, event, or issuer. Poster event tickets only."},"contactVenueWebsite":{"type":["null","string"],"description":"A URL that links to the website of the venue, event, or issuer. Poster event tickets only."},"directionsInformationURL":{"type":["null","string"],"description":"A URL that links to directions for the event. Poster event tickets only."},"merchandiseURL":{"type":["null","string"],"description":"A URL that links to a site for ordering merchandise for the event that the pass represents. Poster event tickets only."},"orderFoodURL":{"type":["null","string"],"description":"A URL that links to the food ordering page for the event that the pass represents. Poster event tickets only."},"parkingInformationURL":{"type":["null","string"],"description":"A URL that links to parking information for the event that the pass represents. Poster event tickets only."},"purchaseParkingURL":{"type":["null","string"],"description":"A URL that links to a site to purchase parking for the event that the pass represents. Poster event tickets only."},"sellURL":{"type":["null","string"],"description":"A URL that links to the selling flow for the ticket the pass represents. Poster event tickets only."},"transferURL":{"type":["null","string"],"description":"A URL that links to the transferring flow for the ticket that the pass represents. Poster event tickets only."},"managementURL":{"type":["null","string"],"description":"A URL that links to the site for managing the ticket that the pass represents."},"transitInformationURL":{"type":["null","string"],"description":"A URL that links to information about transit options in the area of the event that the pass represents. Poster event tickets only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleField":{"type":"object","properties":{"changeMessage":{"description":"Alert text shown when the pass is updated, containing `%@` for the field's new value (for example <c>Gate\nchanged to %@.</c>). Without it, the user is not notified of changes.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"Kind of field. One of: number, date. Omitted for a plain text field."},"key":{"type":["null","string"],"description":"The key must be unique within the scope of the entire pass. For example, 'departure-gate.'."},"label":{"description":"Label text for the field.","$ref":"#/components/schemas/PassTypeLocalizedString"},"textAlignment":{"type":["null","string"],"description":"Text alignment for the field. One of: left, center, right, natural."},"currencyCode":{"type":["null","string"],"description":"ISO 4217 currency code for a number field. When set, Apple Wallet formats the value as a currency and ignores `numberStyle`."},"numberStyle":{"type":["null","string"],"description":"Number style for a number field. One of: decimal, percent, scientific, spellOut."},"dateStyle":{"type":["null","string"],"description":"Date part style for a date field. One of: none, short, medium, long, full."},"timeStyle":{"type":["null","string"],"description":"Time part style for a date field. One of: none, short, medium, long, full."},"isRelative":{"type":["null","boolean"],"description":"Show the date field as a relative value such as \"tomorrow\" when a date or time style is set."},"ignoresTimeZone":{"type":["null","boolean"],"description":"Keep the value's own time zone for a date field when a date or time style is set."},"automaticallyDetectDataDetectorTypes":{"type":["null","boolean"],"description":"Whether iOS turns phone numbers, links, addresses and dates found in the value into tappable links. Omitted, it\ndoes; `false` shows the value as plain text. Applies to a field with no `type`."},"value":{"description":"Value of the field, for example 42. May contain HTML links: only the <a> tag and its href attribute are supported.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Information about a field."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeAppleDateInformation":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The start date of the upcoming pass information entry. If omitted, the entry lists the Time and Date as TBD."},"ignoreTimeComponents":{"type":["null","boolean"],"description":"Indicates whether the entry should ignore the time components of the date."},"isAllDay":{"type":["null","boolean"],"description":"Indicates whether the entry spans the entire day and that the time components should be ignored."},"isUnannounced":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been announced (commonly referred to as TBA)."},"isUndetermined":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been determined (commonly referred to as TBD)."},"timeZone":{"type":["null","string"],"description":"The time zone to adjust the date into. If omitted, the entry uses the current time zone of the device."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleImages":{"type":"object","properties":{"headerImage":{"description":"The name of the image file used for the header image on the details screen. This can be a remote asset.","$ref":"#/components/schemas/PassTypeAppleImage"},"venueMap":{"description":"The name of the image file used for the venue map in the event guide for each upcoming pass information entry.\nThis can be a remote asset and is available for event entries.","$ref":"#/components/schemas/PassTypeAppleImage"}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster background image (artwork.png) for poster event tickets (iOS 18+) and poster generic passes (iOS 27+).\nSetting it on a generic pass activates the posterGeneric layout, on an event ticket posterEventTicket. Falls\nback to the strip image on older devices. Covers the poster card, whose size depends on the iPhone (370x503 pt\non a 402 pt wide iPhone): Wallet scales it to cover the card, centred horizontally, top-aligned on event\ntickets and centred on poster generic passes and store cards."},"background":{"type":["null","string"],"description":"Blurred background (background.png) behind the front of non-poster event tickets, 343 x 503 points. Poster layouts use ArtWork instead."},"footer":{"type":["null","string"],"description":"The image displayed on the front of the pass near the barcode. The allotted space is 858 x 45 points."},"icon":{"type":["null","string"],"description":"The pass's icon, shown in notifications, emails with a pass attached and on the lock screen with a shine effect and rounded corners. 87 x 87 points."},"logo":{"type":["null","string"],"description":"Image at the top left of the front, in a 480 x 150 points space; usually narrower."},"primaryLogo":{"type":["null","string"],"description":"Top-left logo for poster layouts (posterGeneric iOS 27+ and posterEventTicket iOS 18+). Fitted into 126x36 pt (posterEventTicket draws it at most 126x30 pt)."},"reuseExisting":{"type":["null","boolean"],"description":"For an upcoming event's header image or venue map: reuse the image the pass already carries rather than download one. `urls` takes precedence when set."},"secondaryLogo":{"type":["null","string"],"description":"Logo image that is displayed on bottom right footer inset of the pass. Ticket issuer or event company logo 135x12 pts."},"stampImages":{"type":["null","array"],"items":{"description":"The Apple images a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeAppleStampImage"},"description":"Per-stamp-count overrides of `Strip` and `ArtWork`, for a stamp card."},"strip":{"type":["null","string"],"description":"Image behind the primary fields: 1125 x 296 points for event tickets, 1125 x 432 for gift cards and coupons,\n1125 x 369 otherwise. Older hardware: 960 x 252, 960 x 330 (square barcode on 3.5 inch screens) or 960 x 369."},"thumbnail":{"type":["null","string"],"description":"Additional image on the front, such as a cardholder picture, 270 x 270 points. Aspect ratio between 2:3 and 3:2, otherwise cropped."},"urls":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleImageUrl"},"description":"For an upcoming event's header image or venue map: the remote copies of the image the device downloads."},"venueMap":{"type":["null","string"],"description":"Issuer-provided static map of the venue, which will be shown in the event guide."}},"additionalProperties":false,"description":"Image configuration for the pass"},"PassTypeAppleStampImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster artwork, used only when the template enables the poster layout."},"count":{"type":["null","integer"],"description":"The stamp count these images are shown at.","format":"int32"},"strip":{"type":["null","string"],"description":"Strip image for the classic store-card layout."}},"additionalProperties":false,"description":"The Apple images a stamp card shows at one exact stamp count."},"PassTypeAppleImageUrl":{"type":"object","properties":{"scale":{"type":["null","number"],"description":"The scale of the image. If unspecified, defaults to 1.","format":"double"},"sha256":{"type":["null","string"],"description":"(Required) The SHA256 hash of the image."},"size":{"type":["null","string"],"description":"Size of the image asset in bytes. The maximum allowed size is 2 megabytes."},"url":{"type":["null","string"],"description":"URL of the image to download. Required; https only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleSemantics":{"type":"object","properties":{"additionalTicketAttributes":{"type":["null","string"],"description":"Additional ticket attributes that other tags or keys in the pass don't include."},"admissionLevel":{"type":["null","string"],"description":"The level of admission the ticket provides, such as general admission, VIP, and so forth."},"admissionLevelAbbreviation":{"type":["null","string"],"description":"An abbreviation of the level of admission the ticket provides, such as GA or VIP."},"albumIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each album corresponding to the event, in decreasing order of significance."},"artistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each artist performing at the event, in decreasing order of significance."},"attendeeName":{"type":["null","string"],"description":"The name of the person the ticket grants admission to."},"awayTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the away team's name. Use this key only for a sports event ticket."},"awayTeamLocation":{"type":["null","string"],"description":"The home location of the away team. Use this key only for a sports event ticket."},"awayTeamName":{"type":["null","string"],"description":"The name of the away team. Use this key only for a sports event ticket."},"balance":{"description":"The current balance redeemable with the pass. Use this key only for a store card pass.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"duration":{"type":["null","string"],"description":"The duration of the event or transit journey, in seconds. Sent as a string: whole seconds or a Liquid template."},"entranceDescription":{"type":["null","string"],"description":"The long description of the entrance information."},"eventLiveMessage":{"type":["null","string"],"description":"The message Wallet shows in the Lock Screen Live Activity when the event starts."},"eventEndDate":{"type":["null","string"],"description":"The date and time the event ends. ISO 8601 date as string."},"eventName":{"description":"The full name of the event, such as the title of a movie.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventStartDate":{"type":["null","string"],"description":"The date and time the event starts. ISO 8601 date as string."},"eventStartDateInfo":{"description":"An object that provides information for the date and time the event starts. See SemanticTagType.EventDateInfo (iOS 18.0+).","$ref":"#/components/schemas/PassTypeAppleEventDateInfoValue"},"eventType":{"type":["null","string"],"description":"Type of event: PKEventTypeGeneric, PKEventTypeLivePerformance, PKEventTypeMovie, PKEventTypeSports,\nPKEventTypeConference, PKEventTypeConvention, PKEventTypeWorkshop or PKEventTypeSocialGathering."},"genre":{"type":["null","string"],"description":"The genre of the performance, such as classical."},"homeTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the home team's name. Use this key only for a sports event ticket."},"homeTeamLocation":{"type":["null","string"],"description":"The home location of the home team. Use this key only for a sports event ticket."},"homeTeamName":{"type":["null","string"],"description":"The name of the home team. Use this key only for a sports event ticket."},"leagueAbbreviation":{"type":["null","string"],"description":"The abbreviated league name for a sports event. Use this key only for a sports event ticket."},"leagueName":{"type":["null","string"],"description":"The unabbreviated league name for a sports event. Use this key only for a sports event ticket."},"performerNames":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the full names of the performers and opening acts at the event, in decreasing order of significance."},"playlistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each playlist corresponding to the event, in decreasing order of significance."},"seats":{"type":["null","array"],"items":{"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat.","$ref":"#/components/schemas/PassTypeAppleSeat"},"description":"An array of objects that represent the details for each seat at an event or on a transit journey. See SemanticTagType.Seat."},"silenceRequested":{"type":["null","string"],"description":"Whether the person's device stays silent during an event or transit journey (the system may override the\nperiod). Sent as a string: `true`, `false` or a Liquid template."},"sportName":{"type":["null","string"],"description":"The commonly used name of the sport. Use this key only for a sports event ticket."},"tailgatingAllowed":{"type":["null","string"],"description":"A Boolean value that indicates whether tailgating is allowed at the event. Sent as a string: `true`, `false` or a Liquid template."},"totalPrice":{"description":"The total price for the pass. Use this key for any pass type.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"venueBoxOfficeOpenDate":{"type":["null","string"],"description":"The date when the box office opens (ISO 8601)."},"venueCloseDate":{"type":["null","string"],"description":"The date when the venue closes (ISO 8601)."},"venueDoorsOpenDate":{"type":["null","string"],"description":"The date the doors to the venue open (ISO 8601)."},"venueEntrance":{"type":["null","string"],"description":"The full name of the entrance, such as Gate A, to use to gain access to the ticketed event."},"venueEntranceDoor":{"type":["null","string"],"description":"The venue entrance door."},"venueEntranceGate":{"type":["null","string"],"description":"The venue entrance gate."},"venueEntrancePortal":{"type":["null","string"],"description":"The venue entrance portal."},"venueFanZoneOpenDate":{"type":["null","string"],"description":"The date the fan zone opens (ISO 8601)."},"venueGatesOpenDate":{"type":["null","string"],"description":"The date the gates to the venue open (ISO 8601)."},"venueLocation":{"description":"An object that represents the geographic coordinates of the venue. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"venueName":{"type":["null","string"],"description":"The full name of the venue."},"venueOpenDate":{"type":["null","string"],"description":"The date when the venue opens (ISO 8601). Use this if none of the more specific venue open tags apply."},"venueParkingLotsOpenDate":{"type":["null","string"],"description":"The date the parking lots open (ISO 8601)."},"venuePhoneNumber":{"type":["null","string"],"description":"The phone number for inquiries about the venue's ticketed event."},"venueRegionName":{"type":["null","string"],"description":"The name of the city or hosting region of the venue."},"venueRoom":{"type":["null","string"],"description":"The full name of the room where the ticketed event is to take place."},"wifiAccess":{"type":["null","array"],"items":{"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork.","$ref":"#/components/schemas/PassTypeAppleWifiNetwork"},"description":"Wi-Fi networks associated with the event, such as the network name and password of a conference. See SemanticTagType.WifiNetwork."}},"additionalProperties":false,"description":"Apple Wallet semantic tags of the pass, as documented in Apple's SemanticTags specification."},"PassTypeAppleCurrencyAmount":{"type":"object","properties":{"amount":{"type":["null","string"],"description":"Amount in currency units."},"currencyCode":{"type":["null","string"],"description":"Three-letter currency code (ISO 4217), e.g., \"USD\"."}},"additionalProperties":false,"description":"An amount of money and its currency. See SemanticTagType.CurrencyAmount."},"PassTypeAppleEventDateInfoValue":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The date (ISO 8601 date as string)."},"ignoreTimeComponents":{"type":["null","string"],"description":"A Boolean value that indicates whether the system ignores the time components of the date. Sent as a string: `true`, `false` or a Liquid template."},"timeZone":{"type":["null","string"],"description":"The time zone to display in the date. Uses IANA time zone database identifiers (e.g. \"America/Los_Angeles\")."},"unannounced":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is announced. Sent as a string: `true`, `false` or a Liquid template."},"undetermined":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is determined. Sent as a string: `true`, `false` or a Liquid template."}},"additionalProperties":false,"description":"Date and time of an event. See SemanticTagType.EventDateInfo (iOS 18+)."},"PassTypeAppleSeat":{"type":"object","properties":{"seatAisle":{"type":["null","string"],"description":"The aisle that contains the seat."},"seatDescription":{"type":["null","string"],"description":"A description of the seat, such as 'A flat bed seat'."},"seatIdentifier":{"type":["null","string"],"description":"The identifier code for the seat."},"seatLevel":{"type":["null","string"],"description":"The level that contains the seat."},"seatNumber":{"type":["null","string"],"description":"The number of the seat."},"seatRow":{"type":["null","string"],"description":"The row that contains the seat."},"seatSection":{"type":["null","string"],"description":"The section that contains the seat."},"seatSectionColor":{"type":["null","string"],"description":"A color associated with identifying the seat, specified as a CSS-style RGB triple, such as rgb(23, 187, 82)."},"seatType":{"type":["null","string"],"description":"The type of seat, such as 'Reserved seating'."}},"additionalProperties":false,"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat."},"PassTypeLocation":{"type":"object","properties":{"latitude":{"type":["null","string"],"description":"Latitude in degrees."},"longitude":{"type":["null","string"],"description":"Longitude in degrees."}},"additionalProperties":false,"description":"An object that represents the coordinates of a location. See SemanticTagType.Location."},"PassTypeAppleWifiNetwork":{"type":"object","properties":{"password":{"type":["null","string"],"description":"Wi-Fi password (if any)."},"ssid":{"type":["null","string"],"description":"Wi-Fi SSID (network name)."}},"additionalProperties":false,"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork."}}}}
```

## The PassTypeAppleWifiNetwork object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeAppleWifiNetwork":{"type":"object","properties":{"password":{"type":["null","string"],"description":"Wi-Fi password (if any)."},"ssid":{"type":["null","string"],"description":"Wi-Fi SSID (network name)."}},"additionalProperties":false,"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork."}}}}
```

## The PassTypeDataIdentifier object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeDataIdentifier":{"type":"object","properties":{"key":{"type":"string","description":"The identifier key as a pass carries it, e.g. `y2.customerId`."},"usedBy":{"type":"array","items":{"type":"string"},"description":"The names of the providers that read it."},"optional":{"type":"boolean","description":"Whether a pass can do without it: true only when every provider reading it can find its data without it."},"requiresSignature":{"type":"boolean","description":"Whether a request naming it has to carry a signature or a secret: false only when every provider reading it says a value of it cannot be guessed."}},"additionalProperties":false,"description":"A pass identifier, with the providers that read it."}}}}
```

## The PassTypeDataProvider object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeDataProvider":{"type":"object","properties":{"name":{"type":"string","description":"The provider's name: a platform provider (`theme`), a provider listed in `dataProviders` (`cegid.y2.loyalty`), or `script.{scriptId}` for a tenant script."},"kind":{"description":"Whether it runs for every pass type or as one of the pass type's data providers.","$ref":"#/components/schemas/PassDataProviderKind"},"description":{"type":"string","description":"What it provides, and when it provides nothing. The admin words it from its own texts, keyed by Name."},"identifiers":{"type":"array","items":{"description":"A pass identifier a provider reads.","$ref":"#/components/schemas/PassDataIdentifier"},"description":"The pass identifiers it can find its data from; any one is enough."},"fields":{"type":"array","items":{"description":"A template variable a provider writes.","$ref":"#/components/schemas/PassDataField"},"description":"The template variables it declares."},"namespace":{"type":["null","string"],"description":"The namespace its keys are also published under; null when it has none."}},"additionalProperties":false,"description":"One pass data provider, as Neo.Runtime.PassDataProviders.IPassDataProviderDescriptor describes it."},"PassDataProviderKind":{"enum":["platform","customerProvider"],"type":"string"},"PassDataIdentifier":{"type":"object","properties":{"key":{"type":"string","description":"The identifier key as a pass carries it, e.g. `y2.customerId`; templates read it as `id.y2.customerId`."},"optional":{"type":"boolean","description":"Whether the provider can find its data without it, so a pass does not need to carry it."},"requiresSignature":{"type":"boolean","description":"Whether a request naming this identifier has to prove it may, with a signature or a secret. false\nonly for a value nobody can guess, such as a random token. The platform picks the mechanism; a tenant can also waive\nit for a key in `pass.allowedUnsignedIdentifiers`."}},"additionalProperties":false,"description":"A pass identifier a provider reads."},"PassDataField":{"type":"object","properties":{"path":{"type":"string","description":"The variable as a template reads it, e.g. `loyalty.points`. A part in braces stands for a set of\nnames, e.g. `additionalData.{key}`."},"type":{"description":"The value's type.","$ref":"#/components/schemas/PassDataFieldType"},"items":{"type":["null","array"],"items":{"description":"A template variable a provider writes.","$ref":"#/components/schemas/PassDataField"},"description":"For an Neo.Runtime.PassDataProviders.PassDataFieldType.Array, the fields of each item, paths relative to the item."},"role":{"type":["null","string"],"description":"What the value means to the platform, one of Neo.Runtime.PassDataProviders.PassDataRole; null when it means nothing to it."},"description":{"type":["null","string"],"description":"What the value holds, for a field its provider words itself (a tenant script); the admin words the other providers' fields from its own texts."}},"additionalProperties":false,"description":"A template variable a provider writes."},"PassDataFieldType":{"enum":["string","number","boolean","datetime","object","array"],"type":"string"}}}}
```

## The PassTypeDataProviderEntry object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeDataProviderEntry":{"type":"object","properties":{"provider":{"type":["null","string"],"description":"The data provider, as the data schema lists it (`cegid.y2.loyalty`), or `script` for a tenant script."},"scriptId":{"type":["null","string"],"description":"For a tenant script, its id."}},"additionalProperties":false,"description":"A provider a template's passes read pass data from."}}}}
```

## The PassTypeDataSchema object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeDataSchema":{"type":"object","properties":{"identifiers":{"type":"array","items":{"description":"A pass identifier, with the providers that read it.","$ref":"#/components/schemas/PassTypeDataIdentifier"},"description":"Every pass identifier a provider reads, once, in the order the providers list them."},"providers":{"type":"array","items":{"description":"One pass data provider, as Neo.Runtime.PassDataProviders.IPassDataProviderDescriptor describes it.","$ref":"#/components/schemas/PassTypeDataProvider"},"description":"The platform providers, then the pass type's `dataProviders` in their configured order."},"available":{"type":"array","items":{"description":"One pass data provider, as Neo.Runtime.PassDataProviders.IPassDataProviderDescriptor describes it.","$ref":"#/components/schemas/PassTypeDataProvider"},"description":"The providers the pass type can list as a `provider` of its `dataProviders`: the platform's, those of\nthe tenant's enabled extensions, and those it already lists. A tenant script is listed as `script` with\nits `scriptId`."},"availableScripts":{"type":"array","items":{"description":"A tenant script a pass type can list as a data provider.","$ref":"#/components/schemas/PassTypeDataScript"},"description":"The tenant scripts the pass type can list as `script` with their `scriptId`: every script\nregistering a customer provider, in script id order. Empty when the tenant scripts cannot be loaded."}},"additionalProperties":false,"description":"The data a pass of a pass type carries for its templates: every provider that runs, the variables each\nwrites, and the pass identifiers they read."},"PassTypeDataIdentifier":{"type":"object","properties":{"key":{"type":"string","description":"The identifier key as a pass carries it, e.g. `y2.customerId`."},"usedBy":{"type":"array","items":{"type":"string"},"description":"The names of the providers that read it."},"optional":{"type":"boolean","description":"Whether a pass can do without it: true only when every provider reading it can find its data without it."},"requiresSignature":{"type":"boolean","description":"Whether a request naming it has to carry a signature or a secret: false only when every provider reading it says a value of it cannot be guessed."}},"additionalProperties":false,"description":"A pass identifier, with the providers that read it."},"PassTypeDataProvider":{"type":"object","properties":{"name":{"type":"string","description":"The provider's name: a platform provider (`theme`), a provider listed in `dataProviders` (`cegid.y2.loyalty`), or `script.{scriptId}` for a tenant script."},"kind":{"description":"Whether it runs for every pass type or as one of the pass type's data providers.","$ref":"#/components/schemas/PassDataProviderKind"},"description":{"type":"string","description":"What it provides, and when it provides nothing. The admin words it from its own texts, keyed by Name."},"identifiers":{"type":"array","items":{"description":"A pass identifier a provider reads.","$ref":"#/components/schemas/PassDataIdentifier"},"description":"The pass identifiers it can find its data from; any one is enough."},"fields":{"type":"array","items":{"description":"A template variable a provider writes.","$ref":"#/components/schemas/PassDataField"},"description":"The template variables it declares."},"namespace":{"type":["null","string"],"description":"The namespace its keys are also published under; null when it has none."}},"additionalProperties":false,"description":"One pass data provider, as Neo.Runtime.PassDataProviders.IPassDataProviderDescriptor describes it."},"PassDataProviderKind":{"enum":["platform","customerProvider"],"type":"string"},"PassDataIdentifier":{"type":"object","properties":{"key":{"type":"string","description":"The identifier key as a pass carries it, e.g. `y2.customerId`; templates read it as `id.y2.customerId`."},"optional":{"type":"boolean","description":"Whether the provider can find its data without it, so a pass does not need to carry it."},"requiresSignature":{"type":"boolean","description":"Whether a request naming this identifier has to prove it may, with a signature or a secret. false\nonly for a value nobody can guess, such as a random token. The platform picks the mechanism; a tenant can also waive\nit for a key in `pass.allowedUnsignedIdentifiers`."}},"additionalProperties":false,"description":"A pass identifier a provider reads."},"PassDataField":{"type":"object","properties":{"path":{"type":"string","description":"The variable as a template reads it, e.g. `loyalty.points`. A part in braces stands for a set of\nnames, e.g. `additionalData.{key}`."},"type":{"description":"The value's type.","$ref":"#/components/schemas/PassDataFieldType"},"items":{"type":["null","array"],"items":{"description":"A template variable a provider writes.","$ref":"#/components/schemas/PassDataField"},"description":"For an Neo.Runtime.PassDataProviders.PassDataFieldType.Array, the fields of each item, paths relative to the item."},"role":{"type":["null","string"],"description":"What the value means to the platform, one of Neo.Runtime.PassDataProviders.PassDataRole; null when it means nothing to it."},"description":{"type":["null","string"],"description":"What the value holds, for a field its provider words itself (a tenant script); the admin words the other providers' fields from its own texts."}},"additionalProperties":false,"description":"A template variable a provider writes."},"PassDataFieldType":{"enum":["string","number","boolean","datetime","object","array"],"type":"string"},"PassTypeDataScript":{"type":"object","properties":{"scriptId":{"type":"string","description":"The `scriptId` of the entry that runs it."},"namespace":{"type":"string","description":"The namespace its keys are also published under."}},"additionalProperties":false,"description":"A tenant script a pass type can list as a data provider."}}}}
```

## The PassTypeDataScript object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeDataScript":{"type":"object","properties":{"scriptId":{"type":"string","description":"The `scriptId` of the entry that runs it."},"namespace":{"type":"string","description":"The namespace its keys are also published under."}},"additionalProperties":false,"description":"A tenant script a pass type can list as a data provider."}}}}
```

## The PassTypeDetail object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeDetail":{"required":["configuration","languages","name"],"type":"object","properties":{"name":{"type":"string","description":"Name of the template, unique within the tenant."},"configuration":{"description":"The template itself, with every translatable value carrying its wording.","$ref":"#/components/schemas/PassTypeModel"},"languages":{"type":"array","items":{"type":"string"},"description":"Languages this template has wording in, as language codes."}},"additionalProperties":false,"description":"One pass template in full."},"PassTypeModel":{"type":"object","properties":{"kind":{"description":"Which of the six templates this is. Cannot be changed after creation.","$ref":"#/components/schemas/PassTypeKind"},"tags":{"type":["null","array"],"items":{"type":"string"},"description":"Free-form admin console labels. Nothing here reaches the holder."},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the template was created. Set by the platform; ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the template was last saved. Set by the platform on every save; ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"passLayoutName":{"type":["null","string"],"description":"Download page the template's passes are presented from, by name. Omitted, `pass`. Must name an existing download page."},"trackLinks":{"type":["null","boolean"],"description":"Whether links on the pass go through a tracking redirect so opens can be counted. Omitted, links are tracked."},"optimizeImages":{"type":["null","boolean"],"description":"Whether images are optimized when a pass is built. Omitted, they are. Images uploaded through the template image endpoint are always optimized on upload."},"dataProviders":{"type":["null","array"],"items":{"description":"A provider a template's passes read pass data from.","$ref":"#/components/schemas/PassTypeDataProviderEntry"},"description":"Where the template's passes read the data their templates use. Empty, nowhere. Omitted on a save, a stored\ntemplate keeps the data providers it has, and a new one has none."},"notification":{"description":"How long a message sent to the template's passes stays displayed on them.","$ref":"#/components/schemas/PassTypeNotification"},"previewData":{"type":["null","array"],"items":{"description":"One named set of values a template is previewed against.","$ref":"#/components/schemas/PassTypePreviewData"},"description":"Named sets of sample values the editor renders the template's Liquid against, so a preview shows\nwords rather than expressions."},"extensions":{"description":"The two wallets and the sections that configure neither of them on its own.","$ref":"#/components/schemas/PassTypeExtensions"}},"additionalProperties":false,"description":"Everything a pass template configures."},"PassTypeKind":{"enum":["customerCard","eventTicket","giftCard","offer","generic","stampCard"],"type":"string","description":"Which of the six templates a pass type is. Fixed when it is created."},"PassTypeDataProviderEntry":{"type":"object","properties":{"provider":{"type":["null","string"],"description":"The data provider, as the data schema lists it (`cegid.y2.loyalty`), or `script` for a tenant script."},"scriptId":{"type":["null","string"],"description":"For a tenant script, its id."}},"additionalProperties":false,"description":"A provider a template's passes read pass data from."},"PassTypeNotification":{"type":"object","properties":{"duration":{"type":["null","string"],"description":"How long a message stays on a pass of this template, as a .NET `TimeSpan` (`d.hh:mm:ss`, `7.00:00:00` for a week). Omitted, 7 days; always present on read."}},"additionalProperties":false,"description":"How long a message sent to the template's passes stays displayed on them."},"PassTypePreviewData":{"type":"object","properties":{"name":{"type":["null","string"],"description":"What the editor calls this set, such as `Gold member`. Unique within the template."},"type":{"description":"Whether the values are written here (`custom`) or come from an issued pass (`real`).","$ref":"#/components/schemas/PassTypePreviewDataType"},"isDefault":{"type":"boolean","description":"Whether the editor previews this set first, `custom` or `real`. Only one set can be. Omitted,\nthe first `custom` set is."},"data":{"type":["null","object"],"description":"The values of a `custom` set. Free-form: the keys are whatever the tenant's own passes carry. Absent\non a `real` set."},"passId":{"type":["null","string"],"description":"The identifier of the issued pass a `real` set previews. Absent on a `custom` set."}},"additionalProperties":false,"description":"One named set of values a template is previewed against."},"PassTypePreviewDataType":{"enum":["custom","real"],"type":"string","description":"Where a preview data set takes its values from."},"PassTypeExtensions":{"type":"object","properties":{"apple":{"description":"The Apple Wallet pass. Configured the same way whatever the kind.","$ref":"#/components/schemas/PassTypeApple"},"google":{"description":"The Google Wallet card. Each kind accepts only the properties it declares — every property that is\nnot common to all six says which kinds it applies to.","$ref":"#/components/schemas/PassTypeGoogle"},"preview":{"description":"How an issued pass of this template is summarised in the admin console.","$ref":"#/components/schemas/PassTypePreview"},"scannableData":{"description":"What a scanner reads off an issued pass.","$ref":"#/components/schemas/PassTypeScannableData"},"stamps":{"description":"The stamp mechanic. Only a `stampCard` has one.","$ref":"#/components/schemas/PassTypeStamps"},"metadata":{"description":"Values computed whenever a pass is updated, which issued passes can then be searched and filtered\nby. Nothing here is shown to the holder.","$ref":"#/components/schemas/PassTypeMetadata"}},"additionalProperties":false,"description":"The two wallets and the sections that configure neither of them on its own."},"PassTypeApple":{"type":"object","properties":{"actionLinks":{"description":"Configuration for action links associated with the pass.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the Additional Info section below the pass content. Used for poster event ticket passes (iOS 18+)."},"appLaunchUrl":{"type":["null","string"],"description":"URL passed to the associated app at launch (from associatedStoreIdentifiers). Not supported on watchOS."},"associatedStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"App Store identifiers of apps associated with the pass; the first one compatible with the device is used, with a\nlink on the back of the pass (it opens the App Store when the app is not installed). Payment passes only; not\nsupported on watchOS."},"auxiliaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Additional fields to be displayed on the front of the pass."},"auxiliaryStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"Additional App Store identifiers of associated apps, linked in the event guide. Poster event tickets only; not supported on watchOS."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be on the back of the pass."},"backgroundColor":{"type":["null","string"],"description":"Background color of the pass, specified as an CSS-style RGB triple."},"barCodeAlternateText":{"type":["null","string"],"description":"Text displayed near the barcode, such as a human-readable version of its data. A Liquid template, not a translatable string."},"barCodeFormat":{"type":["null","string"],"description":"Bar code format. One of: qr, pdf417, aztec, code128, code39, codabar, ean13, i2of5. code39, codabar, ean13 and\ni2of5 need iOS 27; the pass also carries a QR code of the same value for older devices. No bar code is drawn\nwhen `barCodeValue` renders empty."},"barCodeValue":{"type":["null","string"],"description":"Bar code field value (ex: `id.y2.customerId`)."},"beacons":{"type":["null","array"],"items":{"description":"Configuration for a beacon device","$ref":"#/components/schemas/PassTypeAppleBeacon"},"description":"Beacons marking locations where the pass is relevant. At most 10."},"description":{"description":"A simple description of the pass","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventLogoText":{"description":"Text next to the logo on poster event tickets; takes precedence over `logoText`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expirationDate":{"type":["null","string"],"description":"Date and time when the pass expires, with hours and minutes and optional seconds."},"featuredActions":{"type":["null","array"],"items":{"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination.","$ref":"#/components/schemas/PassTypeAppleFeaturedAction"},"description":"Featured actions displayed below the pass in Wallet (iOS 27+). Maximum 2 entries."},"footerBackgroundColor":{"type":["null","string"],"description":"Background color of the footer, as a CSS-style RGB triple such as rgb(100, 10, 110). Poster event tickets only."},"footerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the footer of the pass (iOS 27+). Only the posterGeneric style has them: a customer card or stamp card with the poster layout, or a generic pass with artwork. Event tickets, gift cards and offers ignore them."},"foregroundColor":{"type":["null","string"],"description":"Foreground color of the pass, specified as a CSS-style RGB triple."},"groupingIdentifier":{"type":["null","string"],"description":"Identifier grouping related passes (same groupingIdentifier, passTypeIdentifier and type), such as boarding passes for connections on one trip."},"headerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the header on the front of the pass. Use sparingly: unlike other fields, they stay visible in a stack of passes."},"images":{"description":"Configuration of image for this pass.","$ref":"#/components/schemas/PassTypeAppleImage"},"labelColor":{"type":["null","string"],"description":"Color of the label text, specified as a CSS-style RGB triple."},"locations":{"type":["null","array"],"items":{"description":"Configuration for a location","$ref":"#/components/schemas/PassTypeAppleLocation"},"description":"Locations where the pass is relevant, such as a store. At most 10."},"logoText":{"description":"Text displayed next to the logo on the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"maxDistance":{"type":["null","integer"],"description":"Maximum distance in meters from a relevant location at which the pass is relevant; the smaller of this and the pass's default distance is used.","format":"int32"},"nfc":{"description":"NFC-enabled pass keys support sending reward card information as part of an Apple Pay transaction.","$ref":"#/components/schemas/PassTypeAppleNfc"},"organizationName":{"type":["null","string"],"description":"Display name of the organization that originated and signed the pass."},"primaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed prominently on the front of the pass."},"relevantDate":{"type":["null","string"],"description":"Date and time when the pass becomes relevant, such as a movie's start, with hours and minutes and optional seconds. Recommended for event tickets and boarding passes."},"relevantDates":{"type":["null","array"],"items":{"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one.","$ref":"#/components/schemas/PassTypeAppleRelevantDate"},"description":"An array of date intervals during which the pass is relevant. Supersedes `RelevantDate` when non-empty."},"secondaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed on the front of the pass."},"semantics":{"description":"Semantics configuration for the pass.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"sharing":{"description":"What the Share button of the pass sends. Omitted, a link to the install page of the pass.","$ref":"#/components/schemas/PassTypeAppleSharing"},"summaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Up to three values displayed below the barcode on the poster generic layout (iOS 27+). Edited separately from `PrimaryFields`, which stays classic-only."},"suppressHeaderDarkening":{"type":["null","boolean"],"description":"Whether to display the header darkening gradient. Default false. Poster event tickets only."},"suppressStripShine":{"type":["null","boolean"],"description":"A Boolean value that controls whether to display the strip image without a shine effect. The default value is true."},"type":{"type":["null","string"],"description":"Type of pass. One of: generic, boardingPass, coupon, eventTicket, storeCard."},"upcomingPassInformation":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleUpcomingPassInformation"},"description":"Further events the ticket admits to, each shown as its own entry in the event guide."},"useAutomaticColors":{"type":["null","boolean"],"description":"Whether Wallet computes the foreground and label colors from the background image, ignoring `foregroundColor` and `labelColor`. Poster event tickets only."},"usePosterLayout":{"type":["null","boolean"],"description":"When true, a customer card pass uses the iOS 27+ poster generic layout instead of the standard store card layout."},"voided":{"type":["null","string"],"description":"Indicates the pass is void, such as a redeemed one-time coupon."}},"additionalProperties":false,"description":"Configuration of an Apple pass. See [Apple's PassKit bundle\nreference](https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/TopLevel.html)."},"PassTypeAppleActionLinks":{"type":"object","properties":{"accessibilityURL":{"type":["null","string"],"description":"A URL that links to your accessiblity content, or the venue's. Poster event tickets only."},"addOnURL":{"type":["null","string"],"description":"A URL that can link to experiences that someone can add to the pass. Poster event tickets only."},"bagPolicyURL":{"type":["null","string"],"description":"A URL that links to the bag policy of the venue for the event that the pass represents. Poster event tickets only."},"contactVenueEmail":{"type":["null","string"],"description":"The preferred email address to contact the venue, event, or issuer. Poster event tickets only."},"contactVenuePhoneNumber":{"type":["null","string"],"description":"The phone number for contacting the venue, event, or issuer. Poster event tickets only."},"contactVenueWebsite":{"type":["null","string"],"description":"A URL that links to the website of the venue, event, or issuer. Poster event tickets only."},"directionsInformationURL":{"type":["null","string"],"description":"A URL that links to directions for the event. Poster event tickets only."},"merchandiseURL":{"type":["null","string"],"description":"A URL that links to a site for ordering merchandise for the event that the pass represents. Poster event tickets only."},"orderFoodURL":{"type":["null","string"],"description":"A URL that links to the food ordering page for the event that the pass represents. Poster event tickets only."},"parkingInformationURL":{"type":["null","string"],"description":"A URL that links to parking information for the event that the pass represents. Poster event tickets only."},"purchaseParkingURL":{"type":["null","string"],"description":"A URL that links to a site to purchase parking for the event that the pass represents. Poster event tickets only."},"sellURL":{"type":["null","string"],"description":"A URL that links to the selling flow for the ticket the pass represents. Poster event tickets only."},"transferURL":{"type":["null","string"],"description":"A URL that links to the transferring flow for the ticket that the pass represents. Poster event tickets only."},"managementURL":{"type":["null","string"],"description":"A URL that links to the site for managing the ticket that the pass represents."},"transitInformationURL":{"type":["null","string"],"description":"A URL that links to information about transit options in the area of the event that the pass represents. Poster event tickets only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleField":{"type":"object","properties":{"changeMessage":{"description":"Alert text shown when the pass is updated, containing `%@` for the field's new value (for example <c>Gate\nchanged to %@.</c>). Without it, the user is not notified of changes.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"Kind of field. One of: number, date. Omitted for a plain text field."},"key":{"type":["null","string"],"description":"The key must be unique within the scope of the entire pass. For example, 'departure-gate.'."},"label":{"description":"Label text for the field.","$ref":"#/components/schemas/PassTypeLocalizedString"},"textAlignment":{"type":["null","string"],"description":"Text alignment for the field. One of: left, center, right, natural."},"currencyCode":{"type":["null","string"],"description":"ISO 4217 currency code for a number field. When set, Apple Wallet formats the value as a currency and ignores `numberStyle`."},"numberStyle":{"type":["null","string"],"description":"Number style for a number field. One of: decimal, percent, scientific, spellOut."},"dateStyle":{"type":["null","string"],"description":"Date part style for a date field. One of: none, short, medium, long, full."},"timeStyle":{"type":["null","string"],"description":"Time part style for a date field. One of: none, short, medium, long, full."},"isRelative":{"type":["null","boolean"],"description":"Show the date field as a relative value such as \"tomorrow\" when a date or time style is set."},"ignoresTimeZone":{"type":["null","boolean"],"description":"Keep the value's own time zone for a date field when a date or time style is set."},"automaticallyDetectDataDetectorTypes":{"type":["null","boolean"],"description":"Whether iOS turns phone numbers, links, addresses and dates found in the value into tappable links. Omitted, it\ndoes; `false` shows the value as plain text. Applies to a field with no `type`."},"value":{"description":"Value of the field, for example 42. May contain HTML links: only the <a> tag and its href attribute are supported.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Information about a field."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeAppleBeacon":{"type":"object","properties":{"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"major":{"type":["null","integer"],"description":"Major identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"minor":{"type":["null","integer"],"description":"Minor identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"uuid":{"type":["null","string"],"description":"Unique identifier of a Bluetooth Low Energy location beacon."}},"additionalProperties":false,"description":"Configuration for a beacon device"},"PassTypeAppleFeaturedAction":{"type":"object","properties":{"icon":{"type":["null","string"],"description":"SF Symbol name of the card's icon; prefer circular, filled variants. Omitted, a default icon for the action type is used."},"type":{"type":["null","string"],"description":"The predefined action type that determines the label and behavior of the featured action card."},"url":{"type":["null","string"],"description":"URL opened when the action is tapped: a website, a deep link into your app, or a `tel:` URI for `call` actions."},"placeIdentifier":{"type":["null","string"],"description":"The Apple Maps Place ID opened by `place` actions."}},"additionalProperties":false,"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination."},"PassTypeAppleImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster background image (artwork.png) for poster event tickets (iOS 18+) and poster generic passes (iOS 27+).\nSetting it on a generic pass activates the posterGeneric layout, on an event ticket posterEventTicket. Falls\nback to the strip image on older devices. Covers the poster card, whose size depends on the iPhone (370x503 pt\non a 402 pt wide iPhone): Wallet scales it to cover the card, centred horizontally, top-aligned on event\ntickets and centred on poster generic passes and store cards."},"background":{"type":["null","string"],"description":"Blurred background (background.png) behind the front of non-poster event tickets, 343 x 503 points. Poster layouts use ArtWork instead."},"footer":{"type":["null","string"],"description":"The image displayed on the front of the pass near the barcode. The allotted space is 858 x 45 points."},"icon":{"type":["null","string"],"description":"The pass's icon, shown in notifications, emails with a pass attached and on the lock screen with a shine effect and rounded corners. 87 x 87 points."},"logo":{"type":["null","string"],"description":"Image at the top left of the front, in a 480 x 150 points space; usually narrower."},"primaryLogo":{"type":["null","string"],"description":"Top-left logo for poster layouts (posterGeneric iOS 27+ and posterEventTicket iOS 18+). Fitted into 126x36 pt (posterEventTicket draws it at most 126x30 pt)."},"reuseExisting":{"type":["null","boolean"],"description":"For an upcoming event's header image or venue map: reuse the image the pass already carries rather than download one. `urls` takes precedence when set."},"secondaryLogo":{"type":["null","string"],"description":"Logo image that is displayed on bottom right footer inset of the pass. Ticket issuer or event company logo 135x12 pts."},"stampImages":{"type":["null","array"],"items":{"description":"The Apple images a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeAppleStampImage"},"description":"Per-stamp-count overrides of `Strip` and `ArtWork`, for a stamp card."},"strip":{"type":["null","string"],"description":"Image behind the primary fields: 1125 x 296 points for event tickets, 1125 x 432 for gift cards and coupons,\n1125 x 369 otherwise. Older hardware: 960 x 252, 960 x 330 (square barcode on 3.5 inch screens) or 960 x 369."},"thumbnail":{"type":["null","string"],"description":"Additional image on the front, such as a cardholder picture, 270 x 270 points. Aspect ratio between 2:3 and 3:2, otherwise cropped."},"urls":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleImageUrl"},"description":"For an upcoming event's header image or venue map: the remote copies of the image the device downloads."},"venueMap":{"type":["null","string"],"description":"Issuer-provided static map of the venue, which will be shown in the event guide."}},"additionalProperties":false,"description":"Image configuration for the pass"},"PassTypeAppleStampImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster artwork, used only when the template enables the poster layout."},"count":{"type":["null","integer"],"description":"The stamp count these images are shown at.","format":"int32"},"strip":{"type":["null","string"],"description":"Strip image for the classic store-card layout."}},"additionalProperties":false,"description":"The Apple images a stamp card shows at one exact stamp count."},"PassTypeAppleImageUrl":{"type":"object","properties":{"scale":{"type":["null","number"],"description":"The scale of the image. If unspecified, defaults to 1.","format":"double"},"sha256":{"type":["null","string"],"description":"(Required) The SHA256 hash of the image."},"size":{"type":["null","string"],"description":"Size of the image asset in bytes. The maximum allowed size is 2 megabytes."},"url":{"type":["null","string"],"description":"URL of the image to download. Required; https only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleLocation":{"type":"object","properties":{"altitude":{"type":["null","string"],"description":"Altitude, in meters, of the location."},"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"latitude":{"type":["null","string"],"description":"Latitude, in degrees, of the location."},"longitude":{"type":["null","string"],"description":"Longitude, in degrees, of the location."}},"additionalProperties":false,"description":"Configuration for a location"},"PassTypeAppleNfc":{"type":"object","properties":{"message":{"type":["null","string"],"description":"Payload sent to the Apple Pay terminal, at most 64 bytes (longer is truncated)."},"requiresAuthentication":{"type":["null","boolean"],"description":"Whether the NFC pass requires authentication for each use. Default false."}},"additionalProperties":false,"description":"Information about the NFC payload passed to an Apple Pay terminal. It is encrypted with the tenant's NFC key; without one, passes are issued without NFC."},"PassTypeAppleRelevantDate":{"type":"object","properties":{"endDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the end of the relevancy interval. Optional."},"startDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the start of the relevancy interval."}},"additionalProperties":false,"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one."},"PassTypeAppleSemantics":{"type":"object","properties":{"additionalTicketAttributes":{"type":["null","string"],"description":"Additional ticket attributes that other tags or keys in the pass don't include."},"admissionLevel":{"type":["null","string"],"description":"The level of admission the ticket provides, such as general admission, VIP, and so forth."},"admissionLevelAbbreviation":{"type":["null","string"],"description":"An abbreviation of the level of admission the ticket provides, such as GA or VIP."},"albumIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each album corresponding to the event, in decreasing order of significance."},"artistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each artist performing at the event, in decreasing order of significance."},"attendeeName":{"type":["null","string"],"description":"The name of the person the ticket grants admission to."},"awayTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the away team's name. Use this key only for a sports event ticket."},"awayTeamLocation":{"type":["null","string"],"description":"The home location of the away team. Use this key only for a sports event ticket."},"awayTeamName":{"type":["null","string"],"description":"The name of the away team. Use this key only for a sports event ticket."},"balance":{"description":"The current balance redeemable with the pass. Use this key only for a store card pass.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"duration":{"type":["null","string"],"description":"The duration of the event or transit journey, in seconds. Sent as a string: whole seconds or a Liquid template."},"entranceDescription":{"type":["null","string"],"description":"The long description of the entrance information."},"eventLiveMessage":{"type":["null","string"],"description":"The message Wallet shows in the Lock Screen Live Activity when the event starts."},"eventEndDate":{"type":["null","string"],"description":"The date and time the event ends. ISO 8601 date as string."},"eventName":{"description":"The full name of the event, such as the title of a movie.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventStartDate":{"type":["null","string"],"description":"The date and time the event starts. ISO 8601 date as string."},"eventStartDateInfo":{"description":"An object that provides information for the date and time the event starts. See SemanticTagType.EventDateInfo (iOS 18.0+).","$ref":"#/components/schemas/PassTypeAppleEventDateInfoValue"},"eventType":{"type":["null","string"],"description":"Type of event: PKEventTypeGeneric, PKEventTypeLivePerformance, PKEventTypeMovie, PKEventTypeSports,\nPKEventTypeConference, PKEventTypeConvention, PKEventTypeWorkshop or PKEventTypeSocialGathering."},"genre":{"type":["null","string"],"description":"The genre of the performance, such as classical."},"homeTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the home team's name. Use this key only for a sports event ticket."},"homeTeamLocation":{"type":["null","string"],"description":"The home location of the home team. Use this key only for a sports event ticket."},"homeTeamName":{"type":["null","string"],"description":"The name of the home team. Use this key only for a sports event ticket."},"leagueAbbreviation":{"type":["null","string"],"description":"The abbreviated league name for a sports event. Use this key only for a sports event ticket."},"leagueName":{"type":["null","string"],"description":"The unabbreviated league name for a sports event. Use this key only for a sports event ticket."},"performerNames":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the full names of the performers and opening acts at the event, in decreasing order of significance."},"playlistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each playlist corresponding to the event, in decreasing order of significance."},"seats":{"type":["null","array"],"items":{"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat.","$ref":"#/components/schemas/PassTypeAppleSeat"},"description":"An array of objects that represent the details for each seat at an event or on a transit journey. See SemanticTagType.Seat."},"silenceRequested":{"type":["null","string"],"description":"Whether the person's device stays silent during an event or transit journey (the system may override the\nperiod). Sent as a string: `true`, `false` or a Liquid template."},"sportName":{"type":["null","string"],"description":"The commonly used name of the sport. Use this key only for a sports event ticket."},"tailgatingAllowed":{"type":["null","string"],"description":"A Boolean value that indicates whether tailgating is allowed at the event. Sent as a string: `true`, `false` or a Liquid template."},"totalPrice":{"description":"The total price for the pass. Use this key for any pass type.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"venueBoxOfficeOpenDate":{"type":["null","string"],"description":"The date when the box office opens (ISO 8601)."},"venueCloseDate":{"type":["null","string"],"description":"The date when the venue closes (ISO 8601)."},"venueDoorsOpenDate":{"type":["null","string"],"description":"The date the doors to the venue open (ISO 8601)."},"venueEntrance":{"type":["null","string"],"description":"The full name of the entrance, such as Gate A, to use to gain access to the ticketed event."},"venueEntranceDoor":{"type":["null","string"],"description":"The venue entrance door."},"venueEntranceGate":{"type":["null","string"],"description":"The venue entrance gate."},"venueEntrancePortal":{"type":["null","string"],"description":"The venue entrance portal."},"venueFanZoneOpenDate":{"type":["null","string"],"description":"The date the fan zone opens (ISO 8601)."},"venueGatesOpenDate":{"type":["null","string"],"description":"The date the gates to the venue open (ISO 8601)."},"venueLocation":{"description":"An object that represents the geographic coordinates of the venue. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"venueName":{"type":["null","string"],"description":"The full name of the venue."},"venueOpenDate":{"type":["null","string"],"description":"The date when the venue opens (ISO 8601). Use this if none of the more specific venue open tags apply."},"venueParkingLotsOpenDate":{"type":["null","string"],"description":"The date the parking lots open (ISO 8601)."},"venuePhoneNumber":{"type":["null","string"],"description":"The phone number for inquiries about the venue's ticketed event."},"venueRegionName":{"type":["null","string"],"description":"The name of the city or hosting region of the venue."},"venueRoom":{"type":["null","string"],"description":"The full name of the room where the ticketed event is to take place."},"wifiAccess":{"type":["null","array"],"items":{"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork.","$ref":"#/components/schemas/PassTypeAppleWifiNetwork"},"description":"Wi-Fi networks associated with the event, such as the network name and password of a conference. See SemanticTagType.WifiNetwork."}},"additionalProperties":false,"description":"Apple Wallet semantic tags of the pass, as documented in Apple's SemanticTags specification."},"PassTypeAppleCurrencyAmount":{"type":"object","properties":{"amount":{"type":["null","string"],"description":"Amount in currency units."},"currencyCode":{"type":["null","string"],"description":"Three-letter currency code (ISO 4217), e.g., \"USD\"."}},"additionalProperties":false,"description":"An amount of money and its currency. See SemanticTagType.CurrencyAmount."},"PassTypeAppleEventDateInfoValue":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The date (ISO 8601 date as string)."},"ignoreTimeComponents":{"type":["null","string"],"description":"A Boolean value that indicates whether the system ignores the time components of the date. Sent as a string: `true`, `false` or a Liquid template."},"timeZone":{"type":["null","string"],"description":"The time zone to display in the date. Uses IANA time zone database identifiers (e.g. \"America/Los_Angeles\")."},"unannounced":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is announced. Sent as a string: `true`, `false` or a Liquid template."},"undetermined":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is determined. Sent as a string: `true`, `false` or a Liquid template."}},"additionalProperties":false,"description":"Date and time of an event. See SemanticTagType.EventDateInfo (iOS 18+)."},"PassTypeAppleSeat":{"type":"object","properties":{"seatAisle":{"type":["null","string"],"description":"The aisle that contains the seat."},"seatDescription":{"type":["null","string"],"description":"A description of the seat, such as 'A flat bed seat'."},"seatIdentifier":{"type":["null","string"],"description":"The identifier code for the seat."},"seatLevel":{"type":["null","string"],"description":"The level that contains the seat."},"seatNumber":{"type":["null","string"],"description":"The number of the seat."},"seatRow":{"type":["null","string"],"description":"The row that contains the seat."},"seatSection":{"type":["null","string"],"description":"The section that contains the seat."},"seatSectionColor":{"type":["null","string"],"description":"A color associated with identifying the seat, specified as a CSS-style RGB triple, such as rgb(23, 187, 82)."},"seatType":{"type":["null","string"],"description":"The type of seat, such as 'Reserved seating'."}},"additionalProperties":false,"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat."},"PassTypeLocation":{"type":"object","properties":{"latitude":{"type":["null","string"],"description":"Latitude in degrees."},"longitude":{"type":["null","string"],"description":"Longitude in degrees."}},"additionalProperties":false,"description":"An object that represents the coordinates of a location. See SemanticTagType.Location."},"PassTypeAppleWifiNetwork":{"type":"object","properties":{"password":{"type":["null","string"],"description":"Wi-Fi password (if any)."},"ssid":{"type":["null","string"],"description":"Wi-Fi SSID (network name)."}},"additionalProperties":false,"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork."},"PassTypeAppleSharing":{"type":"object","properties":{"method":{"type":["null","string"],"description":"What the Share button sends. One of: url (the text followed by the URL, the default), pkpass (the .pkpass file), disabled (no Share button)."},"url":{"type":["null","string"],"description":"URL shared by the `url` method, a template rendered with the pass's values. Omitted, the install page of the pass."},"text":{"type":["null","string"],"description":"Text sent ahead of the URL with the `url` method, a template rendered with the pass's values. Not translatable. Shown by some share targets, always included when the link is copied."}},"additionalProperties":false,"description":"What the Share button of an Apple pass sends."},"PassTypeAppleUpcomingPassInformation":{"type":"object","properties":{"actionLinks":{"description":"A collection of URLs used to populate UI elements in the details view.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the Additional Info section below a pass."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the details view of the upcoming pass information entry."},"dateInformation":{"description":"Information about the start and end time of the upcoming pass information entry. If omitted, the entry is labeled as TBD.","$ref":"#/components/schemas/PassTypeAppleDateInformation"},"identifier":{"type":["null","string"],"description":"Required. Unique identifier of the upcoming pass information entry."},"images":{"description":"A collection of image names used to populate images in the details view.","$ref":"#/components/schemas/PassTypeAppleImages"},"isActive":{"type":["null","string"],"description":"Indicates whether the upcoming pass information entry is currently active. The default value is false."},"name":{"type":["null","string"],"description":"(Required) The name of the upcoming pass information entry. A Liquid template, not a translatable string: one value for every language."},"semantics":{"description":"The semantic, machine-readable metadata about the upcoming pass information entry.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"type":{"type":["null","string"],"description":"(Required) The type of upcoming pass information entry. Value: event."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleDateInformation":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The start date of the upcoming pass information entry. If omitted, the entry lists the Time and Date as TBD."},"ignoreTimeComponents":{"type":["null","boolean"],"description":"Indicates whether the entry should ignore the time components of the date."},"isAllDay":{"type":["null","boolean"],"description":"Indicates whether the entry spans the entire day and that the time components should be ignored."},"isUnannounced":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been announced (commonly referred to as TBA)."},"isUndetermined":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been determined (commonly referred to as TBD)."},"timeZone":{"type":["null","string"],"description":"The time zone to adjust the date into. If omitted, the entry uses the current time zone of the device."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleImages":{"type":"object","properties":{"headerImage":{"description":"The name of the image file used for the header image on the details screen. This can be a remote asset.","$ref":"#/components/schemas/PassTypeAppleImage"},"venueMap":{"description":"The name of the image file used for the venue map in the event guide for each upcoming pass information entry.\nThis can be a remote asset and is available for event entries.","$ref":"#/components/schemas/PassTypeAppleImage"}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeGoogle":{"type":"object","properties":{"accountId":{"type":["null","string"],"description":"The loyalty account identifier. Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountIdLabel":{"description":"The account ID label, such as \"Member ID.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"accountName":{"type":["null","string"],"description":"The loyalty account holder name, such as \"John Smith.\" Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountNameLabel":{"description":"The account name label, such as \"Member Name.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"additionalLinks":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleUri"},"description":"Links module data."},"allowBarCodeRedemption":{"type":["null","boolean"],"description":"Whether the merchant supports redeeming the gift card by barcode. If true, the app displays a barcode on the\ndetails screen; if false, `barcode` is not displayed. Applies to: giftCard."},"appLinks":{"description":"Optional information about the partner app link.","$ref":"#/components/schemas/PassTypeGoogleAppLinkInfos"},"balance":{"description":"The card's monetary balance. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"balanceUpdateTime":{"type":["null","string"],"description":"When the balance was last updated; defaults to the current time when the balance is updated without it. Applies to: giftCard."},"barCode":{"description":"The barcode type and value.","$ref":"#/components/schemas/PassTypeGoogleBarCode"},"cardNumber":{"type":["null","string"],"description":"The card's number. Applies to: giftCard."},"cardNumberLabel":{"type":["null","string"],"description":"Label shown with the card number. Applies to: giftCard."},"confirmationCode":{"type":["null","string"],"description":"Confirmation code of the event reservation (order, confirmation or reservation number). Applies to: eventTicket."},"confirmationCodeLabel":{"type":["null","string"],"description":"Label for the confirmation code. Each option maps to localized strings. Not combinable with\n`customConfirmationCodeLabel`; when neither is set, \"Confirmation Code\" is used. Applies to: eventTicket.\nOne of: CONFIRMATION_CODE_LABEL_UNSPECIFIED, CONFIRMATION_CODE, CONFIRMATION_NUMBER, ORDER_NUMBER,\nRESERVATION_NUMBER."},"countryCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code used to display and localize the pass. Applies to: customerCard, eventTicket, giftCard, offer, stampCard."},"customConfirmationLabel":{"description":"Custom label for the confirmation code, for when the default or a `confirmationCodeLabel` option is not\nsufficient. Not combinable with `confirmationCodeLabel`. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"dateTimeDetails":{"description":"Date time details of the pass. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleDateTimeDetails"},"details":{"description":"The details of the offer. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"disableExpirationNotification":{"type":["null","boolean"],"description":"Indicates whether Google Wallet should suppress expiration notifications for the offer. Applies to: offer."},"discoverableProgram":{"description":"Information about how the class may be discovered and instantiated from within the Google Wallet app. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleDiscoverableProgram"},"eventId":{"type":["null","string"],"description":"ID of the event, unique per event in an account (at most 64 characters). Groups tickets the user saved for the\nsame event; when omitted, the platform groups by other data, possibly unstable. With one class per event, use\nthe classId (with or without the issuer ID). Avoid collisions, which group tickets that should not be grouped.\nApplies to: eventTicket."},"eventName":{"description":"The name of the event, such as \"LA Dodgers at SF Giants\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventNumber":{"type":["null","string"],"description":"The card's event number, an optional field used by some gift cards. Applies to: giftCard."},"eventNumberLabel":{"description":"The label to display for event number, such as \"Target Event #\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expiryNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay to send expiry notifications 2 days prior to the card expiration. Applies to: generic."},"faceValue":{"description":"The face value of the ticket, matching what would be printed on a physical version of the ticket. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"finePrint":{"description":"The fine print or terms of the pass, such as \"20% off any t-shirt at Adam's Apparel.\" Applies to: eventTicket, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"description":"Gate seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleGate"},"header":{"description":"Required. The title of the pass, such as \"50% off coupon\" or \"Library card\" or \"Voucher\". This field is required\nand appears in the title row of the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"helpUrl":{"description":"The help link for the offer, such as http://myownpersonaldomain.com/help. Applies to: offer.","$ref":"#/components/schemas/PassTypeGoogleUri"},"heroImage":{"type":["null","string"],"description":"Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width."},"hexBackgroundColor":{"type":["null","string"],"description":"Background color as `#rrggbb` or `#rgb`. Defaults to the dominant color of the hero image, else of the logo."},"homepage":{"description":"URI of your application's home page, shown as a link like `linksModuleData`. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeGoogleUri"},"identifier":{"type":["null","string"],"description":"Name of the Google Wallet class the passes belong to. Advanced: leave null unless the class already exists in\nGoogle Wallet, for example when passes are imported from another system."},"issuerName":{"description":"The issuer name. Recommended maximum 20 characters. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"locations":{"type":["null","array"],"items":{"description":"An object that represents the coordinates of a location. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"description":"The list of locations where the object can be used. The platform uses this information to trigger geolocated notifications to users."},"logo":{"type":["null","string"],"description":"Logo shown in the card detail view (upper left) and the list view; without it, the first letter of cardTitle. Applies to: eventTicket, generic."},"loyaltyPoints":{"description":"The loyalty reward points label, balance, and type. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"merchantName":{"description":"Merchant name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to ensure\nfull string is displayed on smaller screens. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"messages":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleMessage"},"description":"Messages displayed in the app to all users of this object. At most 10."},"multipleDevicesAndHoldersAllowedStatus":{"type":["null","string"],"description":"Identifies whether multiple users and devices will save the same object referencing this class. One of: multipleHolder, oneUserAllDevices, oneUserOneDevice."},"screenshotEligibility":{"type":["null","string"],"description":"Whether the holder can take a screenshot of the pass in Google Wallet on Android. One of: unspecified, eligible, ineligible."},"nfcConstraints":{"type":["null","array"],"items":{"type":"string"},"description":"What the phone must not hand out over NFC while the pass is open. Each one of: blockPayment, blockClosedLoopTransit."},"grouping":{"description":"How passes are grouped together in Google Wallet.","$ref":"#/components/schemas/PassTypeGoogleGrouping"},"imageModule":{"description":"An image shown at full width among the details of the pass.","$ref":"#/components/schemas/PassTypeGoogleImageModule"},"pin":{"type":["null","string"],"description":"The card's PIN. Applies to: giftCard."},"pinLabel":{"description":"The label to display for the PIN, such as \"4-digit PIN\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"programLogo":{"type":["null","string"],"description":"Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. Applies to: customerCard, giftCard, stampCard."},"programName":{"description":"The program name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to\nensure full string is displayed on smaller screens. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"provider":{"description":"The offer provider (either the aggregator name or merchant name). Recommended maximum 12 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"redemptionChannel":{"type":["null","string"],"description":"The redemption channels applicable to this offer. Applies to: offer. One of: REDEMPTION_CHANNEL_UNSPECIFIED, INSTORE, ONLINE, BOTH, TEMPORARY_PRICE_REDUCTION."},"rewardsTier":{"type":["null","string"],"description":"The rewards tier, such as \"Gold\" or \"Platinum.\" Recommended maximum 7 characters. Applies to: customerCard, stampCard."},"rewardsTierLabel":{"description":"The rewards tier label, such as \"Rewards Tier.\" Recommended maximum 9 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"description":"Row seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleRow"},"seat":{"description":"Seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSeat"},"secondaryLoyaltyPoints":{"description":"The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"secondaryRewardsTier":{"type":["null","string"],"description":"The secondary rewards tier, such as \"Gold\" or \"Platinum.\". Applies to: customerCard, stampCard."},"secondaryRewardsTierLabel":{"description":"The secondary rewards tier label, such as \"Rewards Tier.\". Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"description":"Section seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSection"},"securityAnimation":{"type":["null","string"],"description":"Security animation rendered on pass details. One of: unspecified, foilShimmer."},"shortTitle":{"description":"A shortened version of the title of the offer, such as \"20% off,\" shown to users as a quick reference to the\noffer contents. Recommended maximum 20 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"smartTap":{"description":"Identifies whether this class supports Smart Tap.","$ref":"#/components/schemas/PassTypeGoogleSmartTap"},"stampImages":{"type":["null","array"],"items":{"description":"The Google image a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeGoogleStampImage"},"description":"The hero image to show at each stamp count. The entry matching the holder's current count replaces the class-level hero image. Applies to: stampCard."},"state":{"type":["null","string"],"description":"State of the object, which decides how the app displays it (an inactive object moves to \"Expired passes\"). One of: ACTIVE, COMPLETED, EXPIRED, INACTIVE."},"subheader":{"description":"The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"templateOverride":{"description":"Which values the card shows where, in place of Google's default layout.","$ref":"#/components/schemas/PassTypeGoogleTemplateOverride"},"texts":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleText"},"description":"Text module data."},"ticketHolderName":{"type":["null","string"],"description":"Name of the ticket holder, if the ticket is assigned to a person. E.g. \"John Doe\" or \"Jane Doe\". Applies to: eventTicket."},"ticketNumber":{"type":["null","string"],"description":"The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets\nfor the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). Applies to: eventTicket."},"ticketType":{"description":"The type of the ticket, such as \"Adult\" or \"Child\", or \"VIP\" or \"Standard\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"The title of the offer, such as \"20% off any t-shirt.\" Recommended maximum 60 characters. Applies to: generic, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"titleImage":{"type":["null","string"],"description":"The title image of the offer. This image is displayed in both the details and list views of the app. Applies to: offer."},"upcomingNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay send an upcoming card validity notification 1 day before card becomes valid/usable. Applies to: generic."},"validTimeInterval":{"description":"The time period this object will be active and object can be used. An object's state will be changed to expired when this time period has passed.","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"valueAddedOpportunities":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleValueAddedItem"},"description":"Optional value added module data. Maximum of ten on the object."},"venue":{"description":"Event venue details. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleVenue"},"viewUnlockRequirement":{"type":["null","string"],"description":"View Unlock Requirement. One of: unspecified, requiredToView, notRequired."},"wideLogo":{"type":["null","string"],"description":"The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. Applies to: eventTicket, generic."},"wideProgramLogo":{"type":["null","string"],"description":"The wide logo of the loyalty program or company. When provided, this will be used in place of the program logo\nin the top left of the card view. Applies to: customerCard, giftCard, stampCard."},"wideTitleImage":{"type":["null","string"],"description":"The wide title image used in place of the title image in the top left of the card view. Applies to: offer."}},"additionalProperties":false,"description":"The Google Wallet card. Not every pass kind accepts every property, and one that only some kinds accept says so."},"PassTypeGoogleUri":{"type":"object","properties":{"label":{"description":"The URI's title appearing in the app as text. Recommended maximum 20 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"uri":{"type":["null","string"],"description":"Location of a web page, image or other resource, with a scheme (web link, map, telephone number or email address). A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAppLinkInfos":{"type":"object","properties":{"androidAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the Android client.","$ref":"#/components/schemas/PassTypeGoogleAndroidAppLinkInfo"},"displayText":{"description":"Optional display text for the app link button. Character limit is 30.","$ref":"#/components/schemas/PassTypeLocalizedString"},"webAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the web client.","$ref":"#/components/schemas/PassTypeGoogleWebAppLinkInfo"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAndroidAppLinkInfo":{"type":"object","properties":{"packageName":{"type":["null","string"],"description":"Package name for AppTarget. For example: com.google.android.gm."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleWebAppLinkInfo":{"type":"object","properties":{"targetUri":{"description":"URI for AppTarget, with a description. Prefer the package field when the target is defined for your application.","$ref":"#/components/schemas/PassTypeGoogleUri"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleMoney":{"type":"object","properties":{"currencyCode":{"type":["null","string"],"description":"The currency code, such as \"USD\" or \"EUR.\"."},"value":{"type":["null","string"],"description":"Amount, as a number or a Liquid template rendering one. Not a translatable string: one value for every language."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBarCode":{"type":"object","properties":{"alternateText":{"type":["null","string"],"description":"A human readable equivalent of the barcode value, shown under the barcode in place of the default text. Not allowed on a TEXT_ONLY barcode."},"showCodeText":{"description":"Text shown when a Smart Tap barcode is hidden behind a click action.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"The type of barcode. Only QR_CODE is supported for rotating barcodes. One of: AZTEC, CODE_39, CODE_128, CODABAR,\nDATA_MATRIX, EAN_8, EAN_13, ITF_14, PDF_417, QR_CODE, UPC_A, TEXT_ONLY."},"value":{"type":["null","string"],"description":"The value encoded in the barcode."},"rotating":{"type":["null","boolean"],"description":"The phone recomputes the code every period from a one-time password (QR_CODE and PDF_417 only). The value must hold {totp_value_0}, replaced by the current password."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDateTimeDetails":{"type":"object","properties":{"customDoorsOpenLabel":{"description":"Custom label for the doors open value, for when the default \"Doors Open\" or a `doorsOpenLabel` option is not sufficient. Not combinable with `doorsOpenLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"doorsOpen":{"type":["null","string"],"description":"When the doors open at the venue. ISO 8601 extended format, with or without an offset, up to nanosecond\nprecision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local date/time; some rich\nfeatures need the offset."},"doorsOpenLabel":{"type":["null","string"],"description":"Label for the doors open value. Each option maps to localized strings. Not combinable with\n`customDoorsOpenLabel`; when neither is set, \"Doors Open\" is used. One of: DOORS_OPEN_LABEL_UNSPECIFIED,\nDOORS_OPEN, GATES_OPEN."},"end":{"type":["null","string"],"description":"When the event ends (on the last day, if it spans several). ISO 8601 extended format, with or without an offset,\nup to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."},"start":{"type":["null","string"],"description":"When the event starts (on the first day, if it spans several). ISO 8601 extended format, with or without an\noffset, up to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDiscoverableProgram":{"type":"object","properties":{"signinUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signin site. Used when MERCHANT_HOSTED_SIGNIN is enabled."},"signupSharedDatas":{"type":["null","array"],"items":{"type":"string"},"description":"User data sent in a POST to the sign-up URL: Google Wallet SharedDataType strings such as FIRST_NAME, LAST_NAME, EMAIL."},"signupUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signup site. Used when MERCHANT_HOSTED_SIGNUP is enabled."},"state":{"type":["null","string"],"description":"Visibility state of the discoverable program. One of: trustedTesters, live, disabled."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGate":{"type":"object","properties":{"customGateLabel":{"description":"Custom label for the gate value, for when the default \"Gate\" or a `gateLabel` option is not sufficient. Not combinable with `gateLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"type":["null","string"],"description":"The gate the ticket holder should enter to get to their seat, such as \"A\" or \"West\"."},"gateLabel":{"type":["null","string"],"description":"Label for the gate value. Each option maps to localized strings. Not combinable with `customGateLabel`;\nwhen neither is set, \"Gate\" is used. One of: GATE_LABEL_UNSPECIFIED, GATE, DOOR, ENTRANCE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleLoyaltyPoint":{"type":"object","properties":{"balance":{"description":"The account holder's loyalty point balance, such as \"500\" or \"$10.00\". Recommended maximum 7 characters. This is\na required field of loyaltyPoints and secondaryLoyaltyPoints.","$ref":"#/components/schemas/PassTypeGoogleBalanceConfigurationBase"},"label":{"description":"The loyalty points label, such as \"Points\". Recommended maximum 9 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBalanceConfigurationBase":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value of the pass. A Liquid template, not a translatable string: one value for every language."},"type":{"type":["null","string"],"description":"How Google reads `value`: `string`, `integer`, `double` or `money`.\nOmitted, `string`."},"currencyCode":{"type":["null","string"],"description":"The currency of a `money` balance, such as `USD` or `EUR`. Required for `money`, ignored otherwise."}},"additionalProperties":false,"description":"A loyalty balance: its value, and how Google reads and displays it."},"PassTypeGoogleMessage":{"type":"object","properties":{"body":{"description":"The message body.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the message is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"The message header.","$ref":"#/components/schemas/PassTypeLocalizedString"},"id":{"type":["null","string"],"description":"Optional identifier."},"notify":{"type":["null","boolean"],"description":"Whether a notification appears when the body changes."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleTimeInterval":{"type":"object","properties":{"end":{"type":["null","string"],"description":"End time of the interval."},"start":{"type":["null","string"],"description":"Start time of the interval."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGrouping":{"type":"object","properties":{"id":{"type":["null","string"],"description":"The group the pass belongs to: passes with the same id are shown stacked together."},"sortIndex":{"type":["null","string"],"description":"The pass's position in its group, lower first."}},"additionalProperties":false,"description":"How passes are grouped together in Google Wallet."},"PassTypeGoogleImageModule":{"type":"object","properties":{"description":{"description":"What the image shows, read by screen readers. Carries one value per language.","$ref":"#/components/schemas/PassTypeLocalizedString"},"image":{"type":["null","string"],"description":"The image."}},"additionalProperties":false,"description":"An image shown at full width among the details of the pass."},"PassTypeGoogleRow":{"type":"object","properties":{"customRowLabel":{"description":"Custom label for the row value, for when the default \"Row\" or a `rowLabel` option is not sufficient. Not combinable with `rowLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"type":["null","string"],"description":"The row of the seat, such as \"1\", E\", \"BB\", or \"A5\"."},"rowLabel":{"type":["null","string"],"description":"Label for the row value. Each option maps to localized strings. Not combinable with `customRowLabel`; when\nneither is set, \"Row\" is used. One of: ROW_LABEL_UNSPECIFIED, ROW."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSeat":{"type":"object","properties":{"customSeatLabel":{"description":"Custom label for the seat value, for when the default \"Seat\" or a `seatLabel` option is not sufficient. Not combinable with `seatLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"seat":{"type":["null","string"],"description":"The seat number, such as \"1\", \"2\", \"3\", or any other seat identifier."},"seatLabel":{"type":["null","string"],"description":"Label for the seat value. Each option maps to localized strings. Not combinable with `customSeatLabel`;\nwhen neither is set, \"Seat\" is used. One of: SEAT_LABEL_UNSPECIFIED, SEAT."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSection":{"type":"object","properties":{"customSectionLabel":{"description":"Custom label for the section value, for when the default \"Section\" or a `sectionLabel` option is not sufficient. Not combinable with `sectionLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"type":["null","string"],"description":"The section of the seat, such as \"121\"."},"sectionLabel":{"type":["null","string"],"description":"Label for the section value. Each option maps to localized strings. Not combinable with\n`customSectionLabel`; when neither is set, \"Section\" is used. One of: SECTION_LABEL_UNSPECIFIED, SECTION,\nTHEATRE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSmartTap":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value transmitted to a Smart Tap terminal over NFC (ASCII only). A Liquid template, not a translatable string."}},"additionalProperties":false,"description":"Smart Tap: lets a Smart Tap terminal read a value from the pass over NFC. The tenant's issuer redeems it, and without a Smart Tap key on the tenant it is not enabled."},"PassTypeGoogleStampImage":{"type":"object","properties":{"count":{"type":["null","integer"],"description":"The stamp count this image is shown at.","format":"int32"},"heroImage":{"type":["null","string"],"description":"Hero image for that count (1032x336)."}},"additionalProperties":false,"description":"The Google image a stamp card shows at one exact stamp count."},"PassTypeGoogleTemplateOverride":{"type":"object","properties":{"barcodeInfo":{"description":"The values shown around the barcode.","$ref":"#/components/schemas/PassTypeGoogleBarcodeInfo"},"cardTemplateInfo":{"description":"The rows of values on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfo"},"detailsTemplateInfo":{"description":"The order and content of the details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsTemplateOverride"},"listTemplateInfo":{"description":"How the card reads in the holder's list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfo"}},"additionalProperties":false,"description":"Which values the card shows where, in place of Google's default layout."},"PassTypeGoogleBarcodeInfo":{"type":"object","properties":{"firstBottomDetail":{"description":"Value shown below the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"firstTopDetail":{"description":"First value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"secondTopDetail":{"description":"Second value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"}},"additionalProperties":false,"description":"The values shown around the barcode of the card."},"PassTypeGoogleDetail":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value shown next to the barcode, read from a field of the Google object or class."},"PassTypeGoogleCardTemplateInfo":{"type":"object","properties":{"firstLine":{"description":"First row. Required once the card layout is overridden.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"lines":{"type":["null","array"],"items":{"description":"One row on the front of the card: one to three slots, left to right.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"description":"The configured rows in display order. Read-only: derived from `firstLine`, `secondLine` and `thirdLine`, and ignored on save."},"secondLine":{"description":"Second row.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"thirdLine":{"description":"Third row. Shown only when `secondLine` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"}},"additionalProperties":false,"description":"The rows of values on the front of the card, top to bottom."},"PassTypeGoogleCardTemplateInfoRow":{"type":"object","properties":{"firstItem":{"description":"First slot. Required.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"items":{"type":["null","array"],"items":{"description":"One slot of a row on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"description":"The configured slots in display order. Read-only: derived from `firstItem`, `secondItem` and `thirdItem`, and ignored on save."},"secondItem":{"description":"Second slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"thirdItem":{"description":"Third slot. Shown only when `secondItem` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"}},"additionalProperties":false,"description":"One row on the front of the card: one to three slots, left to right."},"PassTypeGoogleCardTemplateInfoItem":{"type":"object","properties":{"primary":{"description":"Value shown in the slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"},"secondary":{"description":"Value shown beside the primary one in the same slot, separated by a slash.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"}},"additionalProperties":false,"description":"One slot of a row on the front of the card."},"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."},"PassTypeGoogleDetailsTemplateOverride":{"type":"object","properties":{"items":{"type":["null","array"],"items":{"description":"One entry of the card's details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsItem"},"description":"The entries, in display order."}},"additionalProperties":false,"description":"The order and content of the card's details view."},"PassTypeGoogleDetailsItem":{"type":"object","properties":{"firstValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of the entry's value. The first one holding a value is shown."},"secondValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of a second value shown beside the first, separated by a slash."}},"additionalProperties":false,"description":"One entry of the card's details view."},"PassTypeGoogleListTemplateInfo":{"type":"object","properties":{"rows":{"type":["null","array"],"items":{"description":"One line of the card in the list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfoRow"},"description":"The lines under the card's title. Only the first two are shown."}},"additionalProperties":false,"description":"How the card reads in the holder's list of passes."},"PassTypeGoogleListTemplateInfoRow":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the line from. The first one holding a value is shown."}},"additionalProperties":false,"description":"One line of the card in the list of passes."},"PassTypeGoogleText":{"type":"object","properties":{"body":{"description":"The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum 500 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"header":{"description":"The header of the Text Module. Recommended maximum 35 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleValueAddedItem":{"type":"object","properties":{"body":{"description":"Body to be displayed on the module. Character limit is 50 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the module is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"Header to be displayed on the module. Character limit is 60 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"logo":{"type":["null","string"],"description":"Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio."},"uri":{"type":["null","string"],"description":"URI the module leads to on click: a web link or a deep link. A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleVenue":{"type":"object","properties":{"address":{"description":"Address of the venue, such as \"24 Willie Mays Plaza\\nSan Francisco, CA 94107\"; lines are separated by `\\n`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"name":{"description":"The name of the venue, such as \"AT&T Park\".","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypePreview":{"type":"object","properties":{"subTitle":{"description":"Sub title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"Title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the pass configuration."},"PassTypeScannableData":{"type":"object","properties":{"persistScannableData":{"type":["null","boolean"],"description":"Whether scannable data is kept on the pass, for compatible systems."}},"additionalProperties":false,"description":"Part of the pass configuration."},"PassTypeStamps":{"type":"object","properties":{"behaviour":{"type":["null","string"],"description":"What happens to the card once `Target` is reached. One of: resetOnNextStamp, resetImmediately, stayAtGoal."},"rewardBenefitTemplateId":{"type":["null","string"],"description":"Id of the benefit template granted when the goal is reached, or `null` for a card that rewards nothing on its own."},"target":{"type":["null","integer"],"description":"Number of stamps that reaches the goal.","format":"int32"}},"additionalProperties":false,"description":"The stamp mechanic carried by a `stampCard` pass: how many stamps reach the goal, what the card shows on the way there, and what happens once it arrives."},"PassTypeMetadata":{"type":"object","properties":{"entries":{"type":["null","array"],"items":{"description":"One metadata field computed on every pass of the template.","$ref":"#/components/schemas/PassTypeMetadataDefinition"},"description":"One entry per value computed."}},"additionalProperties":false,"description":"Values computed whenever a pass is updated, which issued passes can be searched by."},"PassTypeMetadataDefinition":{"type":"object","properties":{"key":{"type":["null","string"],"description":"Key of the value on each pass, and what passes are filtered on."},"type":{"type":["null","string"],"description":"Data type of the value. One of: string, number, boolean, datetime. Omitted reads as string."},"value":{"type":["null","string"],"description":"Liquid template computing the value whenever a pass is updated."}},"additionalProperties":false,"description":"One metadata field computed on every pass of the template."}}}}
```

## The PassTypeExtensions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeExtensions":{"type":"object","properties":{"apple":{"description":"The Apple Wallet pass. Configured the same way whatever the kind.","$ref":"#/components/schemas/PassTypeApple"},"google":{"description":"The Google Wallet card. Each kind accepts only the properties it declares — every property that is\nnot common to all six says which kinds it applies to.","$ref":"#/components/schemas/PassTypeGoogle"},"preview":{"description":"How an issued pass of this template is summarised in the admin console.","$ref":"#/components/schemas/PassTypePreview"},"scannableData":{"description":"What a scanner reads off an issued pass.","$ref":"#/components/schemas/PassTypeScannableData"},"stamps":{"description":"The stamp mechanic. Only a `stampCard` has one.","$ref":"#/components/schemas/PassTypeStamps"},"metadata":{"description":"Values computed whenever a pass is updated, which issued passes can then be searched and filtered\nby. Nothing here is shown to the holder.","$ref":"#/components/schemas/PassTypeMetadata"}},"additionalProperties":false,"description":"The two wallets and the sections that configure neither of them on its own."},"PassTypeApple":{"type":"object","properties":{"actionLinks":{"description":"Configuration for action links associated with the pass.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the Additional Info section below the pass content. Used for poster event ticket passes (iOS 18+)."},"appLaunchUrl":{"type":["null","string"],"description":"URL passed to the associated app at launch (from associatedStoreIdentifiers). Not supported on watchOS."},"associatedStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"App Store identifiers of apps associated with the pass; the first one compatible with the device is used, with a\nlink on the back of the pass (it opens the App Store when the app is not installed). Payment passes only; not\nsupported on watchOS."},"auxiliaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Additional fields to be displayed on the front of the pass."},"auxiliaryStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"Additional App Store identifiers of associated apps, linked in the event guide. Poster event tickets only; not supported on watchOS."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be on the back of the pass."},"backgroundColor":{"type":["null","string"],"description":"Background color of the pass, specified as an CSS-style RGB triple."},"barCodeAlternateText":{"type":["null","string"],"description":"Text displayed near the barcode, such as a human-readable version of its data. A Liquid template, not a translatable string."},"barCodeFormat":{"type":["null","string"],"description":"Bar code format. One of: qr, pdf417, aztec, code128, code39, codabar, ean13, i2of5. code39, codabar, ean13 and\ni2of5 need iOS 27; the pass also carries a QR code of the same value for older devices. No bar code is drawn\nwhen `barCodeValue` renders empty."},"barCodeValue":{"type":["null","string"],"description":"Bar code field value (ex: `id.y2.customerId`)."},"beacons":{"type":["null","array"],"items":{"description":"Configuration for a beacon device","$ref":"#/components/schemas/PassTypeAppleBeacon"},"description":"Beacons marking locations where the pass is relevant. At most 10."},"description":{"description":"A simple description of the pass","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventLogoText":{"description":"Text next to the logo on poster event tickets; takes precedence over `logoText`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expirationDate":{"type":["null","string"],"description":"Date and time when the pass expires, with hours and minutes and optional seconds."},"featuredActions":{"type":["null","array"],"items":{"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination.","$ref":"#/components/schemas/PassTypeAppleFeaturedAction"},"description":"Featured actions displayed below the pass in Wallet (iOS 27+). Maximum 2 entries."},"footerBackgroundColor":{"type":["null","string"],"description":"Background color of the footer, as a CSS-style RGB triple such as rgb(100, 10, 110). Poster event tickets only."},"footerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the footer of the pass (iOS 27+). Only the posterGeneric style has them: a customer card or stamp card with the poster layout, or a generic pass with artwork. Event tickets, gift cards and offers ignore them."},"foregroundColor":{"type":["null","string"],"description":"Foreground color of the pass, specified as a CSS-style RGB triple."},"groupingIdentifier":{"type":["null","string"],"description":"Identifier grouping related passes (same groupingIdentifier, passTypeIdentifier and type), such as boarding passes for connections on one trip."},"headerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the header on the front of the pass. Use sparingly: unlike other fields, they stay visible in a stack of passes."},"images":{"description":"Configuration of image for this pass.","$ref":"#/components/schemas/PassTypeAppleImage"},"labelColor":{"type":["null","string"],"description":"Color of the label text, specified as a CSS-style RGB triple."},"locations":{"type":["null","array"],"items":{"description":"Configuration for a location","$ref":"#/components/schemas/PassTypeAppleLocation"},"description":"Locations where the pass is relevant, such as a store. At most 10."},"logoText":{"description":"Text displayed next to the logo on the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"maxDistance":{"type":["null","integer"],"description":"Maximum distance in meters from a relevant location at which the pass is relevant; the smaller of this and the pass's default distance is used.","format":"int32"},"nfc":{"description":"NFC-enabled pass keys support sending reward card information as part of an Apple Pay transaction.","$ref":"#/components/schemas/PassTypeAppleNfc"},"organizationName":{"type":["null","string"],"description":"Display name of the organization that originated and signed the pass."},"primaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed prominently on the front of the pass."},"relevantDate":{"type":["null","string"],"description":"Date and time when the pass becomes relevant, such as a movie's start, with hours and minutes and optional seconds. Recommended for event tickets and boarding passes."},"relevantDates":{"type":["null","array"],"items":{"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one.","$ref":"#/components/schemas/PassTypeAppleRelevantDate"},"description":"An array of date intervals during which the pass is relevant. Supersedes `RelevantDate` when non-empty."},"secondaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed on the front of the pass."},"semantics":{"description":"Semantics configuration for the pass.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"sharing":{"description":"What the Share button of the pass sends. Omitted, a link to the install page of the pass.","$ref":"#/components/schemas/PassTypeAppleSharing"},"summaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Up to three values displayed below the barcode on the poster generic layout (iOS 27+). Edited separately from `PrimaryFields`, which stays classic-only."},"suppressHeaderDarkening":{"type":["null","boolean"],"description":"Whether to display the header darkening gradient. Default false. Poster event tickets only."},"suppressStripShine":{"type":["null","boolean"],"description":"A Boolean value that controls whether to display the strip image without a shine effect. The default value is true."},"type":{"type":["null","string"],"description":"Type of pass. One of: generic, boardingPass, coupon, eventTicket, storeCard."},"upcomingPassInformation":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleUpcomingPassInformation"},"description":"Further events the ticket admits to, each shown as its own entry in the event guide."},"useAutomaticColors":{"type":["null","boolean"],"description":"Whether Wallet computes the foreground and label colors from the background image, ignoring `foregroundColor` and `labelColor`. Poster event tickets only."},"usePosterLayout":{"type":["null","boolean"],"description":"When true, a customer card pass uses the iOS 27+ poster generic layout instead of the standard store card layout."},"voided":{"type":["null","string"],"description":"Indicates the pass is void, such as a redeemed one-time coupon."}},"additionalProperties":false,"description":"Configuration of an Apple pass. See [Apple's PassKit bundle\nreference](https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/TopLevel.html)."},"PassTypeAppleActionLinks":{"type":"object","properties":{"accessibilityURL":{"type":["null","string"],"description":"A URL that links to your accessiblity content, or the venue's. Poster event tickets only."},"addOnURL":{"type":["null","string"],"description":"A URL that can link to experiences that someone can add to the pass. Poster event tickets only."},"bagPolicyURL":{"type":["null","string"],"description":"A URL that links to the bag policy of the venue for the event that the pass represents. Poster event tickets only."},"contactVenueEmail":{"type":["null","string"],"description":"The preferred email address to contact the venue, event, or issuer. Poster event tickets only."},"contactVenuePhoneNumber":{"type":["null","string"],"description":"The phone number for contacting the venue, event, or issuer. Poster event tickets only."},"contactVenueWebsite":{"type":["null","string"],"description":"A URL that links to the website of the venue, event, or issuer. Poster event tickets only."},"directionsInformationURL":{"type":["null","string"],"description":"A URL that links to directions for the event. Poster event tickets only."},"merchandiseURL":{"type":["null","string"],"description":"A URL that links to a site for ordering merchandise for the event that the pass represents. Poster event tickets only."},"orderFoodURL":{"type":["null","string"],"description":"A URL that links to the food ordering page for the event that the pass represents. Poster event tickets only."},"parkingInformationURL":{"type":["null","string"],"description":"A URL that links to parking information for the event that the pass represents. Poster event tickets only."},"purchaseParkingURL":{"type":["null","string"],"description":"A URL that links to a site to purchase parking for the event that the pass represents. Poster event tickets only."},"sellURL":{"type":["null","string"],"description":"A URL that links to the selling flow for the ticket the pass represents. Poster event tickets only."},"transferURL":{"type":["null","string"],"description":"A URL that links to the transferring flow for the ticket that the pass represents. Poster event tickets only."},"managementURL":{"type":["null","string"],"description":"A URL that links to the site for managing the ticket that the pass represents."},"transitInformationURL":{"type":["null","string"],"description":"A URL that links to information about transit options in the area of the event that the pass represents. Poster event tickets only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleField":{"type":"object","properties":{"changeMessage":{"description":"Alert text shown when the pass is updated, containing `%@` for the field's new value (for example <c>Gate\nchanged to %@.</c>). Without it, the user is not notified of changes.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"Kind of field. One of: number, date. Omitted for a plain text field."},"key":{"type":["null","string"],"description":"The key must be unique within the scope of the entire pass. For example, 'departure-gate.'."},"label":{"description":"Label text for the field.","$ref":"#/components/schemas/PassTypeLocalizedString"},"textAlignment":{"type":["null","string"],"description":"Text alignment for the field. One of: left, center, right, natural."},"currencyCode":{"type":["null","string"],"description":"ISO 4217 currency code for a number field. When set, Apple Wallet formats the value as a currency and ignores `numberStyle`."},"numberStyle":{"type":["null","string"],"description":"Number style for a number field. One of: decimal, percent, scientific, spellOut."},"dateStyle":{"type":["null","string"],"description":"Date part style for a date field. One of: none, short, medium, long, full."},"timeStyle":{"type":["null","string"],"description":"Time part style for a date field. One of: none, short, medium, long, full."},"isRelative":{"type":["null","boolean"],"description":"Show the date field as a relative value such as \"tomorrow\" when a date or time style is set."},"ignoresTimeZone":{"type":["null","boolean"],"description":"Keep the value's own time zone for a date field when a date or time style is set."},"automaticallyDetectDataDetectorTypes":{"type":["null","boolean"],"description":"Whether iOS turns phone numbers, links, addresses and dates found in the value into tappable links. Omitted, it\ndoes; `false` shows the value as plain text. Applies to a field with no `type`."},"value":{"description":"Value of the field, for example 42. May contain HTML links: only the <a> tag and its href attribute are supported.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Information about a field."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeAppleBeacon":{"type":"object","properties":{"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"major":{"type":["null","integer"],"description":"Major identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"minor":{"type":["null","integer"],"description":"Minor identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"uuid":{"type":["null","string"],"description":"Unique identifier of a Bluetooth Low Energy location beacon."}},"additionalProperties":false,"description":"Configuration for a beacon device"},"PassTypeAppleFeaturedAction":{"type":"object","properties":{"icon":{"type":["null","string"],"description":"SF Symbol name of the card's icon; prefer circular, filled variants. Omitted, a default icon for the action type is used."},"type":{"type":["null","string"],"description":"The predefined action type that determines the label and behavior of the featured action card."},"url":{"type":["null","string"],"description":"URL opened when the action is tapped: a website, a deep link into your app, or a `tel:` URI for `call` actions."},"placeIdentifier":{"type":["null","string"],"description":"The Apple Maps Place ID opened by `place` actions."}},"additionalProperties":false,"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination."},"PassTypeAppleImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster background image (artwork.png) for poster event tickets (iOS 18+) and poster generic passes (iOS 27+).\nSetting it on a generic pass activates the posterGeneric layout, on an event ticket posterEventTicket. Falls\nback to the strip image on older devices. Covers the poster card, whose size depends on the iPhone (370x503 pt\non a 402 pt wide iPhone): Wallet scales it to cover the card, centred horizontally, top-aligned on event\ntickets and centred on poster generic passes and store cards."},"background":{"type":["null","string"],"description":"Blurred background (background.png) behind the front of non-poster event tickets, 343 x 503 points. Poster layouts use ArtWork instead."},"footer":{"type":["null","string"],"description":"The image displayed on the front of the pass near the barcode. The allotted space is 858 x 45 points."},"icon":{"type":["null","string"],"description":"The pass's icon, shown in notifications, emails with a pass attached and on the lock screen with a shine effect and rounded corners. 87 x 87 points."},"logo":{"type":["null","string"],"description":"Image at the top left of the front, in a 480 x 150 points space; usually narrower."},"primaryLogo":{"type":["null","string"],"description":"Top-left logo for poster layouts (posterGeneric iOS 27+ and posterEventTicket iOS 18+). Fitted into 126x36 pt (posterEventTicket draws it at most 126x30 pt)."},"reuseExisting":{"type":["null","boolean"],"description":"For an upcoming event's header image or venue map: reuse the image the pass already carries rather than download one. `urls` takes precedence when set."},"secondaryLogo":{"type":["null","string"],"description":"Logo image that is displayed on bottom right footer inset of the pass. Ticket issuer or event company logo 135x12 pts."},"stampImages":{"type":["null","array"],"items":{"description":"The Apple images a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeAppleStampImage"},"description":"Per-stamp-count overrides of `Strip` and `ArtWork`, for a stamp card."},"strip":{"type":["null","string"],"description":"Image behind the primary fields: 1125 x 296 points for event tickets, 1125 x 432 for gift cards and coupons,\n1125 x 369 otherwise. Older hardware: 960 x 252, 960 x 330 (square barcode on 3.5 inch screens) or 960 x 369."},"thumbnail":{"type":["null","string"],"description":"Additional image on the front, such as a cardholder picture, 270 x 270 points. Aspect ratio between 2:3 and 3:2, otherwise cropped."},"urls":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleImageUrl"},"description":"For an upcoming event's header image or venue map: the remote copies of the image the device downloads."},"venueMap":{"type":["null","string"],"description":"Issuer-provided static map of the venue, which will be shown in the event guide."}},"additionalProperties":false,"description":"Image configuration for the pass"},"PassTypeAppleStampImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster artwork, used only when the template enables the poster layout."},"count":{"type":["null","integer"],"description":"The stamp count these images are shown at.","format":"int32"},"strip":{"type":["null","string"],"description":"Strip image for the classic store-card layout."}},"additionalProperties":false,"description":"The Apple images a stamp card shows at one exact stamp count."},"PassTypeAppleImageUrl":{"type":"object","properties":{"scale":{"type":["null","number"],"description":"The scale of the image. If unspecified, defaults to 1.","format":"double"},"sha256":{"type":["null","string"],"description":"(Required) The SHA256 hash of the image."},"size":{"type":["null","string"],"description":"Size of the image asset in bytes. The maximum allowed size is 2 megabytes."},"url":{"type":["null","string"],"description":"URL of the image to download. Required; https only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleLocation":{"type":"object","properties":{"altitude":{"type":["null","string"],"description":"Altitude, in meters, of the location."},"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"latitude":{"type":["null","string"],"description":"Latitude, in degrees, of the location."},"longitude":{"type":["null","string"],"description":"Longitude, in degrees, of the location."}},"additionalProperties":false,"description":"Configuration for a location"},"PassTypeAppleNfc":{"type":"object","properties":{"message":{"type":["null","string"],"description":"Payload sent to the Apple Pay terminal, at most 64 bytes (longer is truncated)."},"requiresAuthentication":{"type":["null","boolean"],"description":"Whether the NFC pass requires authentication for each use. Default false."}},"additionalProperties":false,"description":"Information about the NFC payload passed to an Apple Pay terminal. It is encrypted with the tenant's NFC key; without one, passes are issued without NFC."},"PassTypeAppleRelevantDate":{"type":"object","properties":{"endDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the end of the relevancy interval. Optional."},"startDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the start of the relevancy interval."}},"additionalProperties":false,"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one."},"PassTypeAppleSemantics":{"type":"object","properties":{"additionalTicketAttributes":{"type":["null","string"],"description":"Additional ticket attributes that other tags or keys in the pass don't include."},"admissionLevel":{"type":["null","string"],"description":"The level of admission the ticket provides, such as general admission, VIP, and so forth."},"admissionLevelAbbreviation":{"type":["null","string"],"description":"An abbreviation of the level of admission the ticket provides, such as GA or VIP."},"albumIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each album corresponding to the event, in decreasing order of significance."},"artistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each artist performing at the event, in decreasing order of significance."},"attendeeName":{"type":["null","string"],"description":"The name of the person the ticket grants admission to."},"awayTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the away team's name. Use this key only for a sports event ticket."},"awayTeamLocation":{"type":["null","string"],"description":"The home location of the away team. Use this key only for a sports event ticket."},"awayTeamName":{"type":["null","string"],"description":"The name of the away team. Use this key only for a sports event ticket."},"balance":{"description":"The current balance redeemable with the pass. Use this key only for a store card pass.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"duration":{"type":["null","string"],"description":"The duration of the event or transit journey, in seconds. Sent as a string: whole seconds or a Liquid template."},"entranceDescription":{"type":["null","string"],"description":"The long description of the entrance information."},"eventLiveMessage":{"type":["null","string"],"description":"The message Wallet shows in the Lock Screen Live Activity when the event starts."},"eventEndDate":{"type":["null","string"],"description":"The date and time the event ends. ISO 8601 date as string."},"eventName":{"description":"The full name of the event, such as the title of a movie.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventStartDate":{"type":["null","string"],"description":"The date and time the event starts. ISO 8601 date as string."},"eventStartDateInfo":{"description":"An object that provides information for the date and time the event starts. See SemanticTagType.EventDateInfo (iOS 18.0+).","$ref":"#/components/schemas/PassTypeAppleEventDateInfoValue"},"eventType":{"type":["null","string"],"description":"Type of event: PKEventTypeGeneric, PKEventTypeLivePerformance, PKEventTypeMovie, PKEventTypeSports,\nPKEventTypeConference, PKEventTypeConvention, PKEventTypeWorkshop or PKEventTypeSocialGathering."},"genre":{"type":["null","string"],"description":"The genre of the performance, such as classical."},"homeTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the home team's name. Use this key only for a sports event ticket."},"homeTeamLocation":{"type":["null","string"],"description":"The home location of the home team. Use this key only for a sports event ticket."},"homeTeamName":{"type":["null","string"],"description":"The name of the home team. Use this key only for a sports event ticket."},"leagueAbbreviation":{"type":["null","string"],"description":"The abbreviated league name for a sports event. Use this key only for a sports event ticket."},"leagueName":{"type":["null","string"],"description":"The unabbreviated league name for a sports event. Use this key only for a sports event ticket."},"performerNames":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the full names of the performers and opening acts at the event, in decreasing order of significance."},"playlistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each playlist corresponding to the event, in decreasing order of significance."},"seats":{"type":["null","array"],"items":{"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat.","$ref":"#/components/schemas/PassTypeAppleSeat"},"description":"An array of objects that represent the details for each seat at an event or on a transit journey. See SemanticTagType.Seat."},"silenceRequested":{"type":["null","string"],"description":"Whether the person's device stays silent during an event or transit journey (the system may override the\nperiod). Sent as a string: `true`, `false` or a Liquid template."},"sportName":{"type":["null","string"],"description":"The commonly used name of the sport. Use this key only for a sports event ticket."},"tailgatingAllowed":{"type":["null","string"],"description":"A Boolean value that indicates whether tailgating is allowed at the event. Sent as a string: `true`, `false` or a Liquid template."},"totalPrice":{"description":"The total price for the pass. Use this key for any pass type.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"venueBoxOfficeOpenDate":{"type":["null","string"],"description":"The date when the box office opens (ISO 8601)."},"venueCloseDate":{"type":["null","string"],"description":"The date when the venue closes (ISO 8601)."},"venueDoorsOpenDate":{"type":["null","string"],"description":"The date the doors to the venue open (ISO 8601)."},"venueEntrance":{"type":["null","string"],"description":"The full name of the entrance, such as Gate A, to use to gain access to the ticketed event."},"venueEntranceDoor":{"type":["null","string"],"description":"The venue entrance door."},"venueEntranceGate":{"type":["null","string"],"description":"The venue entrance gate."},"venueEntrancePortal":{"type":["null","string"],"description":"The venue entrance portal."},"venueFanZoneOpenDate":{"type":["null","string"],"description":"The date the fan zone opens (ISO 8601)."},"venueGatesOpenDate":{"type":["null","string"],"description":"The date the gates to the venue open (ISO 8601)."},"venueLocation":{"description":"An object that represents the geographic coordinates of the venue. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"venueName":{"type":["null","string"],"description":"The full name of the venue."},"venueOpenDate":{"type":["null","string"],"description":"The date when the venue opens (ISO 8601). Use this if none of the more specific venue open tags apply."},"venueParkingLotsOpenDate":{"type":["null","string"],"description":"The date the parking lots open (ISO 8601)."},"venuePhoneNumber":{"type":["null","string"],"description":"The phone number for inquiries about the venue's ticketed event."},"venueRegionName":{"type":["null","string"],"description":"The name of the city or hosting region of the venue."},"venueRoom":{"type":["null","string"],"description":"The full name of the room where the ticketed event is to take place."},"wifiAccess":{"type":["null","array"],"items":{"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork.","$ref":"#/components/schemas/PassTypeAppleWifiNetwork"},"description":"Wi-Fi networks associated with the event, such as the network name and password of a conference. See SemanticTagType.WifiNetwork."}},"additionalProperties":false,"description":"Apple Wallet semantic tags of the pass, as documented in Apple's SemanticTags specification."},"PassTypeAppleCurrencyAmount":{"type":"object","properties":{"amount":{"type":["null","string"],"description":"Amount in currency units."},"currencyCode":{"type":["null","string"],"description":"Three-letter currency code (ISO 4217), e.g., \"USD\"."}},"additionalProperties":false,"description":"An amount of money and its currency. See SemanticTagType.CurrencyAmount."},"PassTypeAppleEventDateInfoValue":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The date (ISO 8601 date as string)."},"ignoreTimeComponents":{"type":["null","string"],"description":"A Boolean value that indicates whether the system ignores the time components of the date. Sent as a string: `true`, `false` or a Liquid template."},"timeZone":{"type":["null","string"],"description":"The time zone to display in the date. Uses IANA time zone database identifiers (e.g. \"America/Los_Angeles\")."},"unannounced":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is announced. Sent as a string: `true`, `false` or a Liquid template."},"undetermined":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is determined. Sent as a string: `true`, `false` or a Liquid template."}},"additionalProperties":false,"description":"Date and time of an event. See SemanticTagType.EventDateInfo (iOS 18+)."},"PassTypeAppleSeat":{"type":"object","properties":{"seatAisle":{"type":["null","string"],"description":"The aisle that contains the seat."},"seatDescription":{"type":["null","string"],"description":"A description of the seat, such as 'A flat bed seat'."},"seatIdentifier":{"type":["null","string"],"description":"The identifier code for the seat."},"seatLevel":{"type":["null","string"],"description":"The level that contains the seat."},"seatNumber":{"type":["null","string"],"description":"The number of the seat."},"seatRow":{"type":["null","string"],"description":"The row that contains the seat."},"seatSection":{"type":["null","string"],"description":"The section that contains the seat."},"seatSectionColor":{"type":["null","string"],"description":"A color associated with identifying the seat, specified as a CSS-style RGB triple, such as rgb(23, 187, 82)."},"seatType":{"type":["null","string"],"description":"The type of seat, such as 'Reserved seating'."}},"additionalProperties":false,"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat."},"PassTypeLocation":{"type":"object","properties":{"latitude":{"type":["null","string"],"description":"Latitude in degrees."},"longitude":{"type":["null","string"],"description":"Longitude in degrees."}},"additionalProperties":false,"description":"An object that represents the coordinates of a location. See SemanticTagType.Location."},"PassTypeAppleWifiNetwork":{"type":"object","properties":{"password":{"type":["null","string"],"description":"Wi-Fi password (if any)."},"ssid":{"type":["null","string"],"description":"Wi-Fi SSID (network name)."}},"additionalProperties":false,"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork."},"PassTypeAppleSharing":{"type":"object","properties":{"method":{"type":["null","string"],"description":"What the Share button sends. One of: url (the text followed by the URL, the default), pkpass (the .pkpass file), disabled (no Share button)."},"url":{"type":["null","string"],"description":"URL shared by the `url` method, a template rendered with the pass's values. Omitted, the install page of the pass."},"text":{"type":["null","string"],"description":"Text sent ahead of the URL with the `url` method, a template rendered with the pass's values. Not translatable. Shown by some share targets, always included when the link is copied."}},"additionalProperties":false,"description":"What the Share button of an Apple pass sends."},"PassTypeAppleUpcomingPassInformation":{"type":"object","properties":{"actionLinks":{"description":"A collection of URLs used to populate UI elements in the details view.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the Additional Info section below a pass."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the details view of the upcoming pass information entry."},"dateInformation":{"description":"Information about the start and end time of the upcoming pass information entry. If omitted, the entry is labeled as TBD.","$ref":"#/components/schemas/PassTypeAppleDateInformation"},"identifier":{"type":["null","string"],"description":"Required. Unique identifier of the upcoming pass information entry."},"images":{"description":"A collection of image names used to populate images in the details view.","$ref":"#/components/schemas/PassTypeAppleImages"},"isActive":{"type":["null","string"],"description":"Indicates whether the upcoming pass information entry is currently active. The default value is false."},"name":{"type":["null","string"],"description":"(Required) The name of the upcoming pass information entry. A Liquid template, not a translatable string: one value for every language."},"semantics":{"description":"The semantic, machine-readable metadata about the upcoming pass information entry.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"type":{"type":["null","string"],"description":"(Required) The type of upcoming pass information entry. Value: event."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleDateInformation":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The start date of the upcoming pass information entry. If omitted, the entry lists the Time and Date as TBD."},"ignoreTimeComponents":{"type":["null","boolean"],"description":"Indicates whether the entry should ignore the time components of the date."},"isAllDay":{"type":["null","boolean"],"description":"Indicates whether the entry spans the entire day and that the time components should be ignored."},"isUnannounced":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been announced (commonly referred to as TBA)."},"isUndetermined":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been determined (commonly referred to as TBD)."},"timeZone":{"type":["null","string"],"description":"The time zone to adjust the date into. If omitted, the entry uses the current time zone of the device."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleImages":{"type":"object","properties":{"headerImage":{"description":"The name of the image file used for the header image on the details screen. This can be a remote asset.","$ref":"#/components/schemas/PassTypeAppleImage"},"venueMap":{"description":"The name of the image file used for the venue map in the event guide for each upcoming pass information entry.\nThis can be a remote asset and is available for event entries.","$ref":"#/components/schemas/PassTypeAppleImage"}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeGoogle":{"type":"object","properties":{"accountId":{"type":["null","string"],"description":"The loyalty account identifier. Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountIdLabel":{"description":"The account ID label, such as \"Member ID.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"accountName":{"type":["null","string"],"description":"The loyalty account holder name, such as \"John Smith.\" Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountNameLabel":{"description":"The account name label, such as \"Member Name.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"additionalLinks":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleUri"},"description":"Links module data."},"allowBarCodeRedemption":{"type":["null","boolean"],"description":"Whether the merchant supports redeeming the gift card by barcode. If true, the app displays a barcode on the\ndetails screen; if false, `barcode` is not displayed. Applies to: giftCard."},"appLinks":{"description":"Optional information about the partner app link.","$ref":"#/components/schemas/PassTypeGoogleAppLinkInfos"},"balance":{"description":"The card's monetary balance. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"balanceUpdateTime":{"type":["null","string"],"description":"When the balance was last updated; defaults to the current time when the balance is updated without it. Applies to: giftCard."},"barCode":{"description":"The barcode type and value.","$ref":"#/components/schemas/PassTypeGoogleBarCode"},"cardNumber":{"type":["null","string"],"description":"The card's number. Applies to: giftCard."},"cardNumberLabel":{"type":["null","string"],"description":"Label shown with the card number. Applies to: giftCard."},"confirmationCode":{"type":["null","string"],"description":"Confirmation code of the event reservation (order, confirmation or reservation number). Applies to: eventTicket."},"confirmationCodeLabel":{"type":["null","string"],"description":"Label for the confirmation code. Each option maps to localized strings. Not combinable with\n`customConfirmationCodeLabel`; when neither is set, \"Confirmation Code\" is used. Applies to: eventTicket.\nOne of: CONFIRMATION_CODE_LABEL_UNSPECIFIED, CONFIRMATION_CODE, CONFIRMATION_NUMBER, ORDER_NUMBER,\nRESERVATION_NUMBER."},"countryCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code used to display and localize the pass. Applies to: customerCard, eventTicket, giftCard, offer, stampCard."},"customConfirmationLabel":{"description":"Custom label for the confirmation code, for when the default or a `confirmationCodeLabel` option is not\nsufficient. Not combinable with `confirmationCodeLabel`. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"dateTimeDetails":{"description":"Date time details of the pass. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleDateTimeDetails"},"details":{"description":"The details of the offer. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"disableExpirationNotification":{"type":["null","boolean"],"description":"Indicates whether Google Wallet should suppress expiration notifications for the offer. Applies to: offer."},"discoverableProgram":{"description":"Information about how the class may be discovered and instantiated from within the Google Wallet app. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleDiscoverableProgram"},"eventId":{"type":["null","string"],"description":"ID of the event, unique per event in an account (at most 64 characters). Groups tickets the user saved for the\nsame event; when omitted, the platform groups by other data, possibly unstable. With one class per event, use\nthe classId (with or without the issuer ID). Avoid collisions, which group tickets that should not be grouped.\nApplies to: eventTicket."},"eventName":{"description":"The name of the event, such as \"LA Dodgers at SF Giants\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventNumber":{"type":["null","string"],"description":"The card's event number, an optional field used by some gift cards. Applies to: giftCard."},"eventNumberLabel":{"description":"The label to display for event number, such as \"Target Event #\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expiryNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay to send expiry notifications 2 days prior to the card expiration. Applies to: generic."},"faceValue":{"description":"The face value of the ticket, matching what would be printed on a physical version of the ticket. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"finePrint":{"description":"The fine print or terms of the pass, such as \"20% off any t-shirt at Adam's Apparel.\" Applies to: eventTicket, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"description":"Gate seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleGate"},"header":{"description":"Required. The title of the pass, such as \"50% off coupon\" or \"Library card\" or \"Voucher\". This field is required\nand appears in the title row of the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"helpUrl":{"description":"The help link for the offer, such as http://myownpersonaldomain.com/help. Applies to: offer.","$ref":"#/components/schemas/PassTypeGoogleUri"},"heroImage":{"type":["null","string"],"description":"Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width."},"hexBackgroundColor":{"type":["null","string"],"description":"Background color as `#rrggbb` or `#rgb`. Defaults to the dominant color of the hero image, else of the logo."},"homepage":{"description":"URI of your application's home page, shown as a link like `linksModuleData`. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeGoogleUri"},"identifier":{"type":["null","string"],"description":"Name of the Google Wallet class the passes belong to. Advanced: leave null unless the class already exists in\nGoogle Wallet, for example when passes are imported from another system."},"issuerName":{"description":"The issuer name. Recommended maximum 20 characters. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"locations":{"type":["null","array"],"items":{"description":"An object that represents the coordinates of a location. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"description":"The list of locations where the object can be used. The platform uses this information to trigger geolocated notifications to users."},"logo":{"type":["null","string"],"description":"Logo shown in the card detail view (upper left) and the list view; without it, the first letter of cardTitle. Applies to: eventTicket, generic."},"loyaltyPoints":{"description":"The loyalty reward points label, balance, and type. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"merchantName":{"description":"Merchant name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to ensure\nfull string is displayed on smaller screens. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"messages":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleMessage"},"description":"Messages displayed in the app to all users of this object. At most 10."},"multipleDevicesAndHoldersAllowedStatus":{"type":["null","string"],"description":"Identifies whether multiple users and devices will save the same object referencing this class. One of: multipleHolder, oneUserAllDevices, oneUserOneDevice."},"screenshotEligibility":{"type":["null","string"],"description":"Whether the holder can take a screenshot of the pass in Google Wallet on Android. One of: unspecified, eligible, ineligible."},"nfcConstraints":{"type":["null","array"],"items":{"type":"string"},"description":"What the phone must not hand out over NFC while the pass is open. Each one of: blockPayment, blockClosedLoopTransit."},"grouping":{"description":"How passes are grouped together in Google Wallet.","$ref":"#/components/schemas/PassTypeGoogleGrouping"},"imageModule":{"description":"An image shown at full width among the details of the pass.","$ref":"#/components/schemas/PassTypeGoogleImageModule"},"pin":{"type":["null","string"],"description":"The card's PIN. Applies to: giftCard."},"pinLabel":{"description":"The label to display for the PIN, such as \"4-digit PIN\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"programLogo":{"type":["null","string"],"description":"Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. Applies to: customerCard, giftCard, stampCard."},"programName":{"description":"The program name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to\nensure full string is displayed on smaller screens. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"provider":{"description":"The offer provider (either the aggregator name or merchant name). Recommended maximum 12 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"redemptionChannel":{"type":["null","string"],"description":"The redemption channels applicable to this offer. Applies to: offer. One of: REDEMPTION_CHANNEL_UNSPECIFIED, INSTORE, ONLINE, BOTH, TEMPORARY_PRICE_REDUCTION."},"rewardsTier":{"type":["null","string"],"description":"The rewards tier, such as \"Gold\" or \"Platinum.\" Recommended maximum 7 characters. Applies to: customerCard, stampCard."},"rewardsTierLabel":{"description":"The rewards tier label, such as \"Rewards Tier.\" Recommended maximum 9 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"description":"Row seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleRow"},"seat":{"description":"Seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSeat"},"secondaryLoyaltyPoints":{"description":"The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"secondaryRewardsTier":{"type":["null","string"],"description":"The secondary rewards tier, such as \"Gold\" or \"Platinum.\". Applies to: customerCard, stampCard."},"secondaryRewardsTierLabel":{"description":"The secondary rewards tier label, such as \"Rewards Tier.\". Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"description":"Section seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSection"},"securityAnimation":{"type":["null","string"],"description":"Security animation rendered on pass details. One of: unspecified, foilShimmer."},"shortTitle":{"description":"A shortened version of the title of the offer, such as \"20% off,\" shown to users as a quick reference to the\noffer contents. Recommended maximum 20 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"smartTap":{"description":"Identifies whether this class supports Smart Tap.","$ref":"#/components/schemas/PassTypeGoogleSmartTap"},"stampImages":{"type":["null","array"],"items":{"description":"The Google image a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeGoogleStampImage"},"description":"The hero image to show at each stamp count. The entry matching the holder's current count replaces the class-level hero image. Applies to: stampCard."},"state":{"type":["null","string"],"description":"State of the object, which decides how the app displays it (an inactive object moves to \"Expired passes\"). One of: ACTIVE, COMPLETED, EXPIRED, INACTIVE."},"subheader":{"description":"The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"templateOverride":{"description":"Which values the card shows where, in place of Google's default layout.","$ref":"#/components/schemas/PassTypeGoogleTemplateOverride"},"texts":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleText"},"description":"Text module data."},"ticketHolderName":{"type":["null","string"],"description":"Name of the ticket holder, if the ticket is assigned to a person. E.g. \"John Doe\" or \"Jane Doe\". Applies to: eventTicket."},"ticketNumber":{"type":["null","string"],"description":"The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets\nfor the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). Applies to: eventTicket."},"ticketType":{"description":"The type of the ticket, such as \"Adult\" or \"Child\", or \"VIP\" or \"Standard\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"The title of the offer, such as \"20% off any t-shirt.\" Recommended maximum 60 characters. Applies to: generic, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"titleImage":{"type":["null","string"],"description":"The title image of the offer. This image is displayed in both the details and list views of the app. Applies to: offer."},"upcomingNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay send an upcoming card validity notification 1 day before card becomes valid/usable. Applies to: generic."},"validTimeInterval":{"description":"The time period this object will be active and object can be used. An object's state will be changed to expired when this time period has passed.","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"valueAddedOpportunities":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleValueAddedItem"},"description":"Optional value added module data. Maximum of ten on the object."},"venue":{"description":"Event venue details. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleVenue"},"viewUnlockRequirement":{"type":["null","string"],"description":"View Unlock Requirement. One of: unspecified, requiredToView, notRequired."},"wideLogo":{"type":["null","string"],"description":"The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. Applies to: eventTicket, generic."},"wideProgramLogo":{"type":["null","string"],"description":"The wide logo of the loyalty program or company. When provided, this will be used in place of the program logo\nin the top left of the card view. Applies to: customerCard, giftCard, stampCard."},"wideTitleImage":{"type":["null","string"],"description":"The wide title image used in place of the title image in the top left of the card view. Applies to: offer."}},"additionalProperties":false,"description":"The Google Wallet card. Not every pass kind accepts every property, and one that only some kinds accept says so."},"PassTypeGoogleUri":{"type":"object","properties":{"label":{"description":"The URI's title appearing in the app as text. Recommended maximum 20 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"uri":{"type":["null","string"],"description":"Location of a web page, image or other resource, with a scheme (web link, map, telephone number or email address). A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAppLinkInfos":{"type":"object","properties":{"androidAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the Android client.","$ref":"#/components/schemas/PassTypeGoogleAndroidAppLinkInfo"},"displayText":{"description":"Optional display text for the app link button. Character limit is 30.","$ref":"#/components/schemas/PassTypeLocalizedString"},"webAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the web client.","$ref":"#/components/schemas/PassTypeGoogleWebAppLinkInfo"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAndroidAppLinkInfo":{"type":"object","properties":{"packageName":{"type":["null","string"],"description":"Package name for AppTarget. For example: com.google.android.gm."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleWebAppLinkInfo":{"type":"object","properties":{"targetUri":{"description":"URI for AppTarget, with a description. Prefer the package field when the target is defined for your application.","$ref":"#/components/schemas/PassTypeGoogleUri"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleMoney":{"type":"object","properties":{"currencyCode":{"type":["null","string"],"description":"The currency code, such as \"USD\" or \"EUR.\"."},"value":{"type":["null","string"],"description":"Amount, as a number or a Liquid template rendering one. Not a translatable string: one value for every language."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBarCode":{"type":"object","properties":{"alternateText":{"type":["null","string"],"description":"A human readable equivalent of the barcode value, shown under the barcode in place of the default text. Not allowed on a TEXT_ONLY barcode."},"showCodeText":{"description":"Text shown when a Smart Tap barcode is hidden behind a click action.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"The type of barcode. Only QR_CODE is supported for rotating barcodes. One of: AZTEC, CODE_39, CODE_128, CODABAR,\nDATA_MATRIX, EAN_8, EAN_13, ITF_14, PDF_417, QR_CODE, UPC_A, TEXT_ONLY."},"value":{"type":["null","string"],"description":"The value encoded in the barcode."},"rotating":{"type":["null","boolean"],"description":"The phone recomputes the code every period from a one-time password (QR_CODE and PDF_417 only). The value must hold {totp_value_0}, replaced by the current password."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDateTimeDetails":{"type":"object","properties":{"customDoorsOpenLabel":{"description":"Custom label for the doors open value, for when the default \"Doors Open\" or a `doorsOpenLabel` option is not sufficient. Not combinable with `doorsOpenLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"doorsOpen":{"type":["null","string"],"description":"When the doors open at the venue. ISO 8601 extended format, with or without an offset, up to nanosecond\nprecision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local date/time; some rich\nfeatures need the offset."},"doorsOpenLabel":{"type":["null","string"],"description":"Label for the doors open value. Each option maps to localized strings. Not combinable with\n`customDoorsOpenLabel`; when neither is set, \"Doors Open\" is used. One of: DOORS_OPEN_LABEL_UNSPECIFIED,\nDOORS_OPEN, GATES_OPEN."},"end":{"type":["null","string"],"description":"When the event ends (on the last day, if it spans several). ISO 8601 extended format, with or without an offset,\nup to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."},"start":{"type":["null","string"],"description":"When the event starts (on the first day, if it spans several). ISO 8601 extended format, with or without an\noffset, up to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDiscoverableProgram":{"type":"object","properties":{"signinUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signin site. Used when MERCHANT_HOSTED_SIGNIN is enabled."},"signupSharedDatas":{"type":["null","array"],"items":{"type":"string"},"description":"User data sent in a POST to the sign-up URL: Google Wallet SharedDataType strings such as FIRST_NAME, LAST_NAME, EMAIL."},"signupUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signup site. Used when MERCHANT_HOSTED_SIGNUP is enabled."},"state":{"type":["null","string"],"description":"Visibility state of the discoverable program. One of: trustedTesters, live, disabled."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGate":{"type":"object","properties":{"customGateLabel":{"description":"Custom label for the gate value, for when the default \"Gate\" or a `gateLabel` option is not sufficient. Not combinable with `gateLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"type":["null","string"],"description":"The gate the ticket holder should enter to get to their seat, such as \"A\" or \"West\"."},"gateLabel":{"type":["null","string"],"description":"Label for the gate value. Each option maps to localized strings. Not combinable with `customGateLabel`;\nwhen neither is set, \"Gate\" is used. One of: GATE_LABEL_UNSPECIFIED, GATE, DOOR, ENTRANCE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleLoyaltyPoint":{"type":"object","properties":{"balance":{"description":"The account holder's loyalty point balance, such as \"500\" or \"$10.00\". Recommended maximum 7 characters. This is\na required field of loyaltyPoints and secondaryLoyaltyPoints.","$ref":"#/components/schemas/PassTypeGoogleBalanceConfigurationBase"},"label":{"description":"The loyalty points label, such as \"Points\". Recommended maximum 9 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBalanceConfigurationBase":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value of the pass. A Liquid template, not a translatable string: one value for every language."},"type":{"type":["null","string"],"description":"How Google reads `value`: `string`, `integer`, `double` or `money`.\nOmitted, `string`."},"currencyCode":{"type":["null","string"],"description":"The currency of a `money` balance, such as `USD` or `EUR`. Required for `money`, ignored otherwise."}},"additionalProperties":false,"description":"A loyalty balance: its value, and how Google reads and displays it."},"PassTypeGoogleMessage":{"type":"object","properties":{"body":{"description":"The message body.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the message is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"The message header.","$ref":"#/components/schemas/PassTypeLocalizedString"},"id":{"type":["null","string"],"description":"Optional identifier."},"notify":{"type":["null","boolean"],"description":"Whether a notification appears when the body changes."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleTimeInterval":{"type":"object","properties":{"end":{"type":["null","string"],"description":"End time of the interval."},"start":{"type":["null","string"],"description":"Start time of the interval."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGrouping":{"type":"object","properties":{"id":{"type":["null","string"],"description":"The group the pass belongs to: passes with the same id are shown stacked together."},"sortIndex":{"type":["null","string"],"description":"The pass's position in its group, lower first."}},"additionalProperties":false,"description":"How passes are grouped together in Google Wallet."},"PassTypeGoogleImageModule":{"type":"object","properties":{"description":{"description":"What the image shows, read by screen readers. Carries one value per language.","$ref":"#/components/schemas/PassTypeLocalizedString"},"image":{"type":["null","string"],"description":"The image."}},"additionalProperties":false,"description":"An image shown at full width among the details of the pass."},"PassTypeGoogleRow":{"type":"object","properties":{"customRowLabel":{"description":"Custom label for the row value, for when the default \"Row\" or a `rowLabel` option is not sufficient. Not combinable with `rowLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"type":["null","string"],"description":"The row of the seat, such as \"1\", E\", \"BB\", or \"A5\"."},"rowLabel":{"type":["null","string"],"description":"Label for the row value. Each option maps to localized strings. Not combinable with `customRowLabel`; when\nneither is set, \"Row\" is used. One of: ROW_LABEL_UNSPECIFIED, ROW."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSeat":{"type":"object","properties":{"customSeatLabel":{"description":"Custom label for the seat value, for when the default \"Seat\" or a `seatLabel` option is not sufficient. Not combinable with `seatLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"seat":{"type":["null","string"],"description":"The seat number, such as \"1\", \"2\", \"3\", or any other seat identifier."},"seatLabel":{"type":["null","string"],"description":"Label for the seat value. Each option maps to localized strings. Not combinable with `customSeatLabel`;\nwhen neither is set, \"Seat\" is used. One of: SEAT_LABEL_UNSPECIFIED, SEAT."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSection":{"type":"object","properties":{"customSectionLabel":{"description":"Custom label for the section value, for when the default \"Section\" or a `sectionLabel` option is not sufficient. Not combinable with `sectionLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"type":["null","string"],"description":"The section of the seat, such as \"121\"."},"sectionLabel":{"type":["null","string"],"description":"Label for the section value. Each option maps to localized strings. Not combinable with\n`customSectionLabel`; when neither is set, \"Section\" is used. One of: SECTION_LABEL_UNSPECIFIED, SECTION,\nTHEATRE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSmartTap":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value transmitted to a Smart Tap terminal over NFC (ASCII only). A Liquid template, not a translatable string."}},"additionalProperties":false,"description":"Smart Tap: lets a Smart Tap terminal read a value from the pass over NFC. The tenant's issuer redeems it, and without a Smart Tap key on the tenant it is not enabled."},"PassTypeGoogleStampImage":{"type":"object","properties":{"count":{"type":["null","integer"],"description":"The stamp count this image is shown at.","format":"int32"},"heroImage":{"type":["null","string"],"description":"Hero image for that count (1032x336)."}},"additionalProperties":false,"description":"The Google image a stamp card shows at one exact stamp count."},"PassTypeGoogleTemplateOverride":{"type":"object","properties":{"barcodeInfo":{"description":"The values shown around the barcode.","$ref":"#/components/schemas/PassTypeGoogleBarcodeInfo"},"cardTemplateInfo":{"description":"The rows of values on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfo"},"detailsTemplateInfo":{"description":"The order and content of the details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsTemplateOverride"},"listTemplateInfo":{"description":"How the card reads in the holder's list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfo"}},"additionalProperties":false,"description":"Which values the card shows where, in place of Google's default layout."},"PassTypeGoogleBarcodeInfo":{"type":"object","properties":{"firstBottomDetail":{"description":"Value shown below the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"firstTopDetail":{"description":"First value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"secondTopDetail":{"description":"Second value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"}},"additionalProperties":false,"description":"The values shown around the barcode of the card."},"PassTypeGoogleDetail":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value shown next to the barcode, read from a field of the Google object or class."},"PassTypeGoogleCardTemplateInfo":{"type":"object","properties":{"firstLine":{"description":"First row. Required once the card layout is overridden.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"lines":{"type":["null","array"],"items":{"description":"One row on the front of the card: one to three slots, left to right.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"description":"The configured rows in display order. Read-only: derived from `firstLine`, `secondLine` and `thirdLine`, and ignored on save."},"secondLine":{"description":"Second row.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"thirdLine":{"description":"Third row. Shown only when `secondLine` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"}},"additionalProperties":false,"description":"The rows of values on the front of the card, top to bottom."},"PassTypeGoogleCardTemplateInfoRow":{"type":"object","properties":{"firstItem":{"description":"First slot. Required.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"items":{"type":["null","array"],"items":{"description":"One slot of a row on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"description":"The configured slots in display order. Read-only: derived from `firstItem`, `secondItem` and `thirdItem`, and ignored on save."},"secondItem":{"description":"Second slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"thirdItem":{"description":"Third slot. Shown only when `secondItem` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"}},"additionalProperties":false,"description":"One row on the front of the card: one to three slots, left to right."},"PassTypeGoogleCardTemplateInfoItem":{"type":"object","properties":{"primary":{"description":"Value shown in the slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"},"secondary":{"description":"Value shown beside the primary one in the same slot, separated by a slash.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"}},"additionalProperties":false,"description":"One slot of a row on the front of the card."},"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."},"PassTypeGoogleDetailsTemplateOverride":{"type":"object","properties":{"items":{"type":["null","array"],"items":{"description":"One entry of the card's details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsItem"},"description":"The entries, in display order."}},"additionalProperties":false,"description":"The order and content of the card's details view."},"PassTypeGoogleDetailsItem":{"type":"object","properties":{"firstValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of the entry's value. The first one holding a value is shown."},"secondValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of a second value shown beside the first, separated by a slash."}},"additionalProperties":false,"description":"One entry of the card's details view."},"PassTypeGoogleListTemplateInfo":{"type":"object","properties":{"rows":{"type":["null","array"],"items":{"description":"One line of the card in the list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfoRow"},"description":"The lines under the card's title. Only the first two are shown."}},"additionalProperties":false,"description":"How the card reads in the holder's list of passes."},"PassTypeGoogleListTemplateInfoRow":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the line from. The first one holding a value is shown."}},"additionalProperties":false,"description":"One line of the card in the list of passes."},"PassTypeGoogleText":{"type":"object","properties":{"body":{"description":"The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum 500 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"header":{"description":"The header of the Text Module. Recommended maximum 35 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleValueAddedItem":{"type":"object","properties":{"body":{"description":"Body to be displayed on the module. Character limit is 50 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the module is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"Header to be displayed on the module. Character limit is 60 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"logo":{"type":["null","string"],"description":"Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio."},"uri":{"type":["null","string"],"description":"URI the module leads to on click: a web link or a deep link. A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleVenue":{"type":"object","properties":{"address":{"description":"Address of the venue, such as \"24 Willie Mays Plaza\\nSan Francisco, CA 94107\"; lines are separated by `\\n`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"name":{"description":"The name of the venue, such as \"AT&T Park\".","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypePreview":{"type":"object","properties":{"subTitle":{"description":"Sub title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"Title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the pass configuration."},"PassTypeScannableData":{"type":"object","properties":{"persistScannableData":{"type":["null","boolean"],"description":"Whether scannable data is kept on the pass, for compatible systems."}},"additionalProperties":false,"description":"Part of the pass configuration."},"PassTypeStamps":{"type":"object","properties":{"behaviour":{"type":["null","string"],"description":"What happens to the card once `Target` is reached. One of: resetOnNextStamp, resetImmediately, stayAtGoal."},"rewardBenefitTemplateId":{"type":["null","string"],"description":"Id of the benefit template granted when the goal is reached, or `null` for a card that rewards nothing on its own."},"target":{"type":["null","integer"],"description":"Number of stamps that reaches the goal.","format":"int32"}},"additionalProperties":false,"description":"The stamp mechanic carried by a `stampCard` pass: how many stamps reach the goal, what the card shows on the way there, and what happens once it arrives."},"PassTypeMetadata":{"type":"object","properties":{"entries":{"type":["null","array"],"items":{"description":"One metadata field computed on every pass of the template.","$ref":"#/components/schemas/PassTypeMetadataDefinition"},"description":"One entry per value computed."}},"additionalProperties":false,"description":"Values computed whenever a pass is updated, which issued passes can be searched by."},"PassTypeMetadataDefinition":{"type":"object","properties":{"key":{"type":["null","string"],"description":"Key of the value on each pass, and what passes are filtered on."},"type":{"type":["null","string"],"description":"Data type of the value. One of: string, number, boolean, datetime. Omitted reads as string."},"value":{"type":["null","string"],"description":"Liquid template computing the value whenever a pass is updated."}},"additionalProperties":false,"description":"One metadata field computed on every pass of the template."}}}}
```

## The PassTypeGoogle object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogle":{"type":"object","properties":{"accountId":{"type":["null","string"],"description":"The loyalty account identifier. Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountIdLabel":{"description":"The account ID label, such as \"Member ID.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"accountName":{"type":["null","string"],"description":"The loyalty account holder name, such as \"John Smith.\" Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountNameLabel":{"description":"The account name label, such as \"Member Name.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"additionalLinks":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleUri"},"description":"Links module data."},"allowBarCodeRedemption":{"type":["null","boolean"],"description":"Whether the merchant supports redeeming the gift card by barcode. If true, the app displays a barcode on the\ndetails screen; if false, `barcode` is not displayed. Applies to: giftCard."},"appLinks":{"description":"Optional information about the partner app link.","$ref":"#/components/schemas/PassTypeGoogleAppLinkInfos"},"balance":{"description":"The card's monetary balance. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"balanceUpdateTime":{"type":["null","string"],"description":"When the balance was last updated; defaults to the current time when the balance is updated without it. Applies to: giftCard."},"barCode":{"description":"The barcode type and value.","$ref":"#/components/schemas/PassTypeGoogleBarCode"},"cardNumber":{"type":["null","string"],"description":"The card's number. Applies to: giftCard."},"cardNumberLabel":{"type":["null","string"],"description":"Label shown with the card number. Applies to: giftCard."},"confirmationCode":{"type":["null","string"],"description":"Confirmation code of the event reservation (order, confirmation or reservation number). Applies to: eventTicket."},"confirmationCodeLabel":{"type":["null","string"],"description":"Label for the confirmation code. Each option maps to localized strings. Not combinable with\n`customConfirmationCodeLabel`; when neither is set, \"Confirmation Code\" is used. Applies to: eventTicket.\nOne of: CONFIRMATION_CODE_LABEL_UNSPECIFIED, CONFIRMATION_CODE, CONFIRMATION_NUMBER, ORDER_NUMBER,\nRESERVATION_NUMBER."},"countryCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code used to display and localize the pass. Applies to: customerCard, eventTicket, giftCard, offer, stampCard."},"customConfirmationLabel":{"description":"Custom label for the confirmation code, for when the default or a `confirmationCodeLabel` option is not\nsufficient. Not combinable with `confirmationCodeLabel`. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"dateTimeDetails":{"description":"Date time details of the pass. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleDateTimeDetails"},"details":{"description":"The details of the offer. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"disableExpirationNotification":{"type":["null","boolean"],"description":"Indicates whether Google Wallet should suppress expiration notifications for the offer. Applies to: offer."},"discoverableProgram":{"description":"Information about how the class may be discovered and instantiated from within the Google Wallet app. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleDiscoverableProgram"},"eventId":{"type":["null","string"],"description":"ID of the event, unique per event in an account (at most 64 characters). Groups tickets the user saved for the\nsame event; when omitted, the platform groups by other data, possibly unstable. With one class per event, use\nthe classId (with or without the issuer ID). Avoid collisions, which group tickets that should not be grouped.\nApplies to: eventTicket."},"eventName":{"description":"The name of the event, such as \"LA Dodgers at SF Giants\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventNumber":{"type":["null","string"],"description":"The card's event number, an optional field used by some gift cards. Applies to: giftCard."},"eventNumberLabel":{"description":"The label to display for event number, such as \"Target Event #\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expiryNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay to send expiry notifications 2 days prior to the card expiration. Applies to: generic."},"faceValue":{"description":"The face value of the ticket, matching what would be printed on a physical version of the ticket. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"finePrint":{"description":"The fine print or terms of the pass, such as \"20% off any t-shirt at Adam's Apparel.\" Applies to: eventTicket, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"description":"Gate seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleGate"},"header":{"description":"Required. The title of the pass, such as \"50% off coupon\" or \"Library card\" or \"Voucher\". This field is required\nand appears in the title row of the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"helpUrl":{"description":"The help link for the offer, such as http://myownpersonaldomain.com/help. Applies to: offer.","$ref":"#/components/schemas/PassTypeGoogleUri"},"heroImage":{"type":["null","string"],"description":"Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width."},"hexBackgroundColor":{"type":["null","string"],"description":"Background color as `#rrggbb` or `#rgb`. Defaults to the dominant color of the hero image, else of the logo."},"homepage":{"description":"URI of your application's home page, shown as a link like `linksModuleData`. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeGoogleUri"},"identifier":{"type":["null","string"],"description":"Name of the Google Wallet class the passes belong to. Advanced: leave null unless the class already exists in\nGoogle Wallet, for example when passes are imported from another system."},"issuerName":{"description":"The issuer name. Recommended maximum 20 characters. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"locations":{"type":["null","array"],"items":{"description":"An object that represents the coordinates of a location. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"description":"The list of locations where the object can be used. The platform uses this information to trigger geolocated notifications to users."},"logo":{"type":["null","string"],"description":"Logo shown in the card detail view (upper left) and the list view; without it, the first letter of cardTitle. Applies to: eventTicket, generic."},"loyaltyPoints":{"description":"The loyalty reward points label, balance, and type. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"merchantName":{"description":"Merchant name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to ensure\nfull string is displayed on smaller screens. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"messages":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleMessage"},"description":"Messages displayed in the app to all users of this object. At most 10."},"multipleDevicesAndHoldersAllowedStatus":{"type":["null","string"],"description":"Identifies whether multiple users and devices will save the same object referencing this class. One of: multipleHolder, oneUserAllDevices, oneUserOneDevice."},"screenshotEligibility":{"type":["null","string"],"description":"Whether the holder can take a screenshot of the pass in Google Wallet on Android. One of: unspecified, eligible, ineligible."},"nfcConstraints":{"type":["null","array"],"items":{"type":"string"},"description":"What the phone must not hand out over NFC while the pass is open. Each one of: blockPayment, blockClosedLoopTransit."},"grouping":{"description":"How passes are grouped together in Google Wallet.","$ref":"#/components/schemas/PassTypeGoogleGrouping"},"imageModule":{"description":"An image shown at full width among the details of the pass.","$ref":"#/components/schemas/PassTypeGoogleImageModule"},"pin":{"type":["null","string"],"description":"The card's PIN. Applies to: giftCard."},"pinLabel":{"description":"The label to display for the PIN, such as \"4-digit PIN\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"programLogo":{"type":["null","string"],"description":"Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. Applies to: customerCard, giftCard, stampCard."},"programName":{"description":"The program name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to\nensure full string is displayed on smaller screens. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"provider":{"description":"The offer provider (either the aggregator name or merchant name). Recommended maximum 12 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"redemptionChannel":{"type":["null","string"],"description":"The redemption channels applicable to this offer. Applies to: offer. One of: REDEMPTION_CHANNEL_UNSPECIFIED, INSTORE, ONLINE, BOTH, TEMPORARY_PRICE_REDUCTION."},"rewardsTier":{"type":["null","string"],"description":"The rewards tier, such as \"Gold\" or \"Platinum.\" Recommended maximum 7 characters. Applies to: customerCard, stampCard."},"rewardsTierLabel":{"description":"The rewards tier label, such as \"Rewards Tier.\" Recommended maximum 9 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"description":"Row seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleRow"},"seat":{"description":"Seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSeat"},"secondaryLoyaltyPoints":{"description":"The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"secondaryRewardsTier":{"type":["null","string"],"description":"The secondary rewards tier, such as \"Gold\" or \"Platinum.\". Applies to: customerCard, stampCard."},"secondaryRewardsTierLabel":{"description":"The secondary rewards tier label, such as \"Rewards Tier.\". Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"description":"Section seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSection"},"securityAnimation":{"type":["null","string"],"description":"Security animation rendered on pass details. One of: unspecified, foilShimmer."},"shortTitle":{"description":"A shortened version of the title of the offer, such as \"20% off,\" shown to users as a quick reference to the\noffer contents. Recommended maximum 20 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"smartTap":{"description":"Identifies whether this class supports Smart Tap.","$ref":"#/components/schemas/PassTypeGoogleSmartTap"},"stampImages":{"type":["null","array"],"items":{"description":"The Google image a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeGoogleStampImage"},"description":"The hero image to show at each stamp count. The entry matching the holder's current count replaces the class-level hero image. Applies to: stampCard."},"state":{"type":["null","string"],"description":"State of the object, which decides how the app displays it (an inactive object moves to \"Expired passes\"). One of: ACTIVE, COMPLETED, EXPIRED, INACTIVE."},"subheader":{"description":"The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"templateOverride":{"description":"Which values the card shows where, in place of Google's default layout.","$ref":"#/components/schemas/PassTypeGoogleTemplateOverride"},"texts":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleText"},"description":"Text module data."},"ticketHolderName":{"type":["null","string"],"description":"Name of the ticket holder, if the ticket is assigned to a person. E.g. \"John Doe\" or \"Jane Doe\". Applies to: eventTicket."},"ticketNumber":{"type":["null","string"],"description":"The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets\nfor the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). Applies to: eventTicket."},"ticketType":{"description":"The type of the ticket, such as \"Adult\" or \"Child\", or \"VIP\" or \"Standard\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"The title of the offer, such as \"20% off any t-shirt.\" Recommended maximum 60 characters. Applies to: generic, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"titleImage":{"type":["null","string"],"description":"The title image of the offer. This image is displayed in both the details and list views of the app. Applies to: offer."},"upcomingNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay send an upcoming card validity notification 1 day before card becomes valid/usable. Applies to: generic."},"validTimeInterval":{"description":"The time period this object will be active and object can be used. An object's state will be changed to expired when this time period has passed.","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"valueAddedOpportunities":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleValueAddedItem"},"description":"Optional value added module data. Maximum of ten on the object."},"venue":{"description":"Event venue details. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleVenue"},"viewUnlockRequirement":{"type":["null","string"],"description":"View Unlock Requirement. One of: unspecified, requiredToView, notRequired."},"wideLogo":{"type":["null","string"],"description":"The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. Applies to: eventTicket, generic."},"wideProgramLogo":{"type":["null","string"],"description":"The wide logo of the loyalty program or company. When provided, this will be used in place of the program logo\nin the top left of the card view. Applies to: customerCard, giftCard, stampCard."},"wideTitleImage":{"type":["null","string"],"description":"The wide title image used in place of the title image in the top left of the card view. Applies to: offer."}},"additionalProperties":false,"description":"The Google Wallet card. Not every pass kind accepts every property, and one that only some kinds accept says so."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeGoogleUri":{"type":"object","properties":{"label":{"description":"The URI's title appearing in the app as text. Recommended maximum 20 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"uri":{"type":["null","string"],"description":"Location of a web page, image or other resource, with a scheme (web link, map, telephone number or email address). A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAppLinkInfos":{"type":"object","properties":{"androidAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the Android client.","$ref":"#/components/schemas/PassTypeGoogleAndroidAppLinkInfo"},"displayText":{"description":"Optional display text for the app link button. Character limit is 30.","$ref":"#/components/schemas/PassTypeLocalizedString"},"webAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the web client.","$ref":"#/components/schemas/PassTypeGoogleWebAppLinkInfo"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAndroidAppLinkInfo":{"type":"object","properties":{"packageName":{"type":["null","string"],"description":"Package name for AppTarget. For example: com.google.android.gm."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleWebAppLinkInfo":{"type":"object","properties":{"targetUri":{"description":"URI for AppTarget, with a description. Prefer the package field when the target is defined for your application.","$ref":"#/components/schemas/PassTypeGoogleUri"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleMoney":{"type":"object","properties":{"currencyCode":{"type":["null","string"],"description":"The currency code, such as \"USD\" or \"EUR.\"."},"value":{"type":["null","string"],"description":"Amount, as a number or a Liquid template rendering one. Not a translatable string: one value for every language."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBarCode":{"type":"object","properties":{"alternateText":{"type":["null","string"],"description":"A human readable equivalent of the barcode value, shown under the barcode in place of the default text. Not allowed on a TEXT_ONLY barcode."},"showCodeText":{"description":"Text shown when a Smart Tap barcode is hidden behind a click action.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"The type of barcode. Only QR_CODE is supported for rotating barcodes. One of: AZTEC, CODE_39, CODE_128, CODABAR,\nDATA_MATRIX, EAN_8, EAN_13, ITF_14, PDF_417, QR_CODE, UPC_A, TEXT_ONLY."},"value":{"type":["null","string"],"description":"The value encoded in the barcode."},"rotating":{"type":["null","boolean"],"description":"The phone recomputes the code every period from a one-time password (QR_CODE and PDF_417 only). The value must hold {totp_value_0}, replaced by the current password."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDateTimeDetails":{"type":"object","properties":{"customDoorsOpenLabel":{"description":"Custom label for the doors open value, for when the default \"Doors Open\" or a `doorsOpenLabel` option is not sufficient. Not combinable with `doorsOpenLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"doorsOpen":{"type":["null","string"],"description":"When the doors open at the venue. ISO 8601 extended format, with or without an offset, up to nanosecond\nprecision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local date/time; some rich\nfeatures need the offset."},"doorsOpenLabel":{"type":["null","string"],"description":"Label for the doors open value. Each option maps to localized strings. Not combinable with\n`customDoorsOpenLabel`; when neither is set, \"Doors Open\" is used. One of: DOORS_OPEN_LABEL_UNSPECIFIED,\nDOORS_OPEN, GATES_OPEN."},"end":{"type":["null","string"],"description":"When the event ends (on the last day, if it spans several). ISO 8601 extended format, with or without an offset,\nup to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."},"start":{"type":["null","string"],"description":"When the event starts (on the first day, if it spans several). ISO 8601 extended format, with or without an\noffset, up to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDiscoverableProgram":{"type":"object","properties":{"signinUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signin site. Used when MERCHANT_HOSTED_SIGNIN is enabled."},"signupSharedDatas":{"type":["null","array"],"items":{"type":"string"},"description":"User data sent in a POST to the sign-up URL: Google Wallet SharedDataType strings such as FIRST_NAME, LAST_NAME, EMAIL."},"signupUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signup site. Used when MERCHANT_HOSTED_SIGNUP is enabled."},"state":{"type":["null","string"],"description":"Visibility state of the discoverable program. One of: trustedTesters, live, disabled."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGate":{"type":"object","properties":{"customGateLabel":{"description":"Custom label for the gate value, for when the default \"Gate\" or a `gateLabel` option is not sufficient. Not combinable with `gateLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"type":["null","string"],"description":"The gate the ticket holder should enter to get to their seat, such as \"A\" or \"West\"."},"gateLabel":{"type":["null","string"],"description":"Label for the gate value. Each option maps to localized strings. Not combinable with `customGateLabel`;\nwhen neither is set, \"Gate\" is used. One of: GATE_LABEL_UNSPECIFIED, GATE, DOOR, ENTRANCE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocation":{"type":"object","properties":{"latitude":{"type":["null","string"],"description":"Latitude in degrees."},"longitude":{"type":["null","string"],"description":"Longitude in degrees."}},"additionalProperties":false,"description":"An object that represents the coordinates of a location. See SemanticTagType.Location."},"PassTypeGoogleLoyaltyPoint":{"type":"object","properties":{"balance":{"description":"The account holder's loyalty point balance, such as \"500\" or \"$10.00\". Recommended maximum 7 characters. This is\na required field of loyaltyPoints and secondaryLoyaltyPoints.","$ref":"#/components/schemas/PassTypeGoogleBalanceConfigurationBase"},"label":{"description":"The loyalty points label, such as \"Points\". Recommended maximum 9 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBalanceConfigurationBase":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value of the pass. A Liquid template, not a translatable string: one value for every language."},"type":{"type":["null","string"],"description":"How Google reads `value`: `string`, `integer`, `double` or `money`.\nOmitted, `string`."},"currencyCode":{"type":["null","string"],"description":"The currency of a `money` balance, such as `USD` or `EUR`. Required for `money`, ignored otherwise."}},"additionalProperties":false,"description":"A loyalty balance: its value, and how Google reads and displays it."},"PassTypeGoogleMessage":{"type":"object","properties":{"body":{"description":"The message body.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the message is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"The message header.","$ref":"#/components/schemas/PassTypeLocalizedString"},"id":{"type":["null","string"],"description":"Optional identifier."},"notify":{"type":["null","boolean"],"description":"Whether a notification appears when the body changes."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleTimeInterval":{"type":"object","properties":{"end":{"type":["null","string"],"description":"End time of the interval."},"start":{"type":["null","string"],"description":"Start time of the interval."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGrouping":{"type":"object","properties":{"id":{"type":["null","string"],"description":"The group the pass belongs to: passes with the same id are shown stacked together."},"sortIndex":{"type":["null","string"],"description":"The pass's position in its group, lower first."}},"additionalProperties":false,"description":"How passes are grouped together in Google Wallet."},"PassTypeGoogleImageModule":{"type":"object","properties":{"description":{"description":"What the image shows, read by screen readers. Carries one value per language.","$ref":"#/components/schemas/PassTypeLocalizedString"},"image":{"type":["null","string"],"description":"The image."}},"additionalProperties":false,"description":"An image shown at full width among the details of the pass."},"PassTypeGoogleRow":{"type":"object","properties":{"customRowLabel":{"description":"Custom label for the row value, for when the default \"Row\" or a `rowLabel` option is not sufficient. Not combinable with `rowLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"type":["null","string"],"description":"The row of the seat, such as \"1\", E\", \"BB\", or \"A5\"."},"rowLabel":{"type":["null","string"],"description":"Label for the row value. Each option maps to localized strings. Not combinable with `customRowLabel`; when\nneither is set, \"Row\" is used. One of: ROW_LABEL_UNSPECIFIED, ROW."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSeat":{"type":"object","properties":{"customSeatLabel":{"description":"Custom label for the seat value, for when the default \"Seat\" or a `seatLabel` option is not sufficient. Not combinable with `seatLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"seat":{"type":["null","string"],"description":"The seat number, such as \"1\", \"2\", \"3\", or any other seat identifier."},"seatLabel":{"type":["null","string"],"description":"Label for the seat value. Each option maps to localized strings. Not combinable with `customSeatLabel`;\nwhen neither is set, \"Seat\" is used. One of: SEAT_LABEL_UNSPECIFIED, SEAT."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSection":{"type":"object","properties":{"customSectionLabel":{"description":"Custom label for the section value, for when the default \"Section\" or a `sectionLabel` option is not sufficient. Not combinable with `sectionLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"type":["null","string"],"description":"The section of the seat, such as \"121\"."},"sectionLabel":{"type":["null","string"],"description":"Label for the section value. Each option maps to localized strings. Not combinable with\n`customSectionLabel`; when neither is set, \"Section\" is used. One of: SECTION_LABEL_UNSPECIFIED, SECTION,\nTHEATRE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSmartTap":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value transmitted to a Smart Tap terminal over NFC (ASCII only). A Liquid template, not a translatable string."}},"additionalProperties":false,"description":"Smart Tap: lets a Smart Tap terminal read a value from the pass over NFC. The tenant's issuer redeems it, and without a Smart Tap key on the tenant it is not enabled."},"PassTypeGoogleStampImage":{"type":"object","properties":{"count":{"type":["null","integer"],"description":"The stamp count this image is shown at.","format":"int32"},"heroImage":{"type":["null","string"],"description":"Hero image for that count (1032x336)."}},"additionalProperties":false,"description":"The Google image a stamp card shows at one exact stamp count."},"PassTypeGoogleTemplateOverride":{"type":"object","properties":{"barcodeInfo":{"description":"The values shown around the barcode.","$ref":"#/components/schemas/PassTypeGoogleBarcodeInfo"},"cardTemplateInfo":{"description":"The rows of values on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfo"},"detailsTemplateInfo":{"description":"The order and content of the details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsTemplateOverride"},"listTemplateInfo":{"description":"How the card reads in the holder's list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfo"}},"additionalProperties":false,"description":"Which values the card shows where, in place of Google's default layout."},"PassTypeGoogleBarcodeInfo":{"type":"object","properties":{"firstBottomDetail":{"description":"Value shown below the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"firstTopDetail":{"description":"First value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"secondTopDetail":{"description":"Second value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"}},"additionalProperties":false,"description":"The values shown around the barcode of the card."},"PassTypeGoogleDetail":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value shown next to the barcode, read from a field of the Google object or class."},"PassTypeGoogleCardTemplateInfo":{"type":"object","properties":{"firstLine":{"description":"First row. Required once the card layout is overridden.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"lines":{"type":["null","array"],"items":{"description":"One row on the front of the card: one to three slots, left to right.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"description":"The configured rows in display order. Read-only: derived from `firstLine`, `secondLine` and `thirdLine`, and ignored on save."},"secondLine":{"description":"Second row.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"thirdLine":{"description":"Third row. Shown only when `secondLine` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"}},"additionalProperties":false,"description":"The rows of values on the front of the card, top to bottom."},"PassTypeGoogleCardTemplateInfoRow":{"type":"object","properties":{"firstItem":{"description":"First slot. Required.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"items":{"type":["null","array"],"items":{"description":"One slot of a row on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"description":"The configured slots in display order. Read-only: derived from `firstItem`, `secondItem` and `thirdItem`, and ignored on save."},"secondItem":{"description":"Second slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"thirdItem":{"description":"Third slot. Shown only when `secondItem` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"}},"additionalProperties":false,"description":"One row on the front of the card: one to three slots, left to right."},"PassTypeGoogleCardTemplateInfoItem":{"type":"object","properties":{"primary":{"description":"Value shown in the slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"},"secondary":{"description":"Value shown beside the primary one in the same slot, separated by a slash.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"}},"additionalProperties":false,"description":"One slot of a row on the front of the card."},"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."},"PassTypeGoogleDetailsTemplateOverride":{"type":"object","properties":{"items":{"type":["null","array"],"items":{"description":"One entry of the card's details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsItem"},"description":"The entries, in display order."}},"additionalProperties":false,"description":"The order and content of the card's details view."},"PassTypeGoogleDetailsItem":{"type":"object","properties":{"firstValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of the entry's value. The first one holding a value is shown."},"secondValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of a second value shown beside the first, separated by a slash."}},"additionalProperties":false,"description":"One entry of the card's details view."},"PassTypeGoogleListTemplateInfo":{"type":"object","properties":{"rows":{"type":["null","array"],"items":{"description":"One line of the card in the list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfoRow"},"description":"The lines under the card's title. Only the first two are shown."}},"additionalProperties":false,"description":"How the card reads in the holder's list of passes."},"PassTypeGoogleListTemplateInfoRow":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the line from. The first one holding a value is shown."}},"additionalProperties":false,"description":"One line of the card in the list of passes."},"PassTypeGoogleText":{"type":"object","properties":{"body":{"description":"The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum 500 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"header":{"description":"The header of the Text Module. Recommended maximum 35 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleValueAddedItem":{"type":"object","properties":{"body":{"description":"Body to be displayed on the module. Character limit is 50 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the module is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"Header to be displayed on the module. Character limit is 60 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"logo":{"type":["null","string"],"description":"Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio."},"uri":{"type":["null","string"],"description":"URI the module leads to on click: a web link or a deep link. A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleVenue":{"type":"object","properties":{"address":{"description":"Address of the venue, such as \"24 Willie Mays Plaza\\nSan Francisco, CA 94107\"; lines are separated by `\\n`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"name":{"description":"The name of the venue, such as \"AT&T Park\".","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."}}}}
```

## The PassTypeGoogleAndroidAppLinkInfo object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleAndroidAppLinkInfo":{"type":"object","properties":{"packageName":{"type":["null","string"],"description":"Package name for AppTarget. For example: com.google.android.gm."}},"additionalProperties":false,"description":"Part of the Google configuration."}}}}
```

## The PassTypeGoogleAppLinkInfos object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleAppLinkInfos":{"type":"object","properties":{"androidAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the Android client.","$ref":"#/components/schemas/PassTypeGoogleAndroidAppLinkInfo"},"displayText":{"description":"Optional display text for the app link button. Character limit is 30.","$ref":"#/components/schemas/PassTypeLocalizedString"},"webAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the web client.","$ref":"#/components/schemas/PassTypeGoogleWebAppLinkInfo"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAndroidAppLinkInfo":{"type":"object","properties":{"packageName":{"type":["null","string"],"description":"Package name for AppTarget. For example: com.google.android.gm."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeGoogleWebAppLinkInfo":{"type":"object","properties":{"targetUri":{"description":"URI for AppTarget, with a description. Prefer the package field when the target is defined for your application.","$ref":"#/components/schemas/PassTypeGoogleUri"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleUri":{"type":"object","properties":{"label":{"description":"The URI's title appearing in the app as text. Recommended maximum 20 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"uri":{"type":["null","string"],"description":"Location of a web page, image or other resource, with a scheme (web link, map, telephone number or email address). A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."}}}}
```

## The PassTypeGoogleBalanceConfigurationBase object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleBalanceConfigurationBase":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value of the pass. A Liquid template, not a translatable string: one value for every language."},"type":{"type":["null","string"],"description":"How Google reads `value`: `string`, `integer`, `double` or `money`.\nOmitted, `string`."},"currencyCode":{"type":["null","string"],"description":"The currency of a `money` balance, such as `USD` or `EUR`. Required for `money`, ignored otherwise."}},"additionalProperties":false,"description":"A loyalty balance: its value, and how Google reads and displays it."}}}}
```

## The PassTypeGoogleBarCode object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleBarCode":{"type":"object","properties":{"alternateText":{"type":["null","string"],"description":"A human readable equivalent of the barcode value, shown under the barcode in place of the default text. Not allowed on a TEXT_ONLY barcode."},"showCodeText":{"description":"Text shown when a Smart Tap barcode is hidden behind a click action.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"The type of barcode. Only QR_CODE is supported for rotating barcodes. One of: AZTEC, CODE_39, CODE_128, CODABAR,\nDATA_MATRIX, EAN_8, EAN_13, ITF_14, PDF_417, QR_CODE, UPC_A, TEXT_ONLY."},"value":{"type":["null","string"],"description":"The value encoded in the barcode."},"rotating":{"type":["null","boolean"],"description":"The phone recomputes the code every period from a one-time password (QR_CODE and PDF_417 only). The value must hold {totp_value_0}, replaced by the current password."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleBarcodeInfo object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleBarcodeInfo":{"type":"object","properties":{"firstBottomDetail":{"description":"Value shown below the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"firstTopDetail":{"description":"First value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"secondTopDetail":{"description":"Second value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"}},"additionalProperties":false,"description":"The values shown around the barcode of the card."},"PassTypeGoogleDetail":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value shown next to the barcode, read from a field of the Google object or class."}}}}
```

## The PassTypeGoogleCardTemplateInfo object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleCardTemplateInfo":{"type":"object","properties":{"firstLine":{"description":"First row. Required once the card layout is overridden.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"lines":{"type":["null","array"],"items":{"description":"One row on the front of the card: one to three slots, left to right.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"description":"The configured rows in display order. Read-only: derived from `firstLine`, `secondLine` and `thirdLine`, and ignored on save."},"secondLine":{"description":"Second row.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"thirdLine":{"description":"Third row. Shown only when `secondLine` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"}},"additionalProperties":false,"description":"The rows of values on the front of the card, top to bottom."},"PassTypeGoogleCardTemplateInfoRow":{"type":"object","properties":{"firstItem":{"description":"First slot. Required.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"items":{"type":["null","array"],"items":{"description":"One slot of a row on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"description":"The configured slots in display order. Read-only: derived from `firstItem`, `secondItem` and `thirdItem`, and ignored on save."},"secondItem":{"description":"Second slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"thirdItem":{"description":"Third slot. Shown only when `secondItem` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"}},"additionalProperties":false,"description":"One row on the front of the card: one to three slots, left to right."},"PassTypeGoogleCardTemplateInfoItem":{"type":"object","properties":{"primary":{"description":"Value shown in the slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"},"secondary":{"description":"Value shown beside the primary one in the same slot, separated by a slash.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"}},"additionalProperties":false,"description":"One slot of a row on the front of the card."},"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."}}}}
```

## The PassTypeGoogleCardTemplateInfoItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleCardTemplateInfoItem":{"type":"object","properties":{"primary":{"description":"Value shown in the slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"},"secondary":{"description":"Value shown beside the primary one in the same slot, separated by a slash.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"}},"additionalProperties":false,"description":"One slot of a row on the front of the card."},"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."}}}}
```

## The PassTypeGoogleCardTemplateInfoItemValue object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."}}}}
```

## The PassTypeGoogleCardTemplateInfoRow object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleCardTemplateInfoRow":{"type":"object","properties":{"firstItem":{"description":"First slot. Required.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"items":{"type":["null","array"],"items":{"description":"One slot of a row on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"description":"The configured slots in display order. Read-only: derived from `firstItem`, `secondItem` and `thirdItem`, and ignored on save."},"secondItem":{"description":"Second slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"thirdItem":{"description":"Third slot. Shown only when `secondItem` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"}},"additionalProperties":false,"description":"One row on the front of the card: one to three slots, left to right."},"PassTypeGoogleCardTemplateInfoItem":{"type":"object","properties":{"primary":{"description":"Value shown in the slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"},"secondary":{"description":"Value shown beside the primary one in the same slot, separated by a slash.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"}},"additionalProperties":false,"description":"One slot of a row on the front of the card."},"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."}}}}
```

## The PassTypeGoogleDateTimeDetails object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleDateTimeDetails":{"type":"object","properties":{"customDoorsOpenLabel":{"description":"Custom label for the doors open value, for when the default \"Doors Open\" or a `doorsOpenLabel` option is not sufficient. Not combinable with `doorsOpenLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"doorsOpen":{"type":["null","string"],"description":"When the doors open at the venue. ISO 8601 extended format, with or without an offset, up to nanosecond\nprecision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local date/time; some rich\nfeatures need the offset."},"doorsOpenLabel":{"type":["null","string"],"description":"Label for the doors open value. Each option maps to localized strings. Not combinable with\n`customDoorsOpenLabel`; when neither is set, \"Doors Open\" is used. One of: DOORS_OPEN_LABEL_UNSPECIFIED,\nDOORS_OPEN, GATES_OPEN."},"end":{"type":["null","string"],"description":"When the event ends (on the last day, if it spans several). ISO 8601 extended format, with or without an offset,\nup to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."},"start":{"type":["null","string"],"description":"When the event starts (on the first day, if it spans several). ISO 8601 extended format, with or without an\noffset, up to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleDetail object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleDetail":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value shown next to the barcode, read from a field of the Google object or class."}}}}
```

## The PassTypeGoogleDetailsItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleDetailsItem":{"type":"object","properties":{"firstValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of the entry's value. The first one holding a value is shown."},"secondValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of a second value shown beside the first, separated by a slash."}},"additionalProperties":false,"description":"One entry of the card's details view."}}}}
```

## The PassTypeGoogleDetailsTemplateOverride object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleDetailsTemplateOverride":{"type":"object","properties":{"items":{"type":["null","array"],"items":{"description":"One entry of the card's details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsItem"},"description":"The entries, in display order."}},"additionalProperties":false,"description":"The order and content of the card's details view."},"PassTypeGoogleDetailsItem":{"type":"object","properties":{"firstValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of the entry's value. The first one holding a value is shown."},"secondValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of a second value shown beside the first, separated by a slash."}},"additionalProperties":false,"description":"One entry of the card's details view."}}}}
```

## The PassTypeGoogleDiscoverableProgram object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleDiscoverableProgram":{"type":"object","properties":{"signinUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signin site. Used when MERCHANT_HOSTED_SIGNIN is enabled."},"signupSharedDatas":{"type":["null","array"],"items":{"type":"string"},"description":"User data sent in a POST to the sign-up URL: Google Wallet SharedDataType strings such as FIRST_NAME, LAST_NAME, EMAIL."},"signupUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signup site. Used when MERCHANT_HOSTED_SIGNUP is enabled."},"state":{"type":["null","string"],"description":"Visibility state of the discoverable program. One of: trustedTesters, live, disabled."}},"additionalProperties":false,"description":"Part of the Google configuration."}}}}
```

## The PassTypeGoogleGate object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleGate":{"type":"object","properties":{"customGateLabel":{"description":"Custom label for the gate value, for when the default \"Gate\" or a `gateLabel` option is not sufficient. Not combinable with `gateLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"type":["null","string"],"description":"The gate the ticket holder should enter to get to their seat, such as \"A\" or \"West\"."},"gateLabel":{"type":["null","string"],"description":"Label for the gate value. Each option maps to localized strings. Not combinable with `customGateLabel`;\nwhen neither is set, \"Gate\" is used. One of: GATE_LABEL_UNSPECIFIED, GATE, DOOR, ENTRANCE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleGrouping object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleGrouping":{"type":"object","properties":{"id":{"type":["null","string"],"description":"The group the pass belongs to: passes with the same id are shown stacked together."},"sortIndex":{"type":["null","string"],"description":"The pass's position in its group, lower first."}},"additionalProperties":false,"description":"How passes are grouped together in Google Wallet."}}}}
```

## The PassTypeGoogleImageModule object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleImageModule":{"type":"object","properties":{"description":{"description":"What the image shows, read by screen readers. Carries one value per language.","$ref":"#/components/schemas/PassTypeLocalizedString"},"image":{"type":["null","string"],"description":"The image."}},"additionalProperties":false,"description":"An image shown at full width among the details of the pass."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleListTemplateInfo object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleListTemplateInfo":{"type":"object","properties":{"rows":{"type":["null","array"],"items":{"description":"One line of the card in the list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfoRow"},"description":"The lines under the card's title. Only the first two are shown."}},"additionalProperties":false,"description":"How the card reads in the holder's list of passes."},"PassTypeGoogleListTemplateInfoRow":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the line from. The first one holding a value is shown."}},"additionalProperties":false,"description":"One line of the card in the list of passes."}}}}
```

## The PassTypeGoogleListTemplateInfoRow object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleListTemplateInfoRow":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the line from. The first one holding a value is shown."}},"additionalProperties":false,"description":"One line of the card in the list of passes."}}}}
```

## The PassTypeGoogleLoyaltyPoint object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleLoyaltyPoint":{"type":"object","properties":{"balance":{"description":"The account holder's loyalty point balance, such as \"500\" or \"$10.00\". Recommended maximum 7 characters. This is\na required field of loyaltyPoints and secondaryLoyaltyPoints.","$ref":"#/components/schemas/PassTypeGoogleBalanceConfigurationBase"},"label":{"description":"The loyalty points label, such as \"Points\". Recommended maximum 9 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBalanceConfigurationBase":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value of the pass. A Liquid template, not a translatable string: one value for every language."},"type":{"type":["null","string"],"description":"How Google reads `value`: `string`, `integer`, `double` or `money`.\nOmitted, `string`."},"currencyCode":{"type":["null","string"],"description":"The currency of a `money` balance, such as `USD` or `EUR`. Required for `money`, ignored otherwise."}},"additionalProperties":false,"description":"A loyalty balance: its value, and how Google reads and displays it."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleMessage object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleMessage":{"type":"object","properties":{"body":{"description":"The message body.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the message is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"The message header.","$ref":"#/components/schemas/PassTypeLocalizedString"},"id":{"type":["null","string"],"description":"Optional identifier."},"notify":{"type":["null","boolean"],"description":"Whether a notification appears when the body changes."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeGoogleTimeInterval":{"type":"object","properties":{"end":{"type":["null","string"],"description":"End time of the interval."},"start":{"type":["null","string"],"description":"Start time of the interval."}},"additionalProperties":false,"description":"Part of the Google configuration."}}}}
```

## The PassTypeGoogleMoney object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleMoney":{"type":"object","properties":{"currencyCode":{"type":["null","string"],"description":"The currency code, such as \"USD\" or \"EUR.\"."},"value":{"type":["null","string"],"description":"Amount, as a number or a Liquid template rendering one. Not a translatable string: one value for every language."}},"additionalProperties":false,"description":"Part of the Google configuration."}}}}
```

## The PassTypeGoogleRow object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleRow":{"type":"object","properties":{"customRowLabel":{"description":"Custom label for the row value, for when the default \"Row\" or a `rowLabel` option is not sufficient. Not combinable with `rowLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"type":["null","string"],"description":"The row of the seat, such as \"1\", E\", \"BB\", or \"A5\"."},"rowLabel":{"type":["null","string"],"description":"Label for the row value. Each option maps to localized strings. Not combinable with `customRowLabel`; when\nneither is set, \"Row\" is used. One of: ROW_LABEL_UNSPECIFIED, ROW."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleSeat object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleSeat":{"type":"object","properties":{"customSeatLabel":{"description":"Custom label for the seat value, for when the default \"Seat\" or a `seatLabel` option is not sufficient. Not combinable with `seatLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"seat":{"type":["null","string"],"description":"The seat number, such as \"1\", \"2\", \"3\", or any other seat identifier."},"seatLabel":{"type":["null","string"],"description":"Label for the seat value. Each option maps to localized strings. Not combinable with `customSeatLabel`;\nwhen neither is set, \"Seat\" is used. One of: SEAT_LABEL_UNSPECIFIED, SEAT."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleSection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleSection":{"type":"object","properties":{"customSectionLabel":{"description":"Custom label for the section value, for when the default \"Section\" or a `sectionLabel` option is not sufficient. Not combinable with `sectionLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"type":["null","string"],"description":"The section of the seat, such as \"121\"."},"sectionLabel":{"type":["null","string"],"description":"Label for the section value. Each option maps to localized strings. Not combinable with\n`customSectionLabel`; when neither is set, \"Section\" is used. One of: SECTION_LABEL_UNSPECIFIED, SECTION,\nTHEATRE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleSmartTap object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleSmartTap":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value transmitted to a Smart Tap terminal over NFC (ASCII only). A Liquid template, not a translatable string."}},"additionalProperties":false,"description":"Smart Tap: lets a Smart Tap terminal read a value from the pass over NFC. The tenant's issuer redeems it, and without a Smart Tap key on the tenant it is not enabled."}}}}
```

## The PassTypeGoogleStampImage object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleStampImage":{"type":"object","properties":{"count":{"type":["null","integer"],"description":"The stamp count this image is shown at.","format":"int32"},"heroImage":{"type":["null","string"],"description":"Hero image for that count (1032x336)."}},"additionalProperties":false,"description":"The Google image a stamp card shows at one exact stamp count."}}}}
```

## The PassTypeGoogleTemplateOverride object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleTemplateOverride":{"type":"object","properties":{"barcodeInfo":{"description":"The values shown around the barcode.","$ref":"#/components/schemas/PassTypeGoogleBarcodeInfo"},"cardTemplateInfo":{"description":"The rows of values on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfo"},"detailsTemplateInfo":{"description":"The order and content of the details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsTemplateOverride"},"listTemplateInfo":{"description":"How the card reads in the holder's list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfo"}},"additionalProperties":false,"description":"Which values the card shows where, in place of Google's default layout."},"PassTypeGoogleBarcodeInfo":{"type":"object","properties":{"firstBottomDetail":{"description":"Value shown below the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"firstTopDetail":{"description":"First value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"secondTopDetail":{"description":"Second value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"}},"additionalProperties":false,"description":"The values shown around the barcode of the card."},"PassTypeGoogleDetail":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value shown next to the barcode, read from a field of the Google object or class."},"PassTypeGoogleCardTemplateInfo":{"type":"object","properties":{"firstLine":{"description":"First row. Required once the card layout is overridden.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"lines":{"type":["null","array"],"items":{"description":"One row on the front of the card: one to three slots, left to right.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"description":"The configured rows in display order. Read-only: derived from `firstLine`, `secondLine` and `thirdLine`, and ignored on save."},"secondLine":{"description":"Second row.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"thirdLine":{"description":"Third row. Shown only when `secondLine` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"}},"additionalProperties":false,"description":"The rows of values on the front of the card, top to bottom."},"PassTypeGoogleCardTemplateInfoRow":{"type":"object","properties":{"firstItem":{"description":"First slot. Required.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"items":{"type":["null","array"],"items":{"description":"One slot of a row on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"description":"The configured slots in display order. Read-only: derived from `firstItem`, `secondItem` and `thirdItem`, and ignored on save."},"secondItem":{"description":"Second slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"thirdItem":{"description":"Third slot. Shown only when `secondItem` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"}},"additionalProperties":false,"description":"One row on the front of the card: one to three slots, left to right."},"PassTypeGoogleCardTemplateInfoItem":{"type":"object","properties":{"primary":{"description":"Value shown in the slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"},"secondary":{"description":"Value shown beside the primary one in the same slot, separated by a slash.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"}},"additionalProperties":false,"description":"One slot of a row on the front of the card."},"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."},"PassTypeGoogleDetailsTemplateOverride":{"type":"object","properties":{"items":{"type":["null","array"],"items":{"description":"One entry of the card's details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsItem"},"description":"The entries, in display order."}},"additionalProperties":false,"description":"The order and content of the card's details view."},"PassTypeGoogleDetailsItem":{"type":"object","properties":{"firstValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of the entry's value. The first one holding a value is shown."},"secondValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of a second value shown beside the first, separated by a slash."}},"additionalProperties":false,"description":"One entry of the card's details view."},"PassTypeGoogleListTemplateInfo":{"type":"object","properties":{"rows":{"type":["null","array"],"items":{"description":"One line of the card in the list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfoRow"},"description":"The lines under the card's title. Only the first two are shown."}},"additionalProperties":false,"description":"How the card reads in the holder's list of passes."},"PassTypeGoogleListTemplateInfoRow":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the line from. The first one holding a value is shown."}},"additionalProperties":false,"description":"One line of the card in the list of passes."}}}}
```

## The PassTypeGoogleText object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleText":{"type":"object","properties":{"body":{"description":"The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum 500 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"header":{"description":"The header of the Text Module. Recommended maximum 35 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleTimeInterval object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleTimeInterval":{"type":"object","properties":{"end":{"type":["null","string"],"description":"End time of the interval."},"start":{"type":["null","string"],"description":"Start time of the interval."}},"additionalProperties":false,"description":"Part of the Google configuration."}}}}
```

## The PassTypeGoogleUri object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleUri":{"type":"object","properties":{"label":{"description":"The URI's title appearing in the app as text. Recommended maximum 20 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"uri":{"type":["null","string"],"description":"Location of a web page, image or other resource, with a scheme (web link, map, telephone number or email address). A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleValueAddedItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleValueAddedItem":{"type":"object","properties":{"body":{"description":"Body to be displayed on the module. Character limit is 50 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the module is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"Header to be displayed on the module. Character limit is 60 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"logo":{"type":["null","string"],"description":"Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio."},"uri":{"type":["null","string"],"description":"URI the module leads to on click: a web link or a deep link. A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeGoogleTimeInterval":{"type":"object","properties":{"end":{"type":["null","string"],"description":"End time of the interval."},"start":{"type":["null","string"],"description":"Start time of the interval."}},"additionalProperties":false,"description":"Part of the Google configuration."}}}}
```

## The PassTypeGoogleVenue object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleVenue":{"type":"object","properties":{"address":{"description":"Address of the venue, such as \"24 Willie Mays Plaza\\nSan Francisco, CA 94107\"; lines are separated by `\\n`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"name":{"description":"The name of the venue, such as \"AT&T Park\".","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeGoogleWebAppLinkInfo object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeGoogleWebAppLinkInfo":{"type":"object","properties":{"targetUri":{"description":"URI for AppTarget, with a description. Prefer the package field when the target is defined for your application.","$ref":"#/components/schemas/PassTypeGoogleUri"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleUri":{"type":"object","properties":{"label":{"description":"The URI's title appearing in the app as text. Recommended maximum 20 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"uri":{"type":["null","string"],"description":"Location of a web page, image or other resource, with a scheme (web link, map, telephone number or email address). A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeImageInfo object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeImageInfo":{"required":["name","path"],"type":"object","properties":{"path":{"type":"string","description":"Path of the image. Use it verbatim as an image value in the template — for example as\n`apple.images.logo`."},"name":{"type":"string","description":"File name of the image."}},"additionalProperties":false,"description":"A template image."}}}}
```

## The PassTypeKind object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeKind":{"enum":["customerCard","eventTicket","giftCard","offer","generic","stampCard"],"type":"string","description":"Which of the six templates a pass type is. Fixed when it is created."}}}}
```

## The PassTypeListItem object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeListItem":{"required":["appearance","apple","creationDate","google","image","kind","languages","lastModificationDate","metadata","name","tags"],"type":"object","properties":{"name":{"type":"string","description":"Name of the template, unique within the tenant."},"tags":{"type":"array","items":{"type":"string"},"description":"The labels the template is filed under. Empty when it carries none."},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the template was created. Null when unknown. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the template was last saved. Null when unknown. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"kind":{"description":"Which of the six templates this is, or null when the stored template cannot be read and needs\nrepairing.","$ref":"#/components/schemas/PassTypeKind"},"apple":{"type":"boolean","description":"Whether the template configures an Apple Wallet pass."},"google":{"type":"boolean","description":"Whether the template configures a Google Wallet card."},"image":{"type":["null","string"],"description":"The Apple image that best represents the template, exactly as configured — an image path such as\n`public/passes/loyalty/apple-strip.png`, or a remote URL. Null when the\ntemplate configures no Apple image at all."},"languages":{"type":"array","items":{"type":"string"},"description":"Languages this template has wording in, as language codes."},"appearance":{"description":"The colours the Apple card is drawn in, or null when the template configures no Apple half.","$ref":"#/components/schemas/PassTypeAppearance"},"metadata":{"type":"array","items":{"description":"One metadata field computed on every pass of the template.","$ref":"#/components/schemas/PassTypeMetadataDefinition"},"description":"The metadata keys the template declares, which callers use to offer them as pass fields to filter\nand display on. Empty when the template declares none."}},"additionalProperties":false,"description":"A pass template as it appears in the list."},"PassTypeKind":{"enum":["customerCard","eventTicket","giftCard","offer","generic","stampCard"],"type":"string","description":"Which of the six templates a pass type is. Fixed when it is created."},"PassTypeAppearance":{"type":"object","properties":{"background":{"type":["null","string"],"description":"The card's background, as configured — `rgb(...)` or `#rrggbb`."},"foreground":{"type":["null","string"],"description":"The colour field values are drawn in."},"label":{"type":["null","string"],"description":"The colour field labels are drawn in."}},"additionalProperties":false,"description":"The colours a pass is drawn in, which is what tells two templates apart at a glance."},"PassTypeMetadataDefinition":{"type":"object","properties":{"key":{"type":["null","string"],"description":"Key of the value on each pass, and what passes are filtered on."},"type":{"type":["null","string"],"description":"Data type of the value. One of: string, number, boolean, datetime. Omitted reads as string."},"value":{"type":["null","string"],"description":"Liquid template computing the value whenever a pass is updated."}},"additionalProperties":false,"description":"One metadata field computed on every pass of the template."}}}}
```

## The PassTypeLocalizedString object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypeLocation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeLocation":{"type":"object","properties":{"latitude":{"type":["null","string"],"description":"Latitude in degrees."},"longitude":{"type":["null","string"],"description":"Longitude in degrees."}},"additionalProperties":false,"description":"An object that represents the coordinates of a location. See SemanticTagType.Location."}}}}
```

## The PassTypeMetadata object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeMetadata":{"type":"object","properties":{"entries":{"type":["null","array"],"items":{"description":"One metadata field computed on every pass of the template.","$ref":"#/components/schemas/PassTypeMetadataDefinition"},"description":"One entry per value computed."}},"additionalProperties":false,"description":"Values computed whenever a pass is updated, which issued passes can be searched by."},"PassTypeMetadataDefinition":{"type":"object","properties":{"key":{"type":["null","string"],"description":"Key of the value on each pass, and what passes are filtered on."},"type":{"type":["null","string"],"description":"Data type of the value. One of: string, number, boolean, datetime. Omitted reads as string."},"value":{"type":["null","string"],"description":"Liquid template computing the value whenever a pass is updated."}},"additionalProperties":false,"description":"One metadata field computed on every pass of the template."}}}}
```

## The PassTypeMetadataDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeMetadataDefinition":{"type":"object","properties":{"key":{"type":["null","string"],"description":"Key of the value on each pass, and what passes are filtered on."},"type":{"type":["null","string"],"description":"Data type of the value. One of: string, number, boolean, datetime. Omitted reads as string."},"value":{"type":["null","string"],"description":"Liquid template computing the value whenever a pass is updated."}},"additionalProperties":false,"description":"One metadata field computed on every pass of the template."}}}}
```

## The PassTypeModel object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeModel":{"type":"object","properties":{"kind":{"description":"Which of the six templates this is. Cannot be changed after creation.","$ref":"#/components/schemas/PassTypeKind"},"tags":{"type":["null","array"],"items":{"type":"string"},"description":"Free-form admin console labels. Nothing here reaches the holder."},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the template was created. Set by the platform; ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the template was last saved. Set by the platform on every save; ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"passLayoutName":{"type":["null","string"],"description":"Download page the template's passes are presented from, by name. Omitted, `pass`. Must name an existing download page."},"trackLinks":{"type":["null","boolean"],"description":"Whether links on the pass go through a tracking redirect so opens can be counted. Omitted, links are tracked."},"optimizeImages":{"type":["null","boolean"],"description":"Whether images are optimized when a pass is built. Omitted, they are. Images uploaded through the template image endpoint are always optimized on upload."},"dataProviders":{"type":["null","array"],"items":{"description":"A provider a template's passes read pass data from.","$ref":"#/components/schemas/PassTypeDataProviderEntry"},"description":"Where the template's passes read the data their templates use. Empty, nowhere. Omitted on a save, a stored\ntemplate keeps the data providers it has, and a new one has none."},"notification":{"description":"How long a message sent to the template's passes stays displayed on them.","$ref":"#/components/schemas/PassTypeNotification"},"previewData":{"type":["null","array"],"items":{"description":"One named set of values a template is previewed against.","$ref":"#/components/schemas/PassTypePreviewData"},"description":"Named sets of sample values the editor renders the template's Liquid against, so a preview shows\nwords rather than expressions."},"extensions":{"description":"The two wallets and the sections that configure neither of them on its own.","$ref":"#/components/schemas/PassTypeExtensions"}},"additionalProperties":false,"description":"Everything a pass template configures."},"PassTypeKind":{"enum":["customerCard","eventTicket","giftCard","offer","generic","stampCard"],"type":"string","description":"Which of the six templates a pass type is. Fixed when it is created."},"PassTypeDataProviderEntry":{"type":"object","properties":{"provider":{"type":["null","string"],"description":"The data provider, as the data schema lists it (`cegid.y2.loyalty`), or `script` for a tenant script."},"scriptId":{"type":["null","string"],"description":"For a tenant script, its id."}},"additionalProperties":false,"description":"A provider a template's passes read pass data from."},"PassTypeNotification":{"type":"object","properties":{"duration":{"type":["null","string"],"description":"How long a message stays on a pass of this template, as a .NET `TimeSpan` (`d.hh:mm:ss`, `7.00:00:00` for a week). Omitted, 7 days; always present on read."}},"additionalProperties":false,"description":"How long a message sent to the template's passes stays displayed on them."},"PassTypePreviewData":{"type":"object","properties":{"name":{"type":["null","string"],"description":"What the editor calls this set, such as `Gold member`. Unique within the template."},"type":{"description":"Whether the values are written here (`custom`) or come from an issued pass (`real`).","$ref":"#/components/schemas/PassTypePreviewDataType"},"isDefault":{"type":"boolean","description":"Whether the editor previews this set first, `custom` or `real`. Only one set can be. Omitted,\nthe first `custom` set is."},"data":{"type":["null","object"],"description":"The values of a `custom` set. Free-form: the keys are whatever the tenant's own passes carry. Absent\non a `real` set."},"passId":{"type":["null","string"],"description":"The identifier of the issued pass a `real` set previews. Absent on a `custom` set."}},"additionalProperties":false,"description":"One named set of values a template is previewed against."},"PassTypePreviewDataType":{"enum":["custom","real"],"type":"string","description":"Where a preview data set takes its values from."},"PassTypeExtensions":{"type":"object","properties":{"apple":{"description":"The Apple Wallet pass. Configured the same way whatever the kind.","$ref":"#/components/schemas/PassTypeApple"},"google":{"description":"The Google Wallet card. Each kind accepts only the properties it declares — every property that is\nnot common to all six says which kinds it applies to.","$ref":"#/components/schemas/PassTypeGoogle"},"preview":{"description":"How an issued pass of this template is summarised in the admin console.","$ref":"#/components/schemas/PassTypePreview"},"scannableData":{"description":"What a scanner reads off an issued pass.","$ref":"#/components/schemas/PassTypeScannableData"},"stamps":{"description":"The stamp mechanic. Only a `stampCard` has one.","$ref":"#/components/schemas/PassTypeStamps"},"metadata":{"description":"Values computed whenever a pass is updated, which issued passes can then be searched and filtered\nby. Nothing here is shown to the holder.","$ref":"#/components/schemas/PassTypeMetadata"}},"additionalProperties":false,"description":"The two wallets and the sections that configure neither of them on its own."},"PassTypeApple":{"type":"object","properties":{"actionLinks":{"description":"Configuration for action links associated with the pass.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the Additional Info section below the pass content. Used for poster event ticket passes (iOS 18+)."},"appLaunchUrl":{"type":["null","string"],"description":"URL passed to the associated app at launch (from associatedStoreIdentifiers). Not supported on watchOS."},"associatedStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"App Store identifiers of apps associated with the pass; the first one compatible with the device is used, with a\nlink on the back of the pass (it opens the App Store when the app is not installed). Payment passes only; not\nsupported on watchOS."},"auxiliaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Additional fields to be displayed on the front of the pass."},"auxiliaryStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"Additional App Store identifiers of associated apps, linked in the event guide. Poster event tickets only; not supported on watchOS."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be on the back of the pass."},"backgroundColor":{"type":["null","string"],"description":"Background color of the pass, specified as an CSS-style RGB triple."},"barCodeAlternateText":{"type":["null","string"],"description":"Text displayed near the barcode, such as a human-readable version of its data. A Liquid template, not a translatable string."},"barCodeFormat":{"type":["null","string"],"description":"Bar code format. One of: qr, pdf417, aztec, code128, code39, codabar, ean13, i2of5. code39, codabar, ean13 and\ni2of5 need iOS 27; the pass also carries a QR code of the same value for older devices. No bar code is drawn\nwhen `barCodeValue` renders empty."},"barCodeValue":{"type":["null","string"],"description":"Bar code field value (ex: `id.y2.customerId`)."},"beacons":{"type":["null","array"],"items":{"description":"Configuration for a beacon device","$ref":"#/components/schemas/PassTypeAppleBeacon"},"description":"Beacons marking locations where the pass is relevant. At most 10."},"description":{"description":"A simple description of the pass","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventLogoText":{"description":"Text next to the logo on poster event tickets; takes precedence over `logoText`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expirationDate":{"type":["null","string"],"description":"Date and time when the pass expires, with hours and minutes and optional seconds."},"featuredActions":{"type":["null","array"],"items":{"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination.","$ref":"#/components/schemas/PassTypeAppleFeaturedAction"},"description":"Featured actions displayed below the pass in Wallet (iOS 27+). Maximum 2 entries."},"footerBackgroundColor":{"type":["null","string"],"description":"Background color of the footer, as a CSS-style RGB triple such as rgb(100, 10, 110). Poster event tickets only."},"footerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the footer of the pass (iOS 27+). Only the posterGeneric style has them: a customer card or stamp card with the poster layout, or a generic pass with artwork. Event tickets, gift cards and offers ignore them."},"foregroundColor":{"type":["null","string"],"description":"Foreground color of the pass, specified as a CSS-style RGB triple."},"groupingIdentifier":{"type":["null","string"],"description":"Identifier grouping related passes (same groupingIdentifier, passTypeIdentifier and type), such as boarding passes for connections on one trip."},"headerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the header on the front of the pass. Use sparingly: unlike other fields, they stay visible in a stack of passes."},"images":{"description":"Configuration of image for this pass.","$ref":"#/components/schemas/PassTypeAppleImage"},"labelColor":{"type":["null","string"],"description":"Color of the label text, specified as a CSS-style RGB triple."},"locations":{"type":["null","array"],"items":{"description":"Configuration for a location","$ref":"#/components/schemas/PassTypeAppleLocation"},"description":"Locations where the pass is relevant, such as a store. At most 10."},"logoText":{"description":"Text displayed next to the logo on the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"maxDistance":{"type":["null","integer"],"description":"Maximum distance in meters from a relevant location at which the pass is relevant; the smaller of this and the pass's default distance is used.","format":"int32"},"nfc":{"description":"NFC-enabled pass keys support sending reward card information as part of an Apple Pay transaction.","$ref":"#/components/schemas/PassTypeAppleNfc"},"organizationName":{"type":["null","string"],"description":"Display name of the organization that originated and signed the pass."},"primaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed prominently on the front of the pass."},"relevantDate":{"type":["null","string"],"description":"Date and time when the pass becomes relevant, such as a movie's start, with hours and minutes and optional seconds. Recommended for event tickets and boarding passes."},"relevantDates":{"type":["null","array"],"items":{"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one.","$ref":"#/components/schemas/PassTypeAppleRelevantDate"},"description":"An array of date intervals during which the pass is relevant. Supersedes `RelevantDate` when non-empty."},"secondaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed on the front of the pass."},"semantics":{"description":"Semantics configuration for the pass.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"sharing":{"description":"What the Share button of the pass sends. Omitted, a link to the install page of the pass.","$ref":"#/components/schemas/PassTypeAppleSharing"},"summaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Up to three values displayed below the barcode on the poster generic layout (iOS 27+). Edited separately from `PrimaryFields`, which stays classic-only."},"suppressHeaderDarkening":{"type":["null","boolean"],"description":"Whether to display the header darkening gradient. Default false. Poster event tickets only."},"suppressStripShine":{"type":["null","boolean"],"description":"A Boolean value that controls whether to display the strip image without a shine effect. The default value is true."},"type":{"type":["null","string"],"description":"Type of pass. One of: generic, boardingPass, coupon, eventTicket, storeCard."},"upcomingPassInformation":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleUpcomingPassInformation"},"description":"Further events the ticket admits to, each shown as its own entry in the event guide."},"useAutomaticColors":{"type":["null","boolean"],"description":"Whether Wallet computes the foreground and label colors from the background image, ignoring `foregroundColor` and `labelColor`. Poster event tickets only."},"usePosterLayout":{"type":["null","boolean"],"description":"When true, a customer card pass uses the iOS 27+ poster generic layout instead of the standard store card layout."},"voided":{"type":["null","string"],"description":"Indicates the pass is void, such as a redeemed one-time coupon."}},"additionalProperties":false,"description":"Configuration of an Apple pass. See [Apple's PassKit bundle\nreference](https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/TopLevel.html)."},"PassTypeAppleActionLinks":{"type":"object","properties":{"accessibilityURL":{"type":["null","string"],"description":"A URL that links to your accessiblity content, or the venue's. Poster event tickets only."},"addOnURL":{"type":["null","string"],"description":"A URL that can link to experiences that someone can add to the pass. Poster event tickets only."},"bagPolicyURL":{"type":["null","string"],"description":"A URL that links to the bag policy of the venue for the event that the pass represents. Poster event tickets only."},"contactVenueEmail":{"type":["null","string"],"description":"The preferred email address to contact the venue, event, or issuer. Poster event tickets only."},"contactVenuePhoneNumber":{"type":["null","string"],"description":"The phone number for contacting the venue, event, or issuer. Poster event tickets only."},"contactVenueWebsite":{"type":["null","string"],"description":"A URL that links to the website of the venue, event, or issuer. Poster event tickets only."},"directionsInformationURL":{"type":["null","string"],"description":"A URL that links to directions for the event. Poster event tickets only."},"merchandiseURL":{"type":["null","string"],"description":"A URL that links to a site for ordering merchandise for the event that the pass represents. Poster event tickets only."},"orderFoodURL":{"type":["null","string"],"description":"A URL that links to the food ordering page for the event that the pass represents. Poster event tickets only."},"parkingInformationURL":{"type":["null","string"],"description":"A URL that links to parking information for the event that the pass represents. Poster event tickets only."},"purchaseParkingURL":{"type":["null","string"],"description":"A URL that links to a site to purchase parking for the event that the pass represents. Poster event tickets only."},"sellURL":{"type":["null","string"],"description":"A URL that links to the selling flow for the ticket the pass represents. Poster event tickets only."},"transferURL":{"type":["null","string"],"description":"A URL that links to the transferring flow for the ticket that the pass represents. Poster event tickets only."},"managementURL":{"type":["null","string"],"description":"A URL that links to the site for managing the ticket that the pass represents."},"transitInformationURL":{"type":["null","string"],"description":"A URL that links to information about transit options in the area of the event that the pass represents. Poster event tickets only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleField":{"type":"object","properties":{"changeMessage":{"description":"Alert text shown when the pass is updated, containing `%@` for the field's new value (for example <c>Gate\nchanged to %@.</c>). Without it, the user is not notified of changes.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"Kind of field. One of: number, date. Omitted for a plain text field."},"key":{"type":["null","string"],"description":"The key must be unique within the scope of the entire pass. For example, 'departure-gate.'."},"label":{"description":"Label text for the field.","$ref":"#/components/schemas/PassTypeLocalizedString"},"textAlignment":{"type":["null","string"],"description":"Text alignment for the field. One of: left, center, right, natural."},"currencyCode":{"type":["null","string"],"description":"ISO 4217 currency code for a number field. When set, Apple Wallet formats the value as a currency and ignores `numberStyle`."},"numberStyle":{"type":["null","string"],"description":"Number style for a number field. One of: decimal, percent, scientific, spellOut."},"dateStyle":{"type":["null","string"],"description":"Date part style for a date field. One of: none, short, medium, long, full."},"timeStyle":{"type":["null","string"],"description":"Time part style for a date field. One of: none, short, medium, long, full."},"isRelative":{"type":["null","boolean"],"description":"Show the date field as a relative value such as \"tomorrow\" when a date or time style is set."},"ignoresTimeZone":{"type":["null","boolean"],"description":"Keep the value's own time zone for a date field when a date or time style is set."},"automaticallyDetectDataDetectorTypes":{"type":["null","boolean"],"description":"Whether iOS turns phone numbers, links, addresses and dates found in the value into tappable links. Omitted, it\ndoes; `false` shows the value as plain text. Applies to a field with no `type`."},"value":{"description":"Value of the field, for example 42. May contain HTML links: only the <a> tag and its href attribute are supported.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Information about a field."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeAppleBeacon":{"type":"object","properties":{"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"major":{"type":["null","integer"],"description":"Major identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"minor":{"type":["null","integer"],"description":"Minor identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"uuid":{"type":["null","string"],"description":"Unique identifier of a Bluetooth Low Energy location beacon."}},"additionalProperties":false,"description":"Configuration for a beacon device"},"PassTypeAppleFeaturedAction":{"type":"object","properties":{"icon":{"type":["null","string"],"description":"SF Symbol name of the card's icon; prefer circular, filled variants. Omitted, a default icon for the action type is used."},"type":{"type":["null","string"],"description":"The predefined action type that determines the label and behavior of the featured action card."},"url":{"type":["null","string"],"description":"URL opened when the action is tapped: a website, a deep link into your app, or a `tel:` URI for `call` actions."},"placeIdentifier":{"type":["null","string"],"description":"The Apple Maps Place ID opened by `place` actions."}},"additionalProperties":false,"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination."},"PassTypeAppleImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster background image (artwork.png) for poster event tickets (iOS 18+) and poster generic passes (iOS 27+).\nSetting it on a generic pass activates the posterGeneric layout, on an event ticket posterEventTicket. Falls\nback to the strip image on older devices. Covers the poster card, whose size depends on the iPhone (370x503 pt\non a 402 pt wide iPhone): Wallet scales it to cover the card, centred horizontally, top-aligned on event\ntickets and centred on poster generic passes and store cards."},"background":{"type":["null","string"],"description":"Blurred background (background.png) behind the front of non-poster event tickets, 343 x 503 points. Poster layouts use ArtWork instead."},"footer":{"type":["null","string"],"description":"The image displayed on the front of the pass near the barcode. The allotted space is 858 x 45 points."},"icon":{"type":["null","string"],"description":"The pass's icon, shown in notifications, emails with a pass attached and on the lock screen with a shine effect and rounded corners. 87 x 87 points."},"logo":{"type":["null","string"],"description":"Image at the top left of the front, in a 480 x 150 points space; usually narrower."},"primaryLogo":{"type":["null","string"],"description":"Top-left logo for poster layouts (posterGeneric iOS 27+ and posterEventTicket iOS 18+). Fitted into 126x36 pt (posterEventTicket draws it at most 126x30 pt)."},"reuseExisting":{"type":["null","boolean"],"description":"For an upcoming event's header image or venue map: reuse the image the pass already carries rather than download one. `urls` takes precedence when set."},"secondaryLogo":{"type":["null","string"],"description":"Logo image that is displayed on bottom right footer inset of the pass. Ticket issuer or event company logo 135x12 pts."},"stampImages":{"type":["null","array"],"items":{"description":"The Apple images a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeAppleStampImage"},"description":"Per-stamp-count overrides of `Strip` and `ArtWork`, for a stamp card."},"strip":{"type":["null","string"],"description":"Image behind the primary fields: 1125 x 296 points for event tickets, 1125 x 432 for gift cards and coupons,\n1125 x 369 otherwise. Older hardware: 960 x 252, 960 x 330 (square barcode on 3.5 inch screens) or 960 x 369."},"thumbnail":{"type":["null","string"],"description":"Additional image on the front, such as a cardholder picture, 270 x 270 points. Aspect ratio between 2:3 and 3:2, otherwise cropped."},"urls":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleImageUrl"},"description":"For an upcoming event's header image or venue map: the remote copies of the image the device downloads."},"venueMap":{"type":["null","string"],"description":"Issuer-provided static map of the venue, which will be shown in the event guide."}},"additionalProperties":false,"description":"Image configuration for the pass"},"PassTypeAppleStampImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster artwork, used only when the template enables the poster layout."},"count":{"type":["null","integer"],"description":"The stamp count these images are shown at.","format":"int32"},"strip":{"type":["null","string"],"description":"Strip image for the classic store-card layout."}},"additionalProperties":false,"description":"The Apple images a stamp card shows at one exact stamp count."},"PassTypeAppleImageUrl":{"type":"object","properties":{"scale":{"type":["null","number"],"description":"The scale of the image. If unspecified, defaults to 1.","format":"double"},"sha256":{"type":["null","string"],"description":"(Required) The SHA256 hash of the image."},"size":{"type":["null","string"],"description":"Size of the image asset in bytes. The maximum allowed size is 2 megabytes."},"url":{"type":["null","string"],"description":"URL of the image to download. Required; https only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleLocation":{"type":"object","properties":{"altitude":{"type":["null","string"],"description":"Altitude, in meters, of the location."},"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"latitude":{"type":["null","string"],"description":"Latitude, in degrees, of the location."},"longitude":{"type":["null","string"],"description":"Longitude, in degrees, of the location."}},"additionalProperties":false,"description":"Configuration for a location"},"PassTypeAppleNfc":{"type":"object","properties":{"message":{"type":["null","string"],"description":"Payload sent to the Apple Pay terminal, at most 64 bytes (longer is truncated)."},"requiresAuthentication":{"type":["null","boolean"],"description":"Whether the NFC pass requires authentication for each use. Default false."}},"additionalProperties":false,"description":"Information about the NFC payload passed to an Apple Pay terminal. It is encrypted with the tenant's NFC key; without one, passes are issued without NFC."},"PassTypeAppleRelevantDate":{"type":"object","properties":{"endDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the end of the relevancy interval. Optional."},"startDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the start of the relevancy interval."}},"additionalProperties":false,"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one."},"PassTypeAppleSemantics":{"type":"object","properties":{"additionalTicketAttributes":{"type":["null","string"],"description":"Additional ticket attributes that other tags or keys in the pass don't include."},"admissionLevel":{"type":["null","string"],"description":"The level of admission the ticket provides, such as general admission, VIP, and so forth."},"admissionLevelAbbreviation":{"type":["null","string"],"description":"An abbreviation of the level of admission the ticket provides, such as GA or VIP."},"albumIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each album corresponding to the event, in decreasing order of significance."},"artistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each artist performing at the event, in decreasing order of significance."},"attendeeName":{"type":["null","string"],"description":"The name of the person the ticket grants admission to."},"awayTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the away team's name. Use this key only for a sports event ticket."},"awayTeamLocation":{"type":["null","string"],"description":"The home location of the away team. Use this key only for a sports event ticket."},"awayTeamName":{"type":["null","string"],"description":"The name of the away team. Use this key only for a sports event ticket."},"balance":{"description":"The current balance redeemable with the pass. Use this key only for a store card pass.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"duration":{"type":["null","string"],"description":"The duration of the event or transit journey, in seconds. Sent as a string: whole seconds or a Liquid template."},"entranceDescription":{"type":["null","string"],"description":"The long description of the entrance information."},"eventLiveMessage":{"type":["null","string"],"description":"The message Wallet shows in the Lock Screen Live Activity when the event starts."},"eventEndDate":{"type":["null","string"],"description":"The date and time the event ends. ISO 8601 date as string."},"eventName":{"description":"The full name of the event, such as the title of a movie.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventStartDate":{"type":["null","string"],"description":"The date and time the event starts. ISO 8601 date as string."},"eventStartDateInfo":{"description":"An object that provides information for the date and time the event starts. See SemanticTagType.EventDateInfo (iOS 18.0+).","$ref":"#/components/schemas/PassTypeAppleEventDateInfoValue"},"eventType":{"type":["null","string"],"description":"Type of event: PKEventTypeGeneric, PKEventTypeLivePerformance, PKEventTypeMovie, PKEventTypeSports,\nPKEventTypeConference, PKEventTypeConvention, PKEventTypeWorkshop or PKEventTypeSocialGathering."},"genre":{"type":["null","string"],"description":"The genre of the performance, such as classical."},"homeTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the home team's name. Use this key only for a sports event ticket."},"homeTeamLocation":{"type":["null","string"],"description":"The home location of the home team. Use this key only for a sports event ticket."},"homeTeamName":{"type":["null","string"],"description":"The name of the home team. Use this key only for a sports event ticket."},"leagueAbbreviation":{"type":["null","string"],"description":"The abbreviated league name for a sports event. Use this key only for a sports event ticket."},"leagueName":{"type":["null","string"],"description":"The unabbreviated league name for a sports event. Use this key only for a sports event ticket."},"performerNames":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the full names of the performers and opening acts at the event, in decreasing order of significance."},"playlistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each playlist corresponding to the event, in decreasing order of significance."},"seats":{"type":["null","array"],"items":{"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat.","$ref":"#/components/schemas/PassTypeAppleSeat"},"description":"An array of objects that represent the details for each seat at an event or on a transit journey. See SemanticTagType.Seat."},"silenceRequested":{"type":["null","string"],"description":"Whether the person's device stays silent during an event or transit journey (the system may override the\nperiod). Sent as a string: `true`, `false` or a Liquid template."},"sportName":{"type":["null","string"],"description":"The commonly used name of the sport. Use this key only for a sports event ticket."},"tailgatingAllowed":{"type":["null","string"],"description":"A Boolean value that indicates whether tailgating is allowed at the event. Sent as a string: `true`, `false` or a Liquid template."},"totalPrice":{"description":"The total price for the pass. Use this key for any pass type.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"venueBoxOfficeOpenDate":{"type":["null","string"],"description":"The date when the box office opens (ISO 8601)."},"venueCloseDate":{"type":["null","string"],"description":"The date when the venue closes (ISO 8601)."},"venueDoorsOpenDate":{"type":["null","string"],"description":"The date the doors to the venue open (ISO 8601)."},"venueEntrance":{"type":["null","string"],"description":"The full name of the entrance, such as Gate A, to use to gain access to the ticketed event."},"venueEntranceDoor":{"type":["null","string"],"description":"The venue entrance door."},"venueEntranceGate":{"type":["null","string"],"description":"The venue entrance gate."},"venueEntrancePortal":{"type":["null","string"],"description":"The venue entrance portal."},"venueFanZoneOpenDate":{"type":["null","string"],"description":"The date the fan zone opens (ISO 8601)."},"venueGatesOpenDate":{"type":["null","string"],"description":"The date the gates to the venue open (ISO 8601)."},"venueLocation":{"description":"An object that represents the geographic coordinates of the venue. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"venueName":{"type":["null","string"],"description":"The full name of the venue."},"venueOpenDate":{"type":["null","string"],"description":"The date when the venue opens (ISO 8601). Use this if none of the more specific venue open tags apply."},"venueParkingLotsOpenDate":{"type":["null","string"],"description":"The date the parking lots open (ISO 8601)."},"venuePhoneNumber":{"type":["null","string"],"description":"The phone number for inquiries about the venue's ticketed event."},"venueRegionName":{"type":["null","string"],"description":"The name of the city or hosting region of the venue."},"venueRoom":{"type":["null","string"],"description":"The full name of the room where the ticketed event is to take place."},"wifiAccess":{"type":["null","array"],"items":{"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork.","$ref":"#/components/schemas/PassTypeAppleWifiNetwork"},"description":"Wi-Fi networks associated with the event, such as the network name and password of a conference. See SemanticTagType.WifiNetwork."}},"additionalProperties":false,"description":"Apple Wallet semantic tags of the pass, as documented in Apple's SemanticTags specification."},"PassTypeAppleCurrencyAmount":{"type":"object","properties":{"amount":{"type":["null","string"],"description":"Amount in currency units."},"currencyCode":{"type":["null","string"],"description":"Three-letter currency code (ISO 4217), e.g., \"USD\"."}},"additionalProperties":false,"description":"An amount of money and its currency. See SemanticTagType.CurrencyAmount."},"PassTypeAppleEventDateInfoValue":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The date (ISO 8601 date as string)."},"ignoreTimeComponents":{"type":["null","string"],"description":"A Boolean value that indicates whether the system ignores the time components of the date. Sent as a string: `true`, `false` or a Liquid template."},"timeZone":{"type":["null","string"],"description":"The time zone to display in the date. Uses IANA time zone database identifiers (e.g. \"America/Los_Angeles\")."},"unannounced":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is announced. Sent as a string: `true`, `false` or a Liquid template."},"undetermined":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is determined. Sent as a string: `true`, `false` or a Liquid template."}},"additionalProperties":false,"description":"Date and time of an event. See SemanticTagType.EventDateInfo (iOS 18+)."},"PassTypeAppleSeat":{"type":"object","properties":{"seatAisle":{"type":["null","string"],"description":"The aisle that contains the seat."},"seatDescription":{"type":["null","string"],"description":"A description of the seat, such as 'A flat bed seat'."},"seatIdentifier":{"type":["null","string"],"description":"The identifier code for the seat."},"seatLevel":{"type":["null","string"],"description":"The level that contains the seat."},"seatNumber":{"type":["null","string"],"description":"The number of the seat."},"seatRow":{"type":["null","string"],"description":"The row that contains the seat."},"seatSection":{"type":["null","string"],"description":"The section that contains the seat."},"seatSectionColor":{"type":["null","string"],"description":"A color associated with identifying the seat, specified as a CSS-style RGB triple, such as rgb(23, 187, 82)."},"seatType":{"type":["null","string"],"description":"The type of seat, such as 'Reserved seating'."}},"additionalProperties":false,"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat."},"PassTypeLocation":{"type":"object","properties":{"latitude":{"type":["null","string"],"description":"Latitude in degrees."},"longitude":{"type":["null","string"],"description":"Longitude in degrees."}},"additionalProperties":false,"description":"An object that represents the coordinates of a location. See SemanticTagType.Location."},"PassTypeAppleWifiNetwork":{"type":"object","properties":{"password":{"type":["null","string"],"description":"Wi-Fi password (if any)."},"ssid":{"type":["null","string"],"description":"Wi-Fi SSID (network name)."}},"additionalProperties":false,"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork."},"PassTypeAppleSharing":{"type":"object","properties":{"method":{"type":["null","string"],"description":"What the Share button sends. One of: url (the text followed by the URL, the default), pkpass (the .pkpass file), disabled (no Share button)."},"url":{"type":["null","string"],"description":"URL shared by the `url` method, a template rendered with the pass's values. Omitted, the install page of the pass."},"text":{"type":["null","string"],"description":"Text sent ahead of the URL with the `url` method, a template rendered with the pass's values. Not translatable. Shown by some share targets, always included when the link is copied."}},"additionalProperties":false,"description":"What the Share button of an Apple pass sends."},"PassTypeAppleUpcomingPassInformation":{"type":"object","properties":{"actionLinks":{"description":"A collection of URLs used to populate UI elements in the details view.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the Additional Info section below a pass."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the details view of the upcoming pass information entry."},"dateInformation":{"description":"Information about the start and end time of the upcoming pass information entry. If omitted, the entry is labeled as TBD.","$ref":"#/components/schemas/PassTypeAppleDateInformation"},"identifier":{"type":["null","string"],"description":"Required. Unique identifier of the upcoming pass information entry."},"images":{"description":"A collection of image names used to populate images in the details view.","$ref":"#/components/schemas/PassTypeAppleImages"},"isActive":{"type":["null","string"],"description":"Indicates whether the upcoming pass information entry is currently active. The default value is false."},"name":{"type":["null","string"],"description":"(Required) The name of the upcoming pass information entry. A Liquid template, not a translatable string: one value for every language."},"semantics":{"description":"The semantic, machine-readable metadata about the upcoming pass information entry.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"type":{"type":["null","string"],"description":"(Required) The type of upcoming pass information entry. Value: event."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleDateInformation":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The start date of the upcoming pass information entry. If omitted, the entry lists the Time and Date as TBD."},"ignoreTimeComponents":{"type":["null","boolean"],"description":"Indicates whether the entry should ignore the time components of the date."},"isAllDay":{"type":["null","boolean"],"description":"Indicates whether the entry spans the entire day and that the time components should be ignored."},"isUnannounced":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been announced (commonly referred to as TBA)."},"isUndetermined":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been determined (commonly referred to as TBD)."},"timeZone":{"type":["null","string"],"description":"The time zone to adjust the date into. If omitted, the entry uses the current time zone of the device."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleImages":{"type":"object","properties":{"headerImage":{"description":"The name of the image file used for the header image on the details screen. This can be a remote asset.","$ref":"#/components/schemas/PassTypeAppleImage"},"venueMap":{"description":"The name of the image file used for the venue map in the event guide for each upcoming pass information entry.\nThis can be a remote asset and is available for event entries.","$ref":"#/components/schemas/PassTypeAppleImage"}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeGoogle":{"type":"object","properties":{"accountId":{"type":["null","string"],"description":"The loyalty account identifier. Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountIdLabel":{"description":"The account ID label, such as \"Member ID.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"accountName":{"type":["null","string"],"description":"The loyalty account holder name, such as \"John Smith.\" Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountNameLabel":{"description":"The account name label, such as \"Member Name.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"additionalLinks":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleUri"},"description":"Links module data."},"allowBarCodeRedemption":{"type":["null","boolean"],"description":"Whether the merchant supports redeeming the gift card by barcode. If true, the app displays a barcode on the\ndetails screen; if false, `barcode` is not displayed. Applies to: giftCard."},"appLinks":{"description":"Optional information about the partner app link.","$ref":"#/components/schemas/PassTypeGoogleAppLinkInfos"},"balance":{"description":"The card's monetary balance. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"balanceUpdateTime":{"type":["null","string"],"description":"When the balance was last updated; defaults to the current time when the balance is updated without it. Applies to: giftCard."},"barCode":{"description":"The barcode type and value.","$ref":"#/components/schemas/PassTypeGoogleBarCode"},"cardNumber":{"type":["null","string"],"description":"The card's number. Applies to: giftCard."},"cardNumberLabel":{"type":["null","string"],"description":"Label shown with the card number. Applies to: giftCard."},"confirmationCode":{"type":["null","string"],"description":"Confirmation code of the event reservation (order, confirmation or reservation number). Applies to: eventTicket."},"confirmationCodeLabel":{"type":["null","string"],"description":"Label for the confirmation code. Each option maps to localized strings. Not combinable with\n`customConfirmationCodeLabel`; when neither is set, \"Confirmation Code\" is used. Applies to: eventTicket.\nOne of: CONFIRMATION_CODE_LABEL_UNSPECIFIED, CONFIRMATION_CODE, CONFIRMATION_NUMBER, ORDER_NUMBER,\nRESERVATION_NUMBER."},"countryCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code used to display and localize the pass. Applies to: customerCard, eventTicket, giftCard, offer, stampCard."},"customConfirmationLabel":{"description":"Custom label for the confirmation code, for when the default or a `confirmationCodeLabel` option is not\nsufficient. Not combinable with `confirmationCodeLabel`. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"dateTimeDetails":{"description":"Date time details of the pass. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleDateTimeDetails"},"details":{"description":"The details of the offer. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"disableExpirationNotification":{"type":["null","boolean"],"description":"Indicates whether Google Wallet should suppress expiration notifications for the offer. Applies to: offer."},"discoverableProgram":{"description":"Information about how the class may be discovered and instantiated from within the Google Wallet app. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleDiscoverableProgram"},"eventId":{"type":["null","string"],"description":"ID of the event, unique per event in an account (at most 64 characters). Groups tickets the user saved for the\nsame event; when omitted, the platform groups by other data, possibly unstable. With one class per event, use\nthe classId (with or without the issuer ID). Avoid collisions, which group tickets that should not be grouped.\nApplies to: eventTicket."},"eventName":{"description":"The name of the event, such as \"LA Dodgers at SF Giants\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventNumber":{"type":["null","string"],"description":"The card's event number, an optional field used by some gift cards. Applies to: giftCard."},"eventNumberLabel":{"description":"The label to display for event number, such as \"Target Event #\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expiryNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay to send expiry notifications 2 days prior to the card expiration. Applies to: generic."},"faceValue":{"description":"The face value of the ticket, matching what would be printed on a physical version of the ticket. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"finePrint":{"description":"The fine print or terms of the pass, such as \"20% off any t-shirt at Adam's Apparel.\" Applies to: eventTicket, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"description":"Gate seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleGate"},"header":{"description":"Required. The title of the pass, such as \"50% off coupon\" or \"Library card\" or \"Voucher\". This field is required\nand appears in the title row of the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"helpUrl":{"description":"The help link for the offer, such as http://myownpersonaldomain.com/help. Applies to: offer.","$ref":"#/components/schemas/PassTypeGoogleUri"},"heroImage":{"type":["null","string"],"description":"Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width."},"hexBackgroundColor":{"type":["null","string"],"description":"Background color as `#rrggbb` or `#rgb`. Defaults to the dominant color of the hero image, else of the logo."},"homepage":{"description":"URI of your application's home page, shown as a link like `linksModuleData`. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeGoogleUri"},"identifier":{"type":["null","string"],"description":"Name of the Google Wallet class the passes belong to. Advanced: leave null unless the class already exists in\nGoogle Wallet, for example when passes are imported from another system."},"issuerName":{"description":"The issuer name. Recommended maximum 20 characters. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"locations":{"type":["null","array"],"items":{"description":"An object that represents the coordinates of a location. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"description":"The list of locations where the object can be used. The platform uses this information to trigger geolocated notifications to users."},"logo":{"type":["null","string"],"description":"Logo shown in the card detail view (upper left) and the list view; without it, the first letter of cardTitle. Applies to: eventTicket, generic."},"loyaltyPoints":{"description":"The loyalty reward points label, balance, and type. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"merchantName":{"description":"Merchant name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to ensure\nfull string is displayed on smaller screens. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"messages":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleMessage"},"description":"Messages displayed in the app to all users of this object. At most 10."},"multipleDevicesAndHoldersAllowedStatus":{"type":["null","string"],"description":"Identifies whether multiple users and devices will save the same object referencing this class. One of: multipleHolder, oneUserAllDevices, oneUserOneDevice."},"screenshotEligibility":{"type":["null","string"],"description":"Whether the holder can take a screenshot of the pass in Google Wallet on Android. One of: unspecified, eligible, ineligible."},"nfcConstraints":{"type":["null","array"],"items":{"type":"string"},"description":"What the phone must not hand out over NFC while the pass is open. Each one of: blockPayment, blockClosedLoopTransit."},"grouping":{"description":"How passes are grouped together in Google Wallet.","$ref":"#/components/schemas/PassTypeGoogleGrouping"},"imageModule":{"description":"An image shown at full width among the details of the pass.","$ref":"#/components/schemas/PassTypeGoogleImageModule"},"pin":{"type":["null","string"],"description":"The card's PIN. Applies to: giftCard."},"pinLabel":{"description":"The label to display for the PIN, such as \"4-digit PIN\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"programLogo":{"type":["null","string"],"description":"Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. Applies to: customerCard, giftCard, stampCard."},"programName":{"description":"The program name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to\nensure full string is displayed on smaller screens. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"provider":{"description":"The offer provider (either the aggregator name or merchant name). Recommended maximum 12 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"redemptionChannel":{"type":["null","string"],"description":"The redemption channels applicable to this offer. Applies to: offer. One of: REDEMPTION_CHANNEL_UNSPECIFIED, INSTORE, ONLINE, BOTH, TEMPORARY_PRICE_REDUCTION."},"rewardsTier":{"type":["null","string"],"description":"The rewards tier, such as \"Gold\" or \"Platinum.\" Recommended maximum 7 characters. Applies to: customerCard, stampCard."},"rewardsTierLabel":{"description":"The rewards tier label, such as \"Rewards Tier.\" Recommended maximum 9 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"description":"Row seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleRow"},"seat":{"description":"Seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSeat"},"secondaryLoyaltyPoints":{"description":"The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"secondaryRewardsTier":{"type":["null","string"],"description":"The secondary rewards tier, such as \"Gold\" or \"Platinum.\". Applies to: customerCard, stampCard."},"secondaryRewardsTierLabel":{"description":"The secondary rewards tier label, such as \"Rewards Tier.\". Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"description":"Section seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSection"},"securityAnimation":{"type":["null","string"],"description":"Security animation rendered on pass details. One of: unspecified, foilShimmer."},"shortTitle":{"description":"A shortened version of the title of the offer, such as \"20% off,\" shown to users as a quick reference to the\noffer contents. Recommended maximum 20 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"smartTap":{"description":"Identifies whether this class supports Smart Tap.","$ref":"#/components/schemas/PassTypeGoogleSmartTap"},"stampImages":{"type":["null","array"],"items":{"description":"The Google image a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeGoogleStampImage"},"description":"The hero image to show at each stamp count. The entry matching the holder's current count replaces the class-level hero image. Applies to: stampCard."},"state":{"type":["null","string"],"description":"State of the object, which decides how the app displays it (an inactive object moves to \"Expired passes\"). One of: ACTIVE, COMPLETED, EXPIRED, INACTIVE."},"subheader":{"description":"The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"templateOverride":{"description":"Which values the card shows where, in place of Google's default layout.","$ref":"#/components/schemas/PassTypeGoogleTemplateOverride"},"texts":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleText"},"description":"Text module data."},"ticketHolderName":{"type":["null","string"],"description":"Name of the ticket holder, if the ticket is assigned to a person. E.g. \"John Doe\" or \"Jane Doe\". Applies to: eventTicket."},"ticketNumber":{"type":["null","string"],"description":"The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets\nfor the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). Applies to: eventTicket."},"ticketType":{"description":"The type of the ticket, such as \"Adult\" or \"Child\", or \"VIP\" or \"Standard\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"The title of the offer, such as \"20% off any t-shirt.\" Recommended maximum 60 characters. Applies to: generic, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"titleImage":{"type":["null","string"],"description":"The title image of the offer. This image is displayed in both the details and list views of the app. Applies to: offer."},"upcomingNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay send an upcoming card validity notification 1 day before card becomes valid/usable. Applies to: generic."},"validTimeInterval":{"description":"The time period this object will be active and object can be used. An object's state will be changed to expired when this time period has passed.","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"valueAddedOpportunities":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleValueAddedItem"},"description":"Optional value added module data. Maximum of ten on the object."},"venue":{"description":"Event venue details. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleVenue"},"viewUnlockRequirement":{"type":["null","string"],"description":"View Unlock Requirement. One of: unspecified, requiredToView, notRequired."},"wideLogo":{"type":["null","string"],"description":"The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. Applies to: eventTicket, generic."},"wideProgramLogo":{"type":["null","string"],"description":"The wide logo of the loyalty program or company. When provided, this will be used in place of the program logo\nin the top left of the card view. Applies to: customerCard, giftCard, stampCard."},"wideTitleImage":{"type":["null","string"],"description":"The wide title image used in place of the title image in the top left of the card view. Applies to: offer."}},"additionalProperties":false,"description":"The Google Wallet card. Not every pass kind accepts every property, and one that only some kinds accept says so."},"PassTypeGoogleUri":{"type":"object","properties":{"label":{"description":"The URI's title appearing in the app as text. Recommended maximum 20 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"uri":{"type":["null","string"],"description":"Location of a web page, image or other resource, with a scheme (web link, map, telephone number or email address). A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAppLinkInfos":{"type":"object","properties":{"androidAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the Android client.","$ref":"#/components/schemas/PassTypeGoogleAndroidAppLinkInfo"},"displayText":{"description":"Optional display text for the app link button. Character limit is 30.","$ref":"#/components/schemas/PassTypeLocalizedString"},"webAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the web client.","$ref":"#/components/schemas/PassTypeGoogleWebAppLinkInfo"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAndroidAppLinkInfo":{"type":"object","properties":{"packageName":{"type":["null","string"],"description":"Package name for AppTarget. For example: com.google.android.gm."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleWebAppLinkInfo":{"type":"object","properties":{"targetUri":{"description":"URI for AppTarget, with a description. Prefer the package field when the target is defined for your application.","$ref":"#/components/schemas/PassTypeGoogleUri"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleMoney":{"type":"object","properties":{"currencyCode":{"type":["null","string"],"description":"The currency code, such as \"USD\" or \"EUR.\"."},"value":{"type":["null","string"],"description":"Amount, as a number or a Liquid template rendering one. Not a translatable string: one value for every language."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBarCode":{"type":"object","properties":{"alternateText":{"type":["null","string"],"description":"A human readable equivalent of the barcode value, shown under the barcode in place of the default text. Not allowed on a TEXT_ONLY barcode."},"showCodeText":{"description":"Text shown when a Smart Tap barcode is hidden behind a click action.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"The type of barcode. Only QR_CODE is supported for rotating barcodes. One of: AZTEC, CODE_39, CODE_128, CODABAR,\nDATA_MATRIX, EAN_8, EAN_13, ITF_14, PDF_417, QR_CODE, UPC_A, TEXT_ONLY."},"value":{"type":["null","string"],"description":"The value encoded in the barcode."},"rotating":{"type":["null","boolean"],"description":"The phone recomputes the code every period from a one-time password (QR_CODE and PDF_417 only). The value must hold {totp_value_0}, replaced by the current password."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDateTimeDetails":{"type":"object","properties":{"customDoorsOpenLabel":{"description":"Custom label for the doors open value, for when the default \"Doors Open\" or a `doorsOpenLabel` option is not sufficient. Not combinable with `doorsOpenLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"doorsOpen":{"type":["null","string"],"description":"When the doors open at the venue. ISO 8601 extended format, with or without an offset, up to nanosecond\nprecision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local date/time; some rich\nfeatures need the offset."},"doorsOpenLabel":{"type":["null","string"],"description":"Label for the doors open value. Each option maps to localized strings. Not combinable with\n`customDoorsOpenLabel`; when neither is set, \"Doors Open\" is used. One of: DOORS_OPEN_LABEL_UNSPECIFIED,\nDOORS_OPEN, GATES_OPEN."},"end":{"type":["null","string"],"description":"When the event ends (on the last day, if it spans several). ISO 8601 extended format, with or without an offset,\nup to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."},"start":{"type":["null","string"],"description":"When the event starts (on the first day, if it spans several). ISO 8601 extended format, with or without an\noffset, up to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDiscoverableProgram":{"type":"object","properties":{"signinUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signin site. Used when MERCHANT_HOSTED_SIGNIN is enabled."},"signupSharedDatas":{"type":["null","array"],"items":{"type":"string"},"description":"User data sent in a POST to the sign-up URL: Google Wallet SharedDataType strings such as FIRST_NAME, LAST_NAME, EMAIL."},"signupUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signup site. Used when MERCHANT_HOSTED_SIGNUP is enabled."},"state":{"type":["null","string"],"description":"Visibility state of the discoverable program. One of: trustedTesters, live, disabled."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGate":{"type":"object","properties":{"customGateLabel":{"description":"Custom label for the gate value, for when the default \"Gate\" or a `gateLabel` option is not sufficient. Not combinable with `gateLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"type":["null","string"],"description":"The gate the ticket holder should enter to get to their seat, such as \"A\" or \"West\"."},"gateLabel":{"type":["null","string"],"description":"Label for the gate value. Each option maps to localized strings. Not combinable with `customGateLabel`;\nwhen neither is set, \"Gate\" is used. One of: GATE_LABEL_UNSPECIFIED, GATE, DOOR, ENTRANCE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleLoyaltyPoint":{"type":"object","properties":{"balance":{"description":"The account holder's loyalty point balance, such as \"500\" or \"$10.00\". Recommended maximum 7 characters. This is\na required field of loyaltyPoints and secondaryLoyaltyPoints.","$ref":"#/components/schemas/PassTypeGoogleBalanceConfigurationBase"},"label":{"description":"The loyalty points label, such as \"Points\". Recommended maximum 9 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBalanceConfigurationBase":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value of the pass. A Liquid template, not a translatable string: one value for every language."},"type":{"type":["null","string"],"description":"How Google reads `value`: `string`, `integer`, `double` or `money`.\nOmitted, `string`."},"currencyCode":{"type":["null","string"],"description":"The currency of a `money` balance, such as `USD` or `EUR`. Required for `money`, ignored otherwise."}},"additionalProperties":false,"description":"A loyalty balance: its value, and how Google reads and displays it."},"PassTypeGoogleMessage":{"type":"object","properties":{"body":{"description":"The message body.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the message is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"The message header.","$ref":"#/components/schemas/PassTypeLocalizedString"},"id":{"type":["null","string"],"description":"Optional identifier."},"notify":{"type":["null","boolean"],"description":"Whether a notification appears when the body changes."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleTimeInterval":{"type":"object","properties":{"end":{"type":["null","string"],"description":"End time of the interval."},"start":{"type":["null","string"],"description":"Start time of the interval."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGrouping":{"type":"object","properties":{"id":{"type":["null","string"],"description":"The group the pass belongs to: passes with the same id are shown stacked together."},"sortIndex":{"type":["null","string"],"description":"The pass's position in its group, lower first."}},"additionalProperties":false,"description":"How passes are grouped together in Google Wallet."},"PassTypeGoogleImageModule":{"type":"object","properties":{"description":{"description":"What the image shows, read by screen readers. Carries one value per language.","$ref":"#/components/schemas/PassTypeLocalizedString"},"image":{"type":["null","string"],"description":"The image."}},"additionalProperties":false,"description":"An image shown at full width among the details of the pass."},"PassTypeGoogleRow":{"type":"object","properties":{"customRowLabel":{"description":"Custom label for the row value, for when the default \"Row\" or a `rowLabel` option is not sufficient. Not combinable with `rowLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"type":["null","string"],"description":"The row of the seat, such as \"1\", E\", \"BB\", or \"A5\"."},"rowLabel":{"type":["null","string"],"description":"Label for the row value. Each option maps to localized strings. Not combinable with `customRowLabel`; when\nneither is set, \"Row\" is used. One of: ROW_LABEL_UNSPECIFIED, ROW."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSeat":{"type":"object","properties":{"customSeatLabel":{"description":"Custom label for the seat value, for when the default \"Seat\" or a `seatLabel` option is not sufficient. Not combinable with `seatLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"seat":{"type":["null","string"],"description":"The seat number, such as \"1\", \"2\", \"3\", or any other seat identifier."},"seatLabel":{"type":["null","string"],"description":"Label for the seat value. Each option maps to localized strings. Not combinable with `customSeatLabel`;\nwhen neither is set, \"Seat\" is used. One of: SEAT_LABEL_UNSPECIFIED, SEAT."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSection":{"type":"object","properties":{"customSectionLabel":{"description":"Custom label for the section value, for when the default \"Section\" or a `sectionLabel` option is not sufficient. Not combinable with `sectionLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"type":["null","string"],"description":"The section of the seat, such as \"121\"."},"sectionLabel":{"type":["null","string"],"description":"Label for the section value. Each option maps to localized strings. Not combinable with\n`customSectionLabel`; when neither is set, \"Section\" is used. One of: SECTION_LABEL_UNSPECIFIED, SECTION,\nTHEATRE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSmartTap":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value transmitted to a Smart Tap terminal over NFC (ASCII only). A Liquid template, not a translatable string."}},"additionalProperties":false,"description":"Smart Tap: lets a Smart Tap terminal read a value from the pass over NFC. The tenant's issuer redeems it, and without a Smart Tap key on the tenant it is not enabled."},"PassTypeGoogleStampImage":{"type":"object","properties":{"count":{"type":["null","integer"],"description":"The stamp count this image is shown at.","format":"int32"},"heroImage":{"type":["null","string"],"description":"Hero image for that count (1032x336)."}},"additionalProperties":false,"description":"The Google image a stamp card shows at one exact stamp count."},"PassTypeGoogleTemplateOverride":{"type":"object","properties":{"barcodeInfo":{"description":"The values shown around the barcode.","$ref":"#/components/schemas/PassTypeGoogleBarcodeInfo"},"cardTemplateInfo":{"description":"The rows of values on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfo"},"detailsTemplateInfo":{"description":"The order and content of the details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsTemplateOverride"},"listTemplateInfo":{"description":"How the card reads in the holder's list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfo"}},"additionalProperties":false,"description":"Which values the card shows where, in place of Google's default layout."},"PassTypeGoogleBarcodeInfo":{"type":"object","properties":{"firstBottomDetail":{"description":"Value shown below the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"firstTopDetail":{"description":"First value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"secondTopDetail":{"description":"Second value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"}},"additionalProperties":false,"description":"The values shown around the barcode of the card."},"PassTypeGoogleDetail":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value shown next to the barcode, read from a field of the Google object or class."},"PassTypeGoogleCardTemplateInfo":{"type":"object","properties":{"firstLine":{"description":"First row. Required once the card layout is overridden.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"lines":{"type":["null","array"],"items":{"description":"One row on the front of the card: one to three slots, left to right.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"description":"The configured rows in display order. Read-only: derived from `firstLine`, `secondLine` and `thirdLine`, and ignored on save."},"secondLine":{"description":"Second row.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"thirdLine":{"description":"Third row. Shown only when `secondLine` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"}},"additionalProperties":false,"description":"The rows of values on the front of the card, top to bottom."},"PassTypeGoogleCardTemplateInfoRow":{"type":"object","properties":{"firstItem":{"description":"First slot. Required.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"items":{"type":["null","array"],"items":{"description":"One slot of a row on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"description":"The configured slots in display order. Read-only: derived from `firstItem`, `secondItem` and `thirdItem`, and ignored on save."},"secondItem":{"description":"Second slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"thirdItem":{"description":"Third slot. Shown only when `secondItem` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"}},"additionalProperties":false,"description":"One row on the front of the card: one to three slots, left to right."},"PassTypeGoogleCardTemplateInfoItem":{"type":"object","properties":{"primary":{"description":"Value shown in the slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"},"secondary":{"description":"Value shown beside the primary one in the same slot, separated by a slash.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"}},"additionalProperties":false,"description":"One slot of a row on the front of the card."},"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."},"PassTypeGoogleDetailsTemplateOverride":{"type":"object","properties":{"items":{"type":["null","array"],"items":{"description":"One entry of the card's details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsItem"},"description":"The entries, in display order."}},"additionalProperties":false,"description":"The order and content of the card's details view."},"PassTypeGoogleDetailsItem":{"type":"object","properties":{"firstValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of the entry's value. The first one holding a value is shown."},"secondValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of a second value shown beside the first, separated by a slash."}},"additionalProperties":false,"description":"One entry of the card's details view."},"PassTypeGoogleListTemplateInfo":{"type":"object","properties":{"rows":{"type":["null","array"],"items":{"description":"One line of the card in the list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfoRow"},"description":"The lines under the card's title. Only the first two are shown."}},"additionalProperties":false,"description":"How the card reads in the holder's list of passes."},"PassTypeGoogleListTemplateInfoRow":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the line from. The first one holding a value is shown."}},"additionalProperties":false,"description":"One line of the card in the list of passes."},"PassTypeGoogleText":{"type":"object","properties":{"body":{"description":"The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum 500 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"header":{"description":"The header of the Text Module. Recommended maximum 35 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleValueAddedItem":{"type":"object","properties":{"body":{"description":"Body to be displayed on the module. Character limit is 50 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the module is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"Header to be displayed on the module. Character limit is 60 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"logo":{"type":["null","string"],"description":"Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio."},"uri":{"type":["null","string"],"description":"URI the module leads to on click: a web link or a deep link. A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleVenue":{"type":"object","properties":{"address":{"description":"Address of the venue, such as \"24 Willie Mays Plaza\\nSan Francisco, CA 94107\"; lines are separated by `\\n`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"name":{"description":"The name of the venue, such as \"AT&T Park\".","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypePreview":{"type":"object","properties":{"subTitle":{"description":"Sub title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"Title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the pass configuration."},"PassTypeScannableData":{"type":"object","properties":{"persistScannableData":{"type":["null","boolean"],"description":"Whether scannable data is kept on the pass, for compatible systems."}},"additionalProperties":false,"description":"Part of the pass configuration."},"PassTypeStamps":{"type":"object","properties":{"behaviour":{"type":["null","string"],"description":"What happens to the card once `Target` is reached. One of: resetOnNextStamp, resetImmediately, stayAtGoal."},"rewardBenefitTemplateId":{"type":["null","string"],"description":"Id of the benefit template granted when the goal is reached, or `null` for a card that rewards nothing on its own."},"target":{"type":["null","integer"],"description":"Number of stamps that reaches the goal.","format":"int32"}},"additionalProperties":false,"description":"The stamp mechanic carried by a `stampCard` pass: how many stamps reach the goal, what the card shows on the way there, and what happens once it arrives."},"PassTypeMetadata":{"type":"object","properties":{"entries":{"type":["null","array"],"items":{"description":"One metadata field computed on every pass of the template.","$ref":"#/components/schemas/PassTypeMetadataDefinition"},"description":"One entry per value computed."}},"additionalProperties":false,"description":"Values computed whenever a pass is updated, which issued passes can be searched by."},"PassTypeMetadataDefinition":{"type":"object","properties":{"key":{"type":["null","string"],"description":"Key of the value on each pass, and what passes are filtered on."},"type":{"type":["null","string"],"description":"Data type of the value. One of: string, number, boolean, datetime. Omitted reads as string."},"value":{"type":["null","string"],"description":"Liquid template computing the value whenever a pass is updated."}},"additionalProperties":false,"description":"One metadata field computed on every pass of the template."}}}}
```

## The PassTypeNotification object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeNotification":{"type":"object","properties":{"duration":{"type":["null","string"],"description":"How long a message stays on a pass of this template, as a .NET `TimeSpan` (`d.hh:mm:ss`, `7.00:00:00` for a week). Omitted, 7 days; always present on read."}},"additionalProperties":false,"description":"How long a message sent to the template's passes stays displayed on them."}}}}
```

## The PassTypePreview object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypePreview":{"type":"object","properties":{"subTitle":{"description":"Sub title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"Title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the pass configuration."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."}}}}
```

## The PassTypePreviewData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypePreviewData":{"type":"object","properties":{"name":{"type":["null","string"],"description":"What the editor calls this set, such as `Gold member`. Unique within the template."},"type":{"description":"Whether the values are written here (`custom`) or come from an issued pass (`real`).","$ref":"#/components/schemas/PassTypePreviewDataType"},"isDefault":{"type":"boolean","description":"Whether the editor previews this set first, `custom` or `real`. Only one set can be. Omitted,\nthe first `custom` set is."},"data":{"type":["null","object"],"description":"The values of a `custom` set. Free-form: the keys are whatever the tenant's own passes carry. Absent\non a `real` set."},"passId":{"type":["null","string"],"description":"The identifier of the issued pass a `real` set previews. Absent on a `custom` set."}},"additionalProperties":false,"description":"One named set of values a template is previewed against."},"PassTypePreviewDataType":{"enum":["custom","real"],"type":"string","description":"Where a preview data set takes its values from."}}}}
```

## The PassTypePreviewDataType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypePreviewDataType":{"enum":["custom","real"],"type":"string","description":"Where a preview data set takes its values from."}}}}
```

## The PassTypeScannableData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeScannableData":{"type":"object","properties":{"persistScannableData":{"type":["null","boolean"],"description":"Whether scannable data is kept on the pass, for compatible systems."}},"additionalProperties":false,"description":"Part of the pass configuration."}}}}
```

## The PassTypeStamps object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PassTypeStamps":{"type":"object","properties":{"behaviour":{"type":["null","string"],"description":"What happens to the card once `Target` is reached. One of: resetOnNextStamp, resetImmediately, stayAtGoal."},"rewardBenefitTemplateId":{"type":["null","string"],"description":"Id of the benefit template granted when the goal is reached, or `null` for a card that rewards nothing on its own."},"target":{"type":["null","integer"],"description":"Number of stamps that reaches the goal.","format":"int32"}},"additionalProperties":false,"description":"The stamp mechanic carried by a `stampCard` pass: how many stamps reach the goal, what the card shows on the way there, and what happens once it arrives."}}}}
```

## The PatchBenefitRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PatchBenefitRequest":{"type":"object","allOf":[{"$ref":"#/components/schemas/BenefitRequestBase"}],"properties":{"type":{"description":"How the benefit is consumed.","$ref":"#/components/schemas/BenefitType"},"category":{"description":"What the benefit gives the holder. `giftCard` is accepted for `multiUse` only.","$ref":"#/components/schemas/BenefitCategory"},"passType":{"type":["null","string"],"description":"Pass template of the standalone wallet pass: null keeps the current one, an empty string unlinks it (a pass already created stays in the holder's wallet)."},"options":{"description":"Processing options.","$ref":"#/components/schemas/PatchOptions"}},"additionalProperties":false,"description":"Request to update a benefit (PUT); omitted fields keep their current value."},"BenefitRequestBase":{"type":"object","properties":{"priority":{"type":["null","integer"],"description":"Rank among the pass's benefits: higher first, none last. Orders lists and wallet back fields, and picks whose main image becomes the pass artwork.","format":"int32"},"origin":{"description":"Where the benefit comes from in the caller's system. Set `externalId` or `processId` to make a POST idempotent: it updates the benefit it created instead of adding another.","$ref":"#/components/schemas/BenefitOrigin"},"tags":{"type":["null","array"],"items":{"type":"string"},"description":"Labels for segmenting and reporting, never shown to the holder. At most 20 tags of 50 characters; trimmed, blanks and case-insensitive duplicates dropped. An empty array clears them on update."},"content":{"description":"Title and description the holder reads.","$ref":"#/components/schemas/BenefitContent"},"appearance":{"description":"Images the benefit carries.","$ref":"#/components/schemas/BenefitAppearanceRequest"},"links":{"type":["null","object"],"properties":{"legalInformation":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"callToAction":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"termsAndConditions":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"privacyPolicy":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"howToUse":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"website":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"},"other":{"description":"A link with a localized title and a target URI.","$ref":"#/components/schemas/BenefitLink"}},"additionalProperties":false,"description":"Links shown on the benefits page, keyed by purpose."},"data":{"description":"Opening movements and provider payload. Movements are accepted only while the benefit has none (afterwards use the movements endpoint); without them a `oneTime` benefit starts with one use and a `multiUse` one with `behavior.target`.","$ref":"#/components/schemas/BenefitData"},"activationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit becomes redeemable; omitted on create means immediately. Before it, status is `scheduled` and redemption is refused. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deactivationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When redemption stops; omitted on create means never. Afterwards status is `expired` until the deletion date. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"deletionDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the benefit is removed from the pass; omitted on create means never. When omitted on an update that extends `deactivationDate`, it moves forward by the same amount. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"behavior":{"description":"Allowance of a `multiUse` benefit and where the benefit is surfaced.","$ref":"#/components/schemas/BenefitBehaviorRequest"},"code":{"description":"Code staff scan or type to redeem the benefit.","$ref":"#/components/schemas/BenefitCode"}},"additionalProperties":false,"description":"Fields shared by the create and upsert requests. On update, an omitted field keeps its current value."},"BenefitOrigin":{"type":"object","properties":{"externalId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"External id, unique within the tenant. On POST, upserts on it first (before `processId`): updates the existing benefit, or 409 if it belongs to another pass. Kept by later writes that omit it. At most 100 characters."},"generator":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Name of the upstream system, e.g. `crm`; `benefitTemplate` marks a benefit issued from a template. Informative only. At most 100 characters."},"processId":{"maxLength":100,"minLength":1,"type":["null","string"],"description":"Id of the upstream process or batch job (e.g. `campaign3`). On POST without `externalId`, upserts on (pass, processId); need not be unique across passes. A pass template reads the benefit as `benefits.{processId}`, each run of characters other than letters, digits and `_` becoming one `_`. At most 100 characters."}},"additionalProperties":false,"description":"Where a benefit comes from in an external system, for idempotency and traceability."},"BenefitContent":{"type":"object","properties":{"title":{"description":"Name the holder sees (\"Untitled benefit\" when absent). At most 200 characters per language.","$ref":"#/components/schemas/LocalizedString"},"description":{"description":"What the benefit gives and how to use it; shown on the benefits page and, when the behavior asks, on the back of the wallet pass. At most 2000 characters per language.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Holder-facing texts of a benefit."},"LocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Default-language text."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Translations by language code (e.g. `en`, `fr-FR`); a missing culture falls back to `Value`.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}}},"additionalProperties":false,"description":"Text with a default value and optional per-language translations."},"BenefitAppearanceRequest":{"type":"object","properties":{"images":{"type":"array","items":{"description":"A benefit image and its slot.","$ref":"#/components/schemas/BenefitImage"},"description":"Images, at most one per slot. Each URL is a web address, or a benefit template image path exactly as a read with `tenant.pass:read` returns it."},"mainImageUrl":{"description":"Deprecated: use `images`. The main image.","$ref":"#/components/schemas/LocalizedString"},"thumbnailUrl":{"description":"Deprecated: use `images`. The thumbnail image.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"Images of an incoming benefit. `mainImageUrl` and `thumbnailUrl` are deprecated single-slot fields folded into `images`; an explicit `images` entry wins for the same slot."},"BenefitImage":{"required":["slot","url"],"type":"object","properties":{"slot":{"description":"Where the image is used: `main` for the headline visual (and the pass artwork when the behavior asks), `thumbnail` for compact lists.","$ref":"#/components/schemas/BenefitImageSlot"},"url":{"description":"Localized image URL: a benefit template image path, or the absolute URL given by an integration.","$ref":"#/components/schemas/LocalizedString"}},"additionalProperties":false,"description":"A benefit image and its slot."},"BenefitImageSlot":{"enum":["main","thumbnail"],"type":"string","description":"The image slots a benefit can fill."},"BenefitLink":{"required":["link"],"type":"object","properties":{"title":{"description":"Button label on the benefits page. At most 100 characters per language.","$ref":"#/components/schemas/LocalizedString"},"link":{"type":"string","description":"Absolute `https` URI the button opens; any other scheme is refused with 400.","format":"uri"}},"additionalProperties":false,"description":"A link with a localized title and a target URI."},"BenefitData":{"type":"object","properties":{"value":{"type":["null","number"],"description":"Uses left: the sum of all movements. A `oneTime` or `multiUse` benefit at 0 or below is `used`; for `unlimited`, a tally of what was taken. Computed on read, ignored on write.","format":"double"},"movements":{"type":"array","items":{"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server.","$ref":"#/components/schemas/BenefitMovement"},"description":"Every change to the balance, oldest first; append-only. On write, accepted only while the benefit has no movement, to open it with a non-default balance (a `oneTime` benefit takes exactly one movement of 1). POST assigns new movement ids; PUT keeps the caller's."},"content":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Free text returned as sent, read by a pass template as `benefits.{processId}.data.content` (e.g. a discount rate). Omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"Balance, movements and provider payload of a benefit."},"BenefitMovement":{"required":["date","movementId","value"],"type":"object","properties":{"movementId":{"type":"string","description":"Movement id, unique within the benefit; replaced on POST."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it happened; stored as sent, so an integration can replay its history. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"number","description":"Change to the balance: positive credits, negative redeems.","format":"double"},"remarks":{"maxLength":500,"minLength":1,"type":["null","string"],"description":"Note about the movement, e.g. a till receipt number; never shown to the holder, omitted without `tenant.pass:read`. 1 to 500 characters."}},"additionalProperties":false,"description":"A change to a benefit's value (issuance, redemption, adjustment); immutable. Movements applied through `POST benefits/{benefitId}/movements` get their id and date from the server."},"BenefitBehaviorRequest":{"type":"object","properties":{"target":{"type":["null","number"],"description":"Uses a `multiUse` benefit starts with: seeds the balance of a benefit created without movements and caps what a later credit can give back.","format":"double"},"mode":{"type":["null","array"],"items":{"description":"Where a benefit is shown and what each surface does with it.","$ref":"#/components/schemas/BenefitBehaviorMode"},"description":"Where the benefit is surfaced and what each surface does with it; omit for the default."},"autoRedeem":{"type":["null","boolean"],"description":"Deprecated: include `redeemOnScan` in `mode` instead."}},"additionalProperties":false,"description":"Behavior of an incoming benefit. Replaces the behavior as a whole: without `mode`, the default surfaces apply (listed everywhere, image on the pass, description on the back), not the previous ones; an empty array means none."},"BenefitBehaviorMode":{"enum":["none","showOnBenefitListPage","showOnPassScanner","redeemOnScan","useMainImageAsWalletImage","addDescriptionAsBackField"],"type":"string","description":"Where a benefit is shown and what each surface does with it."},"BenefitCode":{"type":"object","properties":{"value":{"type":["null","string"],"description":"The code itself, as encoded in the barcode and shown under it."},"format":{"description":"How the code is rendered: a barcode symbology, or `raw` for text only. `ean13` needs 12 or 13 digits.","$ref":"#/components/schemas/BenefitCodeFormat"}},"additionalProperties":false,"description":"Barcode or reference code with its display format."},"BenefitCodeFormat":{"enum":["ean13","code128","qrCode","pdf417","aztec","dataMatrix","code39","raw"],"type":"string","description":"How a benefit's code is rendered to the holder, and so what the till or the Pass Scanner scans."},"BenefitType":{"enum":["oneTime","unlimited","multiUse"],"type":"string","description":"How a benefit is consumed, which decides what its movements mean and when it is used up."},"BenefitCategory":{"enum":["other","discount","freeProduct","service","access","giftCard"],"type":"string","description":"What a benefit gives the holder, used to group and label it on the benefits page and in reports."},"PatchOptions":{"type":"object","properties":{"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller's own call id (10-100 characters), e.g. a campaign run id, to trace a batch. Not stored."},"notification":{"description":"Push message sent to the pass once the benefit is written, same payload as the pass notification endpoints. Omit for no notification.","$ref":"#/components/schemas/NotifyRequest"}},"additionalProperties":false,"description":"Options of benefit update."},"NotifyRequest":{"type":"object","properties":{"content":{"type":["null","string"],"description":"Message for devices whose language has no entry in `localizedContent`. Optional when `localizedContent` has text; defaults to the tenant's default language entry, else the first language in ordinal order."},"localizedContent":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Message per device language. Keys are a lowercase ISO 639-1 code, optionally with an uppercase\nregion (`en`, `fr-FR`). Entries with blank text are not sent.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}},"options":{"description":"Delivery options. Omitted, the notification is queued without refreshing pass data.","$ref":"#/components/schemas/NotifyRequestOptions"}},"additionalProperties":false,"description":"The message to show the holder, in one or several languages."},"NotifyRequestOptions":{"type":"object","properties":{"updateData":{"type":"boolean","description":"Also refreshes the Google Wallet pass content with the message. Apple always refreshes the whole pass.","default":false},"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller-chosen id for tracing, such as a campaign or batch. 10 to 100 characters after trimming, otherwise 400."},"bypassQueue":{"type":"boolean","description":"Sends within the request (200) instead of queuing (202), for urgent low-volume messages.","default":false}},"additionalProperties":false,"description":"How the notification is delivered."}}}}
```

## The PatchOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PatchOptions":{"type":"object","properties":{"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller's own call id (10-100 characters), e.g. a campaign run id, to trace a batch. Not stored."},"notification":{"description":"Push message sent to the pass once the benefit is written, same payload as the pass notification endpoints. Omit for no notification.","$ref":"#/components/schemas/NotifyRequest"}},"additionalProperties":false,"description":"Options of benefit update."},"NotifyRequest":{"type":"object","properties":{"content":{"type":["null","string"],"description":"Message for devices whose language has no entry in `localizedContent`. Optional when `localizedContent` has text; defaults to the tenant's default language entry, else the first language in ordinal order."},"localizedContent":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Message per device language. Keys are a lowercase ISO 639-1 code, optionally with an uppercase\nregion (`en`, `fr-FR`). Entries with blank text are not sent.","propertyNames":{"pattern":"^[a-z]{2}(-[A-Z]{2})?$"}},"options":{"description":"Delivery options. Omitted, the notification is queued without refreshing pass data.","$ref":"#/components/schemas/NotifyRequestOptions"}},"additionalProperties":false,"description":"The message to show the holder, in one or several languages."},"NotifyRequestOptions":{"type":"object","properties":{"updateData":{"type":"boolean","description":"Also refreshes the Google Wallet pass content with the message. Apple always refreshes the whole pass.","default":false},"correlationId":{"maxLength":100,"minLength":10,"type":["null","string"],"description":"Caller-chosen id for tracing, such as a campaign or batch. 10 to 100 characters after trimming, otherwise 400."},"bypassQueue":{"type":"boolean","description":"Sends within the request (200) instead of queuing (202), for urgent low-volume messages.","default":false}},"additionalProperties":false,"description":"How the notification is delivered."}}}}
```

## The PermissionAreaWeb object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PermissionAreaWeb":{"required":["category","code","scopes"],"type":"object","properties":{"code":{"type":"string","description":"Prefix before the colon, e.g. `tenant.access`. Granting `{code}:*` grants every scope of the area."},"category":{"type":"string","description":"Category used to group areas in the UI."},"description":{"type":["null","string"],"description":"What the area covers, in English; null when undocumented."},"scopes":{"type":"array","items":{"description":"One scope of a permission area.","$ref":"#/components/schemas/PermissionScopeWeb"},"description":"Scopes of the area."}},"additionalProperties":false,"description":"A group of scopes sharing a prefix."},"PermissionScopeWeb":{"required":["code"],"type":"object","properties":{"code":{"type":"string","description":"Scope code after the colon, e.g. `read`. The granted scope is `{area code}:{scope code}`."},"description":{"type":["null","string"],"description":"What the scope allows, in English; null when undocumented."}},"additionalProperties":false,"description":"One scope of a permission area."}}}}
```

## The PermissionScopeWeb object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PermissionScopeWeb":{"required":["code"],"type":"object","properties":{"code":{"type":"string","description":"Scope code after the colon, e.g. `read`. The granted scope is `{area code}:{scope code}`."},"description":{"type":["null","string"],"description":"What the scope allows, in English; null when undocumented."}},"additionalProperties":false,"description":"One scope of a permission area."}}}}
```

## The ProblemDetails object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}}}}}
```

## The Profile object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Profile":{"type":"object","properties":{"email":{"type":["null","string"],"description":"Email address of the profile; looks up the holder in the tenant's customer systems."},"phone_number":{"type":["null","string"],"description":"Phone number of the profile; looks up the holder in the tenant's customer systems, alongside or\ninstead of `email`."}},"additionalProperties":false,"description":"The Klaviyo profile to synchronise, as a Klaviyo webhook sends it (snake_case names)."}}}}
```

## The ProfileEventType object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ProfileEventType":{"enum":["Create","Update"],"type":"string","description":"Profile table event Actito reports. The integration subscribes to both, the update one only for changes\nof the profile attribute named by `actitoExternalIdentifier`."}}}}
```

## The PubSubConnection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PubSubConnection":{"type":"object","properties":{"url":{"type":"string","description":"WebSocket URL; get a fresh one from `GET settings` to reconnect.","format":"uri"}},"additionalProperties":false,"description":"Push channel of a device."}}}}
```

## The PushUpdateData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PushUpdateData":{"required":["identifiers"],"type":"object","properties":{"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifies the one pass to update. Either `id` alone (the pass id), or one or more external\nidentifiers prefixed with `id.`, e.g. `{ \"id.customerId\": \"12345\" }`; a pass must match all of them."},"passType":{"type":["null","string"],"description":"Pass template to move the pass to. Must be declared for the tenant, or the request is refused with a 400.\nNull or omitted keeps the current pass template."},"additionalData":{"type":["null","object"],"additionalProperties":{},"description":"Values merged into the pass's additional data, which pass templates and scripts read.\nKeys not sent keep their current value. Null or omitted changes nothing."},"updateMetadata":{"type":"boolean","description":"When true, the update also re-reads the holder's data from the tenant's connected systems and\nrecomputes the stored pass metadata. Slower; leave false when the payload carries everything. Default false.","default":false}},"additionalProperties":false,"description":"The pass a Klaviyo webhook targets and the change to apply to it."}}}}
```

## The PushUpdateResult object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PushUpdateResult":{"type":"object","properties":{"passCount":{"type":"integer","description":"Passes matched by the filters and queued for the update; 0 when none matched.","format":"int32"}},"additionalProperties":false,"description":"What a bulk update scheduled."}}}}
```

## The PushUpdateStatistics object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PushUpdateStatistics":{"type":"object","properties":{"id":{"type":"string","description":"Id of the progress record."},"operationName":{"type":"string","description":"Kind of operation that first scheduled updates under this correlation id."},"operationData":{"type":"string","description":"The correlation id: the value to pass to `POST /passes/pushUpdate/{correlationId}/cancel`."},"startDate":{"type":"string","description":"When the first update was scheduled.","format":"date-time"},"lastActivity":{"type":["null","string"],"description":"When a pass of the operation last progressed; `null` before any did.","format":"date-time"},"passCount":{"type":"integer","description":"Pass updates scheduled under the operation.","format":"int32"},"completed":{"type":"integer","description":"Pass updates that finished, successfully or not.","format":"int32"},"errors":{"type":"integer","description":"Pass updates that failed.","format":"int32"},"apple":{"type":"integer","description":"Pass updates pushed to Apple devices.","format":"int32"},"google":{"type":"integer","description":"Pass updates sent to Google Wallet.","format":"int32"},"isCanceled":{"type":"boolean","description":"The operation was cancelled: its pass updates not yet run are skipped."}},"additionalProperties":false,"description":"Progress of one update operation: every pass update queued or applied under the same correlation id."}}}}
```

## The PutAppleTeamRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PutAppleTeamRequest":{"required":["issuerId","keyId","label"],"type":"object","properties":{"label":{"maxLength":100,"minLength":1,"type":"string","description":"Name shown in the admin console, at most 100 characters."},"partnerId":{"pattern":"^[a-z][a-z0-9-]{1,31}$","type":"string","description":"The partner the team belongs to. Omit it for The Wallet Crew's own team."},"issuerId":{"minLength":1,"type":"string","description":"Issuer ID shown on the App Store Connect API keys page."},"keyId":{"minLength":1,"type":"string","description":"Key ID Apple assigned, also in the file name `AuthKey_{id}.p8`."},"isDemo":{"type":"boolean","description":"Whether the team is meant for demonstrations only. Tenants on it are told to use their own Apple account in production."},"privateKey":{"type":["null","string"],"description":"Content of the `.p8` file, PEM block included. Omit it to keep the stored key; required the first time."},"apnKeyId":{"type":["null","string"],"description":"Key ID of the push notification key, also in the file name `AuthKey_{id}.p8`. Sent with `apnPrivateKey`; omit both to keep the stored key."},"apnPrivateKey":{"type":["null","string"],"description":"Content of the push notification `.p8` file, PEM block included. Write-only."}},"additionalProperties":false,"description":"Request body to add or change a team."}}}}
```

## The PutCmComAccountRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PutCmComAccountRequest":{"required":["accountId","label"],"type":"object","properties":{"label":{"maxLength":100,"minLength":1,"type":"string","description":"Name shown in the admin console, at most 100 characters."},"partnerId":{"pattern":"^[a-z][a-z0-9-]{1,31}$","type":"string","description":"The partner the account belongs to. Omit it for The Wallet Crew's own account."},"accountId":{"type":"string","description":"The account's GUID, shown on the Authentication page of the CM.com Channels app.","format":"uuid"},"productToken":{"type":["null","string"],"description":"The account's product token. Omit it to keep the stored token; required the first time."}},"additionalProperties":false,"description":"Request body to add or change a CM.com account."}}}}
```

## The PutCmComSettingsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PutCmComSettingsRequest":{"required":["account"],"type":"object","properties":{"account":{"minLength":1,"pattern":"^[a-z0-9-]{1,64}$","type":"string","description":"Name of the CM.com account the platform holds, lowercase letters, digits and dashes."},"channels":{"type":"array","items":{"description":"A channel of the CM.com account that the tenant sends from.","$ref":"#/components/schemas/CmComTenantChannel"},"description":"The channels the tenant sends from, at most 20, each listed once. Omitted or empty clears them."}},"additionalProperties":false,"description":"Request body to set the tenant's CM.com connection."},"CmComTenantChannel":{"required":["channelId","type"],"type":"object","properties":{"type":{"minLength":1,"pattern":"^[A-Za-z]{1,32}$","type":"string","description":"The channel type as the account's channel list names it, e.g. `rcs` or `whatsApp`."},"channelId":{"maxLength":100,"minLength":1,"type":"string","description":"The `channelID` of the channel in the account's channel list."},"name":{"maxLength":100,"minLength":0,"type":["null","string"],"description":"A name for the channel, at most 100 characters. Omitted or blank leaves it unnamed."}},"additionalProperties":false,"description":"A channel of the CM.com account that the tenant sends from."}}}}
```

## The PutGoogleServiceAccountRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PutGoogleServiceAccountRequest":{"required":["consoleOwners","label"],"type":"object","properties":{"label":{"maxLength":100,"minLength":1,"type":"string","description":"Name shown in the admin console, at most 100 characters."},"consoleOwners":{"type":"array","items":{"type":"string"},"description":"E-mails of the Google accounts that own every issuer created with the service account. At least one."},"partnerId":{"pattern":"^[a-z][a-z0-9-]{1,31}$","type":"string","description":"The partner the service account belongs to. Omit it for The Wallet Crew's own."},"credential":{"type":["null","string"],"description":"Content of the service account key file (JSON). Omit it to keep the stored key; required the first time."}},"additionalProperties":false,"description":"Request body to add or change the service account of a project."}}}}
```

## The PutSendGridAccountRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"PutSendGridAccountRequest":{"required":["defaultSenderEmail","label"],"type":"object","properties":{"label":{"maxLength":100,"minLength":1,"type":"string","description":"Name shown in the admin console, at most 100 characters."},"partnerId":{"pattern":"^[a-z][a-z0-9-]{1,31}$","type":"string","description":"The partner the account belongs to. Omit it for The Wallet Crew's own account."},"defaultSenderEmail":{"minLength":1,"type":"string","description":"Address mail leaves from unless a tenant has its own.","format":"email"},"defaultSenderName":{"maxLength":200,"type":["null","string"],"description":"Display name mail leaves under, up to 200 characters."},"apiKey":{"type":["null","string"],"description":"A SendGrid API key allowed to create API keys. Omit it to keep the stored key; required the first time."}},"additionalProperties":false,"description":"Request body to add or change a SendGrid account."}}}}
```

## The QueryOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"QueryOptions":{"type":"object","properties":{"maxRows":{"type":"integer","description":"Row limit, 1 to 100,000 (default). Out of range, or more matching rows, returns 400: aggregate or narrow the query.","format":"int32"}},"additionalProperties":false,"description":"Execution settings."}}}}
```

## The QueryRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"QueryRequest":{"required":["query"],"type":"object","properties":{"query":{"type":"string","description":"KQL text. Only analytics-schema tables and columns are accepted, over the tenant's own data; invalid KQL returns 400 with a diagnostic."},"parameters":{"type":"object","additionalProperties":{"type":"string"},"description":"Query parameter values by name, passed as KQL strings. Names start with a letter or `_`, then letters, digits or `_`. `params_tenantId` is reserved."},"options":{"description":"Execution settings; defaults apply when omitted.","$ref":"#/components/schemas/QueryOptions"}},"additionalProperties":false,"description":"KQL query to run."},"QueryOptions":{"type":"object","properties":{"maxRows":{"type":"integer","description":"Row limit, 1 to 100,000 (default). Out of range, or more matching rows, returns 400: aggregate or narrow the query.","format":"int32"}},"additionalProperties":false,"description":"Execution settings."}}}}
```

## The QueryResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"QueryResponse":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"},"description":"Column names, in projection order."},"rows":{"type":"array","items":{"type":"array","items":{}},"description":"One array per row, one value per column. Empty cells are `null`, `dynamic` cells are JSON values, dates are UTC."}},"additionalProperties":false,"description":"Query result."}}}}
```

## The RedeemOnScanSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"RedeemOnScanSettings":{"type":"object","properties":{"repeatScanBlockSeconds":{"type":"integer","description":"Seconds the device ignores a repeat scan of the same pass, 0 to 3600; 0 disables the block.","format":"int32"}},"additionalProperties":false,"description":"Redemption behaviour on scan."}}}}
```

## The ReleasePassTypeIdRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ReleasePassTypeIdRequest":{"required":["passTypeIdentifier"],"type":"object","properties":{"passTypeIdentifier":{"minLength":1,"type":"string","description":"The tenant's Pass Type ID, typed again to confirm."}},"additionalProperties":false,"description":"Request body to release the Pass Type ID."}}}}
```

## The RenderTemplateRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"RenderTemplateRequest":{"required":["templates"],"type":"object","properties":{"culture":{"type":["null","string"],"description":"BCP 47 culture (`en`, `fr-FR`) for date/number formatting and localized values. Default `en-US`."},"templates":{"type":"array","items":{"type":"string"},"description":"Liquid templates, rendered independently."},"context":{"type":["null","object"],"additionalProperties":{},"description":"Variables available to every template; reach nested values with Liquid dot and index syntax."}},"additionalProperties":false,"description":"Render request."}}}}
```

## The RenderTemplateResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"RenderTemplateResponse":{"required":["results"],"type":"object","properties":{"results":{"type":"array","items":{"type":"string"},"description":"Trimmed outputs; `results[i]` matches `templates[i]`, `null` if it failed."},"errors":{"type":["null","array"],"items":{"type":"string"},"description":"Liquid error messages aligned with `results`; absent when all rendered, `null` entries for successes."},"warnings":{"type":["null","array"],"items":{"type":"string"},"description":"Liquid warnings aligned with `results`; absent when there are none, `null` entries for clean renders."}},"additionalProperties":false,"description":"Render result."}}}}
```

## The ResetResult object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ResetResult":{"required":["action","correlationId","taskId","triggerType"],"type":"object","properties":{"taskId":{"type":"string","description":"Id of the automation that was reset."},"triggerType":{"type":"string","description":"Trigger type: `dateRelative` or `fixedDate`."},"action":{"type":"string","description":"`reset-and-backfill-enqueued` (dateRelative) or `backfill-enqueued` (continuous fixedDate)."},"rowsDeleted":{"type":["null","integer"],"description":"Unfired per-pass runs discarded. `null` on a continuous fixedDate reset.","format":"int32"},"correlationId":{"type":"string","description":"Correlation id of the background run; its executions appear in the automation's executions."}},"additionalProperties":false,"description":"Outcome of a reset. The background run continues after the response."}}}}
```

## The RoleDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"RoleDefinition":{"required":["name","permissions"],"type":"object","properties":{"name":{"type":"string","description":"Role name; what a user's role refers to."},"permissions":{"type":"array","items":{"type":"string"},"description":"Resolved permissions: `area:*` is expanded to the area's scopes enabled for the tenant; a role holding `*` returns `[\"*\"]`."}},"additionalProperties":false,"description":"A role and its permissions."}}}}
```

## The RotatingBarcodeDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"RotatingBarcodeDefinition":{"required":["digits","hasSecret","periodSeconds"],"type":"object","properties":{"hasSecret":{"type":"boolean","description":"Whether a secret is set, so templates can use a rotating barcode. The secret is never returned."},"periodSeconds":{"type":"integer","description":"Seconds a password stays valid. 30 until configured.","format":"int32"},"digits":{"type":"integer","description":"Digits of a password. 8 until configured.","format":"int32"}},"additionalProperties":false,"description":"Rotating barcode settings. The secret is never returned."}}}}
```

## The RotatingBarcodeSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"RotatingBarcodeSettings":{"type":"object","properties":{"secret":{"type":"string","description":"Tenant secret to check the passwords. Keep it on the device."},"periodSeconds":{"type":"integer","description":"Seconds a password stays valid.","format":"int32"},"digits":{"type":"integer","description":"Digits per password.","format":"int32"}},"additionalProperties":false,"description":"What a device needs to check Google Wallet rotating barcode one-time passwords (shown where the barcode value holds `{totp_value_0}`)."}}}}
```

## The SaveDownloadPageLocalization object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SaveDownloadPageLocalization":{"type":"object","properties":{"resources":{"type":["null","array"],"items":{"type":"string"},"description":"Translation directories. Omitted keeps the current directories; provided replaces them, so an\nempty list clears them. Changing them does not move existing translations."},"translations":{"type":["null","object"],"additionalProperties":{"description":"Translated strings of one culture.","$ref":"#/components/schemas/DownloadPageTranslations"},"description":"Translated strings to save, keyed by culture. Cultures left out are not touched. Omitted\nentirely, no translation is written."}},"additionalProperties":false,"description":"Localization wiring to write."},"DownloadPageTranslations":{"type":"object","properties":{"mobile":{"description":"Phone strings. `pass` pages only.","$ref":"#/components/schemas/PassMobileTranslations"},"desktop":{"description":"Desktop strings. `pass` pages only.","$ref":"#/components/schemas/PassDesktopTranslations"},"layout":{"description":"Headline strings. `passList` pages only.","$ref":"#/components/schemas/PassListLayoutTranslations"},"qrCode":{"description":"QR code strings. `passList` pages only.","$ref":"#/components/schemas/PassListQrCodeTranslations"},"benefitList":{"description":"Benefit list page strings. `benefitList` pages only.","$ref":"#/components/schemas/BenefitListPageTranslations"}},"additionalProperties":false,"description":"Translated strings of one culture."},"PassMobileTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. May be HTML, prefixed with `$html`."},"postInstalled":{"description":"Strings shown once the pass has been added to the wallet.","$ref":"#/components/schemas/PassPostInstalledTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a phone."},"PassPostInstalledTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the confirmation."},"description":{"type":["null","string"],"description":"Text under the confirmation headline."},"viewMyCard":{"type":["null","string"],"description":"Label of the button opening the installed pass."}},"additionalProperties":false,"description":"Strings shown on a `pass` page once the pass has been installed."},"PassDesktopTranslations":{"type":"object","properties":{"qrCode":{"description":"Strings around the QR code the customer scans with their phone.","$ref":"#/components/schemas/PassDesktopQrCodeTranslations"},"needHelpButton":{"type":["null","string"],"description":"Label of the button opening the scanning help."},"needHelpDialog":{"description":"Strings of the scanning help dialog.","$ref":"#/components/schemas/PassNeedHelpDialogTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a desktop browser."},"PassDesktopQrCodeTranslations":{"type":"object","properties":{"caption":{"type":["null","string"],"description":"Instruction above the QR code."},"passDescription":{"type":["null","string"],"description":"Text describing what scanning the QR code does."},"baseline":{"type":["null","string"],"description":"Supporting text under the QR code."}},"additionalProperties":false,"description":"Strings around the QR code on a `pass` page opened on a desktop browser."},"PassNeedHelpDialogTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Title of the dialog."},"closeButton":{"type":["null","string"],"description":"Label of the button closing the dialog."}},"additionalProperties":false,"description":"Strings of the scanning help dialog on a `pass` page."},"PassListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline used for two or more passes."},"title_one":{"type":["null","string"],"description":"Headline used for exactly one pass."},"title_zero":{"type":["null","string"],"description":"Headline used when the customer holds no pass."},"subTitle":{"type":["null","string"],"description":"Text under the headline."},"subTitle_zero":{"type":["null","string"],"description":"Text under the headline when the customer holds no pass."},"individual":{"type":["null","string"],"description":"Label of the individual-passes section, for two or more."},"individual_one":{"type":["null","string"],"description":"Label of the individual-passes section, for exactly one."},"all":{"type":["null","string"],"description":"Label of the all-passes action, for two or more."},"all_one":{"type":["null","string"],"description":"Label of the all-passes action, for exactly one."},"tickets":{"type":["null","string"],"description":"Pass counter. Carries a `{count}` placeholder."}},"additionalProperties":false,"description":"Headline strings of a `passList` page."},"PassListQrCodeTranslations":{"type":"object","properties":{"seeQRCode":{"type":["null","string"],"description":"Label of the action revealing the QR code."},"scanQRCode":{"type":["null","string"],"description":"Title shown with the QR code."},"QRCodeInstructions":{"type":["null","string"],"description":"Scanning instructions. May be HTML, prefixed with `$html`."},"copyQRLink":{"type":["null","string"],"description":"Label of the action copying the QR code link."},"linkCopied":{"type":["null","string"],"description":"Confirmation shown once the link has been copied."}},"additionalProperties":false,"description":"Strings around the QR code on a `passList` page."},"BenefitListPageTranslations":{"type":"object","properties":{"layout":{"description":"The strings of the page itself.","$ref":"#/components/schemas/BenefitListLayoutTranslations"}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page."},"BenefitListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. Hidden entirely when empty."},"sections":{"description":"Headings of the three groups benefits are listed in.","$ref":"#/components/schemas/BenefitListSectionsTranslations"},"card":{"description":"Strings on the card of one benefit.","$ref":"#/components/schemas/BenefitListCardTranslations"},"code":{"description":"Strings around the code the holder shows to redeem a benefit.","$ref":"#/components/schemas/BenefitListCodeTranslations"},"wallet":{"description":"Strings of the card adding every eligible benefit to the wallet at once.","$ref":"#/components/schemas/BenefitListWalletTranslations"},"empty":{"description":"Strings shown when the pass carries no benefit at all.","$ref":"#/components/schemas/BenefitListEmptyTranslations"}},"additionalProperties":false,"description":"Strings of a `benefitList` page, by area of the page."},"BenefitListSectionsTranslations":{"type":"object","properties":{"available":{"type":["null","string"],"description":"Heading above the benefits the holder can use now."},"upcoming":{"type":["null","string"],"description":"Heading above the benefits that have not started yet."},"past":{"type":["null","string"],"description":"Heading above the benefits that have expired or been used up."},"pastCount":{"type":["null","string"],"description":"Counter next to the past heading, for two or more. Carries a `{count}` placeholder."},"pastCount_one":{"type":["null","string"],"description":"Counter next to the past heading, for exactly one."}},"additionalProperties":false,"description":"Headings of the three groups a `benefitList` page lists benefits in."},"BenefitListCardTranslations":{"type":"object","properties":{"showCode":{"type":["null","string"],"description":"Label of the action revealing the redemption code."},"seeDetails":{"type":["null","string"],"description":"Label of the action opening the benefit's details."},"hide":{"type":["null","string"],"description":"Label of the action closing the opened card."},"used":{"type":["null","string"],"description":"Badge on a benefit that has been used up."},"expired":{"type":["null","string"],"description":"Badge on a benefit whose validity has passed."},"remaining":{"type":["null","string"],"description":"Remaining allowance, for two or more. Carries `{value}` and `{target}` placeholders."},"remaining_one":{"type":["null","string"],"description":"Remaining allowance, for exactly one."},"remainingLabel":{"type":["null","string"],"description":"Screen-reader wording of the remaining allowance."},"progress":{"type":["null","string"],"description":"Progress towards a reward. Carries `{value}` and `{target}` placeholders."},"progressLabel":{"type":["null","string"],"description":"Screen-reader wording of the progress."},"history":{"type":["null","string"],"description":"Heading above the list of past redemptions."},"usedOn":{"type":["null","string"],"description":"One redemption in that list. Carries a `{date}` placeholder."},"legal":{"type":["null","string"],"description":"Label of the link to the benefit's terms."},"dateRange":{"type":["null","string"],"description":"Validity of a benefit that both starts and ends. Carries `{from}` and `{to}` placeholders."},"dateUntil":{"type":["null","string"],"description":"Validity of a benefit that only ends. Carries a `{to}` placeholder."},"dateFrom":{"type":["null","string"],"description":"Validity of a benefit that only starts. Carries a `{from}` placeholder."},"dateOn":{"type":["null","string"],"description":"Validity of a benefit good for a single day. Carries a `{from}` placeholder."}},"additionalProperties":false,"description":"Strings on the card of one benefit on a `benefitList` page."},"BenefitListCodeTranslations":{"type":"object","properties":{"label":{"type":["null","string"],"description":"Instruction above the code."},"howTo":{"type":["null","string"],"description":"Explanation of how the code is redeemed."}},"additionalProperties":false,"description":"Strings around the redemption code of a benefit."},"BenefitListWalletTranslations":{"type":"object","properties":{"bulkTitle":{"type":["null","string"],"description":"Headline of the card, for two or more. Carries a `{count}` placeholder."},"bulkTitle_one":{"type":["null","string"],"description":"Headline of the card, for exactly one."},"bulkHint":{"type":["null","string"],"description":"Text under the headline of the card."}},"additionalProperties":false,"description":"Strings of the add-everything card on a `benefitList` page."},"BenefitListEmptyTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the empty state."},"content":{"type":["null","string"],"description":"Text under the empty-state headline."}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page when the pass carries no benefit."}}}}
```

## The SaveDownloadPageRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SaveDownloadPageRequest":{"type":"object","properties":{"type":{"description":"Kind of page. Required when the page does not exist yet. On an existing page it may be repeated\nbut not changed: a kind is fixed at creation.","$ref":"#/components/schemas/DownloadPageType"},"headerImage":{"type":["null","string"],"description":"Image shown in the header, as a URL. Omitted keeps the stored image; an empty string removes it."},"requireValidRedirectId":{"type":["null","boolean"],"description":"Whether the page refuses traffic that does not come through a valid short link."},"autoDownloadPass":{"type":["null","boolean"],"description":"Whether the pass is downloaded without the customer acting. `pass` pages only."},"passCreationFlow":{"type":["null","string"],"description":"Flow executed when the page has to create the pass it shows. `pass` pages only. Omitted\nkeeps the stored flow; an empty string stops the page creating passes."},"allowDownloadAllPasses":{"type":["null","boolean"],"description":"Whether a download-everything button is offered. `passList` and `benefitList` pages only."},"showInactivePasses":{"type":["null","boolean"],"description":"Whether inactive passes are listed, undownloadable. `passList` pages only."},"localization":{"description":"Localization wiring and translations to store.","$ref":"#/components/schemas/SaveDownloadPageLocalization"},"yaml":{"type":["null","string"],"description":"The whole page as YAML, saved verbatim. Mutually exclusive with the typed fields, and must keep\nthe kind of page unchanged. Translations can still be sent alongside it."}},"additionalProperties":false,"description":"Request body to create or replace a download page."},"DownloadPageType":{"enum":["pass","passList","benefitList"],"type":"string","description":"Kind of download page."},"SaveDownloadPageLocalization":{"type":"object","properties":{"resources":{"type":["null","array"],"items":{"type":"string"},"description":"Translation directories. Omitted keeps the current directories; provided replaces them, so an\nempty list clears them. Changing them does not move existing translations."},"translations":{"type":["null","object"],"additionalProperties":{"description":"Translated strings of one culture.","$ref":"#/components/schemas/DownloadPageTranslations"},"description":"Translated strings to save, keyed by culture. Cultures left out are not touched. Omitted\nentirely, no translation is written."}},"additionalProperties":false,"description":"Localization wiring to write."},"DownloadPageTranslations":{"type":"object","properties":{"mobile":{"description":"Phone strings. `pass` pages only.","$ref":"#/components/schemas/PassMobileTranslations"},"desktop":{"description":"Desktop strings. `pass` pages only.","$ref":"#/components/schemas/PassDesktopTranslations"},"layout":{"description":"Headline strings. `passList` pages only.","$ref":"#/components/schemas/PassListLayoutTranslations"},"qrCode":{"description":"QR code strings. `passList` pages only.","$ref":"#/components/schemas/PassListQrCodeTranslations"},"benefitList":{"description":"Benefit list page strings. `benefitList` pages only.","$ref":"#/components/schemas/BenefitListPageTranslations"}},"additionalProperties":false,"description":"Translated strings of one culture."},"PassMobileTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. May be HTML, prefixed with `$html`."},"postInstalled":{"description":"Strings shown once the pass has been added to the wallet.","$ref":"#/components/schemas/PassPostInstalledTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a phone."},"PassPostInstalledTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the confirmation."},"description":{"type":["null","string"],"description":"Text under the confirmation headline."},"viewMyCard":{"type":["null","string"],"description":"Label of the button opening the installed pass."}},"additionalProperties":false,"description":"Strings shown on a `pass` page once the pass has been installed."},"PassDesktopTranslations":{"type":"object","properties":{"qrCode":{"description":"Strings around the QR code the customer scans with their phone.","$ref":"#/components/schemas/PassDesktopQrCodeTranslations"},"needHelpButton":{"type":["null","string"],"description":"Label of the button opening the scanning help."},"needHelpDialog":{"description":"Strings of the scanning help dialog.","$ref":"#/components/schemas/PassNeedHelpDialogTranslations"}},"additionalProperties":false,"description":"Strings shown on a `pass` page opened on a desktop browser."},"PassDesktopQrCodeTranslations":{"type":"object","properties":{"caption":{"type":["null","string"],"description":"Instruction above the QR code."},"passDescription":{"type":["null","string"],"description":"Text describing what scanning the QR code does."},"baseline":{"type":["null","string"],"description":"Supporting text under the QR code."}},"additionalProperties":false,"description":"Strings around the QR code on a `pass` page opened on a desktop browser."},"PassNeedHelpDialogTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Title of the dialog."},"closeButton":{"type":["null","string"],"description":"Label of the button closing the dialog."}},"additionalProperties":false,"description":"Strings of the scanning help dialog on a `pass` page."},"PassListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline used for two or more passes."},"title_one":{"type":["null","string"],"description":"Headline used for exactly one pass."},"title_zero":{"type":["null","string"],"description":"Headline used when the customer holds no pass."},"subTitle":{"type":["null","string"],"description":"Text under the headline."},"subTitle_zero":{"type":["null","string"],"description":"Text under the headline when the customer holds no pass."},"individual":{"type":["null","string"],"description":"Label of the individual-passes section, for two or more."},"individual_one":{"type":["null","string"],"description":"Label of the individual-passes section, for exactly one."},"all":{"type":["null","string"],"description":"Label of the all-passes action, for two or more."},"all_one":{"type":["null","string"],"description":"Label of the all-passes action, for exactly one."},"tickets":{"type":["null","string"],"description":"Pass counter. Carries a `{count}` placeholder."}},"additionalProperties":false,"description":"Headline strings of a `passList` page."},"PassListQrCodeTranslations":{"type":"object","properties":{"seeQRCode":{"type":["null","string"],"description":"Label of the action revealing the QR code."},"scanQRCode":{"type":["null","string"],"description":"Title shown with the QR code."},"QRCodeInstructions":{"type":["null","string"],"description":"Scanning instructions. May be HTML, prefixed with `$html`."},"copyQRLink":{"type":["null","string"],"description":"Label of the action copying the QR code link."},"linkCopied":{"type":["null","string"],"description":"Confirmation shown once the link has been copied."}},"additionalProperties":false,"description":"Strings around the QR code on a `passList` page."},"BenefitListPageTranslations":{"type":"object","properties":{"layout":{"description":"The strings of the page itself.","$ref":"#/components/schemas/BenefitListLayoutTranslations"}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page."},"BenefitListLayoutTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the page."},"subTitle":{"type":["null","string"],"description":"Text under the headline. Hidden entirely when empty."},"sections":{"description":"Headings of the three groups benefits are listed in.","$ref":"#/components/schemas/BenefitListSectionsTranslations"},"card":{"description":"Strings on the card of one benefit.","$ref":"#/components/schemas/BenefitListCardTranslations"},"code":{"description":"Strings around the code the holder shows to redeem a benefit.","$ref":"#/components/schemas/BenefitListCodeTranslations"},"wallet":{"description":"Strings of the card adding every eligible benefit to the wallet at once.","$ref":"#/components/schemas/BenefitListWalletTranslations"},"empty":{"description":"Strings shown when the pass carries no benefit at all.","$ref":"#/components/schemas/BenefitListEmptyTranslations"}},"additionalProperties":false,"description":"Strings of a `benefitList` page, by area of the page."},"BenefitListSectionsTranslations":{"type":"object","properties":{"available":{"type":["null","string"],"description":"Heading above the benefits the holder can use now."},"upcoming":{"type":["null","string"],"description":"Heading above the benefits that have not started yet."},"past":{"type":["null","string"],"description":"Heading above the benefits that have expired or been used up."},"pastCount":{"type":["null","string"],"description":"Counter next to the past heading, for two or more. Carries a `{count}` placeholder."},"pastCount_one":{"type":["null","string"],"description":"Counter next to the past heading, for exactly one."}},"additionalProperties":false,"description":"Headings of the three groups a `benefitList` page lists benefits in."},"BenefitListCardTranslations":{"type":"object","properties":{"showCode":{"type":["null","string"],"description":"Label of the action revealing the redemption code."},"seeDetails":{"type":["null","string"],"description":"Label of the action opening the benefit's details."},"hide":{"type":["null","string"],"description":"Label of the action closing the opened card."},"used":{"type":["null","string"],"description":"Badge on a benefit that has been used up."},"expired":{"type":["null","string"],"description":"Badge on a benefit whose validity has passed."},"remaining":{"type":["null","string"],"description":"Remaining allowance, for two or more. Carries `{value}` and `{target}` placeholders."},"remaining_one":{"type":["null","string"],"description":"Remaining allowance, for exactly one."},"remainingLabel":{"type":["null","string"],"description":"Screen-reader wording of the remaining allowance."},"progress":{"type":["null","string"],"description":"Progress towards a reward. Carries `{value}` and `{target}` placeholders."},"progressLabel":{"type":["null","string"],"description":"Screen-reader wording of the progress."},"history":{"type":["null","string"],"description":"Heading above the list of past redemptions."},"usedOn":{"type":["null","string"],"description":"One redemption in that list. Carries a `{date}` placeholder."},"legal":{"type":["null","string"],"description":"Label of the link to the benefit's terms."},"dateRange":{"type":["null","string"],"description":"Validity of a benefit that both starts and ends. Carries `{from}` and `{to}` placeholders."},"dateUntil":{"type":["null","string"],"description":"Validity of a benefit that only ends. Carries a `{to}` placeholder."},"dateFrom":{"type":["null","string"],"description":"Validity of a benefit that only starts. Carries a `{from}` placeholder."},"dateOn":{"type":["null","string"],"description":"Validity of a benefit good for a single day. Carries a `{from}` placeholder."}},"additionalProperties":false,"description":"Strings on the card of one benefit on a `benefitList` page."},"BenefitListCodeTranslations":{"type":"object","properties":{"label":{"type":["null","string"],"description":"Instruction above the code."},"howTo":{"type":["null","string"],"description":"Explanation of how the code is redeemed."}},"additionalProperties":false,"description":"Strings around the redemption code of a benefit."},"BenefitListWalletTranslations":{"type":"object","properties":{"bulkTitle":{"type":["null","string"],"description":"Headline of the card, for two or more. Carries a `{count}` placeholder."},"bulkTitle_one":{"type":["null","string"],"description":"Headline of the card, for exactly one."},"bulkHint":{"type":["null","string"],"description":"Text under the headline of the card."}},"additionalProperties":false,"description":"Strings of the add-everything card on a `benefitList` page."},"BenefitListEmptyTranslations":{"type":"object","properties":{"title":{"type":["null","string"],"description":"Headline of the empty state."},"content":{"type":["null","string"],"description":"Text under the empty-state headline."}},"additionalProperties":false,"description":"Strings shown on a `benefitList` page when the pass carries no benefit."}}}}
```

## The SaveEmailTemplateRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SaveEmailTemplateRequest":{"required":["cultures"],"type":"object","properties":{"cultures":{"type":"object","additionalProperties":{"description":"Design source and compiled content of one culture.","$ref":"#/components/schemas/EmailTemplateCultureContent"},"description":"Content to upsert per culture code; other cultures are untouched. At least one entry; each code 1 to 10 letters, digits, hyphens or underscores, else 400."}},"additionalProperties":false,"description":"Request body to save culture content on an existing template."},"EmailTemplateCultureContent":{"required":["css","html"],"type":"object","properties":{"html":{"type":"string","description":"HTML design source, reloaded into the editor, not sent. Null is saved as empty."},"css":{"type":"string","description":"CSS design source, reloaded into the editor, not sent. Null is saved as empty."},"subject":{"type":["null","string"],"description":"Compiled subject used to send mail. Null in a response when the culture has no compiled content yet."},"body":{"type":["null","string"],"description":"Compiled body (HTML with Liquid placeholders) used to send mail. Null in a response when the culture has no compiled content yet."}},"additionalProperties":false,"description":"Design source and compiled content of one culture."}}}}
```

## The SaveEnrolmentFormRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SaveEnrolmentFormRequest":{"type":"object","properties":{"flow":{"type":["null","string"],"description":"Flow executed on registration. Required unless `yaml` is used. Must name an existing registration flow, else 400."},"localization":{"description":"Localization wiring. Omitted keeps the stored directories; provided replaces them (an empty list clears them).","$ref":"#/components/schemas/EnrolmentFormLocalization"},"yaml":{"type":["null","string"],"description":"Complete form as YAML, saved as sent. Exclusive with `flow` and `localization`; not blank, else 400. Only way to save a form whose YAML no longer parses."}},"additionalProperties":false,"description":"Request body to save an enrolment form."},"EnrolmentFormLocalization":{"type":"object","properties":{"resources":{"type":"array","items":{"type":"string"},"description":"Locale resource directories, e.g. `/locales/fields/`. Order matters: the last directory wins for a duplicate key. A blank entry is refused with 400; a missing directory is accepted."}},"additionalProperties":false,"description":"Localization wiring of a form."}}}}
```

## The SaveFlowRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SaveFlowRequest":{"required":["steps"],"type":"object","properties":{"type":{"type":["null","string"],"description":"Flow type; must be available to the tenant, else 400. Omitted or blank keeps the current type."},"steps":{"type":"array","items":{"description":"One step of a flow.","$ref":"#/components/schemas/FlowStepDefinition"},"description":"Steps in execution order; replaces the stored steps."}},"additionalProperties":false,"description":"Request body to save a flow."},"FlowStepDefinition":{"required":["type"],"type":"object","properties":{"type":{"minLength":1,"type":"string","description":"Step type, e.g. `mail`, `sms`, `pass` or `script`. Must be available to the tenant, else 400. Empty in a response when the step has none."}},"additionalProperties":{},"description":"One step of a flow."}}}}
```

## The SavePassTypeRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SavePassTypeRequest":{"required":["configuration"],"type":"object","properties":{"configuration":{"description":"The template itself, in the same shape `configuration` returns. Send it\nwhole: a save replaces the stored template rather than merging into it, so anything left out is\nremoved, and wording left out is deleted in every language.","$ref":"#/components/schemas/PassTypeModel"}},"additionalProperties":false,"description":"A pass template to create or replace."},"PassTypeModel":{"type":"object","properties":{"kind":{"description":"Which of the six templates this is. Cannot be changed after creation.","$ref":"#/components/schemas/PassTypeKind"},"tags":{"type":["null","array"],"items":{"type":"string"},"description":"Free-form admin console labels. Nothing here reaches the holder."},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the template was created. Set by the platform; ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"lastModificationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When the template was last saved. Set by the platform on every save; ignored on write. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"passLayoutName":{"type":["null","string"],"description":"Download page the template's passes are presented from, by name. Omitted, `pass`. Must name an existing download page."},"trackLinks":{"type":["null","boolean"],"description":"Whether links on the pass go through a tracking redirect so opens can be counted. Omitted, links are tracked."},"optimizeImages":{"type":["null","boolean"],"description":"Whether images are optimized when a pass is built. Omitted, they are. Images uploaded through the template image endpoint are always optimized on upload."},"dataProviders":{"type":["null","array"],"items":{"description":"A provider a template's passes read pass data from.","$ref":"#/components/schemas/PassTypeDataProviderEntry"},"description":"Where the template's passes read the data their templates use. Empty, nowhere. Omitted on a save, a stored\ntemplate keeps the data providers it has, and a new one has none."},"notification":{"description":"How long a message sent to the template's passes stays displayed on them.","$ref":"#/components/schemas/PassTypeNotification"},"previewData":{"type":["null","array"],"items":{"description":"One named set of values a template is previewed against.","$ref":"#/components/schemas/PassTypePreviewData"},"description":"Named sets of sample values the editor renders the template's Liquid against, so a preview shows\nwords rather than expressions."},"extensions":{"description":"The two wallets and the sections that configure neither of them on its own.","$ref":"#/components/schemas/PassTypeExtensions"}},"additionalProperties":false,"description":"Everything a pass template configures."},"PassTypeKind":{"enum":["customerCard","eventTicket","giftCard","offer","generic","stampCard"],"type":"string","description":"Which of the six templates a pass type is. Fixed when it is created."},"PassTypeDataProviderEntry":{"type":"object","properties":{"provider":{"type":["null","string"],"description":"The data provider, as the data schema lists it (`cegid.y2.loyalty`), or `script` for a tenant script."},"scriptId":{"type":["null","string"],"description":"For a tenant script, its id."}},"additionalProperties":false,"description":"A provider a template's passes read pass data from."},"PassTypeNotification":{"type":"object","properties":{"duration":{"type":["null","string"],"description":"How long a message stays on a pass of this template, as a .NET `TimeSpan` (`d.hh:mm:ss`, `7.00:00:00` for a week). Omitted, 7 days; always present on read."}},"additionalProperties":false,"description":"How long a message sent to the template's passes stays displayed on them."},"PassTypePreviewData":{"type":"object","properties":{"name":{"type":["null","string"],"description":"What the editor calls this set, such as `Gold member`. Unique within the template."},"type":{"description":"Whether the values are written here (`custom`) or come from an issued pass (`real`).","$ref":"#/components/schemas/PassTypePreviewDataType"},"isDefault":{"type":"boolean","description":"Whether the editor previews this set first, `custom` or `real`. Only one set can be. Omitted,\nthe first `custom` set is."},"data":{"type":["null","object"],"description":"The values of a `custom` set. Free-form: the keys are whatever the tenant's own passes carry. Absent\non a `real` set."},"passId":{"type":["null","string"],"description":"The identifier of the issued pass a `real` set previews. Absent on a `custom` set."}},"additionalProperties":false,"description":"One named set of values a template is previewed against."},"PassTypePreviewDataType":{"enum":["custom","real"],"type":"string","description":"Where a preview data set takes its values from."},"PassTypeExtensions":{"type":"object","properties":{"apple":{"description":"The Apple Wallet pass. Configured the same way whatever the kind.","$ref":"#/components/schemas/PassTypeApple"},"google":{"description":"The Google Wallet card. Each kind accepts only the properties it declares — every property that is\nnot common to all six says which kinds it applies to.","$ref":"#/components/schemas/PassTypeGoogle"},"preview":{"description":"How an issued pass of this template is summarised in the admin console.","$ref":"#/components/schemas/PassTypePreview"},"scannableData":{"description":"What a scanner reads off an issued pass.","$ref":"#/components/schemas/PassTypeScannableData"},"stamps":{"description":"The stamp mechanic. Only a `stampCard` has one.","$ref":"#/components/schemas/PassTypeStamps"},"metadata":{"description":"Values computed whenever a pass is updated, which issued passes can then be searched and filtered\nby. Nothing here is shown to the holder.","$ref":"#/components/schemas/PassTypeMetadata"}},"additionalProperties":false,"description":"The two wallets and the sections that configure neither of them on its own."},"PassTypeApple":{"type":"object","properties":{"actionLinks":{"description":"Configuration for action links associated with the pass.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the Additional Info section below the pass content. Used for poster event ticket passes (iOS 18+)."},"appLaunchUrl":{"type":["null","string"],"description":"URL passed to the associated app at launch (from associatedStoreIdentifiers). Not supported on watchOS."},"associatedStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"App Store identifiers of apps associated with the pass; the first one compatible with the device is used, with a\nlink on the back of the pass (it opens the App Store when the app is not installed). Payment passes only; not\nsupported on watchOS."},"auxiliaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Additional fields to be displayed on the front of the pass."},"auxiliaryStoreIdentifiers":{"type":["null","array"],"items":{"type":"integer","format":"int64"},"description":"Additional App Store identifiers of associated apps, linked in the event guide. Poster event tickets only; not supported on watchOS."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be on the back of the pass."},"backgroundColor":{"type":["null","string"],"description":"Background color of the pass, specified as an CSS-style RGB triple."},"barCodeAlternateText":{"type":["null","string"],"description":"Text displayed near the barcode, such as a human-readable version of its data. A Liquid template, not a translatable string."},"barCodeFormat":{"type":["null","string"],"description":"Bar code format. One of: qr, pdf417, aztec, code128, code39, codabar, ean13, i2of5. code39, codabar, ean13 and\ni2of5 need iOS 27; the pass also carries a QR code of the same value for older devices. No bar code is drawn\nwhen `barCodeValue` renders empty."},"barCodeValue":{"type":["null","string"],"description":"Bar code field value (ex: `id.y2.customerId`)."},"beacons":{"type":["null","array"],"items":{"description":"Configuration for a beacon device","$ref":"#/components/schemas/PassTypeAppleBeacon"},"description":"Beacons marking locations where the pass is relevant. At most 10."},"description":{"description":"A simple description of the pass","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventLogoText":{"description":"Text next to the logo on poster event tickets; takes precedence over `logoText`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expirationDate":{"type":["null","string"],"description":"Date and time when the pass expires, with hours and minutes and optional seconds."},"featuredActions":{"type":["null","array"],"items":{"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination.","$ref":"#/components/schemas/PassTypeAppleFeaturedAction"},"description":"Featured actions displayed below the pass in Wallet (iOS 27+). Maximum 2 entries."},"footerBackgroundColor":{"type":["null","string"],"description":"Background color of the footer, as a CSS-style RGB triple such as rgb(100, 10, 110). Poster event tickets only."},"footerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the footer of the pass (iOS 27+). Only the posterGeneric style has them: a customer card or stamp card with the poster layout, or a generic pass with artwork. Event tickets, gift cards and offers ignore them."},"foregroundColor":{"type":["null","string"],"description":"Foreground color of the pass, specified as a CSS-style RGB triple."},"groupingIdentifier":{"type":["null","string"],"description":"Identifier grouping related passes (same groupingIdentifier, passTypeIdentifier and type), such as boarding passes for connections on one trip."},"headerFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields displayed in the header on the front of the pass. Use sparingly: unlike other fields, they stay visible in a stack of passes."},"images":{"description":"Configuration of image for this pass.","$ref":"#/components/schemas/PassTypeAppleImage"},"labelColor":{"type":["null","string"],"description":"Color of the label text, specified as a CSS-style RGB triple."},"locations":{"type":["null","array"],"items":{"description":"Configuration for a location","$ref":"#/components/schemas/PassTypeAppleLocation"},"description":"Locations where the pass is relevant, such as a store. At most 10."},"logoText":{"description":"Text displayed next to the logo on the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"maxDistance":{"type":["null","integer"],"description":"Maximum distance in meters from a relevant location at which the pass is relevant; the smaller of this and the pass's default distance is used.","format":"int32"},"nfc":{"description":"NFC-enabled pass keys support sending reward card information as part of an Apple Pay transaction.","$ref":"#/components/schemas/PassTypeAppleNfc"},"organizationName":{"type":["null","string"],"description":"Display name of the organization that originated and signed the pass."},"primaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed prominently on the front of the pass."},"relevantDate":{"type":["null","string"],"description":"Date and time when the pass becomes relevant, such as a movie's start, with hours and minutes and optional seconds. Recommended for event tickets and boarding passes."},"relevantDates":{"type":["null","array"],"items":{"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one.","$ref":"#/components/schemas/PassTypeAppleRelevantDate"},"description":"An array of date intervals during which the pass is relevant. Supersedes `RelevantDate` when non-empty."},"secondaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Fields to be displayed on the front of the pass."},"semantics":{"description":"Semantics configuration for the pass.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"sharing":{"description":"What the Share button of the pass sends. Omitted, a link to the install page of the pass.","$ref":"#/components/schemas/PassTypeAppleSharing"},"summaryFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"Up to three values displayed below the barcode on the poster generic layout (iOS 27+). Edited separately from `PrimaryFields`, which stays classic-only."},"suppressHeaderDarkening":{"type":["null","boolean"],"description":"Whether to display the header darkening gradient. Default false. Poster event tickets only."},"suppressStripShine":{"type":["null","boolean"],"description":"A Boolean value that controls whether to display the strip image without a shine effect. The default value is true."},"type":{"type":["null","string"],"description":"Type of pass. One of: generic, boardingPass, coupon, eventTicket, storeCard."},"upcomingPassInformation":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleUpcomingPassInformation"},"description":"Further events the ticket admits to, each shown as its own entry in the event guide."},"useAutomaticColors":{"type":["null","boolean"],"description":"Whether Wallet computes the foreground and label colors from the background image, ignoring `foregroundColor` and `labelColor`. Poster event tickets only."},"usePosterLayout":{"type":["null","boolean"],"description":"When true, a customer card pass uses the iOS 27+ poster generic layout instead of the standard store card layout."},"voided":{"type":["null","string"],"description":"Indicates the pass is void, such as a redeemed one-time coupon."}},"additionalProperties":false,"description":"Configuration of an Apple pass. See [Apple's PassKit bundle\nreference](https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/TopLevel.html)."},"PassTypeAppleActionLinks":{"type":"object","properties":{"accessibilityURL":{"type":["null","string"],"description":"A URL that links to your accessiblity content, or the venue's. Poster event tickets only."},"addOnURL":{"type":["null","string"],"description":"A URL that can link to experiences that someone can add to the pass. Poster event tickets only."},"bagPolicyURL":{"type":["null","string"],"description":"A URL that links to the bag policy of the venue for the event that the pass represents. Poster event tickets only."},"contactVenueEmail":{"type":["null","string"],"description":"The preferred email address to contact the venue, event, or issuer. Poster event tickets only."},"contactVenuePhoneNumber":{"type":["null","string"],"description":"The phone number for contacting the venue, event, or issuer. Poster event tickets only."},"contactVenueWebsite":{"type":["null","string"],"description":"A URL that links to the website of the venue, event, or issuer. Poster event tickets only."},"directionsInformationURL":{"type":["null","string"],"description":"A URL that links to directions for the event. Poster event tickets only."},"merchandiseURL":{"type":["null","string"],"description":"A URL that links to a site for ordering merchandise for the event that the pass represents. Poster event tickets only."},"orderFoodURL":{"type":["null","string"],"description":"A URL that links to the food ordering page for the event that the pass represents. Poster event tickets only."},"parkingInformationURL":{"type":["null","string"],"description":"A URL that links to parking information for the event that the pass represents. Poster event tickets only."},"purchaseParkingURL":{"type":["null","string"],"description":"A URL that links to a site to purchase parking for the event that the pass represents. Poster event tickets only."},"sellURL":{"type":["null","string"],"description":"A URL that links to the selling flow for the ticket the pass represents. Poster event tickets only."},"transferURL":{"type":["null","string"],"description":"A URL that links to the transferring flow for the ticket that the pass represents. Poster event tickets only."},"managementURL":{"type":["null","string"],"description":"A URL that links to the site for managing the ticket that the pass represents."},"transitInformationURL":{"type":["null","string"],"description":"A URL that links to information about transit options in the area of the event that the pass represents. Poster event tickets only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleField":{"type":"object","properties":{"changeMessage":{"description":"Alert text shown when the pass is updated, containing `%@` for the field's new value (for example <c>Gate\nchanged to %@.</c>). Without it, the user is not notified of changes.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"Kind of field. One of: number, date. Omitted for a plain text field."},"key":{"type":["null","string"],"description":"The key must be unique within the scope of the entire pass. For example, 'departure-gate.'."},"label":{"description":"Label text for the field.","$ref":"#/components/schemas/PassTypeLocalizedString"},"textAlignment":{"type":["null","string"],"description":"Text alignment for the field. One of: left, center, right, natural."},"currencyCode":{"type":["null","string"],"description":"ISO 4217 currency code for a number field. When set, Apple Wallet formats the value as a currency and ignores `numberStyle`."},"numberStyle":{"type":["null","string"],"description":"Number style for a number field. One of: decimal, percent, scientific, spellOut."},"dateStyle":{"type":["null","string"],"description":"Date part style for a date field. One of: none, short, medium, long, full."},"timeStyle":{"type":["null","string"],"description":"Time part style for a date field. One of: none, short, medium, long, full."},"isRelative":{"type":["null","boolean"],"description":"Show the date field as a relative value such as \"tomorrow\" when a date or time style is set."},"ignoresTimeZone":{"type":["null","boolean"],"description":"Keep the value's own time zone for a date field when a date or time style is set."},"automaticallyDetectDataDetectorTypes":{"type":["null","boolean"],"description":"Whether iOS turns phone numbers, links, addresses and dates found in the value into tappable links. Omitted, it\ndoes; `false` shows the value as plain text. Applies to a field with no `type`."},"value":{"description":"Value of the field, for example 42. May contain HTML links: only the <a> tag and its href attribute are supported.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Information about a field."},"PassTypeLocalizedString":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Wording in the tenant's default language, used for any language `values` does not cover."},"values":{"type":["null","object"],"additionalProperties":{"type":"string"},"description":"Wording per language, keyed by ISO 639-1 code with an optional region (`en`, `fr-FR`). A missing language falls back to `value`."}},"additionalProperties":false,"description":"A value shown to the holder, with one entry per language."},"PassTypeAppleBeacon":{"type":"object","properties":{"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"major":{"type":["null","integer"],"description":"Major identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"minor":{"type":["null","integer"],"description":"Minor identifier of a Bluetooth Low Energy location beacon.","format":"int32"},"uuid":{"type":["null","string"],"description":"Unique identifier of a Bluetooth Low Energy location beacon."}},"additionalProperties":false,"description":"Configuration for a beacon device"},"PassTypeAppleFeaturedAction":{"type":"object","properties":{"icon":{"type":["null","string"],"description":"SF Symbol name of the card's icon; prefer circular, filled variants. Omitted, a default icon for the action type is used."},"type":{"type":["null","string"],"description":"The predefined action type that determines the label and behavior of the featured action card."},"url":{"type":["null","string"],"description":"URL opened when the action is tapped: a website, a deep link into your app, or a `tel:` URI for `call` actions."},"placeIdentifier":{"type":["null","string"],"description":"The Apple Maps Place ID opened by `place` actions."}},"additionalProperties":false,"description":"A featured action card displayed when viewing the pass in the Wallet app (iOS 27+). Each featured action includes an icon, a predefined action type, and a destination."},"PassTypeAppleImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster background image (artwork.png) for poster event tickets (iOS 18+) and poster generic passes (iOS 27+).\nSetting it on a generic pass activates the posterGeneric layout, on an event ticket posterEventTicket. Falls\nback to the strip image on older devices. Covers the poster card, whose size depends on the iPhone (370x503 pt\non a 402 pt wide iPhone): Wallet scales it to cover the card, centred horizontally, top-aligned on event\ntickets and centred on poster generic passes and store cards."},"background":{"type":["null","string"],"description":"Blurred background (background.png) behind the front of non-poster event tickets, 343 x 503 points. Poster layouts use ArtWork instead."},"footer":{"type":["null","string"],"description":"The image displayed on the front of the pass near the barcode. The allotted space is 858 x 45 points."},"icon":{"type":["null","string"],"description":"The pass's icon, shown in notifications, emails with a pass attached and on the lock screen with a shine effect and rounded corners. 87 x 87 points."},"logo":{"type":["null","string"],"description":"Image at the top left of the front, in a 480 x 150 points space; usually narrower."},"primaryLogo":{"type":["null","string"],"description":"Top-left logo for poster layouts (posterGeneric iOS 27+ and posterEventTicket iOS 18+). Fitted into 126x36 pt (posterEventTicket draws it at most 126x30 pt)."},"reuseExisting":{"type":["null","boolean"],"description":"For an upcoming event's header image or venue map: reuse the image the pass already carries rather than download one. `urls` takes precedence when set."},"secondaryLogo":{"type":["null","string"],"description":"Logo image that is displayed on bottom right footer inset of the pass. Ticket issuer or event company logo 135x12 pts."},"stampImages":{"type":["null","array"],"items":{"description":"The Apple images a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeAppleStampImage"},"description":"Per-stamp-count overrides of `Strip` and `ArtWork`, for a stamp card."},"strip":{"type":["null","string"],"description":"Image behind the primary fields: 1125 x 296 points for event tickets, 1125 x 432 for gift cards and coupons,\n1125 x 369 otherwise. Older hardware: 960 x 252, 960 x 330 (square barcode on 3.5 inch screens) or 960 x 369."},"thumbnail":{"type":["null","string"],"description":"Additional image on the front, such as a cardholder picture, 270 x 270 points. Aspect ratio between 2:3 and 3:2, otherwise cropped."},"urls":{"type":["null","array"],"items":{"description":"Part of the Apple configuration.","$ref":"#/components/schemas/PassTypeAppleImageUrl"},"description":"For an upcoming event's header image or venue map: the remote copies of the image the device downloads."},"venueMap":{"type":["null","string"],"description":"Issuer-provided static map of the venue, which will be shown in the event guide."}},"additionalProperties":false,"description":"Image configuration for the pass"},"PassTypeAppleStampImage":{"type":"object","properties":{"artWork":{"type":["null","string"],"description":"Poster artwork, used only when the template enables the poster layout."},"count":{"type":["null","integer"],"description":"The stamp count these images are shown at.","format":"int32"},"strip":{"type":["null","string"],"description":"Strip image for the classic store-card layout."}},"additionalProperties":false,"description":"The Apple images a stamp card shows at one exact stamp count."},"PassTypeAppleImageUrl":{"type":"object","properties":{"scale":{"type":["null","number"],"description":"The scale of the image. If unspecified, defaults to 1.","format":"double"},"sha256":{"type":["null","string"],"description":"(Required) The SHA256 hash of the image."},"size":{"type":["null","string"],"description":"Size of the image asset in bytes. The maximum allowed size is 2 megabytes."},"url":{"type":["null","string"],"description":"URL of the image to download. Required; https only."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleLocation":{"type":"object","properties":{"altitude":{"type":["null","string"],"description":"Altitude, in meters, of the location."},"label":{"description":"Text displayed on the lock screen when the pass is relevant, such as 'Store nearby on 1st and Main.'","$ref":"#/components/schemas/PassTypeLocalizedString"},"latitude":{"type":["null","string"],"description":"Latitude, in degrees, of the location."},"longitude":{"type":["null","string"],"description":"Longitude, in degrees, of the location."}},"additionalProperties":false,"description":"Configuration for a location"},"PassTypeAppleNfc":{"type":"object","properties":{"message":{"type":["null","string"],"description":"Payload sent to the Apple Pay terminal, at most 64 bytes (longer is truncated)."},"requiresAuthentication":{"type":["null","boolean"],"description":"Whether the NFC pass requires authentication for each use. Default false."}},"additionalProperties":false,"description":"Information about the NFC payload passed to an Apple Pay terminal. It is encrypted with the tenant's NFC key; without one, passes are issued without NFC."},"PassTypeAppleRelevantDate":{"type":"object","properties":{"endDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the end of the relevancy interval. Optional."},"startDate":{"type":["null","string"],"description":"Template-evaluated ISO-8601 date string for the start of the relevancy interval."}},"additionalProperties":false,"description":"Configuration for a relevantDates entry. Use `StartDate` alone to let Wallet compute the interval, or with `EndDate` for an explicit one."},"PassTypeAppleSemantics":{"type":"object","properties":{"additionalTicketAttributes":{"type":["null","string"],"description":"Additional ticket attributes that other tags or keys in the pass don't include."},"admissionLevel":{"type":["null","string"],"description":"The level of admission the ticket provides, such as general admission, VIP, and so forth."},"admissionLevelAbbreviation":{"type":["null","string"],"description":"An abbreviation of the level of admission the ticket provides, such as GA or VIP."},"albumIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each album corresponding to the event, in decreasing order of significance."},"artistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each artist performing at the event, in decreasing order of significance."},"attendeeName":{"type":["null","string"],"description":"The name of the person the ticket grants admission to."},"awayTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the away team's name. Use this key only for a sports event ticket."},"awayTeamLocation":{"type":["null","string"],"description":"The home location of the away team. Use this key only for a sports event ticket."},"awayTeamName":{"type":["null","string"],"description":"The name of the away team. Use this key only for a sports event ticket."},"balance":{"description":"The current balance redeemable with the pass. Use this key only for a store card pass.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"duration":{"type":["null","string"],"description":"The duration of the event or transit journey, in seconds. Sent as a string: whole seconds or a Liquid template."},"entranceDescription":{"type":["null","string"],"description":"The long description of the entrance information."},"eventLiveMessage":{"type":["null","string"],"description":"The message Wallet shows in the Lock Screen Live Activity when the event starts."},"eventEndDate":{"type":["null","string"],"description":"The date and time the event ends. ISO 8601 date as string."},"eventName":{"description":"The full name of the event, such as the title of a movie.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventStartDate":{"type":["null","string"],"description":"The date and time the event starts. ISO 8601 date as string."},"eventStartDateInfo":{"description":"An object that provides information for the date and time the event starts. See SemanticTagType.EventDateInfo (iOS 18.0+).","$ref":"#/components/schemas/PassTypeAppleEventDateInfoValue"},"eventType":{"type":["null","string"],"description":"Type of event: PKEventTypeGeneric, PKEventTypeLivePerformance, PKEventTypeMovie, PKEventTypeSports,\nPKEventTypeConference, PKEventTypeConvention, PKEventTypeWorkshop or PKEventTypeSocialGathering."},"genre":{"type":["null","string"],"description":"The genre of the performance, such as classical."},"homeTeamAbbreviation":{"type":["null","string"],"description":"The unique abbreviation of the home team's name. Use this key only for a sports event ticket."},"homeTeamLocation":{"type":["null","string"],"description":"The home location of the home team. Use this key only for a sports event ticket."},"homeTeamName":{"type":["null","string"],"description":"The name of the home team. Use this key only for a sports event ticket."},"leagueAbbreviation":{"type":["null","string"],"description":"The abbreviated league name for a sports event. Use this key only for a sports event ticket."},"leagueName":{"type":["null","string"],"description":"The unabbreviated league name for a sports event. Use this key only for a sports event ticket."},"performerNames":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the full names of the performers and opening acts at the event, in decreasing order of significance."},"playlistIDs":{"type":["null","array"],"items":{"type":"string"},"description":"An array of the Apple Music persistent ID for each playlist corresponding to the event, in decreasing order of significance."},"seats":{"type":["null","array"],"items":{"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat.","$ref":"#/components/schemas/PassTypeAppleSeat"},"description":"An array of objects that represent the details for each seat at an event or on a transit journey. See SemanticTagType.Seat."},"silenceRequested":{"type":["null","string"],"description":"Whether the person's device stays silent during an event or transit journey (the system may override the\nperiod). Sent as a string: `true`, `false` or a Liquid template."},"sportName":{"type":["null","string"],"description":"The commonly used name of the sport. Use this key only for a sports event ticket."},"tailgatingAllowed":{"type":["null","string"],"description":"A Boolean value that indicates whether tailgating is allowed at the event. Sent as a string: `true`, `false` or a Liquid template."},"totalPrice":{"description":"The total price for the pass. Use this key for any pass type.","$ref":"#/components/schemas/PassTypeAppleCurrencyAmount"},"venueBoxOfficeOpenDate":{"type":["null","string"],"description":"The date when the box office opens (ISO 8601)."},"venueCloseDate":{"type":["null","string"],"description":"The date when the venue closes (ISO 8601)."},"venueDoorsOpenDate":{"type":["null","string"],"description":"The date the doors to the venue open (ISO 8601)."},"venueEntrance":{"type":["null","string"],"description":"The full name of the entrance, such as Gate A, to use to gain access to the ticketed event."},"venueEntranceDoor":{"type":["null","string"],"description":"The venue entrance door."},"venueEntranceGate":{"type":["null","string"],"description":"The venue entrance gate."},"venueEntrancePortal":{"type":["null","string"],"description":"The venue entrance portal."},"venueFanZoneOpenDate":{"type":["null","string"],"description":"The date the fan zone opens (ISO 8601)."},"venueGatesOpenDate":{"type":["null","string"],"description":"The date the gates to the venue open (ISO 8601)."},"venueLocation":{"description":"An object that represents the geographic coordinates of the venue. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"venueName":{"type":["null","string"],"description":"The full name of the venue."},"venueOpenDate":{"type":["null","string"],"description":"The date when the venue opens (ISO 8601). Use this if none of the more specific venue open tags apply."},"venueParkingLotsOpenDate":{"type":["null","string"],"description":"The date the parking lots open (ISO 8601)."},"venuePhoneNumber":{"type":["null","string"],"description":"The phone number for inquiries about the venue's ticketed event."},"venueRegionName":{"type":["null","string"],"description":"The name of the city or hosting region of the venue."},"venueRoom":{"type":["null","string"],"description":"The full name of the room where the ticketed event is to take place."},"wifiAccess":{"type":["null","array"],"items":{"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork.","$ref":"#/components/schemas/PassTypeAppleWifiNetwork"},"description":"Wi-Fi networks associated with the event, such as the network name and password of a conference. See SemanticTagType.WifiNetwork."}},"additionalProperties":false,"description":"Apple Wallet semantic tags of the pass, as documented in Apple's SemanticTags specification."},"PassTypeAppleCurrencyAmount":{"type":"object","properties":{"amount":{"type":["null","string"],"description":"Amount in currency units."},"currencyCode":{"type":["null","string"],"description":"Three-letter currency code (ISO 4217), e.g., \"USD\"."}},"additionalProperties":false,"description":"An amount of money and its currency. See SemanticTagType.CurrencyAmount."},"PassTypeAppleEventDateInfoValue":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The date (ISO 8601 date as string)."},"ignoreTimeComponents":{"type":["null","string"],"description":"A Boolean value that indicates whether the system ignores the time components of the date. Sent as a string: `true`, `false` or a Liquid template."},"timeZone":{"type":["null","string"],"description":"The time zone to display in the date. Uses IANA time zone database identifiers (e.g. \"America/Los_Angeles\")."},"unannounced":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is announced. Sent as a string: `true`, `false` or a Liquid template."},"undetermined":{"type":["null","string"],"description":"A Boolean value that indicates whether the date of the event is determined. Sent as a string: `true`, `false` or a Liquid template."}},"additionalProperties":false,"description":"Date and time of an event. See SemanticTagType.EventDateInfo (iOS 18+)."},"PassTypeAppleSeat":{"type":"object","properties":{"seatAisle":{"type":["null","string"],"description":"The aisle that contains the seat."},"seatDescription":{"type":["null","string"],"description":"A description of the seat, such as 'A flat bed seat'."},"seatIdentifier":{"type":["null","string"],"description":"The identifier code for the seat."},"seatLevel":{"type":["null","string"],"description":"The level that contains the seat."},"seatNumber":{"type":["null","string"],"description":"The number of the seat."},"seatRow":{"type":["null","string"],"description":"The row that contains the seat."},"seatSection":{"type":["null","string"],"description":"The section that contains the seat."},"seatSectionColor":{"type":["null","string"],"description":"A color associated with identifying the seat, specified as a CSS-style RGB triple, such as rgb(23, 187, 82)."},"seatType":{"type":["null","string"],"description":"The type of seat, such as 'Reserved seating'."}},"additionalProperties":false,"description":"Identification of a seat for a transit journey or an event. See SemanticTagType.Seat."},"PassTypeLocation":{"type":"object","properties":{"latitude":{"type":["null","string"],"description":"Latitude in degrees."},"longitude":{"type":["null","string"],"description":"Longitude in degrees."}},"additionalProperties":false,"description":"An object that represents the coordinates of a location. See SemanticTagType.Location."},"PassTypeAppleWifiNetwork":{"type":"object","properties":{"password":{"type":["null","string"],"description":"Wi-Fi password (if any)."},"ssid":{"type":["null","string"],"description":"Wi-Fi SSID (network name)."}},"additionalProperties":false,"description":"An object that contains information required to connect to a Wi-Fi network. See SemanticTagType.WifiNetwork."},"PassTypeAppleSharing":{"type":"object","properties":{"method":{"type":["null","string"],"description":"What the Share button sends. One of: url (the text followed by the URL, the default), pkpass (the .pkpass file), disabled (no Share button)."},"url":{"type":["null","string"],"description":"URL shared by the `url` method, a template rendered with the pass's values. Omitted, the install page of the pass."},"text":{"type":["null","string"],"description":"Text sent ahead of the URL with the `url` method, a template rendered with the pass's values. Not translatable. Shown by some share targets, always included when the link is copied."}},"additionalProperties":false,"description":"What the Share button of an Apple pass sends."},"PassTypeAppleUpcomingPassInformation":{"type":"object","properties":{"actionLinks":{"description":"A collection of URLs used to populate UI elements in the details view.","$ref":"#/components/schemas/PassTypeAppleActionLinks"},"additionalInfoFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the Additional Info section below a pass."},"backFields":{"type":["null","array"],"items":{"description":"Information about a field.","$ref":"#/components/schemas/PassTypeAppleField"},"description":"The fields of information displayed on the details view of the upcoming pass information entry."},"dateInformation":{"description":"Information about the start and end time of the upcoming pass information entry. If omitted, the entry is labeled as TBD.","$ref":"#/components/schemas/PassTypeAppleDateInformation"},"identifier":{"type":["null","string"],"description":"Required. Unique identifier of the upcoming pass information entry."},"images":{"description":"A collection of image names used to populate images in the details view.","$ref":"#/components/schemas/PassTypeAppleImages"},"isActive":{"type":["null","string"],"description":"Indicates whether the upcoming pass information entry is currently active. The default value is false."},"name":{"type":["null","string"],"description":"(Required) The name of the upcoming pass information entry. A Liquid template, not a translatable string: one value for every language."},"semantics":{"description":"The semantic, machine-readable metadata about the upcoming pass information entry.","$ref":"#/components/schemas/PassTypeAppleSemantics"},"type":{"type":["null","string"],"description":"(Required) The type of upcoming pass information entry. Value: event."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleDateInformation":{"type":"object","properties":{"date":{"type":["null","string"],"description":"The start date of the upcoming pass information entry. If omitted, the entry lists the Time and Date as TBD."},"ignoreTimeComponents":{"type":["null","boolean"],"description":"Indicates whether the entry should ignore the time components of the date."},"isAllDay":{"type":["null","boolean"],"description":"Indicates whether the entry spans the entire day and that the time components should be ignored."},"isUnannounced":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been announced (commonly referred to as TBA)."},"isUndetermined":{"type":["null","boolean"],"description":"Indicates whether the provided time of the event hasn't been determined (commonly referred to as TBD)."},"timeZone":{"type":["null","string"],"description":"The time zone to adjust the date into. If omitted, the entry uses the current time zone of the device."}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeAppleImages":{"type":"object","properties":{"headerImage":{"description":"The name of the image file used for the header image on the details screen. This can be a remote asset.","$ref":"#/components/schemas/PassTypeAppleImage"},"venueMap":{"description":"The name of the image file used for the venue map in the event guide for each upcoming pass information entry.\nThis can be a remote asset and is available for event entries.","$ref":"#/components/schemas/PassTypeAppleImage"}},"additionalProperties":false,"description":"Part of the Apple configuration."},"PassTypeGoogle":{"type":"object","properties":{"accountId":{"type":["null","string"],"description":"The loyalty account identifier. Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountIdLabel":{"description":"The account ID label, such as \"Member ID.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"accountName":{"type":["null","string"],"description":"The loyalty account holder name, such as \"John Smith.\" Recommended maximum 20 characters. Applies to: customerCard, stampCard."},"accountNameLabel":{"description":"The account name label, such as \"Member Name.\" Recommended maximum 15 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"additionalLinks":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleUri"},"description":"Links module data."},"allowBarCodeRedemption":{"type":["null","boolean"],"description":"Whether the merchant supports redeeming the gift card by barcode. If true, the app displays a barcode on the\ndetails screen; if false, `barcode` is not displayed. Applies to: giftCard."},"appLinks":{"description":"Optional information about the partner app link.","$ref":"#/components/schemas/PassTypeGoogleAppLinkInfos"},"balance":{"description":"The card's monetary balance. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"balanceUpdateTime":{"type":["null","string"],"description":"When the balance was last updated; defaults to the current time when the balance is updated without it. Applies to: giftCard."},"barCode":{"description":"The barcode type and value.","$ref":"#/components/schemas/PassTypeGoogleBarCode"},"cardNumber":{"type":["null","string"],"description":"The card's number. Applies to: giftCard."},"cardNumberLabel":{"type":["null","string"],"description":"Label shown with the card number. Applies to: giftCard."},"confirmationCode":{"type":["null","string"],"description":"Confirmation code of the event reservation (order, confirmation or reservation number). Applies to: eventTicket."},"confirmationCodeLabel":{"type":["null","string"],"description":"Label for the confirmation code. Each option maps to localized strings. Not combinable with\n`customConfirmationCodeLabel`; when neither is set, \"Confirmation Code\" is used. Applies to: eventTicket.\nOne of: CONFIRMATION_CODE_LABEL_UNSPECIFIED, CONFIRMATION_CODE, CONFIRMATION_NUMBER, ORDER_NUMBER,\nRESERVATION_NUMBER."},"countryCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code used to display and localize the pass. Applies to: customerCard, eventTicket, giftCard, offer, stampCard."},"customConfirmationLabel":{"description":"Custom label for the confirmation code, for when the default or a `confirmationCodeLabel` option is not\nsufficient. Not combinable with `confirmationCodeLabel`. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"dateTimeDetails":{"description":"Date time details of the pass. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleDateTimeDetails"},"details":{"description":"The details of the offer. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"disableExpirationNotification":{"type":["null","boolean"],"description":"Indicates whether Google Wallet should suppress expiration notifications for the offer. Applies to: offer."},"discoverableProgram":{"description":"Information about how the class may be discovered and instantiated from within the Google Wallet app. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleDiscoverableProgram"},"eventId":{"type":["null","string"],"description":"ID of the event, unique per event in an account (at most 64 characters). Groups tickets the user saved for the\nsame event; when omitted, the platform groups by other data, possibly unstable. With one class per event, use\nthe classId (with or without the issuer ID). Avoid collisions, which group tickets that should not be grouped.\nApplies to: eventTicket."},"eventName":{"description":"The name of the event, such as \"LA Dodgers at SF Giants\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"eventNumber":{"type":["null","string"],"description":"The card's event number, an optional field used by some gift cards. Applies to: giftCard."},"eventNumberLabel":{"description":"The label to display for event number, such as \"Target Event #\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"expiryNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay to send expiry notifications 2 days prior to the card expiration. Applies to: generic."},"faceValue":{"description":"The face value of the ticket, matching what would be printed on a physical version of the ticket. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleMoney"},"finePrint":{"description":"The fine print or terms of the pass, such as \"20% off any t-shirt at Adam's Apparel.\" Applies to: eventTicket, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"description":"Gate seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleGate"},"header":{"description":"Required. The title of the pass, such as \"50% off coupon\" or \"Library card\" or \"Voucher\". This field is required\nand appears in the title row of the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"helpUrl":{"description":"The help link for the offer, such as http://myownpersonaldomain.com/help. Applies to: offer.","$ref":"#/components/schemas/PassTypeGoogleUri"},"heroImage":{"type":["null","string"],"description":"Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width."},"hexBackgroundColor":{"type":["null","string"],"description":"Background color as `#rrggbb` or `#rgb`. Defaults to the dominant color of the hero image, else of the logo."},"homepage":{"description":"URI of your application's home page, shown as a link like `linksModuleData`. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeGoogleUri"},"identifier":{"type":["null","string"],"description":"Name of the Google Wallet class the passes belong to. Advanced: leave null unless the class already exists in\nGoogle Wallet, for example when passes are imported from another system."},"issuerName":{"description":"The issuer name. Recommended maximum 20 characters. Applies to: customerCard, eventTicket, giftCard, offer, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"locations":{"type":["null","array"],"items":{"description":"An object that represents the coordinates of a location. See SemanticTagType.Location.","$ref":"#/components/schemas/PassTypeLocation"},"description":"The list of locations where the object can be used. The platform uses this information to trigger geolocated notifications to users."},"logo":{"type":["null","string"],"description":"Logo shown in the card detail view (upper left) and the list view; without it, the first letter of cardTitle. Applies to: eventTicket, generic."},"loyaltyPoints":{"description":"The loyalty reward points label, balance, and type. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"merchantName":{"description":"Merchant name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to ensure\nfull string is displayed on smaller screens. Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"messages":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleMessage"},"description":"Messages displayed in the app to all users of this object. At most 10."},"multipleDevicesAndHoldersAllowedStatus":{"type":["null","string"],"description":"Identifies whether multiple users and devices will save the same object referencing this class. One of: multipleHolder, oneUserAllDevices, oneUserOneDevice."},"screenshotEligibility":{"type":["null","string"],"description":"Whether the holder can take a screenshot of the pass in Google Wallet on Android. One of: unspecified, eligible, ineligible."},"nfcConstraints":{"type":["null","array"],"items":{"type":"string"},"description":"What the phone must not hand out over NFC while the pass is open. Each one of: blockPayment, blockClosedLoopTransit."},"grouping":{"description":"How passes are grouped together in Google Wallet.","$ref":"#/components/schemas/PassTypeGoogleGrouping"},"imageModule":{"description":"An image shown at full width among the details of the pass.","$ref":"#/components/schemas/PassTypeGoogleImageModule"},"pin":{"type":["null","string"],"description":"The card's PIN. Applies to: giftCard."},"pinLabel":{"description":"The label to display for the PIN, such as \"4-digit PIN\". Applies to: giftCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"programLogo":{"type":["null","string"],"description":"Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app. Applies to: customerCard, giftCard, stampCard."},"programName":{"description":"The program name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to\nensure full string is displayed on smaller screens. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"provider":{"description":"The offer provider (either the aggregator name or merchant name). Recommended maximum 12 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"redemptionChannel":{"type":["null","string"],"description":"The redemption channels applicable to this offer. Applies to: offer. One of: REDEMPTION_CHANNEL_UNSPECIFIED, INSTORE, ONLINE, BOTH, TEMPORARY_PRICE_REDUCTION."},"rewardsTier":{"type":["null","string"],"description":"The rewards tier, such as \"Gold\" or \"Platinum.\" Recommended maximum 7 characters. Applies to: customerCard, stampCard."},"rewardsTierLabel":{"description":"The rewards tier label, such as \"Rewards Tier.\" Recommended maximum 9 characters. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"description":"Row seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleRow"},"seat":{"description":"Seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSeat"},"secondaryLoyaltyPoints":{"description":"The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points. Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeGoogleLoyaltyPoint"},"secondaryRewardsTier":{"type":["null","string"],"description":"The secondary rewards tier, such as \"Gold\" or \"Platinum.\". Applies to: customerCard, stampCard."},"secondaryRewardsTierLabel":{"description":"The secondary rewards tier label, such as \"Rewards Tier.\". Applies to: customerCard, stampCard.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"description":"Section seat information. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleSection"},"securityAnimation":{"type":["null","string"],"description":"Security animation rendered on pass details. One of: unspecified, foilShimmer."},"shortTitle":{"description":"A shortened version of the title of the offer, such as \"20% off,\" shown to users as a quick reference to the\noffer contents. Recommended maximum 20 characters. Applies to: offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"smartTap":{"description":"Identifies whether this class supports Smart Tap.","$ref":"#/components/schemas/PassTypeGoogleSmartTap"},"stampImages":{"type":["null","array"],"items":{"description":"The Google image a stamp card shows at one exact stamp count.","$ref":"#/components/schemas/PassTypeGoogleStampImage"},"description":"The hero image to show at each stamp count. The entry matching the holder's current count replaces the class-level hero image. Applies to: stampCard."},"state":{"type":["null","string"],"description":"State of the object, which decides how the app displays it (an inactive object moves to \"Expired passes\"). One of: ACTIVE, COMPLETED, EXPIRED, INACTIVE."},"subheader":{"description":"The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view. Applies to: generic.","$ref":"#/components/schemas/PassTypeLocalizedString"},"templateOverride":{"description":"Which values the card shows where, in place of Google's default layout.","$ref":"#/components/schemas/PassTypeGoogleTemplateOverride"},"texts":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleText"},"description":"Text module data."},"ticketHolderName":{"type":["null","string"],"description":"Name of the ticket holder, if the ticket is assigned to a person. E.g. \"John Doe\" or \"Jane Doe\". Applies to: eventTicket."},"ticketNumber":{"type":["null","string"],"description":"The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets\nfor the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.). Applies to: eventTicket."},"ticketType":{"description":"The type of the ticket, such as \"Adult\" or \"Child\", or \"VIP\" or \"Standard\". Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"The title of the offer, such as \"20% off any t-shirt.\" Recommended maximum 60 characters. Applies to: generic, offer.","$ref":"#/components/schemas/PassTypeLocalizedString"},"titleImage":{"type":["null","string"],"description":"The title image of the offer. This image is displayed in both the details and list views of the app. Applies to: offer."},"upcomingNotification":{"type":["null","boolean"],"description":"Indicates that the issuer would like GooglePay send an upcoming card validity notification 1 day before card becomes valid/usable. Applies to: generic."},"validTimeInterval":{"description":"The time period this object will be active and object can be used. An object's state will be changed to expired when this time period has passed.","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"valueAddedOpportunities":{"type":["null","array"],"items":{"description":"Part of the Google configuration.","$ref":"#/components/schemas/PassTypeGoogleValueAddedItem"},"description":"Optional value added module data. Maximum of ten on the object."},"venue":{"description":"Event venue details. Applies to: eventTicket.","$ref":"#/components/schemas/PassTypeGoogleVenue"},"viewUnlockRequirement":{"type":["null","string"],"description":"View Unlock Requirement. One of: unspecified, requiredToView, notRequired."},"wideLogo":{"type":["null","string"],"description":"The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view. Applies to: eventTicket, generic."},"wideProgramLogo":{"type":["null","string"],"description":"The wide logo of the loyalty program or company. When provided, this will be used in place of the program logo\nin the top left of the card view. Applies to: customerCard, giftCard, stampCard."},"wideTitleImage":{"type":["null","string"],"description":"The wide title image used in place of the title image in the top left of the card view. Applies to: offer."}},"additionalProperties":false,"description":"The Google Wallet card. Not every pass kind accepts every property, and one that only some kinds accept says so."},"PassTypeGoogleUri":{"type":"object","properties":{"label":{"description":"The URI's title appearing in the app as text. Recommended maximum 20 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"uri":{"type":["null","string"],"description":"Location of a web page, image or other resource, with a scheme (web link, map, telephone number or email address). A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAppLinkInfos":{"type":"object","properties":{"androidAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the Android client.","$ref":"#/components/schemas/PassTypeGoogleAndroidAppLinkInfo"},"displayText":{"description":"Optional display text for the app link button. Character limit is 30.","$ref":"#/components/schemas/PassTypeLocalizedString"},"webAppLinkInfo":{"description":"Partner app link rendered on the valuable details of the web client.","$ref":"#/components/schemas/PassTypeGoogleWebAppLinkInfo"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleAndroidAppLinkInfo":{"type":"object","properties":{"packageName":{"type":["null","string"],"description":"Package name for AppTarget. For example: com.google.android.gm."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleWebAppLinkInfo":{"type":"object","properties":{"targetUri":{"description":"URI for AppTarget, with a description. Prefer the package field when the target is defined for your application.","$ref":"#/components/schemas/PassTypeGoogleUri"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleMoney":{"type":"object","properties":{"currencyCode":{"type":["null","string"],"description":"The currency code, such as \"USD\" or \"EUR.\"."},"value":{"type":["null","string"],"description":"Amount, as a number or a Liquid template rendering one. Not a translatable string: one value for every language."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBarCode":{"type":"object","properties":{"alternateText":{"type":["null","string"],"description":"A human readable equivalent of the barcode value, shown under the barcode in place of the default text. Not allowed on a TEXT_ONLY barcode."},"showCodeText":{"description":"Text shown when a Smart Tap barcode is hidden behind a click action.","$ref":"#/components/schemas/PassTypeLocalizedString"},"type":{"type":["null","string"],"description":"The type of barcode. Only QR_CODE is supported for rotating barcodes. One of: AZTEC, CODE_39, CODE_128, CODABAR,\nDATA_MATRIX, EAN_8, EAN_13, ITF_14, PDF_417, QR_CODE, UPC_A, TEXT_ONLY."},"value":{"type":["null","string"],"description":"The value encoded in the barcode."},"rotating":{"type":["null","boolean"],"description":"The phone recomputes the code every period from a one-time password (QR_CODE and PDF_417 only). The value must hold {totp_value_0}, replaced by the current password."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDateTimeDetails":{"type":"object","properties":{"customDoorsOpenLabel":{"description":"Custom label for the doors open value, for when the default \"Doors Open\" or a `doorsOpenLabel` option is not sufficient. Not combinable with `doorsOpenLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"doorsOpen":{"type":["null","string"],"description":"When the doors open at the venue. ISO 8601 extended format, with or without an offset, up to nanosecond\nprecision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local date/time; some rich\nfeatures need the offset."},"doorsOpenLabel":{"type":["null","string"],"description":"Label for the doors open value. Each option maps to localized strings. Not combinable with\n`customDoorsOpenLabel`; when neither is set, \"Doors Open\" is used. One of: DOORS_OPEN_LABEL_UNSPECIFIED,\nDOORS_OPEN, GATES_OPEN."},"end":{"type":["null","string"],"description":"When the event ends (on the last day, if it spans several). ISO 8601 extended format, with or without an offset,\nup to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."},"start":{"type":["null","string"],"description":"When the event starts (on the first day, if it spans several). ISO 8601 extended format, with or without an\noffset, up to nanosecond precision (`2018-06-05T20:00:00-04:00`). Without an offset it is the venue's local\ndate/time; some rich features need the offset."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleDiscoverableProgram":{"type":"object","properties":{"signinUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signin site. Used when MERCHANT_HOSTED_SIGNIN is enabled."},"signupSharedDatas":{"type":["null","array"],"items":{"type":"string"},"description":"User data sent in a POST to the sign-up URL: Google Wallet SharedDataType strings such as FIRST_NAME, LAST_NAME, EMAIL."},"signupUrl":{"type":["null","string"],"description":"The URL to direct the user to for the merchant's signup site. Used when MERCHANT_HOSTED_SIGNUP is enabled."},"state":{"type":["null","string"],"description":"Visibility state of the discoverable program. One of: trustedTesters, live, disabled."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGate":{"type":"object","properties":{"customGateLabel":{"description":"Custom label for the gate value, for when the default \"Gate\" or a `gateLabel` option is not sufficient. Not combinable with `gateLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"gate":{"type":["null","string"],"description":"The gate the ticket holder should enter to get to their seat, such as \"A\" or \"West\"."},"gateLabel":{"type":["null","string"],"description":"Label for the gate value. Each option maps to localized strings. Not combinable with `customGateLabel`;\nwhen neither is set, \"Gate\" is used. One of: GATE_LABEL_UNSPECIFIED, GATE, DOOR, ENTRANCE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleLoyaltyPoint":{"type":"object","properties":{"balance":{"description":"The account holder's loyalty point balance, such as \"500\" or \"$10.00\". Recommended maximum 7 characters. This is\na required field of loyaltyPoints and secondaryLoyaltyPoints.","$ref":"#/components/schemas/PassTypeGoogleBalanceConfigurationBase"},"label":{"description":"The loyalty points label, such as \"Points\". Recommended maximum 9 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleBalanceConfigurationBase":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value of the pass. A Liquid template, not a translatable string: one value for every language."},"type":{"type":["null","string"],"description":"How Google reads `value`: `string`, `integer`, `double` or `money`.\nOmitted, `string`."},"currencyCode":{"type":["null","string"],"description":"The currency of a `money` balance, such as `USD` or `EUR`. Required for `money`, ignored otherwise."}},"additionalProperties":false,"description":"A loyalty balance: its value, and how Google reads and displays it."},"PassTypeGoogleMessage":{"type":"object","properties":{"body":{"description":"The message body.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the message is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"The message header.","$ref":"#/components/schemas/PassTypeLocalizedString"},"id":{"type":["null","string"],"description":"Optional identifier."},"notify":{"type":["null","boolean"],"description":"Whether a notification appears when the body changes."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleTimeInterval":{"type":"object","properties":{"end":{"type":["null","string"],"description":"End time of the interval."},"start":{"type":["null","string"],"description":"Start time of the interval."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleGrouping":{"type":"object","properties":{"id":{"type":["null","string"],"description":"The group the pass belongs to: passes with the same id are shown stacked together."},"sortIndex":{"type":["null","string"],"description":"The pass's position in its group, lower first."}},"additionalProperties":false,"description":"How passes are grouped together in Google Wallet."},"PassTypeGoogleImageModule":{"type":"object","properties":{"description":{"description":"What the image shows, read by screen readers. Carries one value per language.","$ref":"#/components/schemas/PassTypeLocalizedString"},"image":{"type":["null","string"],"description":"The image."}},"additionalProperties":false,"description":"An image shown at full width among the details of the pass."},"PassTypeGoogleRow":{"type":"object","properties":{"customRowLabel":{"description":"Custom label for the row value, for when the default \"Row\" or a `rowLabel` option is not sufficient. Not combinable with `rowLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"row":{"type":["null","string"],"description":"The row of the seat, such as \"1\", E\", \"BB\", or \"A5\"."},"rowLabel":{"type":["null","string"],"description":"Label for the row value. Each option maps to localized strings. Not combinable with `customRowLabel`; when\nneither is set, \"Row\" is used. One of: ROW_LABEL_UNSPECIFIED, ROW."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSeat":{"type":"object","properties":{"customSeatLabel":{"description":"Custom label for the seat value, for when the default \"Seat\" or a `seatLabel` option is not sufficient. Not combinable with `seatLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"seat":{"type":["null","string"],"description":"The seat number, such as \"1\", \"2\", \"3\", or any other seat identifier."},"seatLabel":{"type":["null","string"],"description":"Label for the seat value. Each option maps to localized strings. Not combinable with `customSeatLabel`;\nwhen neither is set, \"Seat\" is used. One of: SEAT_LABEL_UNSPECIFIED, SEAT."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSection":{"type":"object","properties":{"customSectionLabel":{"description":"Custom label for the section value, for when the default \"Section\" or a `sectionLabel` option is not sufficient. Not combinable with `sectionLabel`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"section":{"type":["null","string"],"description":"The section of the seat, such as \"121\"."},"sectionLabel":{"type":["null","string"],"description":"Label for the section value. Each option maps to localized strings. Not combinable with\n`customSectionLabel`; when neither is set, \"Section\" is used. One of: SECTION_LABEL_UNSPECIFIED, SECTION,\nTHEATRE."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleSmartTap":{"type":"object","properties":{"value":{"type":["null","string"],"description":"Value transmitted to a Smart Tap terminal over NFC (ASCII only). A Liquid template, not a translatable string."}},"additionalProperties":false,"description":"Smart Tap: lets a Smart Tap terminal read a value from the pass over NFC. The tenant's issuer redeems it, and without a Smart Tap key on the tenant it is not enabled."},"PassTypeGoogleStampImage":{"type":"object","properties":{"count":{"type":["null","integer"],"description":"The stamp count this image is shown at.","format":"int32"},"heroImage":{"type":["null","string"],"description":"Hero image for that count (1032x336)."}},"additionalProperties":false,"description":"The Google image a stamp card shows at one exact stamp count."},"PassTypeGoogleTemplateOverride":{"type":"object","properties":{"barcodeInfo":{"description":"The values shown around the barcode.","$ref":"#/components/schemas/PassTypeGoogleBarcodeInfo"},"cardTemplateInfo":{"description":"The rows of values on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfo"},"detailsTemplateInfo":{"description":"The order and content of the details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsTemplateOverride"},"listTemplateInfo":{"description":"How the card reads in the holder's list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfo"}},"additionalProperties":false,"description":"Which values the card shows where, in place of Google's default layout."},"PassTypeGoogleBarcodeInfo":{"type":"object","properties":{"firstBottomDetail":{"description":"Value shown below the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"firstTopDetail":{"description":"First value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"},"secondTopDetail":{"description":"Second value shown above the barcode.","$ref":"#/components/schemas/PassTypeGoogleDetail"}},"additionalProperties":false,"description":"The values shown around the barcode of the card."},"PassTypeGoogleDetail":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value shown next to the barcode, read from a field of the Google object or class."},"PassTypeGoogleCardTemplateInfo":{"type":"object","properties":{"firstLine":{"description":"First row. Required once the card layout is overridden.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"lines":{"type":["null","array"],"items":{"description":"One row on the front of the card: one to three slots, left to right.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"description":"The configured rows in display order. Read-only: derived from `firstLine`, `secondLine` and `thirdLine`, and ignored on save."},"secondLine":{"description":"Second row.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"},"thirdLine":{"description":"Third row. Shown only when `secondLine` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoRow"}},"additionalProperties":false,"description":"The rows of values on the front of the card, top to bottom."},"PassTypeGoogleCardTemplateInfoRow":{"type":"object","properties":{"firstItem":{"description":"First slot. Required.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"items":{"type":["null","array"],"items":{"description":"One slot of a row on the front of the card.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"description":"The configured slots in display order. Read-only: derived from `firstItem`, `secondItem` and `thirdItem`, and ignored on save."},"secondItem":{"description":"Second slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"},"thirdItem":{"description":"Third slot. Shown only when `secondItem` is set.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItem"}},"additionalProperties":false,"description":"One row on the front of the card: one to three slots, left to right."},"PassTypeGoogleCardTemplateInfoItem":{"type":"object","properties":{"primary":{"description":"Value shown in the slot.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"},"secondary":{"description":"Value shown beside the primary one in the same slot, separated by a slash.","$ref":"#/components/schemas/PassTypeGoogleCardTemplateInfoItemValue"}},"additionalProperties":false,"description":"One slot of a row on the front of the card."},"PassTypeGoogleCardTemplateInfoItemValue":{"type":"object","properties":{"dateFormat":{"type":["null","string"],"description":"How a date value is rendered. One of: DATE_FORMAT_UNSPECIFIED, DATE_TIME, DATE_ONLY, TIME_ONLY, DATE_TIME_YEAR, DATE_YEAR, YEAR_MONTH, YEAR_MONTH_DAY."},"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the value from, such as `object.textModulesData['points']`. The first one holding a value is shown."}},"additionalProperties":false,"description":"A value on the front of the card, read from a field of the Google object or class."},"PassTypeGoogleDetailsTemplateOverride":{"type":"object","properties":{"items":{"type":["null","array"],"items":{"description":"One entry of the card's details view.","$ref":"#/components/schemas/PassTypeGoogleDetailsItem"},"description":"The entries, in display order."}},"additionalProperties":false,"description":"The order and content of the card's details view."},"PassTypeGoogleDetailsItem":{"type":"object","properties":{"firstValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of the entry's value. The first one holding a value is shown."},"secondValuePaths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths of a second value shown beside the first, separated by a slash."}},"additionalProperties":false,"description":"One entry of the card's details view."},"PassTypeGoogleListTemplateInfo":{"type":"object","properties":{"rows":{"type":["null","array"],"items":{"description":"One line of the card in the list of passes.","$ref":"#/components/schemas/PassTypeGoogleListTemplateInfoRow"},"description":"The lines under the card's title. Only the first two are shown."}},"additionalProperties":false,"description":"How the card reads in the holder's list of passes."},"PassTypeGoogleListTemplateInfoRow":{"type":"object","properties":{"paths":{"type":["null","array"],"items":{"type":"string"},"description":"Google field paths to read the line from. The first one holding a value is shown."}},"additionalProperties":false,"description":"One line of the card in the list of passes."},"PassTypeGoogleText":{"type":"object","properties":{"body":{"description":"The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum 500 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"},"header":{"description":"The header of the Text Module. Recommended maximum 35 characters.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleValueAddedItem":{"type":"object","properties":{"body":{"description":"Body to be displayed on the module. Character limit is 50 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"displayInterval":{"description":"Period during which the module is displayed: from `startTime` (else immediately after insertion) to `endTime` (else indefinitely).","$ref":"#/components/schemas/PassTypeGoogleTimeInterval"},"header":{"description":"Header to be displayed on the module. Character limit is 60 and longer strings will be truncated.","$ref":"#/components/schemas/PassTypeLocalizedString"},"logo":{"type":["null","string"],"description":"Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio."},"uri":{"type":["null","string"],"description":"URI the module leads to on click: a web link or a deep link. A templated string that renders a valid URI."}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypeGoogleVenue":{"type":"object","properties":{"address":{"description":"Address of the venue, such as \"24 Willie Mays Plaza\\nSan Francisco, CA 94107\"; lines are separated by `\\n`.","$ref":"#/components/schemas/PassTypeLocalizedString"},"name":{"description":"The name of the venue, such as \"AT&T Park\".","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the Google configuration."},"PassTypePreview":{"type":"object","properties":{"subTitle":{"description":"Sub title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"},"title":{"description":"Title of the pass.","$ref":"#/components/schemas/PassTypeLocalizedString"}},"additionalProperties":false,"description":"Part of the pass configuration."},"PassTypeScannableData":{"type":"object","properties":{"persistScannableData":{"type":["null","boolean"],"description":"Whether scannable data is kept on the pass, for compatible systems."}},"additionalProperties":false,"description":"Part of the pass configuration."},"PassTypeStamps":{"type":"object","properties":{"behaviour":{"type":["null","string"],"description":"What happens to the card once `Target` is reached. One of: resetOnNextStamp, resetImmediately, stayAtGoal."},"rewardBenefitTemplateId":{"type":["null","string"],"description":"Id of the benefit template granted when the goal is reached, or `null` for a card that rewards nothing on its own."},"target":{"type":["null","integer"],"description":"Number of stamps that reaches the goal.","format":"int32"}},"additionalProperties":false,"description":"The stamp mechanic carried by a `stampCard` pass: how many stamps reach the goal, what the card shows on the way there, and what happens once it arrives."},"PassTypeMetadata":{"type":"object","properties":{"entries":{"type":["null","array"],"items":{"description":"One metadata field computed on every pass of the template.","$ref":"#/components/schemas/PassTypeMetadataDefinition"},"description":"One entry per value computed."}},"additionalProperties":false,"description":"Values computed whenever a pass is updated, which issued passes can be searched by."},"PassTypeMetadataDefinition":{"type":"object","properties":{"key":{"type":["null","string"],"description":"Key of the value on each pass, and what passes are filtered on."},"type":{"type":["null","string"],"description":"Data type of the value. One of: string, number, boolean, datetime. Omitted reads as string."},"value":{"type":["null","string"],"description":"Liquid template computing the value whenever a pass is updated."}},"additionalProperties":false,"description":"One metadata field computed on every pass of the template."}}}}
```

## The ScanFilter object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ScanFilter":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"},"description":"Benefit template tags to accept. At most 50, each non-blank, at most 100 characters; trimmed and deduplicated on save."},"benefitTemplateIds":{"type":"array","items":{"type":"string"},"description":"Benefit templates to accept. At most 200, none blank; trimmed and deduplicated on save. An unknown id is dropped with a `benefitTemplateMissing` warning, not refused."}},"additionalProperties":false,"description":"A benefit is accepted if it carries one of the tags or comes from one of the benefit templates. Both empty accepts every benefit."}}}}
```

## The SchemaAssociation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SchemaAssociation":{"type":"object","properties":{"schema":{"type":"string","description":"Title of the schema this rule selects."},"kind":{"description":"Which of the matching rules applies.","$ref":"#/components/schemas/SchemaAssociationKind"},"path":{"type":"string","description":"The exact file for Neo.Configuration.Tenants.Documentation.SchemaAssociationKind.File (e.g. `config.yml`), otherwise the folder\nprefix the file name must start with, trailing `/` included (e.g. `server/passes/`)."},"extension":{"type":["null","string"],"description":"Suffix the file name must end with, dot included (e.g. `.yml`), for\nNeo.Configuration.Tenants.Documentation.SchemaAssociationKind.Prefix. Null accepts any file under Path."},"property":{"type":["null","string"],"description":"Top-level property of the file carrying the discriminating value, for\nNeo.Configuration.Tenants.Documentation.SchemaAssociationKind.Discriminator; null otherwise."},"value":{"type":["null","string"],"description":"String that property must hold, for Neo.Configuration.Tenants.Documentation.SchemaAssociationKind.Discriminator; null otherwise."}},"additionalProperties":false,"description":"The rule binding one schema to the files it validates. The same rules decide which schema a file is\nvalidated against when it is saved."},"SchemaAssociationKind":{"enum":["File","Prefix","Discriminator"],"type":"string","description":"How a schema decides which configuration files it validates."}}}}
```

## The SchemaAssociationKind object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SchemaAssociationKind":{"enum":["File","Prefix","Discriminator"],"type":"string","description":"How a schema decides which configuration files it validates."}}}}
```

## The ScriptEndpointSignature object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ScriptEndpointSignature":{"type":"object","properties":{"name":{"type":"string","description":"The name `register` is called with, placeholders included."},"description":{"type":["null","string"],"description":"What the endpoint is for, as its own documentation states it."},"methods":{"type":"array","items":{"description":"One method of an endpoint, named as a script has to spell it.","$ref":"#/components/schemas/ScriptMethodSignature"},"description":"The methods an implementation may carry."},"replacedBy":{"type":["null","string"],"description":"The name that replaces the endpoint, placeholders included, when it is obsolete."}},"additionalProperties":false,"description":"One endpoint a script may register an implementation for."},"ScriptMethodSignature":{"type":"object","properties":{"name":{"type":"string","description":"The property name an implementation is registered under."},"isOptional":{"type":"boolean","description":"Whether the endpoint declares the method optional. A script may leave an optional method\nout; leaving out a required one changes what the platform can do."},"description":{"type":["null","string"],"description":"What the method is for, as its own documentation states it."},"parameters":{"type":"array","items":{"type":"string"},"description":"The parameter names, in order, for scaffolding a handler."}},"additionalProperties":false,"description":"One method of an endpoint, named as a script has to spell it."}}}}
```

## The ScriptMethodSignature object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ScriptMethodSignature":{"type":"object","properties":{"name":{"type":"string","description":"The property name an implementation is registered under."},"isOptional":{"type":"boolean","description":"Whether the endpoint declares the method optional. A script may leave an optional method\nout; leaving out a required one changes what the platform can do."},"description":{"type":["null","string"],"description":"What the method is for, as its own documentation states it."},"parameters":{"type":"array","items":{"type":"string"},"description":"The parameter names, in order, for scaffolding a handler."}},"additionalProperties":false,"description":"One method of an endpoint, named as a script has to spell it."}}}}
```

## The ScriptSlotUpdate object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."}}}}
```

## The ScriptTypings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ScriptTypings":{"type":"object","properties":{"declarations":{"type":"string","description":"The contents of a TypeScript declaration file describing `ScriptContext`. Types a\nscript that annotates its context parameter, down to the fields of every argument."},"endpoints":{"type":"array","items":{"description":"One endpoint a script may register an implementation for.","$ref":"#/components/schemas/ScriptEndpointSignature"},"description":"The same endpoints as data. A script cannot be made to carry that annotation, and\nTypeScript will not infer a parameter's type from the way it is used, so an editor also\nneeds the names on their own to complete `register(...)` without it."}},"additionalProperties":false,"description":"What an editor needs to help someone write an extensibility script."},"ScriptEndpointSignature":{"type":"object","properties":{"name":{"type":"string","description":"The name `register` is called with, placeholders included."},"description":{"type":["null","string"],"description":"What the endpoint is for, as its own documentation states it."},"methods":{"type":"array","items":{"description":"One method of an endpoint, named as a script has to spell it.","$ref":"#/components/schemas/ScriptMethodSignature"},"description":"The methods an implementation may carry."},"replacedBy":{"type":["null","string"],"description":"The name that replaces the endpoint, placeholders included, when it is obsolete."}},"additionalProperties":false,"description":"One endpoint a script may register an implementation for."},"ScriptMethodSignature":{"type":"object","properties":{"name":{"type":"string","description":"The property name an implementation is registered under."},"isOptional":{"type":"boolean","description":"Whether the endpoint declares the method optional. A script may leave an optional method\nout; leaving out a required one changes what the platform can do."},"description":{"type":["null","string"],"description":"What the method is for, as its own documentation states it."},"parameters":{"type":"array","items":{"type":"string"},"description":"The parameter names, in order, for scaffolding a handler."}},"additionalProperties":false,"description":"One method of an endpoint, named as a script has to spell it."}}}}
```

## The SecutixConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SecutixConfigurationResponse":{"required":["connection","pass","rateLimit","webhook"],"type":"object","properties":{"connection":{"description":"How the integration signs in to Secutix.","$ref":"#/components/schemas/SecutixConnectionResponse"},"pass":{"description":"Pass template resolution and printing status settings.","$ref":"#/components/schemas/SecutixPassSettings"},"webhook":{"description":"What an order change notification refreshes.","$ref":"#/components/schemas/SecutixWebhookSettings"},"rateLimit":{"description":"Limit on calls to Secutix.","$ref":"#/components/schemas/SecutixRateLimitSettings"}},"additionalProperties":false,"description":"The tenant's stored Secutix configuration, without the operator secret."},"SecutixConnectionResponse":{"required":["hasSecret","institution","operator","partner","url"],"type":"object","properties":{"url":{"type":"string","description":"Base address of the tenant's Secutix back-end web services.","format":"uri"},"institution":{"minLength":1,"type":"string","description":"Secutix institution code the integration acts for."},"operator":{"minLength":1,"type":"string","description":"Secutix operator (login) the integration acts as."},"partner":{"minLength":1,"type":"string","description":"Partner name registered in Secutix for the integration."},"hasSecret":{"type":"boolean","description":"Whether an operator secret is stored. The secret itself is never returned; when true, a PUT may omit it."}},"additionalProperties":false,"description":"Settings the integration uses to connect to Secutix, without the operator secret."},"SecutixPassSettings":{"required":["defaultPassTypes"],"type":"object","properties":{"defaultPassTypes":{"description":"Fallback pass template per Secutix product family, for a ticket whose pass template is not otherwise\nresolved.","$ref":"#/components/schemas/SecutixDefaultPassTypes"},"updatePrintingStatus":{"type":"boolean","description":"Whether a ticket is marked as installed in its Secutix printing status when its pass is\nadded to a first wallet.","default":false}},"additionalProperties":false,"description":"How passes are built from Secutix tickets. Shared between the request and the response."},"SecutixDefaultPassTypes":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"Pass template of a ticket whose product family has no pass template of its own, or that has no product\nfamily."},"membership":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `MEMBERSHIP` product family."},"seasonticket":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SEASONTICKET` product family."},"event":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SIMPLE_TICKET` product family."},"match":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SPORTING_EVENT` product family."},"visitPass":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `VISIT_PASS` product family."},"openPass":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `OPEN_PASS` product family."},"voucher":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `VOUCHER` product family."},"donation":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `DONATION` product family."},"service":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SERVICE` product family."},"openProduct":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `OPEN` product family."}},"additionalProperties":false,"description":"Fallback pass template of a Secutix ticket, per Secutix product family. Shared between the request and the\nresponse."},"SecutixWebhookSettings":{"type":"object","properties":{"searchForContactIds":{"type":"boolean","description":"Whether an order change notification refreshes the passes of every movement and contact of the order,\nnot only the pass of the notified movement.","default":false},"updateMetadata":{"type":"boolean","description":"Whether a pass refreshed by an order change also has its data and pass template refreshed from Secutix.\nOff, the refresh is faster.","default":true}},"additionalProperties":false,"description":"What an order change notification from Secutix refreshes. Shared between the request and the response."},"SecutixRateLimitSettings":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether calls to Secutix are limited at all. Off, every call is sent.","default":true},"permitLimit":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Maximum number of calls to Secutix per `windowSeconds`. At least 1.","format":"int32","default":400},"windowSeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Length, in seconds, of the period `permitLimit` applies to. At least 1.","format":"int32","default":60},"retryAfterSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Default delay, in seconds, reported in `Retry-After` when a call is refused. 0 or more.","format":"int32","default":60},"queueAcquireTimeoutSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Time, in seconds, a call over the limit may wait for a free slot before being refused. 0 refuses at once.","format":"int32","default":0},"queueRetryDelaySeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Interval, in seconds, at which a waiting call checks again for a free slot. At least 1.","format":"int32","default":1}},"additionalProperties":false,"description":"Limit on the calls the integration makes to Secutix. Shared between the request and the response."}}}}
```

## The SecutixConnectionRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SecutixConnectionRequest":{"required":["institution","operator","url"],"type":"object","properties":{"url":{"type":"string","description":"Base address of the tenant's Secutix back-end web services.","format":"uri"},"institution":{"minLength":1,"type":"string","description":"Secutix institution code the integration acts for."},"operator":{"minLength":1,"type":"string","description":"Secutix operator (login) the integration acts as."},"partner":{"type":["null","string"],"description":"Partner name registered in Secutix for the integration. Omitted or blank, the stored partner is kept, or\n`neostore` on a first save."},"secret":{"type":["null","string"],"description":"Secret (password) of the Secutix operator. Omitted or blank, the stored secret is kept; with none stored,\nthe request is refused with 400. Never returned."}},"additionalProperties":false,"description":"Settings the integration uses to connect to Secutix."}}}}
```

## The SecutixConnectionResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SecutixConnectionResponse":{"required":["hasSecret","institution","operator","partner","url"],"type":"object","properties":{"url":{"type":"string","description":"Base address of the tenant's Secutix back-end web services.","format":"uri"},"institution":{"minLength":1,"type":"string","description":"Secutix institution code the integration acts for."},"operator":{"minLength":1,"type":"string","description":"Secutix operator (login) the integration acts as."},"partner":{"minLength":1,"type":"string","description":"Partner name registered in Secutix for the integration."},"hasSecret":{"type":"boolean","description":"Whether an operator secret is stored. The secret itself is never returned; when true, a PUT may omit it."}},"additionalProperties":false,"description":"Settings the integration uses to connect to Secutix, without the operator secret."}}}}
```

## The SecutixDefaultPassTypes object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SecutixDefaultPassTypes":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"Pass template of a ticket whose product family has no pass template of its own, or that has no product\nfamily."},"membership":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `MEMBERSHIP` product family."},"seasonticket":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SEASONTICKET` product family."},"event":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SIMPLE_TICKET` product family."},"match":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SPORTING_EVENT` product family."},"visitPass":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `VISIT_PASS` product family."},"openPass":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `OPEN_PASS` product family."},"voucher":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `VOUCHER` product family."},"donation":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `DONATION` product family."},"service":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SERVICE` product family."},"openProduct":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `OPEN` product family."}},"additionalProperties":false,"description":"Fallback pass template of a Secutix ticket, per Secutix product family. Shared between the request and the\nresponse."}}}}
```

## The SecutixPassSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SecutixPassSettings":{"required":["defaultPassTypes"],"type":"object","properties":{"defaultPassTypes":{"description":"Fallback pass template per Secutix product family, for a ticket whose pass template is not otherwise\nresolved.","$ref":"#/components/schemas/SecutixDefaultPassTypes"},"updatePrintingStatus":{"type":"boolean","description":"Whether a ticket is marked as installed in its Secutix printing status when its pass is\nadded to a first wallet.","default":false}},"additionalProperties":false,"description":"How passes are built from Secutix tickets. Shared between the request and the response."},"SecutixDefaultPassTypes":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"Pass template of a ticket whose product family has no pass template of its own, or that has no product\nfamily."},"membership":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `MEMBERSHIP` product family."},"seasonticket":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SEASONTICKET` product family."},"event":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SIMPLE_TICKET` product family."},"match":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SPORTING_EVENT` product family."},"visitPass":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `VISIT_PASS` product family."},"openPass":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `OPEN_PASS` product family."},"voucher":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `VOUCHER` product family."},"donation":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `DONATION` product family."},"service":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SERVICE` product family."},"openProduct":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `OPEN` product family."}},"additionalProperties":false,"description":"Fallback pass template of a Secutix ticket, per Secutix product family. Shared between the request and the\nresponse."}}}}
```

## The SecutixRateLimitSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SecutixRateLimitSettings":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether calls to Secutix are limited at all. Off, every call is sent.","default":true},"permitLimit":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Maximum number of calls to Secutix per `windowSeconds`. At least 1.","format":"int32","default":400},"windowSeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Length, in seconds, of the period `permitLimit` applies to. At least 1.","format":"int32","default":60},"retryAfterSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Default delay, in seconds, reported in `Retry-After` when a call is refused. 0 or more.","format":"int32","default":60},"queueAcquireTimeoutSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Time, in seconds, a call over the limit may wait for a free slot before being refused. 0 refuses at once.","format":"int32","default":0},"queueRetryDelaySeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Interval, in seconds, at which a waiting call checks again for a free slot. At least 1.","format":"int32","default":1}},"additionalProperties":false,"description":"Limit on the calls the integration makes to Secutix. Shared between the request and the response."}}}}
```

## The SecutixScriptsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SecutixScriptsDefinition":{"required":["contactMapper","contactPassUpdater","movementMapper","ticketPassTypeFinder"],"type":"object","properties":{"contactMapper":{"description":"`extensions.secutix.contact.mapper`: adjusts the fields mapped between an account and a Secutix contact, in either direction.","$ref":"#/components/schemas/ExtensionScriptSlot"},"contactPassUpdater":{"description":"`extensions.secutix.contact.passUpdater`: the Secutix contact fields to set when a pass linked to a Secutix contact is installed or uninstalled. Without it, the contact is not written.","$ref":"#/components/schemas/ExtensionScriptSlot"},"movementMapper":{"description":"`extensions.secutix.movement.mapper`: adjusts the account fields mapped from a Secutix movement.","$ref":"#/components/schemas/ExtensionScriptSlot"},"ticketPassTypeFinder":{"description":"`extensions.secutix.ticket.passTypeFinder`: the pass template of a Secutix movement, or null to fall back to the `WALLET` comfort variable, then the default pass templates. A name that is not a known pass template is replaced by the default.","$ref":"#/components/schemas/ExtensionScriptSlot"}},"additionalProperties":false,"description":"The scripts the Secutix integration can be customised with."},"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."}}}}
```

## The SecutixWebhookSettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SecutixWebhookSettings":{"type":"object","properties":{"searchForContactIds":{"type":"boolean","description":"Whether an order change notification refreshes the passes of every movement and contact of the order,\nnot only the pass of the notified movement.","default":false},"updateMetadata":{"type":"boolean","description":"Whether a pass refreshed by an order change also has its data and pass template refreshed from Secutix.\nOff, the refresh is faster.","default":true}},"additionalProperties":false,"description":"What an order change notification from Secutix refreshes. Shared between the request and the response."}}}}
```

## The SendGridAccountResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SendGridAccountResponse":{"required":["defaultSenderEmail","id","label","partnerId"],"type":"object","properties":{"id":{"type":"string","description":"Identifier of the account."},"label":{"type":"string","description":"Name shown in the admin console."},"partnerId":{"type":"string","description":"The partner the account belongs to; `twc` is The Wallet Crew."},"defaultSenderEmail":{"type":"string","description":"Address mail leaves from unless a tenant has its own."},"defaultSenderName":{"type":["null","string"],"description":"Display name mail leaves under; null when the address alone is shown."}},"additionalProperties":false,"description":"A SendGrid account whose key the platform holds."}}}}
```

## The SetActitoRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetActitoRequest":{"required":["actitoExternalIdentifier","entity","profileTableName","server","twcExternalIdentifier"],"type":"object","properties":{"server":{"type":"string","description":"Root URL of the Actito API domain the entity lives on, e.g. `https://api3.actito.com`.","format":"uri"},"entity":{"minLength":1,"type":"string","description":"Name of the Actito entity that holds the profile table, and in which the integration keeps its wallet\nand pass template tables, custom actions and webhook subscriptions."},"profileTableName":{"minLength":1,"type":"string","description":"Name of the Actito profile table the holders' profiles are read from."},"actitoExternalIdentifier":{"minLength":1,"type":"string","description":"Attribute of the profile table that carries the holder identifier shared with The Wallet Crew, e.g.\n`customerId`. Its value is matched against the pass identifier named by\n`twcExternalIdentifier`."},"twcExternalIdentifier":{"minLength":1,"type":"string","description":"Name of the pass identifier matched against `actitoExternalIdentifier`, e.g.\n`y2.customerId`. A pass without this identifier is never linked to an Actito profile."},"apiKey":{"type":["null","string"],"description":"API key generated in the \"Manage API users\" page of the Actito portal. Never returned."}},"additionalProperties":false,"description":"Connection to the tenant's Actito entity, and how an Actito profile is matched to the holder's passes."}}}}
```

## The SetActitoScriptsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetActitoScriptsRequest":{"type":"object","properties":{"profileMapper":{"description":"Change to `profileMapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"}},"additionalProperties":false,"description":"Changes to the Actito scripts. A slot left out is left untouched."},"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."}}}}
```

## The SetAparteRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetAparteRequest":{"required":["baseUrl","defaultPassType","tenant","timeZoneId"],"type":"object","properties":{"baseUrl":{"type":"string","description":"Root URL of the Aparte WalletCrew API; must be an absolute `http` or `https` URL (else 400).\nReturned as sent.","format":"uri"},"tenant":{"minLength":1,"type":"string","description":"Aparte tenant code, sent with every call to Aparte. A value with unsupported characters is\nrefused with a 400."},"defaultPassType":{"minLength":1,"type":"string","description":"Pass template given to a pass created with an `aparte.ticketId` identifier and no pass template."},"invalidPassType":{"type":["null","string"],"description":"Pass template a ticket pass is moved to when, on a metadata update, Aparte no longer returns its\nticket. Null or omitted: the pass keeps its pass template."},"apiKey":{"type":["null","string"],"description":"Aparte API key. Never returned."},"timeZoneId":{"minLength":1,"type":"string","description":"IANA time zone of the venue, e.g. `Europe/Paris`; an unknown zone is refused with a 400."},"rateLimit":{"description":"Cap on the calls sent to Aparte. When omitted, the current settings are kept (500 per minute when none).","$ref":"#/components/schemas/AparteRateLimitSettings"}},"additionalProperties":false,"description":"The Aparte configuration of the tenant, as sent on a save. Every field but `apiKey` and\n`rateLimit` is written as sent, so an omitted `invalidPassType` clears the stored one."},"AparteRateLimitSettings":{"type":"object","properties":{"throttlingLimit":{"maximum":10000,"minimum":1,"type":"integer","description":"Maximum calls per minute sent to Aparte, 1 to 10000 (else 400). Default 500.","format":"int32","default":500}},"additionalProperties":false,"description":"Cap on the calls this tenant sends to Aparte."}}}}
```

## The SetAparteScriptsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetAparteScriptsRequest":{"type":"object","properties":{"ticketMapper":{"description":"Change to `ticketMapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"}},"additionalProperties":false,"description":"Changes to the Aparte scripts. A slot left out is left untouched."},"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."}}}}
```

## The SetBloomreachCacheRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetBloomreachCacheRequest":{"type":"object","properties":{"customer":{"type":["null","string"],"description":"How long a customer read from Bloomreach is reused before Bloomreach is asked again, as\n`d.hh:mm:ss`. Null, zero or negative turns the customer cache off.","format":"date-span"}},"additionalProperties":false,"description":"How long Bloomreach lookups are reused."}}}}
```

## The SetBloomreachRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetBloomreachRequest":{"required":["apiKeyId","baseUrl","projectToken"],"type":"object","properties":{"projectToken":{"minLength":1,"type":"string","description":"Token of the Bloomreach project customers are read from and events are tracked into."},"baseUrl":{"type":"string","description":"Root of the Bloomreach API. Must be an absolute http or https URL, otherwise 400. A path is kept, so a\nproxy prefix such as `https://proxy.example/bloomreach` works.","format":"uri"},"apiKeyId":{"minLength":1,"type":"string","description":"Identifier of the Bloomreach API key (project settings > Access Management > API) whose secret is\n`apiKeySecret`."},"apiKeySecret":{"type":["null","string"],"description":"Secret of the API key. Never returned."},"cache":{"description":"How long Bloomreach lookups are reused. Omitted, the stored cache settings are kept; sent without a\nduration, caching is turned off.","$ref":"#/components/schemas/SetBloomreachCacheRequest"}},"additionalProperties":false,"description":"Connection to the tenant's Bloomreach project, and how long customers read from it are reused."},"SetBloomreachCacheRequest":{"type":"object","properties":{"customer":{"type":["null","string"],"description":"How long a customer read from Bloomreach is reused before Bloomreach is asked again, as\n`d.hh:mm:ss`. Null, zero or negative turns the customer cache off.","format":"date-span"}},"additionalProperties":false,"description":"How long Bloomreach lookups are reused."}}}}
```

## The SetBloomreachScriptsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetBloomreachScriptsRequest":{"type":"object","properties":{"contactFinder":{"description":"Change to `contactFinder`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"customerMapper":{"description":"Change to `customerMapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"eventInterceptor":{"description":"Change to `eventInterceptor`.","$ref":"#/components/schemas/ScriptSlotUpdate"}},"additionalProperties":false,"description":"Changes to the Bloomreach scripts. A slot left out is left untouched."},"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."}}}}
```

## The SetCegidY2Request object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetCegidY2Request":{"required":["connections"],"type":"object","properties":{"connections":{"minItems":1,"type":"array","items":{"description":"One Y2 server connection, in the Cegid Y2 PUT request body.","$ref":"#/components/schemas/CegidY2ConnectionRequest"},"description":"The complete list of Y2 server connections, at least one: a stored connection left out is removed. Names\nare unique and exactly one connection is the default, refused with 400 otherwise."},"updateCustomerOnPassInstallationChange":{"type":["null","boolean"],"description":"Whether the Y2 customer is updated when the holder installs the pass on a first device or removes it from\nthe last one, so Y2 records whether the holder carries the pass. Omitted, the stored value is kept, or\ntrue when none is stored."},"cache":{"description":"Cache durations of the Y2 lookups. Omitted, the stored ones are kept; sent without durations, caching is\ndisabled.","$ref":"#/components/schemas/CegidY2CacheSettings"},"rateLimit":{"description":"Client-side rate limiting. Omitted, the stored settings are kept, or the defaults when none are stored.","$ref":"#/components/schemas/CegidY2RateLimitSettings"}},"additionalProperties":false,"description":"Request body for setting the Cegid Y2 configuration."},"CegidY2ConnectionRequest":{"required":["databaseId","name","serviceUrl","userName"],"type":"object","properties":{"name":{"minLength":1,"type":"string","description":"Identifies the connection. Unique within the request (compared case-sensitively), refused with 400 when\nrepeated."},"isDefault":{"type":"boolean","description":"Whether this connection serves the calls no store maps to another connection, including every call made\noutside a store context. Exactly one connection is the default, refused with 400 otherwise. Default false.","default":false},"serviceUrl":{"minLength":1,"type":"string","description":"Base URL of the Y2 services. A trailing `/` is added when missing."},"userName":{"minLength":1,"type":"string","description":"Y2 user the integration calls Y2 with."},"password":{"type":["null","string"],"description":"Password of `userName`. Omitted or blank, the password stored for the connection of the same\n`name` is kept; refused with 400 when none is stored."},"databaseId":{"minLength":1,"type":"string","description":"Y2 database (folder) the calls target."},"listenToBusinessNotification":{"type":"boolean","description":"Whether Y2 pushes its business notifications (customer, receipt and loyalty card changes) to this platform,\nso the holders' passes follow them. Default false.","default":false},"businessNotificationSettings":{"description":"Business notification settings. Required, with `webServiceCredentials`, when\n`listenToBusinessNotification` is true; refused with 400 otherwise.","$ref":"#/components/schemas/CegidY2BusinessNotificationSettingsRequest"},"receiptSettings":{"description":"How the receipt PDFs of this connection are rendered. Null leaves receipt PDFs to the stores'\n`y2.receiptTemplateId` property.","$ref":"#/components/schemas/CegidY2ReceiptSettings"}},"additionalProperties":false,"description":"One Y2 server connection, in the Cegid Y2 PUT request body."},"CegidY2BusinessNotificationSettingsRequest":{"type":"object","properties":{"webServiceCredentials":{"description":"Business notification user (BNU) the subscription is managed with. Required when the connection's\n`listenToBusinessNotification` is true; refused with 400 otherwise.","$ref":"#/components/schemas/CegidY2WebServiceCredentialsRequest"}},"additionalProperties":false,"description":"Business notification settings of a connection, in the Cegid Y2 PUT request body."},"CegidY2WebServiceCredentialsRequest":{"required":["userName"],"type":"object","properties":{"userName":{"minLength":1,"type":"string","description":"Y2 user the business notification subscription is read, created and updated with."},"password":{"type":["null","string"],"description":"Password of the business notification user. Omitted or blank, the password stored for the connection of\nthe same `name` is kept; refused with 400 when none is stored."}},"additionalProperties":false,"description":"Business notification user credentials of a connection, in the Cegid Y2 PUT request body."},"CegidY2ReceiptSettings":{"type":"object","properties":{"templateId":{"type":["null","string"],"description":"Y2 report template the receipt PDF is rendered with, e.g. `ZDE`."},"duplicate":{"type":"boolean","description":"Whether Y2 renders the receipt PDF as a duplicate rather than as the original. Default false.","default":false}},"additionalProperties":false,"description":"Receipt settings of a connection, shared between the Cegid Y2 request and response bodies."},"CegidY2CacheSettings":{"type":"object","properties":{"customer":{"type":["null","string"],"description":"Reuse of a Y2 customer read by its customer id.","format":"date-span"},"loyalty":{"type":["null","string"],"description":"Reuse of the loyalty card reads: a customer's cards, and one card by its id.","format":"date-span"},"saleDocuments":{"type":["null","string"],"description":"Reuse of the sale document reads: a customer's sale document list, and one sale document by its key.","format":"date-span"},"cashOperations":{"type":["null","string"],"description":"Reuse of the cash operation reads: a customer's vouchers (bons), and the available amount of one voucher.","format":"date-span"}},"additionalProperties":false,"description":"How long Y2 answers are reused before Y2 is asked again, shared between the Cegid Y2 request and response\nbodies. Durations are `d.hh:mm:ss` strings, e.g. `00:05:00`; a null or zero duration does not cache\nthat lookup."},"CegidY2RateLimitSettings":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether calls are counted and limited. When false, calls go to Y2 unthrottled on this side. Default true.","default":true},"permitLimit":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Maximum number of calls per window, at least 1. Default 4980. Cegid allows 5000 per 5 minutes on the\nAdvance plan, 20000 on the Dedicated plan.","format":"int32","default":4980},"windowSeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Length of the window `permitLimit` applies to, in seconds, at least 1. Default 300, Cegid's\nown window.","format":"int32","default":300},"retryAfterSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Delay, in seconds, before a throttled call is tried again, used when Cegid's `Retry-After` header\nsupplies none. At least 0, default 60.","format":"int32","default":60},"queueAcquireTimeoutSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Maximum time, in seconds, a call over the limit waits for a slot before failing. Default 0: such a call\nfails at once.","format":"int32","default":0},"queueRetryDelaySeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Interval, in seconds, at which a waiting call checks for a free slot, at least 1. Default 1. Used only when\n`queueAcquireTimeoutSeconds` is above 0.","format":"int32","default":1}},"additionalProperties":false,"description":"Client-side rate limiting of the calls to Y2, shared between the Cegid Y2 request and response bodies. Keeps\nthe calls to Y2 under the quota of the tenant's Cegid plan."}}}}
```

## The SetCegidY2ScriptsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetCegidY2ScriptsRequest":{"type":"object","properties":{"mapper":{"description":"Change to `mapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"advisorRepository":{"description":"Change to `advisorRepository`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"connectionInterceptor":{"description":"Change to `connectionInterceptor`.","$ref":"#/components/schemas/ScriptSlotUpdate"}},"additionalProperties":false,"description":"Changes to the Cegid Y2 scripts. A slot left out is left untouched."},"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."}}}}
```

## The SetComarchRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetComarchRequest":{"required":["connection","providers"],"type":"object","properties":{"connection":{"description":"How the tenant reaches the Comarch API.","$ref":"#/components/schemas/ComarchConnectionRequest"},"providers":{"description":"How the built-in customer and coupon providers behave.","$ref":"#/components/schemas/ComarchProvidersConfiguration"},"kafkaConnection":{"description":"The Kafka topic to listen to. When omitted, the Kafka settings are removed and Comarch events stop being\nreceived; the stored Kafka password is kept, so switching Kafka back on does not ask for it again.","$ref":"#/components/schemas/ComarchKafkaConnectionRequest"},"rateLimit":{"description":"Cap on the calls sent to Comarch. When omitted, the current settings are kept (80 per second when none).","$ref":"#/components/schemas/ComarchRateLimitSettings"}},"additionalProperties":false,"description":"The Comarch configuration of the tenant, as sent on a save."},"ComarchConnectionRequest":{"required":["baseUrl","clientId","partnerCode","programCode"],"type":"object","properties":{"baseUrl":{"type":"string","description":"Root URL of the Comarch CLM B2B Gateway API. A trailing slash is added when missing.","format":"uri"},"clientId":{"minLength":1,"type":"string","description":"OAuth2 client id issued by Comarch for the B2B Gateway API."},"programCode":{"minLength":1,"type":"string","description":"Comarch CLM code of the loyalty programme (Comarch `program_code`)."},"partnerCode":{"minLength":1,"type":"string","description":"Comarch code of the tenant's partner; only this partner's stores are looked up."},"clientSecret":{"type":["null","string"],"description":"OAuth2 client secret. Never returned.\nOmitted, null or blank keeps the stored secret; refused with a 400 when none is stored yet."}},"additionalProperties":false,"description":"How the tenant reaches the Comarch CLM B2B Gateway API, as sent on a save."},"ComarchProvidersConfiguration":{"required":["customer"],"type":"object","properties":{"customer":{"description":"How the holder's Comarch customer record is read and updated.","$ref":"#/components/schemas/ComarchCustomerConfiguration"},"coupon":{"description":"Coupon sync settings. Always returned; on a save, omit it to keep the current settings.","$ref":"#/components/schemas/ComarchCouponConfiguration"}},"additionalProperties":false,"description":"How the built-in Comarch customer and coupon providers behave."},"ComarchCustomerConfiguration":{"type":"object","properties":{"retrieveCustomerTransactionBalance":{"type":"boolean","description":"When true, the account also carries `comarch.customer.waitingToBookPoints` (points not yet booked),\nat the cost of one more Comarch call per customer lookup. Default false.","default":false},"updateOnPassInstallationChange":{"type":"boolean","description":"When true, every pass install or removal on a device calls the\n`extensions.comarch.walletInstallationCustomerUpdater` script, and the update it returns is sent to\nthe Comarch customer named by the pass's Comarch customer id. Default false.","default":false}},"additionalProperties":false,"description":"How the holder's Comarch customer record is read and updated."},"ComarchCouponConfiguration":{"type":"object","properties":{"enabled":{"type":"boolean","description":"When true, the Comarch coupons of the pass's customer are reconciled with the pass's benefits on every\npass creation and every pass update that recomputes metadata. Default false.","default":false},"passType":{"type":["null","string"],"description":"Pass template of a separate pass issued for each synced coupon. Null or blank issues none."},"usedRetentionDays":{"maximum":3650,"minimum":0,"type":"integer","description":"Days a used coupon stays on the pass after the sync first sees it used, 0 to 3650 (else 400). 0 removes it at once. Default 0.","format":"int32","default":0},"expiredRetentionDays":{"maximum":3650,"minimum":0,"type":"integer","description":"Days an expired coupon stays on the pass, counted from its expiry date, 0 to 3650 (else 400). Default 30.","format":"int32","default":30}},"additionalProperties":false,"description":"How the holder's Comarch coupons become benefits on their passes."},"ComarchKafkaConnectionRequest":{"required":["bootstrapServers","topic","username"],"type":"object","properties":{"bootstrapServers":{"minLength":1,"type":"string","description":"Comma-separated list of Kafka bootstrap servers, as `host:port`."},"username":{"minLength":1,"type":"string","description":"Kafka user; must support SASL SCRAM-SHA-512."},"topic":{"minLength":1,"type":"string","description":"Kafka topic Comarch publishes its events to."},"password":{"type":["null","string"],"description":"Kafka password. Never returned.\nOmitted, null or blank keeps the stored password; refused with a 400 when none is stored yet."}},"additionalProperties":false,"description":"The Comarch Kafka topic the tenant listens to, as sent on a save. Comarch events read from it (customer,\npoint balance, coupon) refresh the passes of the customers they name."},"ComarchRateLimitSettings":{"type":"object","properties":{"throttlingLimit":{"maximum":10000,"minimum":1,"type":"integer","description":"Maximum calls per second sent to Comarch, 1 to 10000 (else 400). Default 80.","format":"int32","default":80}},"additionalProperties":false,"description":"Cap on the calls this tenant sends to Comarch."}}}}
```

## The SetComarchScriptsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetComarchScriptsRequest":{"type":"object","properties":{"customerMapper":{"description":"Change to `customerMapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"locationMapper":{"description":"Change to `locationMapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"walletInstallationCustomerUpdater":{"description":"Change to `walletInstallationCustomerUpdater`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"couponMapper":{"description":"Change to `couponMapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"}},"additionalProperties":false,"description":"Changes to the Comarch scripts. A slot left out is left untouched."},"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."}}}}
```

## The SetKlaviyoRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetKlaviyoRequest":{"required":["siteId"],"type":"object","properties":{"siteId":{"minLength":1,"type":"string","description":"Klaviyo public API key, also called site ID. Missing or empty is refused with a 400."},"listId":{"type":["null","string"],"description":"Klaviyo list the holder is subscribed to or unsubscribed from when the account's `consents_email`\n(and, with `enableSmsSupport`, `consents_sms`) consent is set."},"enableSmsSupport":{"type":"boolean","description":"When true, the account's `consents_sms` consent is also synchronised to Klaviyo for the holder's\nphone number; when false, only the email consent is. Default false.","default":false},"privateApiKey":{"type":["null","string"],"description":"Klaviyo private API key. Never returned.\nOmitted, null or blank keeps the stored key; refused with a 400 when no key is stored yet."}},"additionalProperties":false,"description":"The Klaviyo connection of the tenant. A save replaces the stored configuration as a whole."}}}}
```

## The SetKlaviyoScriptsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetKlaviyoScriptsRequest":{"type":"object","properties":{"mapper":{"description":"Change to `mapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"subscriptionsProvider":{"description":"Change to `subscriptionsProvider`.","$ref":"#/components/schemas/ScriptSlotUpdate"}},"additionalProperties":false,"description":"Changes to the Klaviyo scripts. A slot left out is left untouched."},"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."}}}}
```

## The SetLanguageRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetLanguageRequest":{"required":["language"],"type":"object","properties":{"language":{"minLength":1,"type":"string","description":"One of the supported admin console languages, e.g. `en`. Also the language of platform e-mails sent to the user."}},"additionalProperties":false,"description":"Request body to change the signed-in user's admin console language."}}}}
```

## The SetMarketingCloudRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetMarketingCloudRequest":{"type":"object","properties":{"signinKey":{"type":["null","string"],"description":"Signing secret of the Marketing Cloud installed package (Setup > Installed Packages) that calls the\nJourney Builder activities (Notify, Push Update). Never returned."},"enabled":{"type":["null","boolean"],"description":"Whether Journey Builder calls are accepted. When false, the Notify and Push Update activities answer as not\nconfigured. Omitted, the stored setting is kept, and a first save enables the integration."}},"additionalProperties":false,"description":"Salesforce Marketing Cloud settings of the tenant."}}}}
```

## The SetRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetRequest":{"required":["value"],"type":"object","properties":{"value":{"type":"string","description":"Secret value; not empty or whitespace."},"options":{"description":"Validity window; readable at once, indefinitely when omitted.","$ref":"#/components/schemas/OptionsRequest"}},"additionalProperties":false,"description":"Secret value and its validity window."},"OptionsRequest":{"type":"object","properties":{"expiresOn":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Value is no longer read from this instant; `null` for no expiry. Send with `Z` or an offset. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"notBefore":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Value is not read until this instant (the previous valid value is served); `null` for immediately. Same time zone rule. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."}},"additionalProperties":false,"description":"Window in which the value is readable; `notBefore` must precede `expiresOn` when both are set."}}}}
```

## The SetSecutixRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetSecutixRequest":{"required":["connection","pass"],"type":"object","properties":{"connection":{"description":"How the integration signs in to Secutix.","$ref":"#/components/schemas/SecutixConnectionRequest"},"pass":{"description":"Pass template resolution and printing status settings. Stored as sent.","$ref":"#/components/schemas/SecutixPassSettings"},"webhook":{"description":"What an order change notification refreshes. Omitted, the stored settings are kept, or the defaults on a\nfirst save.","$ref":"#/components/schemas/SecutixWebhookSettings"},"rateLimit":{"description":"Limit on calls to Secutix. Omitted, the stored settings are kept, or the defaults on a first save.","$ref":"#/components/schemas/SecutixRateLimitSettings"}},"additionalProperties":false,"description":"Secutix configuration to store for the tenant."},"SecutixConnectionRequest":{"required":["institution","operator","url"],"type":"object","properties":{"url":{"type":"string","description":"Base address of the tenant's Secutix back-end web services.","format":"uri"},"institution":{"minLength":1,"type":"string","description":"Secutix institution code the integration acts for."},"operator":{"minLength":1,"type":"string","description":"Secutix operator (login) the integration acts as."},"partner":{"type":["null","string"],"description":"Partner name registered in Secutix for the integration. Omitted or blank, the stored partner is kept, or\n`neostore` on a first save."},"secret":{"type":["null","string"],"description":"Secret (password) of the Secutix operator. Omitted or blank, the stored secret is kept; with none stored,\nthe request is refused with 400. Never returned."}},"additionalProperties":false,"description":"Settings the integration uses to connect to Secutix."},"SecutixPassSettings":{"required":["defaultPassTypes"],"type":"object","properties":{"defaultPassTypes":{"description":"Fallback pass template per Secutix product family, for a ticket whose pass template is not otherwise\nresolved.","$ref":"#/components/schemas/SecutixDefaultPassTypes"},"updatePrintingStatus":{"type":"boolean","description":"Whether a ticket is marked as installed in its Secutix printing status when its pass is\nadded to a first wallet.","default":false}},"additionalProperties":false,"description":"How passes are built from Secutix tickets. Shared between the request and the response."},"SecutixDefaultPassTypes":{"required":["default"],"type":"object","properties":{"default":{"minLength":1,"type":"string","description":"Pass template of a ticket whose product family has no pass template of its own, or that has no product\nfamily."},"membership":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `MEMBERSHIP` product family."},"seasonticket":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SEASONTICKET` product family."},"event":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SIMPLE_TICKET` product family."},"match":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SPORTING_EVENT` product family."},"visitPass":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `VISIT_PASS` product family."},"openPass":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `OPEN_PASS` product family."},"voucher":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `VOUCHER` product family."},"donation":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `DONATION` product family."},"service":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `SERVICE` product family."},"openProduct":{"type":["null","string"],"description":"Pass template of a ticket of the Secutix `OPEN` product family."}},"additionalProperties":false,"description":"Fallback pass template of a Secutix ticket, per Secutix product family. Shared between the request and the\nresponse."},"SecutixWebhookSettings":{"type":"object","properties":{"searchForContactIds":{"type":"boolean","description":"Whether an order change notification refreshes the passes of every movement and contact of the order,\nnot only the pass of the notified movement.","default":false},"updateMetadata":{"type":"boolean","description":"Whether a pass refreshed by an order change also has its data and pass template refreshed from Secutix.\nOff, the refresh is faster.","default":true}},"additionalProperties":false,"description":"What an order change notification from Secutix refreshes. Shared between the request and the response."},"SecutixRateLimitSettings":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether calls to Secutix are limited at all. Off, every call is sent.","default":true},"permitLimit":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Maximum number of calls to Secutix per `windowSeconds`. At least 1.","format":"int32","default":400},"windowSeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Length, in seconds, of the period `permitLimit` applies to. At least 1.","format":"int32","default":60},"retryAfterSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Default delay, in seconds, reported in `Retry-After` when a call is refused. 0 or more.","format":"int32","default":60},"queueAcquireTimeoutSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Time, in seconds, a call over the limit may wait for a free slot before being refused. 0 refuses at once.","format":"int32","default":0},"queueRetryDelaySeconds":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Interval, in seconds, at which a waiting call checks again for a free slot. At least 1.","format":"int32","default":1}},"additionalProperties":false,"description":"Limit on the calls the integration makes to Secutix. Shared between the request and the response."}}}}
```

## The SetSecutixScriptsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetSecutixScriptsRequest":{"type":"object","properties":{"contactMapper":{"description":"Change to `contactMapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"contactPassUpdater":{"description":"Change to `contactPassUpdater`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"movementMapper":{"description":"Change to `movementMapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"},"ticketPassTypeFinder":{"description":"Change to `ticketPassTypeFinder`.","$ref":"#/components/schemas/ScriptSlotUpdate"}},"additionalProperties":false,"description":"Changes to the Secutix scripts. A slot left out is left untouched."},"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."}}}}
```

## The SetShopifyRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetShopifyRequest":{"required":["shopifyUrl"],"type":"object","properties":{"shopifyUrl":{"minLength":1,"type":"string","description":"Shopify store URL, written as sent: either a bare host (`store.myshopify.com`) or a full URL\n(`https://store.myshopify.com`)."},"accessToken":{"type":["null","string"],"description":"Shopify Admin API access token the integration reads and writes customers with. Never returned."}},"additionalProperties":false,"description":"Connection to the tenant's Shopify store."}}}}
```

## The SetShopifyScriptsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetShopifyScriptsRequest":{"type":"object","properties":{"customerMapper":{"description":"Change to `customerMapper`.","$ref":"#/components/schemas/ScriptSlotUpdate"}},"additionalProperties":false,"description":"Changes to the Shopify scripts. A slot left out is left untouched."},"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."}}}}
```

## The SetTurnstileRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SetTurnstileRequest":{"required":["proofCookieValidityDurationSeconds","siteKey"],"type":"object","properties":{"siteKey":{"minLength":1,"type":"string","description":"Public site key the customer web app renders the Turnstile widget with."},"secretKey":{"type":["null","string"],"description":"Turnstile secret key of the widget. Never returned."},"proofCookieValidityDurationSeconds":{"maximum":2147483647,"minimum":0,"type":"integer","description":"How long, in seconds, a browser that passed the challenge can create accounts again without a new\none. 0 requires a new challenge for every account creation.","format":"int32"}},"additionalProperties":false,"description":"Cloudflare Turnstile settings. Once a site key is stored, every customer account creation must pass a\nTurnstile challenge."}}}}
```

## The SftpFileResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SftpFileResponse":{"required":["blobPath","fileName","lastModified","sizeInBytes","status"],"type":"object","properties":{"fileName":{"type":"string","description":"File name as dropped by the customer."},"status":{"type":"string","description":"One of `pending`, `processed`, `error`."},"sizeInBytes":{"type":"integer","description":"File size in bytes.","format":"int64"},"lastModified":{"type":"string","description":"When last written, in UTC.","format":"date-time"},"blobPath":{"type":"string","description":"File run identifier for the import-log and download endpoints. Unique even when a file name is imported several times."}},"additionalProperties":false,"description":"A file in the tenant's SFTP inbox."}}}}
```

## The SftpImportLogResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SftpImportLogResponse":{"required":["ignoredColumns","passOutcomes","refusals","status"],"type":"object","properties":{"status":{"type":"string","description":"File status: `pending`, `processed` or `error`."},"runState":{"type":["null","string"],"description":"How the import run ended: `completed`, `failed`, `interrupted` (its end never reached telemetry) or `notRecordedYet` (imported minutes ago, end not in telemetry yet). Null when\nno run is recorded: the file is pending, never finished uploading, or was imported before runs were recorded."},"failureReason":{"type":["null","string"],"description":"Why a failed run stopped: `invalidFile`, `canceled` or `unexpected`."},"rowCount":{"type":["null","integer"],"description":"Rows read from the file.","format":"int32"},"appliedCount":{"type":["null","integer"],"description":"Rows that queued an update of at least one pass.","format":"int32"},"noMatchCount":{"type":["null","integer"],"description":"Rows matching no pass (a data-quality signal, not a technical failure).","format":"int32"},"refusedCount":{"type":["null","integer"],"description":"Rows refused before anything was queued; `refusals` says why.","format":"int32"},"failedCount":{"type":["null","integer"],"description":"Rows that hit a technical error.","format":"int32"},"passCount":{"type":["null","integer"],"description":"Pass updates queued; one row can identify several passes.","format":"int32"},"refusals":{"type":"array","items":{"description":"One reason rows of an imported file were refused.","$ref":"#/components/schemas/SftpRefusalResponse"},"description":"The most frequent reasons rows were refused, at most ten."},"ignoredColumns":{"type":"array","items":{"type":"string"},"description":"Columns of the file that are not recognised, a misspelled one for instance; their values were ignored."},"passOutcomes":{"type":"array","items":{"description":"Outcome of one pass update queued by an imported file.","$ref":"#/components/schemas/SftpPassOutcomeResponse"},"description":"One entry per pass update that has run; empty until they run."}},"additionalProperties":false,"description":"What happened when one SFTP file was imported."},"SftpRefusalResponse":{"required":["reason","rowCount"],"type":"object","properties":{"reason":{"type":"string","description":"Why, e.g. `Unknown theme 'summer-2025'`."},"rowCount":{"type":"integer","description":"How many rows were refused for it.","format":"int32"}},"additionalProperties":false,"description":"One reason rows of an imported file were refused."},"SftpPassOutcomeResponse":{"required":["outcome","passId"],"type":"object","properties":{"passId":{"type":"string","description":"The pass."},"outcome":{"type":"string","description":"`updated`, `skipped` (another update, or an earlier attempt of this one, reached the pass first), `notFound`, `canceled` or `failed`."},"errorMessage":{"type":["null","string"],"description":"Why the update failed; null unless `outcome` is `failed`."}},"additionalProperties":false,"description":"Outcome of one pass update queued by an imported file."}}}}
```

## The SftpPassOutcomeResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SftpPassOutcomeResponse":{"required":["outcome","passId"],"type":"object","properties":{"passId":{"type":"string","description":"The pass."},"outcome":{"type":"string","description":"`updated`, `skipped` (another update, or an earlier attempt of this one, reached the pass first), `notFound`, `canceled` or `failed`."},"errorMessage":{"type":["null","string"],"description":"Why the update failed; null unless `outcome` is `failed`."}},"additionalProperties":false,"description":"Outcome of one pass update queued by an imported file."}}}}
```

## The SftpRefusalResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SftpRefusalResponse":{"required":["reason","rowCount"],"type":"object","properties":{"reason":{"type":"string","description":"Why, e.g. `Unknown theme 'summer-2025'`."},"rowCount":{"type":"integer","description":"How many rows were refused for it.","format":"int32"}},"additionalProperties":false,"description":"One reason rows of an imported file were refused."}}}}
```

## The SftpStatusResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SftpStatusResponse":{"required":["sftpEnabled"],"type":"object","properties":{"sftpEnabled":{"type":"boolean","description":"`false` when the tenant has no SFTP inbox (the normal case); every other field is then null."},"pendingCount":{"type":["null","integer"],"description":"Files dropped, not yet imported.","format":"int32"},"processedCount":{"type":["null","integer"],"description":"Files imported without a technical failure.","format":"int32"},"errorCount":{"type":["null","integer"],"description":"Files whose import failed.","format":"int32"},"lastActivity":{"type":["null","string"],"description":"Most recent write to any file; null when the inbox is empty.","format":"date-time"}},"additionalProperties":false,"description":"SFTP activity summary."}}}}
```

## The ShopifyConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ShopifyConfigurationResponse":{"required":["hasAccessToken","shopifyUrl"],"type":"object","properties":{"shopifyUrl":{"minLength":1,"type":"string","description":"Shopify store URL, as stored: a bare host or a full URL."},"hasAccessToken":{"type":"boolean","description":"Whether an access token is stored. When true, a PUT may omit `accessToken` to keep it."}},"additionalProperties":false,"description":"The tenant's Shopify connection, without the access token."}}}}
```

## The ShopifyScriptsDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ShopifyScriptsDefinition":{"required":["customerMapper"],"type":"object","properties":{"customerMapper":{"description":"`extensions.shopify.customerMapper`: adjusts the account fields read from a Shopify customer, and the customer written back to Shopify.","$ref":"#/components/schemas/ExtensionScriptSlot"}},"additionalProperties":false,"description":"The scripts the Shopify integration can be customised with."},"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."}}}}
```

## The SingleUpdatePassData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SingleUpdatePassData":{"type":"object","allOf":[{"description":"Changes to apply to an existing pass, with options.","$ref":"#/components/schemas/UpdatePassData_SingleUpdatePassDataOptions"}],"properties":{"bypassQueue":{"type":"boolean","description":"Replaced by `options.bypassQueue`.","default":false,"deprecated":true}},"additionalProperties":false,"description":"Changes to one pass. Omitted fields are left as they are."},"UpdatePassData_SingleUpdatePassDataOptions":{"type":"object","properties":{"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifiers of the holder in other systems, keyed by system and field (`shopify.customerId`), matched by `findPass`, `id.{key}` lookups and filters. Avoid keys starting with `id.`."},"additionalData":{"type":["null","object"],"additionalProperties":{},"description":"Free data stored with the pass and available to its templates."},"themeId":{"type":["null","string"],"description":"Theme applied to the pass. Omit or `null` to leave it unchanged (none on create); an empty string removes it. An unknown id is refused with a 400."},"passType":{"type":["null","string"],"description":"Pass template to move the pass to. Omitted or blank keeps the current one; an unknown name is refused with a 400."},"updateMetadata":{"type":"boolean","description":"Replaced by `options.updateMetadata`.","default":false,"deprecated":true},"options":{"description":"How the update is applied. Omitted, the defaults of each option apply.","$ref":"#/components/schemas/SingleUpdatePassDataOptions"}},"additionalProperties":false,"description":"Changes to apply to an existing pass, with options."},"SingleUpdatePassDataOptions":{"type":"object","allOf":[{"description":"How an update is applied.","$ref":"#/components/schemas/UpdatePassDataOptions"}],"properties":{"bypassQueue":{"type":"boolean","description":"Applies and pushes the update within the request (200) instead of queuing it (202).","default":false}},"additionalProperties":false,"description":"Options for a single pass update."},"UpdatePassDataOptions":{"type":"object","properties":{"updateMetadata":{"type":"boolean","description":"Recomputes the stored pass metadata read by filters and sorts. Slower; unneeded when only displayed content changes. Default `true`, except on a bulk update sent without a body."},"correlationId":{"type":["null","string"],"description":"Groups updates into one operation tracked by `GET /passes/pushUpdate/status` and stopped by `POST /passes/pushUpdate/{correlationId}/cancel`. Random when omitted; a synchronous update then records no progress."}},"additionalProperties":false,"description":"How an update is applied."}}}}
```

## The SingleUpdatePassDataOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SingleUpdatePassDataOptions":{"type":"object","allOf":[{"description":"How an update is applied.","$ref":"#/components/schemas/UpdatePassDataOptions"}],"properties":{"bypassQueue":{"type":"boolean","description":"Applies and pushes the update within the request (200) instead of queuing it (202).","default":false}},"additionalProperties":false,"description":"Options for a single pass update."},"UpdatePassDataOptions":{"type":"object","properties":{"updateMetadata":{"type":"boolean","description":"Recomputes the stored pass metadata read by filters and sorts. Slower; unneeded when only displayed content changes. Default `true`, except on a bulk update sent without a body."},"correlationId":{"type":["null","string"],"description":"Groups updates into one operation tracked by `GET /passes/pushUpdate/status` and stopped by `POST /passes/pushUpdate/{correlationId}/cancel`. Random when omitted; a synchronous update then records no progress."}},"additionalProperties":false,"description":"How an update is applied."}}}}
```

## The SmartTapDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SmartTapDefinition":{"required":["configured"],"type":"object","properties":{"configured":{"type":"boolean","description":"Whether Smart Tap is set up. Without it, templates cannot enable Smart Tap."},"collectorId":{"type":["null","string"],"description":"Collector ID of the Smart Tap merchant; null when not configured."},"keyVersion":{"type":["null","integer"],"description":"Version under which the public key is registered with Google; null when not configured.","format":"int32"},"publicKey":{"type":["null","string"],"description":"Public key to register with Google, a Base64 X.509 SubjectPublicKeyInfo; null when not configured."}},"additionalProperties":false,"description":"Smart Tap authentication key of the tenant. The private key is never returned."}}}}
```

## The SortModel object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SortModel":{"type":"object","properties":{"field":{"type":"string","description":"`id`, `passType`, `themeId`, `creationDate`, `lastUpdateDate`, `apple`,\n            `google` (installation data of that wallet), `identifiers.{key}` or `metadata.{key}`; a datetime\n            metadata field sorts chronologically. Any other field is refused with a 400."},"direction":{"description":"`ASC` or `DESC`.","$ref":"#/components/schemas/SortModelDirection"}},"additionalProperties":false,"description":"One sort key for pass queries. Several keys apply in order, the first one being the primary sort."},"SortModelDirection":{"enum":[0,1],"type":"integer","description":"Sort direction for pass list queries, sent as `ASC` or `DESC`.","format":"int32"}}}}
```

## The SortModelDirection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SortModelDirection":{"enum":[0,1],"type":"integer","description":"Sort direction for pass list queries, sent as `ASC` or `DESC`.","format":"int32"}}}}
```

## The StampCardResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"StampCardResponse":{"type":"object","properties":{"count":{"type":"integer","description":"Stamps currently collected, the sum of every movement.","format":"int32"},"target":{"type":"integer","description":"Stamps needed to reach the goal, from the pass template's stamp configuration.","format":"int32"},"behaviour":{"description":"What the card does once the goal is reached, from the pass template:\n`stayAtGoal` (the board stays full and refuses further stamps), `resetImmediately` (the board\nclears in the same write that reaches the goal) or `resetOnNextStamp` (the board stays full until the\nnext stamp clears it and starts a new round).","$ref":"#/components/schemas/StampGoalBehaviour"},"state":{"type":"string","description":"`goalReached` when `count` is at or above `target`, otherwise `collecting`."},"movements":{"type":"array","items":{"description":"One movement in a card's history.","$ref":"#/components/schemas/StampMovementResponse"},"description":"Full history, oldest first, including the movements that cleared the board."},"rewardBenefitTemplateId":{"type":["null","string"],"description":"Benefit template granted on reaching the goal, or null when the pass template grants none.\nWhat the next goal will grant, not a record of what past goals did."}},"additionalProperties":false,"description":"The state of a stamp board."},"StampGoalBehaviour":{"enum":["resetOnNextStamp","resetImmediately","stayAtGoal"],"type":"string","description":"What happens to a stamp card once its goal is reached."},"StampMovementResponse":{"type":"object","properties":{"movementId":{"type":"string","description":"Server-assigned identifier (GUID) of the movement."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it was applied, in UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"integer","description":"Signed change in stamps. The board clearing itself after a goal shows as a negative movement of the full count.","format":"int32"},"source":{"type":["null","string"],"description":"Identity of the caller (user or API key) that applied it; a clearing movement carries the source of the stamp that triggered it."},"remarks":{"type":["null","string"],"description":"Note sent with the movement; clearing movements carry a system note."}},"additionalProperties":false,"description":"One movement in a card's history."}}}}
```

## The StampGoalBehaviour object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"StampGoalBehaviour":{"enum":["resetOnNextStamp","resetImmediately","stayAtGoal"],"type":"string","description":"What happens to a stamp card once its goal is reached."}}}}
```

## The StampMovementResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"StampMovementResponse":{"type":"object","properties":{"movementId":{"type":"string","description":"Server-assigned identifier (GUID) of the movement."},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"When it was applied, in UTC. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"value":{"type":"integer","description":"Signed change in stamps. The board clearing itself after a goal shows as a negative movement of the full count.","format":"int32"},"source":{"type":["null","string"],"description":"Identity of the caller (user or API key) that applied it; a clearing movement carries the source of the stamp that triggered it."},"remarks":{"type":["null","string"],"description":"Note sent with the movement; clearing movements carry a system note."}},"additionalProperties":false,"description":"One movement in a card's history."}}}}
```

## The StartCmComSyncRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"StartCmComSyncRequest":{"required":["messageId"],"type":"object","properties":{"messageId":{"maxLength":100,"minLength":1,"type":"string","description":"CM.com's identifier of the message, as the message list returns it."},"dryRun":{"type":"boolean","description":"When true, the import only counts the events it would write and writes nothing, so its result can be checked\nbefore a real import. Defaults to false."}},"additionalProperties":false,"description":"Request body to start an import of a message's deliveries."}}}}
```

## The StartSession object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"StartSession":{"type":"object","properties":{"profileId":{"type":"string","description":"Required; one of the device's `profileIds`, otherwise 400."}},"additionalProperties":false,"description":"Profile a device starts running."}}}}
```

## The Store object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Store":{"required":["displayName","storeId"],"type":"object","properties":{"storeId":{"type":"string","description":"Store id; the `storeId` of the other store routes."},"displayName":{"type":"string","description":"Store name shown to staff and holders."},"availableLanguages":{"type":["null","array"],"items":{"type":"string"},"description":"Languages served; null if none."},"additionalResources":{"type":["null","object"],"additionalProperties":{},"description":"Store texts by culture name (same as `GET {storeId}/additionalResources`); cultures without text are absent."},"additionalProperties":{"type":["null","object"],"additionalProperties":{},"description":"Tenant-specific attributes; keys depend on the tenant's store directory; null if none."}},"additionalProperties":false,"description":"A physical store."}}}}
```

## The StoreAdvisorDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"StoreAdvisorDefinition":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"type":"string","description":"Advisor display name."}},"additionalProperties":false,"description":"Advisor assigned to a store."}}}}
```

## The StoreAdvisorRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"StoreAdvisorRequest":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"minLength":1,"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"maxLength":200,"minLength":1,"type":"string","description":"Advisor display name, up to 200 characters."}},"additionalProperties":false,"description":"Advisor assigned to a store."}}}}
```

## The StoreDefinition object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"StoreDefinition":{"required":["latitude","longitude","storeId"],"type":"object","properties":{"storeId":{"type":"string","description":"Store identifier in the retail system; what a holder's `storeId` refers to."},"displayName":{"type":["null","string"],"description":"Display name; null when none."},"address":{"type":["null","string"],"description":"Postal address as free text; null when none."},"longitude":{"type":"number","description":"Longitude in decimal degrees. With latitude, used to find the stores nearest a holder.","format":"double"},"latitude":{"type":"number","description":"Latitude in decimal degrees.","format":"double"},"altitude":{"type":["null","integer"],"description":"Altitude in meters; null when unknown.","format":"int32"},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"ISO 639 codes of the languages spoken, e.g. `fr`."},"advisors":{"type":"array","items":{"description":"Advisor assigned to a store.","$ref":"#/components/schemas/StoreAdvisorDefinition"},"description":"Advisors working in the store."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Free-form values read by integrations, e.g. `y2.connectionName`."}},"additionalProperties":false,"description":"Full store definition."},"StoreAdvisorDefinition":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"type":"string","description":"Advisor display name."}},"additionalProperties":false,"description":"Advisor assigned to a store."}}}}
```

## The SubscriptionInformation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"SubscriptionInformation":{"required":["filters","headers","id","name","url","user"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether Y2 currently delivers to this subscription. Registering this platform's subscription disables\nanother enabled one."},"id":{"type":"string","description":"Y2 identifier of the subscription."},"name":{"type":"string","description":"Name of the subscription in Y2."},"url":{"type":"string","description":"URL Y2 posts the notifications to. For this platform's subscription, it ends with\n`/api/{tenantId}/webhooks/listeners/cegid/{connection name}`."},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"HTTP headers Y2 adds to each notification, by name."},"user":{"description":"Credentials Y2 sends with each notification.","$ref":"#/components/schemas/UserInformation"},"filters":{"type":"array","items":{"description":"A Y2 rule selecting the notifications the subscription delivers or drops.","$ref":"#/components/schemas/FilterInformation"},"description":"Rules selecting the notifications delivered; empty when Y2 has none."}},"additionalProperties":false,"description":"A Y2 business notification subscription: where Y2 sends its notifications for a database, and which ones."},"UserInformation":{"type":"object","properties":{"userName":{"type":["null","string"],"description":"User Y2 authenticates the delivery with; empty when none."}},"additionalProperties":false,"description":"Credentials Y2 sends with each notification."},"FilterInformation":{"type":"object","properties":{"eventSources":{"type":["null","array"],"items":{"type":"string"},"description":"Y2 service operations the filter matches, in the form of `Header.EventSource`, e.g.\n`Cegid.Retail.Services.ThirdParties.Customers.ICustomerService.Update`."},"userIds":{"type":["null","array"],"items":{"type":"string"},"description":"Y2 users the filter matches, in the form of `Header.UserId`: the user whose action raised the\nnotification."},"action":{"description":"Whether a matching notification is delivered or dropped.","$ref":"#/components/schemas/FilterAction"}},"additionalProperties":false,"description":"A Y2 rule selecting the notifications the subscription delivers or drops."},"FilterAction":{"enum":[0,1],"type":"integer","description":"What Y2 does with a notification the filter matches.","format":"int32"}}}}
```

## The TOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TOptions":{"type":"object","properties":{"updateMetadata":{"type":"boolean","description":"Recomputes the stored pass metadata read by filters and sorts. Slower; unneeded when only displayed content changes. Default `true`, except on a bulk update sent without a body."},"correlationId":{"type":["null","string"],"description":"Groups updates into one operation tracked by `GET /passes/pushUpdate/status` and stopped by `POST /passes/pushUpdate/{correlationId}/cancel`. Random when omitted; a synchronous update then records no progress."}},"additionalProperties":false}}}}
```

## The TelemetrySettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TelemetrySettings":{"type":"object","properties":{"minimumSeverity":{"description":"Lowest severity sent; lower items are dropped on the device.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"maxBatchSize":{"type":"integer","description":"Most items per upload; larger batches are rejected.","format":"int32"},"flushIntervalSeconds":{"type":"integer","description":"Seconds the device buffers before uploading.","format":"int32"}},"additionalProperties":false,"description":"What and how much the device reports."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."}}}}
```

## The TenantConfigFaviconsWeb object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantConfigFaviconsWeb":{"required":["rawFaviconUrl"],"type":"object","properties":{"faviconUrl":{"type":["null","string"],"description":"Absolute URL of the large (192x192) favicon; a warning icon `data:` URL when none is available."},"rawFaviconUrl":{"minLength":1,"type":"string","description":"Small (48x48) favicon URL as configured."},"rawLargeFaviconUrl":{"type":["null","string"],"description":"Large (192x192) favicon URL as configured; null when none."},"rawAppleFaviconUrl":{"type":["null","string"],"description":"Apple touch icon (180x180) URL as configured; null when none."}},"additionalProperties":false,"description":"Favicon URLs."}}}}
```

## The TenantConfigWeb object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantConfigWeb":{"required":["availableLanguages","defaultLanguage","extensions","favicons","name","publicUri"],"type":"object","properties":{"name":{"minLength":1,"type":"string","description":"Tenant display name. Read-only."},"favicons":{"description":"Favicon as displayed, plus the stored paths for editing.","$ref":"#/components/schemas/TenantConfigFaviconsWeb"},"logoUrl":{"type":["null","string"],"description":"Logo URL; null when none."},"appTitle":{"type":["null","string"],"description":"Browser title replacing the default; null when none."},"status":{"description":"Lifecycle status; null when none.","$ref":"#/components/schemas/TenantStatus"},"purpose":{"description":"Tenant purpose; null when none.","$ref":"#/components/schemas/TenantPurpose"},"publicUri":{"minLength":1,"type":"string","description":"Absolute base address holders are sent to (enrolment links, e-mails, QR codes): the `publicUri` when set, otherwise the platform address."},"defaultLanguage":{"minLength":1,"type":"string","description":"Fallback language, one of `availableLanguages`. `en` when none is configured."},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"Language codes the content is offered in. `[\"en\"]` when none is configured."},"extensions":{"type":"array","items":{"type":"string"},"description":"Enabled extensions; empty when none."}},"additionalProperties":false,"description":"Tenant configuration."},"TenantConfigFaviconsWeb":{"required":["rawFaviconUrl"],"type":"object","properties":{"faviconUrl":{"type":["null","string"],"description":"Absolute URL of the large (192x192) favicon; a warning icon `data:` URL when none is available."},"rawFaviconUrl":{"minLength":1,"type":"string","description":"Small (48x48) favicon URL as configured."},"rawLargeFaviconUrl":{"type":["null","string"],"description":"Large (192x192) favicon URL as configured; null when none."},"rawAppleFaviconUrl":{"type":["null","string"],"description":"Apple touch icon (180x180) URL as configured; null when none."}},"additionalProperties":false,"description":"Favicon URLs."},"TenantStatus":{"enum":["onboarding","active","disabled"],"type":"string","description":"Lifecycle stage of the tenant. Only `disabled` changes what the platform does; the other two values\nare labels."},"TenantPurpose":{"enum":["demo","test","production"],"type":"string","description":"What the tenant is used for. A label for the tenant directory and reporting: no runtime behaviour depends\non it."}}}}
```

## The TenantConfigurationHistoryEntry object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantConfigurationHistoryEntry":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the stored configuration version."},"date":{"type":"string","description":"When the version was saved.","format":"date-time"},"user":{"description":"Who saved the version. Null when the save recorded no user.","$ref":"#/components/schemas/TenantConfigurationHistoryUser"},"files":{"type":"array","items":{"type":"string"},"description":"Paths of the files this version added, changed or deleted compared with the version before it, sorted.\nEvery file of the version when no earlier version can be read; empty when this version's own details\ncannot be read."}},"additionalProperties":false,"description":"One saved version of the configuration: who saved it, when, and which files it changed."},"TenantConfigurationHistoryUser":{"type":"object","properties":{"userName":{"type":["null","string"],"description":"Identifier recorded with the version: the user id, or `apiKey:` followed by the API key name."},"name":{"type":["null","string"],"description":"Display name: the user's name, or `API Key - ` followed by the key name. Null when the user no\nlonger exists."},"email":{"type":["null","string"],"description":"The user's email. Null for an API key or a user that no longer exists."}},"additionalProperties":false,"description":"The user or API key behind a configuration version."}}}}
```

## The TenantConfigurationHistoryPage object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantConfigurationHistoryPage":{"type":"object","properties":{"offset":{"type":"integer","description":"Number of matching versions skipped before this page, as requested.","format":"int32"},"limit":{"type":"integer","description":"Maximum number of versions the page holds, as requested.","format":"int32"},"total":{"type":"integer","description":"Number of versions matching the request across all pages: every saved version without a file filter,\nonly those that changed a matching file with one. 0 when the tenant has no history.","format":"int32"},"items":{"type":"array","items":{"description":"One saved version of the configuration: who saved it, when, and which files it changed.","$ref":"#/components/schemas/TenantConfigurationHistoryEntry"},"description":"The versions on this page, newest first. Fewer than Neo.Configuration.Tenants.TenantConfigurationHistoryPage.Limit on the last page."}},"additionalProperties":false,"description":"One page of the saved versions of a tenant's configuration, newest first."},"TenantConfigurationHistoryEntry":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the stored configuration version."},"date":{"type":"string","description":"When the version was saved.","format":"date-time"},"user":{"description":"Who saved the version. Null when the save recorded no user.","$ref":"#/components/schemas/TenantConfigurationHistoryUser"},"files":{"type":"array","items":{"type":"string"},"description":"Paths of the files this version added, changed or deleted compared with the version before it, sorted.\nEvery file of the version when no earlier version can be read; empty when this version's own details\ncannot be read."}},"additionalProperties":false,"description":"One saved version of the configuration: who saved it, when, and which files it changed."},"TenantConfigurationHistoryUser":{"type":"object","properties":{"userName":{"type":["null","string"],"description":"Identifier recorded with the version: the user id, or `apiKey:` followed by the API key name."},"name":{"type":["null","string"],"description":"Display name: the user's name, or `API Key - ` followed by the key name. Null when the user no\nlonger exists."},"email":{"type":["null","string"],"description":"The user's email. Null for an API key or a user that no longer exists."}},"additionalProperties":false,"description":"The user or API key behind a configuration version."}}}}
```

## The TenantConfigurationHistoryUser object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantConfigurationHistoryUser":{"type":"object","properties":{"userName":{"type":["null","string"],"description":"Identifier recorded with the version: the user id, or `apiKey:` followed by the API key name."},"name":{"type":["null","string"],"description":"Display name: the user's name, or `API Key - ` followed by the key name. Null when the user no\nlonger exists."},"email":{"type":["null","string"],"description":"The user's email. Null for an API key or a user that no longer exists."}},"additionalProperties":false,"description":"The user or API key behind a configuration version."}}}}
```

## The TenantConfigurationVersionInformation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantConfigurationVersionInformation":{"type":"object","properties":{"version":{"type":"string","description":"Opaque token for the configuration as a whole, computed from Neo.Configuration.Tenants.TenantConfigurationVersionInformation.Files. It changes whenever any\nfile is written, added or deleted, so two equal values mean the same configuration; empty when the\ntenant has no file.","readOnly":true},"files":{"type":"object","additionalProperties":{"type":"integer","format":"int64"},"description":"Every configuration file, keyed by its path relative to the configuration root (e.g.\n`server/passes/loyalty.yml`), with a write stamp: the file's last modification time in Unix\nseconds, moved forward by one when two writes land in the same second, so it always increases."},"appliedMigrations":{"type":"array","items":{"type":"string"},"description":"Names of the platform's configuration upgrades this configuration is up to date with. An upgrade not\nlisted here is still to be applied."}},"additionalProperties":false,"description":"Identifies one state of a tenant's whole configuration: which files exist and when each was last written."}}}}
```

## The TenantDirectoryEntry object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantDirectoryEntry":{"required":["tenantId"],"type":"object","properties":{"tenantId":{"type":"string","description":"Tenant id; the `tenantId` of every tenant-scoped route."},"status":{"description":"Lifecycle status.","$ref":"#/components/schemas/TenantDirectoryStatus"},"purpose":{"description":"Tenant purpose.","$ref":"#/components/schemas/TenantDirectoryPurpose"}},"additionalProperties":false,"description":"A tenant of the directory."},"TenantDirectoryStatus":{"enum":["onboarding","active","disabled"],"type":"string","description":"Tenant lifecycle status, set by `status` in its configuration."},"TenantDirectoryPurpose":{"enum":["demo","test","production"],"type":"string","description":"Tenant purpose, set by `purpose` in its configuration. Informational."}}}}
```

## The TenantDirectoryPurpose object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantDirectoryPurpose":{"enum":["demo","test","production"],"type":"string","description":"Tenant purpose, set by `purpose` in its configuration. Informational."}}}}
```

## The TenantDirectoryStatus object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantDirectoryStatus":{"enum":["onboarding","active","disabled"],"type":"string","description":"Tenant lifecycle status, set by `status` in its configuration."}}}}
```

## The TenantPurpose object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantPurpose":{"enum":["demo","test","production"],"type":"string","description":"What the tenant is used for. A label for the tenant directory and reporting: no runtime behaviour depends\non it."}}}}
```

## The TenantStatus object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantStatus":{"enum":["onboarding","active","disabled"],"type":"string","description":"Lifecycle stage of the tenant. Only `disabled` changes what the platform does; the other two values\nare labels."}}}}
```

## The TenantUser object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TenantUser":{"required":["email","id"],"type":"object","properties":{"id":{"minLength":1,"type":"string","description":"User id, used as `userId` by the other endpoints."},"email":{"minLength":1,"type":"string","description":"Sign-in e-mail, shared across tenants."},"name":{"type":["null","string"],"description":"Display name, shared across tenants; null when none."},"blocked":{"type":"boolean","description":"Whether the account is blocked from signing in to any tenant. Read-only."},"lastLogin":{"type":["null","string"],"description":"Last sign-in to any tenant; null when never signed in (e.g. invitation not yet used).","format":"date-time"},"tenantRole":{"type":["null","string"],"description":"Role on this tenant (`administrator` for a tenant administrator); null when none."}},"additionalProperties":false,"description":"An admin console user, as seen from this tenant."}}}}
```

## The ThemeAutomation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ThemeAutomation":{"type":"object","properties":{"id":{"type":"string","description":"Id of the automation, as used by the automation endpoints."},"displayName":{"type":["null","string"],"description":"Name shown in the admin, `null` when the automation has none."}},"additionalProperties":false,"description":"An automation that applies a theme."}}}}
```

## The ThemeImageInfo object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ThemeImageInfo":{"type":"object","properties":{"path":{"type":"string","description":"Path of the image (`public/themes/{themeId}/{name}`), to put as is in an image location of this theme."},"name":{"type":"string","description":"File name of the image, the `fileName` of the image endpoints."}},"additionalProperties":false,"description":"Reference to an uploaded theme image."}}}}
```

## The ThemeInUse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ThemeInUse":{"required":["automations","passCount","themeId"],"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]},"themeId":{"type":"string","description":"Theme that was asked to be deleted."},"passCount":{"type":"integer","description":"Passes still using it.","format":"int32"},"automations":{"type":"array","items":{"description":"An automation that applies a theme.","$ref":"#/components/schemas/ThemeAutomation"},"description":"Enabled automations still applying it."}},"additionalProperties":{},"description":"Problem returned when deleting a theme that is in use."},"ThemeAutomation":{"type":"object","properties":{"id":{"type":"string","description":"Id of the automation, as used by the automation endpoints."},"displayName":{"type":["null","string"],"description":"Name shown in the admin, `null` when the automation has none."}},"additionalProperties":false,"description":"An automation that applies a theme."}}}}
```

## The ThemeUsage object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"ThemeUsage":{"type":"object","properties":{"themeId":{"type":"string","description":"Id of the theme this usage is about."},"passCount":{"type":"integer","description":"Number of passes currently pointing at it, `0` when none does.","format":"int32"},"automations":{"type":"array","items":{"description":"An automation that applies a theme.","$ref":"#/components/schemas/ThemeAutomation"},"description":"Enabled automations applying it to passes, empty when none does."}},"additionalProperties":false,"description":"What points at one theme."},"ThemeAutomation":{"type":"object","properties":{"id":{"type":"string","description":"Id of the automation, as used by the automation endpoints."},"displayName":{"type":["null","string"],"description":"Name shown in the admin, `null` when the automation has none."}},"additionalProperties":false,"description":"An automation that applies a theme."}}}}
```

## The TicketCanceledData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TicketCanceledData":{"type":"object","properties":{"ticket":{"description":"The cancelled ticket.","$ref":"#/components/schemas/TicketData"}},"additionalProperties":false,"description":"Payload of a ticket cancellation."},"TicketData":{"type":"object","properties":{"token":{"type":"string","description":"Yurplan token of the ticket. With the event id it forms the pass identifier\n            `yurplan.ticketId`; it is exposed to the pass template as `barCode`."},"identifier":{"type":"string","description":"Yurplan identifier of the ticket. Required; 400 when missing."}},"additionalProperties":false,"description":"A Yurplan ticket."}}}}
```

## The TicketCheckedData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TicketCheckedData":{"type":"object","properties":{"ticket":{"description":"The checked-in ticket.","$ref":"#/components/schemas/TicketData"}},"additionalProperties":false,"description":"Payload of a ticket check-in."},"TicketData":{"type":"object","properties":{"token":{"type":"string","description":"Yurplan token of the ticket. With the event id it forms the pass identifier\n            `yurplan.ticketId`; it is exposed to the pass template as `barCode`."},"identifier":{"type":"string","description":"Yurplan identifier of the ticket. Required; 400 when missing."}},"additionalProperties":false,"description":"A Yurplan ticket."}}}}
```

## The TicketData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TicketData":{"type":"object","properties":{"token":{"type":"string","description":"Yurplan token of the ticket. With the event id it forms the pass identifier\n            `yurplan.ticketId`; it is exposed to the pass template as `barCode`."},"identifier":{"type":"string","description":"Yurplan identifier of the ticket. Required; 400 when missing."}},"additionalProperties":false,"description":"A Yurplan ticket."}}}}
```

## The TriggerDirection object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TriggerDirection":{"enum":["before","after"],"type":"string","description":"Which side of its reference date a per-pass trigger fires on."}}}}
```

## The TriggerOffsetUnit object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TriggerOffsetUnit":{"enum":["minutes","hours","days","weeks"],"type":"string","description":"Unit of an offset."}}}}
```

## The TurnstileConfigurationResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TurnstileConfigurationResponse":{"required":["siteKey"],"type":"object","properties":{"siteKey":{"minLength":1,"type":"string","description":"Public site key the customer web app renders the Turnstile widget with."},"proofCookieValidityDurationSeconds":{"type":"integer","description":"How long, in seconds, a browser that passed the challenge can create accounts again without a new\none. 0: every account creation requires a new challenge.","format":"int32"}},"additionalProperties":false,"description":"The tenant's Cloudflare Turnstile settings, without the secret key."}}}}
```

## The TypeEnum object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"TypeEnum":{"enum":["manual","text","qrcode","pdf417","aztec","code128","code39","codabar","ean8","ean13","itf14","upca","datamatrix","nfc"],"type":"string","description":"How the value was captured. Recorded on the scan event only; it does not affect matching."}}}}
```

## The UpdateApiKeyRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateApiKeyRequest":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the key is accepted."},"permissions":{"type":"array","items":{"type":"string"},"description":"Replaces the current permissions. At least one."},"tags":{"maxItems":20,"type":["null","array"],"items":{"type":"string"},"description":"Replaces the current tags. Omitted keeps them; an empty list clears them."}},"additionalProperties":false,"description":"Request body to update an API key."}}}}
```

## The UpdateAppleSignInRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateAppleSignInRequest":{"required":["serviceIdentifier"],"type":"object","properties":{"serviceIdentifier":{"minLength":1,"type":"string","description":"Apple Services ID on which \"Sign in with Apple\" is configured. The customer web app starts Sign in\nwith Apple with it. Missing or empty: 400."}},"additionalProperties":false,"description":"Request body to configure sign in with Apple."}}}}
```

## The UpdateAppleWalletProviderRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateAppleWalletProviderRequest":{"required":["pass","teamIdentifier"],"type":"object","properties":{"teamIdentifier":{"minLength":1,"type":"string","description":"Apple Developer Team ID owning the pass type identifier."},"apnKey":{"description":"Key used to push pass updates through the Apple Push Notification service. Required unless `useTeamApnKey` is set.","$ref":"#/components/schemas/APNKeyRequest"},"useTeamApnKey":{"type":"boolean","description":"Push pass updates with the key the platform holds for `teamIdentifier`, which it uses only for a tenant holding the private key of a certificate made for that team. `apnKey` is then dropped."},"pass":{"description":"Pass type identifier and signing certificate.","$ref":"#/components/schemas/PassRequest"},"webServiceUrl":{"type":["null","string"],"description":"Web service URL written into Apple passes generated from now on. Null means the platform endpoint `/api/{tenantId}/passes/apple`.","format":"uri"}},"additionalProperties":false,"description":"Request body to configure Apple Wallet."},"APNKeyRequest":{"required":["id"],"type":"object","properties":{"id":{"minLength":1,"type":"string","description":"Key ID Apple assigned, also in the file name `AuthKey_{id}.p8`."},"value":{"type":["null","string"],"description":"Content of the `.p8` file, PEM block included. Omit or leave empty to keep the current key; required the first time."}},"additionalProperties":false,"description":"Request body to configure the Apple Push Notifications key."},"PassRequest":{"required":["certificate","passTypeIdentifier"],"type":"object","properties":{"passTypeIdentifier":{"minLength":1,"type":"string","description":"Pass type identifier registered with Apple, e.g. `pass.com.brand.loyalty`."},"certificate":{"description":"Certificate Apple passes are signed with.","$ref":"#/components/schemas/PassCertificateRequest"},"certificateRequest":{"description":"CSR awaiting Apple's certificate. Omitted or null removes the stored one, so send it back while a renewal is pending.","$ref":"#/components/schemas/PassCertificateSigningRequestRequest"}},"additionalProperties":false,"description":"Request body to configure the Apple Wallet pass."},"PassCertificateRequest":{"required":["certificate"],"type":"object","properties":{"key":{"type":["null","string"],"description":"PEM-encoded private key of the certificate. Omit or leave empty to keep the current key, or to take the key of the stored signing request when the certificate was made from it; required the first time."},"certificate":{"minLength":1,"type":"string","description":"Pass Type ID certificate from Apple, PEM-encoded."}},"additionalProperties":false,"description":"Request body to configure the pass signing certificate."},"PassCertificateSigningRequestRequest":{"required":["passTypeIdentifier"],"type":"object","properties":{"key":{"type":["null","string"],"description":"PEM-encoded private key the CSR was generated from. Omit or leave empty to keep the stored one; required when no CSR is stored."},"certificateRequest":{"type":["null","string"],"description":"PEM-encoded CSR to submit to Apple."},"passTypeIdentifier":{"minLength":1,"type":"string","description":"Pass type identifier the request is for."}},"additionalProperties":false,"description":"Request body to configure a certificate signing request (CSR)."}}}}
```

## The UpdateCheckinPolicyRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateCheckinPolicyRequest":{"required":["mode"],"type":"object","properties":{"mode":{"description":"Policy to apply from now on, to every enrolment form of the tenant.","$ref":"#/components/schemas/CheckinPolicyMode"}},"additionalProperties":false,"description":"Request body to configure the check-in policy."},"CheckinPolicyMode":{"enum":["noIdentification","none","partial","full"],"type":"string","description":"Identification required from a customer collecting a pass through an enrolment form."}}}}
```

## The UpdateDevice object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateDevice":{"type":"object","properties":{"name":{"type":"string","description":"Name shown in the admin console: required, at most 200 characters."},"description":{"type":["null","string"],"description":"Free text; null clears it."},"isEnabled":{"type":"boolean","description":"Whether the device may connect; `false` when omitted. Disabling closes its running session."},"telemetry":{"description":"Telemetry settings; null keeps the current ones.","$ref":"#/components/schemas/UpdateTelemetrySettings"},"profileIds":{"type":["null","array"],"items":{"type":"string"},"description":"Profiles the device can run, in display order; null keeps them. Each must exist, match the device type and appear once."}},"additionalProperties":false,"description":"Payload to update a device."},"UpdateTelemetrySettings":{"type":"object","properties":{"minimumSeverity":{"description":"Lowest severity the device sends; above everything it emits, it is silenced.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"flushIntervalSeconds":{"type":"integer","description":"Seconds the device buffers before uploading, 5 to 3600 (otherwise 400).","format":"int32"}},"additionalProperties":false,"description":"Operator-editable telemetry settings. The maximum batch size cannot be changed."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."}}}}
```

## The UpdateEmailProviderRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateEmailProviderRequest":{"required":["type"],"type":"object","properties":{"type":{"description":"Provider used to send mail. Changing it drops the previous provider's settings (API key, custom sending domain).","$ref":"#/components/schemas/EmailProviderType"},"from":{"description":"Sender identity. Required for `sendgrid` and `mailchimp`; not used by `script`.","$ref":"#/components/schemas/FromRequest"},"apiKey":{"type":["null","string"],"description":"Provider API key. Omit or leave empty to keep the current key (only if the type is unchanged). Not used by `script`."},"script":{"type":["null","string"],"description":"Script content, saved when `type` is `script`; omit or leave empty to keep the current script."}},"additionalProperties":false,"description":"Request body to configure the email provider."},"EmailProviderType":{"enum":["sendgrid","mailchimp","script"],"type":"string","description":"Email provider supported by this endpoint."},"FromRequest":{"required":["email"],"type":"object","properties":{"email":{"minLength":1,"type":"string","description":"Email address mail is sent from. Must be a syntactically valid address, else 400.","format":"email"},"name":{"maxLength":200,"type":["null","string"],"description":"Display name, up to 200 characters, else 400. Omitted or blank means the address alone is shown."}},"additionalProperties":false,"description":"Request body to configure the sender identity."}}}}
```

## The UpdateFacebookSignInRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateFacebookSignInRequest":{"required":["appId"],"type":"object","properties":{"appId":{"minLength":1,"type":"string","description":"App ID of the Facebook app customers sign in through. The customer web app starts Facebook login with\nit. Missing or empty: 400."},"appSecret":{"type":["null","string"],"description":"App secret of the Facebook app. Never returned."}},"additionalProperties":false,"description":"Request body to configure sign in with Facebook."}}}}
```

## The UpdateGeneralSecretsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateGeneralSecretsRequest":{"required":["secret1","secret2"],"type":"object","properties":{"secret1":{"minLength":1,"type":"string","description":"New primary secret; required, not empty."},"secret2":{"minLength":1,"type":"string","description":"New secondary secret; required, not empty."}},"additionalProperties":false,"description":"Request body to configure the general secrets. Both values are replaced."}}}}
```

## The UpdateGoogleSignInRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateGoogleSignInRequest":{"required":["clientId"],"type":"object","properties":{"clientId":{"minLength":1,"type":"string","description":"OAuth client ID of the Google app customers sign in with. The customer web app starts Google sign-in\nwith it. Missing or empty: 400."},"gtmId":{"type":["null","string"],"description":"Google Tag Manager container the customer web app loads, e.g. `GTM-XXXX`."}},"additionalProperties":false,"description":"Request body to configure sign in with Google."}}}}
```

## The UpdateGoogleWalletProviderRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateGoogleWalletProviderRequest":{"required":["issuerId"],"type":"object","properties":{"issuerId":{"minLength":1,"type":"string","description":"Issuer ID from the Google Pay & Wallet Console; prefixes the ID of every Google pass class and object."},"credential":{"description":"Service account credential used to call the Google Wallet API. Omit it only for a tenant on a platform Google service account, which keeps it.","$ref":"#/components/schemas/CredentialRequest"},"webServiceUrl":{"type":["null","string"],"description":"Callback URL Google Wallet notifies when a holder saves or removes a pass. Null means the platform endpoint `/api/{tenantId}/passes/google`.","format":"uri"}},"additionalProperties":false,"description":"Request body to configure Google Wallet."},"CredentialRequest":{"required":["clientEmail","clientId","privateKeyId","projectId","type"],"type":"object","properties":{"type":{"minLength":1,"type":"string","description":"`type` of the credential JSON file; `service_account` for a service account key."},"projectId":{"minLength":1,"type":"string","description":"Google Cloud project of the service account (`project_id`)."},"quotaProject":{"type":["null","string"],"description":"Project billed for API calls when it differs from `projectId`. Omitted or null clears it."},"clientId":{"minLength":1,"type":"string","description":"OAuth client ID (`client_id`)."},"clientSecret":{"type":["null","string"],"description":"OAuth client secret, for a user credential. Omit or leave empty to keep the current one."},"clientEmail":{"minLength":1,"type":"string","description":"Service account e-mail (`client_email`)."},"privateKey":{"type":["null","string"],"description":"PEM-encoded private key (`private_key`). Omit or leave empty to keep the current key; required the first time."},"privateKeyId":{"minLength":1,"type":"string","description":"Private key ID (`private_key_id`)."},"refreshToken":{"type":["null","string"],"description":"OAuth refresh token, for a user credential. Omit or leave empty to keep the current one."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Every other field of the key file. Replaces the stored fields."}},"additionalProperties":false,"description":"Request body to configure the issuer service account credential."}}}}
```

## The UpdateLineSignInRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateLineSignInRequest":{"required":["clientId"],"type":"object","properties":{"clientId":{"minLength":1,"type":"string","description":"Channel ID of the LINE Login channel customers sign in through (LINE Developers Console). The customer\nweb app starts LINE Login with it. Missing or empty: 400."}},"additionalProperties":false,"description":"Request body to configure sign in with LINE."}}}}
```

## The UpdateMcpSettingsRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateMcpSettingsRequest":{"required":["enabled","write"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether MCP clients may call tools on the tenant."},"write":{"type":"boolean","description":"Whether MCP clients may call write tools on the tenant."}},"additionalProperties":false,"description":"Request body to configure the tenant's MCP switches."}}}}
```

## The UpdateNfcRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateNfcRequest":{"required":["privateKey"],"type":"object","properties":{"privateKey":{"minLength":1,"type":"string","description":"EC P-256 private key, unencrypted, in PEM format (PKCS#8 or SEC1). The public key is derived from it."}},"additionalProperties":false,"description":"Request body to set the NFC key pair."}}}}
```

## The UpdatePassDataOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdatePassDataOptions":{"type":"object","properties":{"updateMetadata":{"type":"boolean","description":"Recomputes the stored pass metadata read by filters and sorts. Slower; unneeded when only displayed content changes. Default `true`, except on a bulk update sent without a body."},"correlationId":{"type":["null","string"],"description":"Groups updates into one operation tracked by `GET /passes/pushUpdate/status` and stopped by `POST /passes/pushUpdate/{correlationId}/cancel`. Random when omitted; a synchronous update then records no progress."}},"additionalProperties":false,"description":"How an update is applied."}}}}
```

## The UpdatePassData\_MultipleUpdatePassDataOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdatePassData_MultipleUpdatePassDataOptions":{"type":"object","properties":{"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifiers of the holder in other systems, keyed by system and field (`shopify.customerId`), matched by `findPass`, `id.{key}` lookups and filters. Avoid keys starting with `id.`."},"additionalData":{"type":["null","object"],"additionalProperties":{},"description":"Free data stored with the pass and available to its templates."},"themeId":{"type":["null","string"],"description":"Theme applied to the pass. Omit or `null` to leave it unchanged (none on create); an empty string removes it. An unknown id is refused with a 400."},"passType":{"type":["null","string"],"description":"Pass template to move the pass to. Omitted or blank keeps the current one; an unknown name is refused with a 400."},"updateMetadata":{"type":"boolean","description":"Replaced by `options.updateMetadata`.","default":false,"deprecated":true},"options":{"description":"How the update is applied. Omitted, the defaults of each option apply.","$ref":"#/components/schemas/MultipleUpdatePassDataOptions"}},"additionalProperties":false,"description":"Changes to apply to an existing pass, with options."},"MultipleUpdatePassDataOptions":{"type":"object","allOf":[{"$ref":"#/components/schemas/UpdatePassDataOptions"}],"properties":{"throughput":{"type":"number","description":"Passes updated per second, greater than 0 and at most 1000. Default 12; best effort.","format":"float"}},"additionalProperties":false,"description":"Options for a bulk update."},"UpdatePassDataOptions":{"type":"object","properties":{"updateMetadata":{"type":"boolean","description":"Recomputes the stored pass metadata read by filters and sorts. Slower; unneeded when only displayed content changes. Default `true`, except on a bulk update sent without a body."},"correlationId":{"type":["null","string"],"description":"Groups updates into one operation tracked by `GET /passes/pushUpdate/status` and stopped by `POST /passes/pushUpdate/{correlationId}/cancel`. Random when omitted; a synchronous update then records no progress."}},"additionalProperties":false,"description":"How an update is applied."}}}}
```

## The UpdatePassData\_SingleUpdatePassDataOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdatePassData_SingleUpdatePassDataOptions":{"type":"object","properties":{"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifiers of the holder in other systems, keyed by system and field (`shopify.customerId`), matched by `findPass`, `id.{key}` lookups and filters. Avoid keys starting with `id.`."},"additionalData":{"type":["null","object"],"additionalProperties":{},"description":"Free data stored with the pass and available to its templates."},"themeId":{"type":["null","string"],"description":"Theme applied to the pass. Omit or `null` to leave it unchanged (none on create); an empty string removes it. An unknown id is refused with a 400."},"passType":{"type":["null","string"],"description":"Pass template to move the pass to. Omitted or blank keeps the current one; an unknown name is refused with a 400."},"updateMetadata":{"type":"boolean","description":"Replaced by `options.updateMetadata`.","default":false,"deprecated":true},"options":{"description":"How the update is applied. Omitted, the defaults of each option apply.","$ref":"#/components/schemas/SingleUpdatePassDataOptions"}},"additionalProperties":false,"description":"Changes to apply to an existing pass, with options."},"SingleUpdatePassDataOptions":{"type":"object","allOf":[{"description":"How an update is applied.","$ref":"#/components/schemas/UpdatePassDataOptions"}],"properties":{"bypassQueue":{"type":"boolean","description":"Applies and pushes the update within the request (200) instead of queuing it (202).","default":false}},"additionalProperties":false,"description":"Options for a single pass update."},"UpdatePassDataOptions":{"type":"object","properties":{"updateMetadata":{"type":"boolean","description":"Recomputes the stored pass metadata read by filters and sorts. Slower; unneeded when only displayed content changes. Default `true`, except on a bulk update sent without a body."},"correlationId":{"type":["null","string"],"description":"Groups updates into one operation tracked by `GET /passes/pushUpdate/status` and stopped by `POST /passes/pushUpdate/{correlationId}/cancel`. Random when omitted; a synchronous update then records no progress."}},"additionalProperties":false,"description":"How an update is applied."}}}}
```

## The UpdatePassData\_TOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdatePassData_TOptions":{"type":"object","allOf":[{"$ref":"#/components/schemas/PassData"}],"properties":{"passType":{"type":["null","string"],"description":"Pass template to move the pass to. Omitted or blank keeps the current one; an unknown name is refused with a 400."},"updateMetadata":{"type":"boolean","description":"Replaced by `options.updateMetadata`.","default":false,"deprecated":true},"options":{"description":"How the update is applied. Omitted, the defaults of each option apply.","$ref":"#/components/schemas/TOptions"}},"additionalProperties":false,"description":"Changes to apply to an existing pass, with options."},"PassData":{"type":"object","properties":{"identifiers":{"type":"object","additionalProperties":{"type":"string"},"description":"Identifiers of the holder in other systems, keyed by system and field (`shopify.customerId`), matched by `findPass`, `id.{key}` lookups and filters. Avoid keys starting with `id.`."},"additionalData":{"type":["null","object"],"additionalProperties":{},"description":"Free data stored with the pass and available to its templates."},"themeId":{"type":["null","string"],"description":"Theme applied to the pass. Omit or `null` to leave it unchanged (none on create); an empty string removes it. An unknown id is refused with a 400."}},"additionalProperties":false,"description":"Fields a caller can set on a pass, at creation or on update."},"TOptions":{"type":"object","properties":{"updateMetadata":{"type":"boolean","description":"Recomputes the stored pass metadata read by filters and sorts. Slower; unneeded when only displayed content changes. Default `true`, except on a bulk update sent without a body."},"correlationId":{"type":["null","string"],"description":"Groups updates into one operation tracked by `GET /passes/pushUpdate/status` and stopped by `POST /passes/pushUpdate/{correlationId}/cancel`. Random when omitted; a synchronous update then records no progress."}},"additionalProperties":false}}}}
```

## The UpdateRoleRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateRoleRequest":{"required":["permissions"],"type":"object","properties":{"permissions":{"type":"array","items":{"type":"string"},"description":"Replaces the current permissions. At least one."}},"additionalProperties":false,"description":"Request body to update a role's permissions."}}}}
```

## The UpdateRotatingBarcodeRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateRotatingBarcodeRequest":{"required":["digits","periodSeconds"],"type":"object","properties":{"secret":{"type":["null","string"],"description":"Shared secret, any string. Required the first time; omit to keep the current one. After a change, passes keep showing codes from the previous secret until they are updated."},"periodSeconds":{"maximum":3600,"minimum":1,"type":"integer","description":"Seconds a password stays valid, 1 to 3600.","format":"int32"},"digits":{"maximum":10,"minimum":6,"type":"integer","description":"Digits of a password, 6 to 10.","format":"int32"}},"additionalProperties":false,"description":"Request body to configure rotating barcodes."}}}}
```

## The UpdateSmartTapRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateSmartTapRequest":{"required":["collectorId","keyVersion"],"type":"object","properties":{"collectorId":{"minLength":1,"type":"string","description":"Collector ID of the Smart Tap merchant, from the Google Pay & Wallet Console."},"keyVersion":{"maximum":2147483647,"minimum":1,"type":"integer","description":"Version under which the public key is registered with Google. Increase it when the key is replaced.","format":"int32"},"privateKey":{"type":["null","string"],"description":"EC P-256 private key, unencrypted, in PEM format (PKCS#8 or SEC1). Required the first time; omit to keep the current key. The public key is derived from it."}},"additionalProperties":false,"description":"Request body to configure Smart Tap."}}}}
```

## The UpdateStoreRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateStoreRequest":{"required":["latitude","longitude"],"type":"object","properties":{"displayName":{"maxLength":200,"type":["null","string"],"description":"Display name, up to 200 characters. Omitted clears it."},"address":{"type":["null","string"],"description":"Postal address as free text. Omitted clears it."},"longitude":{"maximum":180,"minimum":-180,"type":"number","description":"Longitude in decimal degrees, -180 to 180.","format":"double"},"latitude":{"maximum":90,"minimum":-90,"type":"number","description":"Latitude in decimal degrees, -90 to 90.","format":"double"},"altitude":{"type":["null","integer"],"description":"Altitude in meters. Omitted clears it.","format":"int32"},"availableLanguages":{"type":"array","items":{"type":"string"},"description":"ISO 639 codes of the languages spoken. Omitted means none."},"advisors":{"type":"array","items":{"description":"Advisor assigned to a store.","$ref":"#/components/schemas/StoreAdvisorRequest"},"description":"Advisors working in the store, replacing the current ones. Omitted means none."},"additionalProperties":{"type":"object","additionalProperties":{},"description":"Free-form values read by integrations, e.g. `y2.connectionName`. Omitted means none."}},"additionalProperties":false,"description":"Request body to update a store. Replaces every field except the identifier."},"StoreAdvisorRequest":{"required":["advisorId","displayName"],"type":"object","properties":{"advisorId":{"minLength":1,"type":"string","description":"Advisor (sales associate) identifier in the retail system."},"displayName":{"maxLength":200,"minLength":1,"type":"string","description":"Advisor display name, up to 200 characters."}},"additionalProperties":false,"description":"Advisor assigned to a store."}}}}
```

## The UpdateTelemetrySettings object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateTelemetrySettings":{"type":"object","properties":{"minimumSeverity":{"description":"Lowest severity the device sends; above everything it emits, it is silenced.","$ref":"#/components/schemas/DeviceTelemetrySeverity"},"flushIntervalSeconds":{"type":"integer","description":"Seconds the device buffers before uploading, 5 to 3600 (otherwise 400).","format":"int32"}},"additionalProperties":false,"description":"Operator-editable telemetry settings. The maximum batch size cannot be changed."},"DeviceTelemetrySeverity":{"enum":["verbose","information","warning","error","critical"],"type":"string","description":"Severity of a telemetry item, in the vocabulary the client logger uses. Ordered: each value is more\nsevere than the one before, which is what a device's minimum severity setting compares against."}}}}
```

## The UpdateTenantUserRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpdateTenantUserRequest":{"required":["role"],"type":"object","properties":{"name":{"maxLength":200,"type":["null","string"],"description":"New display name, up to 200 characters. Null keeps the current one; the name changes on every tenant."},"role":{"minLength":1,"type":"string","description":"Role to hold on this tenant, replacing the current one: `administrator` or a tenant role, case-insensitive. Else 400."}},"additionalProperties":false,"description":"Request body to update a user."}}}}
```

## The UpsertBenefitResponse object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpsertBenefitResponse":{"type":"object","properties":{"benefitId":{"type":"string","description":"Id of the benefit written (the existing one when a POST upserted on its origin)."}},"additionalProperties":false,"description":"Written benefit."}}}}
```

## The UpsertDeviceProfile object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UpsertDeviceProfile":{"type":"object","properties":{"type":{"description":"Device type. Changing it on update returns 400.","$ref":"#/components/schemas/DeviceType"},"name":{"type":"string","description":"Name shown to staff: required, at most 200 characters, trimmed."},"description":{"type":["null","string"],"description":"Free text, at most 500 characters; blank is stored as none."},"emoji":{"type":["null","string"],"description":"Icon, at most 16 characters; blank is stored as none."},"color":{"type":["null","string"],"description":"Hex `#rrggbb` (other formats return 400); blank is stored as none."},"validFrom":{"type":["null","string"],"description":"First usable instant, stored in UTC; null for no start.","format":"date-time"},"validUntil":{"type":["null","string"],"description":"Instant it stops being usable, UTC; must be after ValidFrom (error on `validFrom`); null for no end.","format":"date-time"},"schedule":{"type":["null","array"],"items":{"description":"Opening window: opens at each occurrence of Cron and stays open for DurationMinutes.","$ref":"#/components/schemas/DeviceProfileWindow"},"description":"Opening windows, at most 20; null or empty means always open within the validity dates."},"settings":{"oneOf":[{"$ref":"#/components/schemas/PassScannerProfileSettings"}],"description":"Type-specific settings; the type must match Type."},"id":{"type":["null","string"],"description":"Required on create, ignored on update (the route names the profile). Letters, digits, `_` and `-`, starting with a letter or digit, at most 128 characters."}},"additionalProperties":false,"description":"Payload to create or update a profile."},"DeviceType":{"enum":["passScanner"],"type":"string","description":"Device kind: decides its settings, profiles and API key permissions."},"DeviceProfileWindow":{"type":"object","properties":{"cron":{"type":"string","description":"Cron expression with seconds and no year, as in automations (`0 0 7 * * *` is daily at 07:00). Wall-clock time in the device's timezone; unparsable returns 400."},"durationMinutes":{"type":"integer","description":"Minutes the window stays open, 1 to 1440 (otherwise 400).","format":"int32"}},"additionalProperties":false,"description":"Opening window: opens at each occurrence of Cron and stays open for DurationMinutes."},"PassScannerProfileSettings":{"required":["$type"],"type":"object","allOf":[{"description":"Type-specific settings. The JSON carries a `$type` discriminator (`passScanner`) that must match the profile's `type`.","$ref":"#/components/schemas/DeviceProfileSettingsBase"}],"properties":{"scanFilter":{"description":"Benefits the device accepts; null or empty accepts all.","$ref":"#/components/schemas/ScanFilter"},"allowStamps":{"type":"boolean","description":"Whether staff can add stamps while the profile runs. Off, scanning a stamp card only shows it."},"redeemOnScan":{"description":"Redemption behaviour on scan; null applies defaults (5-second repeat-scan block).","$ref":"#/components/schemas/RedeemOnScanSettings"},"$type":{"enum":["passScanner"],"type":"string","description":"Discriminator. Always `passScanner` for this shape."}},"additionalProperties":false,"description":"What a Pass Scanner scanner does while running the profile."},"DeviceProfileSettingsBase":{"type":"object","description":"Type-specific settings. The JSON carries a `$type` discriminator (`passScanner`) that must match the profile's `type`."},"ScanFilter":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"},"description":"Benefit template tags to accept. At most 50, each non-blank, at most 100 characters; trimmed and deduplicated on save."},"benefitTemplateIds":{"type":"array","items":{"type":"string"},"description":"Benefit templates to accept. At most 200, none blank; trimmed and deduplicated on save. An unknown id is dropped with a `benefitTemplateMissing` warning, not refused."}},"additionalProperties":false,"description":"A benefit is accepted if it carries one of the tags or comes from one of the benefit templates. Both empty accepts every benefit."},"RedeemOnScanSettings":{"type":"object","properties":{"repeatScanBlockSeconds":{"type":"integer","description":"Seconds the device ignores a repeat scan of the same pass, 0 to 3600; 0 disables the block.","format":"int32"}},"additionalProperties":false,"description":"Redemption behaviour on scan."}}}}
```

## The UserInformation object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"UserInformation":{"type":"object","properties":{"userName":{"type":["null","string"],"description":"User Y2 authenticates the delivery with; empty when none."}},"additionalProperties":false,"description":"Credentials Y2 sends with each notification."}}}}
```

## The WatchRequest object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WatchRequest":{"type":"object","properties":{"sessionId":{"type":"string","description":"Session returned by `connect`."}},"additionalProperties":false,"description":"Request body to keep a watcher session alive."}}}}
```

## The WebClaim object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WebClaim":{"type":"object","properties":{"type":{"type":"string","description":"Claim name, e.g. `email` or a customer directory field."},"value":{"type":"string","description":"Claim value, as text."},"valueType":{"type":["null","string"],"description":"Claim value-type URI (e.g. `http://www.w3.org/2001/XMLSchema#integer`); null for string."}},"additionalProperties":false,"description":"Claim to put in a generated token."}}}}
```

## The WebHook object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WebHook":{"required":["endpoint","events"],"type":"object","properties":{"description":{"type":["null","string"],"description":"Free text; unused by the platform. Omitted on update, it is cleared."},"events":{"minItems":1,"type":"array","items":{"type":"string"},"description":"Event names that trigger a delivery. An entry matches an exact name, or every name starting with the text before a trailing `*` (`Pass:*`; `*` alone matches all). A `*` elsewhere is literal."},"endpoint":{"type":"string","description":"URL receiving each matching event as a JSON `POST` with headers `X-NEOSTORE-TENANTID`, `X-NEOSTORE-EVENTNAME` and `X-NEOSTORE-SIGNATURE`.","format":"uri"},"enabled":{"type":"boolean","description":"Whether events are delivered; a disabled subscription is kept but receives nothing. Default `false`, also when omitted on update.","default":false}},"additionalProperties":false,"description":"The editable part of a webhook subscription."}}}}
```

## The WebHookWithId object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WebHookWithId":{"required":["id","signatureSecret"],"type":"object","allOf":[{"description":"The editable part of a webhook subscription.","$ref":"#/components/schemas/WebHook"}],"properties":{"id":{"minLength":1,"type":"string","description":"Id assigned on creation; immutable; the `id` of the other webhook routes."},"signatureSecret":{"minLength":1,"type":"string","description":"Secret generated on creation, used to sign deliveries; never changes. Keep it server-side."}},"additionalProperties":false,"description":"A stored webhook subscription, with generated values."},"WebHook":{"required":["endpoint","events"],"type":"object","properties":{"description":{"type":["null","string"],"description":"Free text; unused by the platform. Omitted on update, it is cleared."},"events":{"minItems":1,"type":"array","items":{"type":"string"},"description":"Event names that trigger a delivery. An entry matches an exact name, or every name starting with the text before a trailing `*` (`Pass:*`; `*` alone matches all). A `*` elsewhere is literal."},"endpoint":{"type":"string","description":"URL receiving each matching event as a JSON `POST` with headers `X-NEOSTORE-TENANTID`, `X-NEOSTORE-EVENTNAME` and `X-NEOSTORE-SIGNATURE`.","format":"uri"},"enabled":{"type":"boolean","description":"Whether events are delivered; a disabled subscription is kept but receives nothing. Default `false`, also when omitted on update.","default":false}},"additionalProperties":false,"description":"The editable part of a webhook subscription."}}}}
```

## The WebRedirectEntity object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WebRedirectEntity":{"required":["id","layout","uri"],"type":"object","properties":{"id":{"type":"string","description":"Case-sensitive code generated on create: the last segment of `uri` and the key of the other endpoints."},"layout":{"type":"string","description":"Path of the tenant web app page the visitor lands on."},"creationDate":{"oneOf":[{"type":"string","format":"date-time"},{"type":"integer","format":"int64"}],"description":"Creation date (UTC); unchanged by updates. Accepts ISO 8601 date-time string or Unix epoch seconds in request inputs. Responses are serialized as ISO 8601 date-time strings."},"parameters":{"type":"object","additionalProperties":{"type":"string"},"description":"Query parameters added to the layout URL on every visit."},"options":{"description":"Label and expiry date.","$ref":"#/components/schemas/WebRedirectOptions"},"uri":{"type":"string","description":"URL to share. A visit redirects (302) to the layout and emits a redirected event; an unknown id answers 404."}},"additionalProperties":false,"description":"A short URL and the page it redirects to."},"WebRedirectOptions":{"type":"object","properties":{"expirationDate":{"type":["null","string"],"description":"Informational expiry date; `null` for none.","format":"date-time"},"label":{"type":["null","string"],"description":"Admin-only label, never shown to the visitor. Omitted on update, it is cleared."},"length":{"type":"integer","description":"Length of the generated id. Default `6`.","format":"int32"}},"additionalProperties":false,"description":"Short URL settings."}}}}
```

## The WebRedirectOptions object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WebRedirectOptions":{"type":"object","properties":{"expirationDate":{"type":["null","string"],"description":"Informational expiry date; `null` for none.","format":"date-time"},"label":{"type":["null","string"],"description":"Admin-only label, never shown to the visitor. Omitted on update, it is cleared."},"length":{"type":"integer","description":"Length of the generated id. Default `6`.","format":"int32"}},"additionalProperties":false,"description":"Short URL settings."}}}}
```

## The WebhookRequest\_OrderConfirmedData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WebhookRequest_OrderConfirmedData":{"type":"object","properties":{"data":{"description":"The payload, under `data`. Required; 400 when missing.","$ref":"#/components/schemas/OrderConfirmedData"}},"additionalProperties":false,"description":"Envelope of a Yurplan webhook call."},"OrderConfirmedData":{"type":"object","properties":{"identifier":{"type":"string","description":"Yurplan identifier of the order."},"tickets":{"type":"array","items":{"description":"A Yurplan ticket.","$ref":"#/components/schemas/TicketData"},"description":"Tickets of the order: one pass is created per ticket, an empty list creates none."}},"additionalProperties":false,"description":"Payload of an order confirmation."},"TicketData":{"type":"object","properties":{"token":{"type":"string","description":"Yurplan token of the ticket. With the event id it forms the pass identifier\n            `yurplan.ticketId`; it is exposed to the pass template as `barCode`."},"identifier":{"type":"string","description":"Yurplan identifier of the ticket. Required; 400 when missing."}},"additionalProperties":false,"description":"A Yurplan ticket."}}}}
```

## The WebhookRequest\_TicketCanceledData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WebhookRequest_TicketCanceledData":{"type":"object","properties":{"data":{"description":"The payload, under `data`. Required; 400 when missing.","$ref":"#/components/schemas/TicketCanceledData"}},"additionalProperties":false,"description":"Envelope of a Yurplan webhook call."},"TicketCanceledData":{"type":"object","properties":{"ticket":{"description":"The cancelled ticket.","$ref":"#/components/schemas/TicketData"}},"additionalProperties":false,"description":"Payload of a ticket cancellation."},"TicketData":{"type":"object","properties":{"token":{"type":"string","description":"Yurplan token of the ticket. With the event id it forms the pass identifier\n            `yurplan.ticketId`; it is exposed to the pass template as `barCode`."},"identifier":{"type":"string","description":"Yurplan identifier of the ticket. Required; 400 when missing."}},"additionalProperties":false,"description":"A Yurplan ticket."}}}}
```

## The WebhookRequest\_TicketCheckedData object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WebhookRequest_TicketCheckedData":{"type":"object","properties":{"data":{"description":"The payload, under `data`. Required; 400 when missing.","$ref":"#/components/schemas/TicketCheckedData"}},"additionalProperties":false,"description":"Envelope of a Yurplan webhook call."},"TicketCheckedData":{"type":"object","properties":{"ticket":{"description":"The checked-in ticket.","$ref":"#/components/schemas/TicketData"}},"additionalProperties":false,"description":"Payload of a ticket check-in."},"TicketData":{"type":"object","properties":{"token":{"type":"string","description":"Yurplan token of the ticket. With the event id it forms the pass identifier\n            `yurplan.ticketId`; it is exposed to the pass template as `barCode`."},"identifier":{"type":"string","description":"Yurplan identifier of the ticket. Required; 400 when missing."}},"additionalProperties":false,"description":"A Yurplan ticket."}}}}
```

## The Weekday object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"Weekday":{"enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],"type":"string","description":"Day of the week."}}}}
```

## The WeekdaySide object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"WeekdaySide":{"enum":["onOrBefore","onOrAfter"],"type":"string","description":"Which way a yearly run moves to reach its weekday."}}}}
```

## The YearlyAlignment object

```json
{"openapi":"3.1.1","info":{"title":"The Wallet Crew internal API","version":"v1"},"components":{"schemas":{"YearlyAlignment":{"enum":["weekday","monthStart","monthEnd"],"type":"string","description":"Where a yearly run falls relative to the day and month of the reference field."}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.thewalletcrew.io/api-reference/models.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
