feat(extract): capture seat, class, platform, price + event venue contact

Request and map root-level seat/class/platform and a total price/currency into reservation metadata (shown on the card; price reuses the existing label). Read both the root and reservationFor and tolerate common field-name aliases (priceAmount, priceCurrencyISO4217Code, fareClass, ...) since models name these inconsistently. Also capture event/attraction venue telephone + url onto the auto-created place, matching lodging/restaurant.
This commit is contained in:
Maurice
2026-06-24 23:04:24 +02:00
committed by Maurice
parent f049229e25
commit 684ac3b442
6 changed files with 51 additions and 5 deletions
@@ -71,6 +71,11 @@ export const KI_RESERVATION_JSON_SCHEMA = {
reservationFor: { type: 'object', additionalProperties: true },
pickupLocation: { type: 'object', additionalProperties: true },
dropoffLocation: { type: 'object', additionalProperties: true },
seat: { type: 'string' },
class: { type: 'string' },
platform: { type: 'string' },
price: { type: ['number', 'string'] },
priceCurrency: { type: 'string' },
},
required: ['@type'],
},