import { ObjectSchema, TypeCode } from "pip-services3-commons-nodex"; export class FireMapUpdateV1Schema extends ObjectSchema { public constructor() { super(); this.withOptionalProperty('type', TypeCode.String); this.withRequiredProperty('time', TypeCode.String); this.withRequiredProperty('drone_id', TypeCode.String); this.withRequiredProperty('long', TypeCode.Float); this.withRequiredProperty('lat', TypeCode.Float); this.withOptionalProperty('people', TypeCode.Integer); } }