diff --git a/maas-schemas/package.json b/maas-schemas/package.json index 9ec8e7c72..9c194ceae 100644 --- a/maas-schemas/package.json +++ b/maas-schemas/package.json @@ -1,6 +1,6 @@ { "name": "maas-schemas", - "version": "23.0.0", + "version": "24.0.0", "description": "Schemas for MaaS infrastructure", "main": "index.js", "engine": { diff --git a/maas-schemas/schemas/tsp/booking-options-list/request.json b/maas-schemas/schemas/tsp/booking-options-list/request.json index ed2289dbb..4e66265b4 100644 --- a/maas-schemas/schemas/tsp/booking-options-list/request.json +++ b/maas-schemas/schemas/tsp/booking-options-list/request.json @@ -124,7 +124,7 @@ "type": ["string", "number", "boolean"] } }, - "required": ["startTime", "from"], + "required": ["startTime"], "additionalProperties": true, "examples": [ { diff --git a/maas-schemas/src/io-ts/_types/tsp/booking-options-list/request.ts b/maas-schemas/src/io-ts/_types/tsp/booking-options-list/request.ts index 2ecb67354..dd17000b9 100644 --- a/maas-schemas/src/io-ts/_types/tsp/booking-options-list/request.ts +++ b/maas-schemas/src/io-ts/_types/tsp/booking-options-list/request.ts @@ -79,7 +79,6 @@ export type Request = t.Branded< > & Record) & { startTime: Defined; - from: Defined; }, RequestBrand >; @@ -135,7 +134,6 @@ export type RequestC = t.BrandC< >, t.TypeC<{ startTime: typeof Defined; - from: typeof Defined; }>, ] >, @@ -188,7 +186,6 @@ export const Request: RequestC = t.brand( ]), t.type({ startTime: Defined, - from: Defined, }), ]), ( @@ -233,7 +230,6 @@ export const Request: RequestC = t.brand( > & Record) & { startTime: Defined; - from: Defined; }, RequestBrand > => true,