UNPKG

@ozmap/ozn-sdk

Version:

OZN SDK is a powerful tool for developers to build their own applications on top of OZN using TMForum pattern.

22 lines (21 loc) 765 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResourceSpecificationSchema = exports.CharacteristicSchema = exports.externalSystemsSchema = void 0; const zod_1 = require("zod"); exports.externalSystemsSchema = zod_1.z.object({ externalId: zod_1.z.string().or(zod_1.z.number()), externalSystem: zod_1.z.string(), }); exports.CharacteristicSchema = zod_1.z.object({ name: zod_1.z.string(), valueType: zod_1.z.string(), value: zod_1.z.string(), }); exports.ResourceSpecificationSchema = zod_1.z.object({ id: zod_1.z.string(), cellName: zod_1.z.string().or(zod_1.z.null()), type: zod_1.z.string(), name: zod_1.z.string(), feedingHeadend: zod_1.z.string(), project: zod_1.z.string(), });