From e6e90a49609e503a1f61ebdc5ca38ca78bb25051 Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Wed, 2 Oct 2024 01:50:34 +0200 Subject: [PATCH] Changed where new key venueEntranceGate is placed --- src/schemas/Semantics.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/schemas/Semantics.ts b/src/schemas/Semantics.ts index 9adfa76..b60ca52 100644 --- a/src/schemas/Semantics.ts +++ b/src/schemas/Semantics.ts @@ -49,12 +49,6 @@ declare namespace SemanticTagType { seatIdentifier?: string; seatType?: string; seatDescription?: string; - - /** - * For newly-introduced event tickets - * in iOS 18 - */ - venueEntranceGate?: string; } interface WifiNetwork { @@ -95,7 +89,6 @@ const seat = Joi.object().keys({ seatIdentifier: Joi.string(), seatType: Joi.string(), seatDescription: Joi.string(), - venueEntranceGate: Joi.string(), }); const location = Joi.object().keys({ @@ -230,6 +223,12 @@ export interface Semantics { */ venueRegionName?: string; + /** + * For newly-introduced event tickets + * in iOS 18 + */ + venueEntranceGate?: string; + wifiAccess?: SemanticTagType.WifiNetwork[]; } @@ -347,4 +346,6 @@ export const Semantics = Joi.object().keys({ venueRoom: Joi.string(), wifiAccess: Joi.array().items(WifiNetwork), + + venueEntranceGate: Joi.string(), });