@golemio/pid
Version:
Golemio PID Module
71 lines • 2.45 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.JISInfotextDtoSchema = void 0;
exports.JISInfotextDtoSchema = {
$schema: "http://json-schema.org/draft-04/schema#",
title: "JISInfotextDto",
type: "array",
items: {
type: "object",
properties: {
id: { type: "string" },
severity_level: { type: "string" },
display_type: { type: "string" },
active_period_start: { type: "string", format: "date-time" },
active_period_end: {
oneOf: [
{ type: "string", format: "date-time" },
{ type: "null", nullable: true },
],
},
description_text: {
type: "object",
properties: {
cs: { type: "string" },
en: {
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
},
},
required: ["cs", "en"],
additionalProperties: false,
},
repeat_enabled: {
oneOf: [{ type: "boolean" }, { type: "null", nullable: true }],
nullable: true,
},
repeat_time_start: {
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
nullable: true,
},
repeat_time_end: {
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
nullable: true,
},
created_timestamp: { type: "string", format: "date-time" },
updated_timestamp: { type: "string", format: "date-time" },
stops: {
type: "array",
items: {
type: "object",
properties: {
stop_id: { type: "string" },
},
required: ["stop_id"],
additionalProperties: false,
},
},
},
required: [
"id",
"severity_level",
"display_type",
"active_period_start",
"description_text",
"created_timestamp",
"updated_timestamp",
"stops",
],
additionalProperties: false,
},
};
//# sourceMappingURL=JISInfotextDtoSchema.js.map