UNPKG

@golemio/parkings

Version:
47 lines 1.71 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StaticParkingLotsGeoJsonSchema = void 0; const SharedSchemaProvider_1 = require("@golemio/core/dist/schema-definitions/SharedSchemaProvider"); exports.StaticParkingLotsGeoJsonSchema = { name: "StaticParkingLotsGeo", jsonSchema: { type: "object", properties: { type: { type: "string", enum: ["FeatureCollection"], }, features: { type: "array", items: { type: "object", properties: { type: { type: "string", enum: ["Feature"], }, properties: { type: "object", properties: { id: { type: "string", }, }, required: ["id"], }, geometry: { $ref: "#/definitions/geometry", }, }, required: ["geometry", "properties", "type"], }, }, }, required: ["features", "type"], definitions: { // @ts-expect-error since it is referenced definition from other file ts doesnt like it. geometry: SharedSchemaProvider_1.SharedSchemaProvider.Geometry, }, }, }; //# sourceMappingURL=StaticParkingLotsGeoJsonSchema.js.map