@golemio/parkings
Version:
Golemio Parkings Module
38 lines • 1.8 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.iptOictPaymentsSchema = void 0;
exports.iptOictPaymentsSchema = {
type: "array",
items: {
type: "object",
properties: {
parking_id: { type: "string" },
payment: {
type: "object",
properties: {
web_url: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
android_url: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
ios_url: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
discovery_url: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
},
required: ["web_url", "android_url", "ios_url", "discovery_url"],
additionalProperties: false,
},
reservation: {
type: "object",
properties: {
reservation_type: { type: "string" },
web_url: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
android_url: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
ios_url: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
discovery_url: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
},
required: ["reservation_type", "web_url", "android_url", "ios_url", "discovery_url"],
additionalProperties: false,
},
},
required: ["parking_id", "payment", "reservation"],
},
additionalProperties: false,
};
//# sourceMappingURL=IptOictPaymentsSchema.js.map