@opengeoweb/sigmet-airmet 7.0.0 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -4,9 +4,8 @@ import { FormControlLabel, Radio, Grid, Typography, Box as Box$2, Button, Checkb
4
4
  import { useFormContext } from 'react-hook-form';
5
5
  import { useDraftFormHelpers, ReactHookFormRadioGroup, ReactHookFormSelect, ReactHookFormNumberField, isInteger, isValidMax, isValidMin, isEmpty, ReactHookFormDateTime, isValidDate, isBefore, isBetween, hasMaxFeaturePoints, hasMulitpleIntersections, ReactHookFormHiddenInput, isMaximumOneDrawing, hasIntersectionWithFIR, isValidGeoJsonCoordinates, isXHoursBefore, isAfter, isXHoursAfter, ReactHookFormTextField, isLatitude, isNonOrBothCoordinates, isLongitude, ReactHookFormFormControl, isGeometryDirty, ReactHookFormProvider, defaultFormOptions } from '@opengeoweb/form-fields';
6
6
  import { useApiContext, useApi, createApiInstance, createNonAuthApiInstance, createFakeApiInstance, ApiProvider } from '@opengeoweb/api';
7
- import { defaultIntersectionStyleProperties, defaultPoint, defaultBox, defaultPolygon, defaultDelete, LayerManagerMapButtonConnect, LegendMapButtonConnect, MultiDimensionSelectMapButtonsConnect, MapViewConnect, TimeSliderConnect, LegendConnect, LayerManagerConnect, useMapDrawTool } from '@opengeoweb/core';
8
- import { defaultStyleProperties, DRAWMODE, addFeatureProperties, MapControls, MapViewLayer } from '@opengeoweb/webmap-react';
9
- import { CustomTooltip, dateUtils, ToggleMenu, useIsMounted, StatusTag, AlertBanner, ConfirmationServiceProvider, usePreventBrowserClose, useConfirmationDialog, isAxiosError, getAxiosErrorMessage, usePoller, ErrorBoundary } from '@opengeoweb/shared';
7
+ import { defaultGeoJSONStyleProperties, defaultIntersectionStyleProperties, defaultPoint, defaultBox, defaultPolygon, DRAWMODE, addFeatureProperties, defaultDelete, getIcon, MapControls, MapViewLayer, useMapDrawTool } from '@opengeoweb/webmap-react';
8
+ import { dateUtils, ToggleMenu, CustomTooltip, useIsMounted, StatusTag, AlertBanner, ConfirmationServiceProvider, usePreventBrowserClose, useConfirmationDialog, isAxiosError, getAxiosErrorMessage, usePoller, ErrorBoundary } from '@opengeoweb/shared';
10
9
  import { polygonToLineString, booleanClockwise, rewind } from '@turf/turf';
11
10
  import { DrawFIRLand, ChevronLeft, Edit, Success, Clock } from '@opengeoweb/theme';
12
11
  import { LayerType, webmapUtils } from '@opengeoweb/webmap';
@@ -14,6 +13,7 @@ import moment from 'moment';
14
13
  import { debounce } from 'lodash';
15
14
  import 'react-dom';
16
15
  import { mapSelectors, syncGroupsActions, mapStoreActions, defaultLayers, syncConstants } from '@opengeoweb/store';
16
+ import { LayerManagerMapButtonConnect, LegendMapButtonConnect, MultiDimensionSelectMapButtonsConnect, MapViewConnect, TimeSliderConnect, LegendConnect, LayerManagerConnect } from '@opengeoweb/core';
17
17
  import { jsx } from 'react/jsx-runtime';
18
18
 
19
19
  function _iterableToArrayLimit(r, l) {
@@ -502,6 +502,7 @@ var ProductStatusDescription;
502
502
  ProductStatusDescription["PUBLISHED"] = "Published";
503
503
  ProductStatusDescription["CANCELLED"] = "Cancelled";
504
504
  ProductStatusDescription["EXPIRED"] = "Expired";
505
+ ProductStatusDescription["DISCARDED"] = "Discarded";
505
506
  })(ProductStatusDescription || (ProductStatusDescription = {}));
506
507
  var CloudLevelUnits;
507
508
  (function (CloudLevelUnits) {
@@ -774,65 +775,6 @@ var Change = function Change(_ref) {
774
775
  }))));
775
776
  };
776
777
 
777
- /* *
778
- * Licensed under the Apache License, Version 2.0 (the "License");
779
- * you may not use this file except in compliance with the License.
780
- * You may obtain a copy of the License at
781
- *
782
- * http://www.apache.org/licenses/LICENSE-2.0
783
- *
784
- * Unless required by applicable law or agreed to in writing, software
785
- * distributed under the License is distributed on an "AS IS" BASIS,
786
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
787
- * See the License for the specific language governing permissions and
788
- * limitations under the License.
789
- *
790
- * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
791
- * Copyright 2023 - Finnish Meteorological Institute (FMI)
792
- * */
793
- var styles$1 = {
794
- radioInput: {
795
- padding: 1,
796
- borderRadius: '5px',
797
- backgroundColor: 'geowebColors.buttons.tool.default.fill',
798
- color: 'geowebColors.buttons.tool.default.color',
799
- '&.Mui-checked': {
800
- backgroundColor: 'geowebColors.buttons.primary.default.fill',
801
- color: 'geowebColors.buttons.primary.default.color'
802
- }
803
- }
804
- };
805
- var DrawTools = function DrawTools(_ref) {
806
- var activeTool = _ref.activeTool,
807
- tools = _ref.tools,
808
- onChangeTool = _ref.onChangeTool;
809
- return /*#__PURE__*/React__default.createElement(Grid, {
810
- item: true,
811
- xs: 12,
812
- container: true,
813
- justifyContent: "space-between",
814
- "data-testid": "drawtools",
815
- spacing: 1
816
- }, tools.map(function (tool) {
817
- return /*#__PURE__*/React__default.createElement(Grid, {
818
- key: tool.id,
819
- item: true
820
- }, /*#__PURE__*/React__default.createElement(CustomTooltip, {
821
- title: tool.title
822
- }, /*#__PURE__*/React__default.createElement(Radio, {
823
- icon: tool.icon,
824
- value: true,
825
- checkedIcon: tool.icon,
826
- checked: tool.isSelectable && activeTool === tool.id,
827
- onChange: function onChange() {
828
- onChangeTool(tool);
829
- },
830
- "data-testid": tool.id,
831
- sx: styles$1.radioInput
832
- })));
833
- }));
834
- };
835
-
836
778
  function n$5(n){for(var r=arguments.length,t=Array(r>1?r-1:0),e=1;e<r;e++)t[e-1]=arguments[e];if("production"!==process.env.NODE_ENV){var i=Y[n],o=i?"function"==typeof i?i.apply(null,t):i:"unknown error nr: "+n;throw Error("[Immer] "+o)}throw Error("[Immer] minified error nr: "+n+(t.length?" "+t.map((function(n){return "'"+n+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r$5(n){return !!n&&!!n[Q]}function t$5(n){var r;return !!n&&(function(n){if(!n||"object"!=typeof n)return !1;var r=Object.getPrototypeOf(n);if(null===r)return !0;var t=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return t===Object||"function"==typeof t&&Function.toString.call(t)===Z}(n)||Array.isArray(n)||!!n[L]||!!(null===(r=n.constructor)||void 0===r?void 0:r[L])||s(n)||v$4(n))}function i(n,r,t){void 0===t&&(t=!1),0===o(n)?(t?Object.keys:nn)(n).forEach((function(e){t&&"symbol"==typeof e||r(e,n[e],n);})):n.forEach((function(t,e){return r(e,t,n)}));}function o(n){var r=n[Q];return r?r.i>3?r.i-4:r.i:Array.isArray(n)?1:s(n)?2:v$4(n)?3:0}function u$3(n,r){return 2===o(n)?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function a(n,r){return 2===o(n)?n.get(r):n[r]}function f$3(n,r,t){var e=o(n);2===e?n.set(r,t):3===e?n.add(t):n[r]=t;}function c$3(n,r){return n===r?0!==n||1/n==1/r:n!=n&&r!=r}function s(n){return X&&n instanceof Map}function v$4(n){return q$5&&n instanceof Set}function p$5(n){return n.o||n.t}function l$4(n){if(Array.isArray(n))return Array.prototype.slice.call(n);var r=rn(n);delete r[Q];for(var t=nn(r),e=0;e<t.length;e++){var i=t[e],o=r[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(r[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:n[i]});}return Object.create(Object.getPrototypeOf(n),r)}function d$3(n,e){return void 0===e&&(e=!1),y$2(n)||r$5(n)||!t$5(n)||(o(n)>1&&(n.set=n.add=n.clear=n.delete=h$5),Object.freeze(n),e&&i(n,(function(n,r){return d$3(r,!0)}),!0)),n}function h$5(){n$5(2);}function y$2(n){return null==n||"object"!=typeof n||Object.isFrozen(n)}function b$3(r){var t=tn[r];return t||n$5(18,r),t}function _(){return "production"===process.env.NODE_ENV||U||n$5(0),U}function j(n,r){r&&(b$3("Patches"),n.u=[],n.s=[],n.v=r);}function g$3(n){O(n),n.p.forEach(S),n.p=null;}function O(n){n===U&&(U=n.l);}function w$3(n){return U={p:[],l:U,h:n,m:!0,_:0}}function S(n){var r=n[Q];0===r.i||1===r.i?r.j():r.g=!0;}function P(r,e){e._=e.p.length;var i=e.p[0],o=void 0!==r&&r!==i;return e.h.O||b$3("ES5").S(e,r,o),o?(i[Q].P&&(g$3(e),n$5(4)),t$5(r)&&(r=M(e,r),e.l||x$2(e,r)),e.u&&b$3("Patches").M(i[Q].t,r,e.u,e.s)):r=M(e,i,[]),g$3(e),e.u&&e.v(e.u,e.s),r!==H?r:void 0}function M(n,r,t){if(y$2(r))return r;var e=r[Q];if(!e)return i(r,(function(i,o){return A$2(n,e,r,i,o,t)}),!0),r;if(e.A!==n)return r;if(!e.P)return x$2(n,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var o=4===e.i||5===e.i?e.o=l$4(e.k):e.o,u=o,a=!1;3===e.i&&(u=new Set(o),o.clear(),a=!0),i(u,(function(r,i){return A$2(n,e,o,r,i,t,a)})),x$2(n,o,!1),t&&n.u&&b$3("Patches").N(e,t,n.u,n.s);}return e.o}function A$2(e,i,o,a,c,s,v){if("production"!==process.env.NODE_ENV&&c===o&&n$5(5),r$5(c)){var p=M(e,c,s&&i&&3!==i.i&&!u$3(i.R,a)?s.concat(a):void 0);if(f$3(o,a,p),!r$5(p))return;e.m=!1;}else v&&o.add(c);if(t$5(c)&&!y$2(c)){if(!e.h.D&&e._<1)return;M(e,c),i&&i.A.l||x$2(e,c);}}function x$2(n,r,t){void 0===t&&(t=!1),!n.l&&n.h.D&&n.m&&d$3(r,t);}function z$2(n,r){var t=n[Q];return (t?p$5(t):n)[r]}function I(n,r){if(r in n)for(var t=Object.getPrototypeOf(n);t;){var e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t);}}function k$4(n){n.P||(n.P=!0,n.l&&k$4(n.l));}function E(n){n.o||(n.o=l$4(n.t));}function N(n,r,t){var e=s(r)?b$3("MapSet").F(r,t):v$4(r)?b$3("MapSet").T(r,t):n.O?function(n,r){var t=Array.isArray(n),e={i:t?1:0,A:r?r.A:_(),P:!1,I:!1,R:{},l:r,t:n,k:null,o:null,j:null,C:!1},i=e,o=en;t&&(i=[e],o=on);var u=Proxy.revocable(i,o),a=u.revoke,f=u.proxy;return e.k=f,e.j=a,f}(r,t):b$3("ES5").J(r,t);return (t?t.A:_()).p.push(e),e}function R(e){return r$5(e)||n$5(22,e),function n(r){if(!t$5(r))return r;var e,u=r[Q],c=o(r);if(u){if(!u.P&&(u.i<4||!b$3("ES5").K(u)))return u.t;u.I=!0,e=D(r,c),u.I=!1;}else e=D(r,c);return i(e,(function(r,t){u&&a(u.t,r)===t||f$3(e,r,n(t));})),3===c?new Set(e):e}(e)}function D(n,r){switch(r){case 2:return new Map(n);case 3:return Array.from(n)}return l$4(n)}var G,U,W="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),X="undefined"!=typeof Map,q$5="undefined"!=typeof Set,B="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=W?Symbol.for("immer-nothing"):((G={})["immer-nothing"]=!0,G),L=W?Symbol.for("immer-draftable"):"__$immer_draftable",Q=W?Symbol.for("immer-state"):"__$immer_state",Y={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(n){return "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(n){return "Cannot apply patch, path doesn't resolve: "+n},16:'Sets cannot have "replace" patches.',17:function(n){return "Unsupported patch operation: "+n},18:function(n){return "The plugin for '"+n+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+n+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(n){return "produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+n+"'"},22:function(n){return "'current' expects a draft, got: "+n},23:function(n){return "'original' expects a draft, got: "+n},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},Z=""+Object.prototype.constructor,nn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Object.getOwnPropertyNames,rn=Object.getOwnPropertyDescriptors||function(n){var r={};return nn(n).forEach((function(t){r[t]=Object.getOwnPropertyDescriptor(n,t);})),r},tn={},en={get:function(n,r){if(r===Q)return n;var e=p$5(n);if(!u$3(e,r))return function(n,r,t){var e,i=I(r,t);return i?"value"in i?i.value:null===(e=i.get)||void 0===e?void 0:e.call(n.k):void 0}(n,e,r);var i=e[r];return n.I||!t$5(i)?i:i===z$2(n.t,r)?(E(n),n.o[r]=N(n.A.h,i,n)):i},has:function(n,r){return r in p$5(n)},ownKeys:function(n){return Reflect.ownKeys(p$5(n))},set:function(n,r,t){var e=I(p$5(n),r);if(null==e?void 0:e.set)return e.set.call(n.k,t),!0;if(!n.P){var i=z$2(p$5(n),r),o=null==i?void 0:i[Q];if(o&&o.t===t)return n.o[r]=t,n.R[r]=!1,!0;if(c$3(t,i)&&(void 0!==t||u$3(n.t,r)))return !0;E(n),k$4(n);}return n.o[r]===t&&(void 0!==t||r in n.o)||Number.isNaN(t)&&Number.isNaN(n.o[r])||(n.o[r]=t,n.R[r]=!0),!0},deleteProperty:function(n,r){return void 0!==z$2(n.t,r)||r in n.t?(n.R[r]=!1,E(n),k$4(n)):delete n.R[r],n.o&&delete n.o[r],!0},getOwnPropertyDescriptor:function(n,r){var t=p$5(n),e=Reflect.getOwnPropertyDescriptor(t,r);return e?{writable:!0,configurable:1!==n.i||"length"!==r,enumerable:e.enumerable,value:t[r]}:e},defineProperty:function(){n$5(11);},getPrototypeOf:function(n){return Object.getPrototypeOf(n.t)},setPrototypeOf:function(){n$5(12);}},on={};i(en,(function(n,r){on[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)};})),on.deleteProperty=function(r,t){return "production"!==process.env.NODE_ENV&&isNaN(parseInt(t))&&n$5(13),on.set.call(this,r,t,void 0)},on.set=function(r,t,e){return "production"!==process.env.NODE_ENV&&"length"!==t&&isNaN(parseInt(t))&&n$5(14),en.set.call(this,r[0],t,e,r[0])};var un=function(){function e(r){var e=this;this.O=B,this.D=!0,this.produce=function(r,i,o){if("function"==typeof r&&"function"!=typeof i){var u=i;i=r;var a=e;return function(n){var r=this;void 0===n&&(n=u);for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];return a.produce(n,(function(n){var t;return (t=i).call.apply(t,[r,n].concat(e))}))}}var f;if("function"!=typeof i&&n$5(6),void 0!==o&&"function"!=typeof o&&n$5(7),t$5(r)){var c=w$3(e),s=N(e,r,void 0),v=!0;try{f=i(s),v=!1;}finally{v?g$3(c):O(c);}return "undefined"!=typeof Promise&&f instanceof Promise?f.then((function(n){return j(c,o),P(n,c)}),(function(n){throw g$3(c),n})):(j(c,o),P(f,c))}if(!r||"object"!=typeof r){if(void 0===(f=i(r))&&(f=r),f===H&&(f=void 0),e.D&&d$3(f,!0),o){var p=[],l=[];b$3("Patches").M(r,f,p,l),o(p,l);}return f}n$5(21,r);},this.produceWithPatches=function(n,r){if("function"==typeof n)return function(r){for(var t=arguments.length,i=Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return e.produceWithPatches(r,(function(r){return n.apply(void 0,[r].concat(i))}))};var t,i,o=e.produce(n,r,(function(n,r){t=n,i=r;}));return "undefined"!=typeof Promise&&o instanceof Promise?o.then((function(n){return [n,t,i]})):[o,t,i]},"boolean"==typeof(null==r?void 0:r.useProxies)&&this.setUseProxies(r.useProxies),"boolean"==typeof(null==r?void 0:r.autoFreeze)&&this.setAutoFreeze(r.autoFreeze);}var i=e.prototype;return i.createDraft=function(e){t$5(e)||n$5(8),r$5(e)&&(e=R(e));var i=w$3(this),o=N(this,e,void 0);return o[Q].C=!0,O(i),o},i.finishDraft=function(r,t){var e=r&&r[Q];"production"!==process.env.NODE_ENV&&(e&&e.C||n$5(9),e.I&&n$5(10));var i=e.A;return j(i,t),P(void 0,i)},i.setAutoFreeze=function(n){this.D=n;},i.setUseProxies=function(r){r&&!B&&n$5(20),this.O=r;},i.applyPatches=function(n,t){var e;for(e=t.length-1;e>=0;e--){var i=t[e];if(0===i.path.length&&"replace"===i.op){n=i.value;break}}e>-1&&(t=t.slice(e+1));var o=b$3("Patches").$;return r$5(n)?o(n,t):this.produce(n,(function(n){return o(n,t)}))},e}(),an=new un,fn=an.produce;an.produceWithPatches.bind(an);an.setAutoFreeze.bind(an);an.setUseProxies.bind(an);an.applyPatches.bind(an);an.createDraft.bind(an);an.finishDraft.bind(an);
837
779
 
838
780
  /* *
@@ -860,7 +802,7 @@ var srsAndBboxDefault = {
860
802
  },
861
803
  srs: 'EPSG:3857'
862
804
  };
863
- var featurePropsStart = defaultStyleProperties;
805
+ var featurePropsStart = defaultGeoJSONStyleProperties;
864
806
  var featurePropsEnd = {
865
807
  stroke: '#6e1e91',
866
808
  'stroke-width': 1.5,
@@ -924,6 +866,9 @@ var getValidFromDelayTimeMinutesFromConfig = function getValidFromDelayTimeMinut
924
866
  var getDefaultValidityMinutesFromConfig = function getDefaultValidityMinutesFromConfig(config) {
925
867
  return config.default_validity_minutes;
926
868
  };
869
+ var getOmitChangeFromConfig = function getOmitChangeFromConfig(config) {
870
+ return config.omit_change_va_and_rdoact_cloud === true;
871
+ };
927
872
  var getFirArea = function getFirArea(selectedFIR, productConfig) {
928
873
  // If no FIR selected or FIR doesn't exist in list, select first FIR
929
874
  return selectedFIR && productConfig.fir_areas[selectedFIR] !== undefined ? selectedFIR : productConfig.active_firs[0];
@@ -1158,7 +1103,7 @@ var prepareFormValues = function prepareFormValues(product) {
1158
1103
  // check if nested object has value
1159
1104
  if (_typeof(value) === 'object' && value !== null && value !== undefined) {
1160
1105
  var hasNaNValue = Object.keys(value).reduce(function (total, valKey) {
1161
- return !hasValue(value[valKey]) || total;
1106
+ return !hasValue(String(value[valKey])) || total;
1162
1107
  }, false);
1163
1108
  return Object.assign(Object.assign({}, list), !hasNaNValue && _defineProperty({}, key, value));
1164
1109
  }
@@ -1344,11 +1289,10 @@ var getDrawTools = function getDrawTools(type, firShape) {
1344
1289
  title: "Draw a shape as ".concat(type, " position"),
1345
1290
  shape: getShapeWithProperties(defaultPolygon.shape, defaultStyleProperties)
1346
1291
  }), {
1347
- id: firID,
1292
+ drawModeId: firID,
1348
1293
  title: "Set FIR as ".concat(type, " position"),
1349
1294
  isSelectable: false,
1350
1295
  value: DRAWMODE.POLYGON,
1351
- icon: /*#__PURE__*/React.createElement(DrawFIRLand, null),
1352
1296
  shape: addFeatureProperties(firShape, defaultStyleProperties)
1353
1297
  }, Object.assign(Object.assign({}, defaultDelete), {
1354
1298
  title: 'Remove geometry'
@@ -1356,7 +1300,7 @@ var getDrawTools = function getDrawTools(type, firShape) {
1356
1300
  };
1357
1301
  var updateDrawToolsWithFir = function updateDrawToolsWithFir(drawTools, newFirShape) {
1358
1302
  return drawTools.map(function (mode) {
1359
- if (mode.id === firID) {
1303
+ if (mode.drawModeId === firID) {
1360
1304
  return Object.assign(Object.assign({}, mode), {
1361
1305
  shape: newFirShape
1362
1306
  });
@@ -1364,6 +1308,75 @@ var updateDrawToolsWithFir = function updateDrawToolsWithFir(drawTools, newFirSh
1364
1308
  return mode;
1365
1309
  });
1366
1310
  };
1311
+ var getToolIcon = function getToolIcon(id) {
1312
+ var defaultIcon = getIcon(id);
1313
+ if (defaultIcon) {
1314
+ return defaultIcon;
1315
+ }
1316
+ if (id === firID) {
1317
+ return /*#__PURE__*/React.createElement(DrawFIRLand, null);
1318
+ }
1319
+ return /*#__PURE__*/React.createElement(DrawFIRLand, null);
1320
+ };
1321
+
1322
+ /* *
1323
+ * Licensed under the Apache License, Version 2.0 (the "License");
1324
+ * you may not use this file except in compliance with the License.
1325
+ * You may obtain a copy of the License at
1326
+ *
1327
+ * http://www.apache.org/licenses/LICENSE-2.0
1328
+ *
1329
+ * Unless required by applicable law or agreed to in writing, software
1330
+ * distributed under the License is distributed on an "AS IS" BASIS,
1331
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1332
+ * See the License for the specific language governing permissions and
1333
+ * limitations under the License.
1334
+ *
1335
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1336
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
1337
+ * */
1338
+ var styles$1 = {
1339
+ radioInput: {
1340
+ padding: 1,
1341
+ borderRadius: '5px',
1342
+ backgroundColor: 'geowebColors.buttons.tool.default.fill',
1343
+ color: 'geowebColors.buttons.tool.default.color',
1344
+ '&.Mui-checked': {
1345
+ backgroundColor: 'geowebColors.buttons.primary.default.fill',
1346
+ color: 'geowebColors.buttons.primary.default.color'
1347
+ }
1348
+ }
1349
+ };
1350
+ var DrawTools = function DrawTools(_ref) {
1351
+ var activeTool = _ref.activeTool,
1352
+ tools = _ref.tools,
1353
+ onChangeTool = _ref.onChangeTool;
1354
+ return /*#__PURE__*/React__default.createElement(Grid, {
1355
+ item: true,
1356
+ xs: 12,
1357
+ container: true,
1358
+ justifyContent: "space-between",
1359
+ "data-testid": "drawtools",
1360
+ spacing: 1
1361
+ }, tools.map(function (tool) {
1362
+ return /*#__PURE__*/React__default.createElement(Grid, {
1363
+ key: tool.drawModeId,
1364
+ item: true
1365
+ }, /*#__PURE__*/React__default.createElement(CustomTooltip, {
1366
+ title: tool.title
1367
+ }, /*#__PURE__*/React__default.createElement(Radio, {
1368
+ icon: getToolIcon(tool.drawModeId),
1369
+ value: true,
1370
+ checkedIcon: getToolIcon(tool.drawModeId),
1371
+ checked: tool.isSelectable && activeTool === tool.drawModeId,
1372
+ onChange: function onChange() {
1373
+ onChangeTool(tool);
1374
+ },
1375
+ "data-testid": tool.drawModeId,
1376
+ sx: styles$1.radioInput
1377
+ })));
1378
+ }));
1379
+ };
1367
1380
 
1368
1381
  /* *
1369
1382
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -2001,7 +2014,7 @@ var Phenomenon = function Phenomenon(_ref) {
2001
2014
  return /*#__PURE__*/React__default.createElement(MenuItem, {
2002
2015
  value: key,
2003
2016
  key: key
2004
- }, phenomenaList[key]);
2017
+ }, productType === 'sigmet' ? phenomenaList[key] : phenomenaList[key]);
2005
2018
  })));
2006
2019
  };
2007
2020
 
@@ -3369,8 +3382,24 @@ var isLevelFieldsComplete = function isLevelFieldsComplete(product) {
3369
3382
  }
3370
3383
  }
3371
3384
  };
3385
+ /* Changes in intensity should always be included in sigmet except for
3386
+ * volcanic ash cloud and radioactive cloud where it should be omitted
3387
+ * if specified in the config
3388
+ */
3389
+ var isChangeComplete = function isChangeComplete(product, omitChange) {
3390
+ var omitChangeForVaAndRdoact = omitChange && product.phenomenon === 'VA_CLD' || omitChange && product.phenomenon === 'RDOACT_CLD';
3391
+ var isNotEmpty = !omitChangeForVaAndRdoact && product.change !== undefined && product.change !== null && product.change !== '';
3392
+ return omitChangeForVaAndRdoact || isNotEmpty;
3393
+ };
3394
+ var isSurfaceVisComplete = function isSurfaceVisComplete(product) {
3395
+ // For Surface Visibility the cause is required
3396
+ if (product.phenomenon === 'SFC_VIS' && !product.visibilityCause) {
3397
+ return false;
3398
+ }
3399
+ return true;
3400
+ };
3372
3401
  // Ensure we have enough data to retrieve a TAC
3373
- var shouldRetrieveTAC = function shouldRetrieveTAC(product) {
3402
+ var shouldRetrieveTAC = function shouldRetrieveTAC(product, omitChange) {
3374
3403
  if (!product) {
3375
3404
  return false;
3376
3405
  }
@@ -3378,7 +3407,7 @@ var shouldRetrieveTAC = function shouldRetrieveTAC(product) {
3378
3407
  if (product && isInstanceOfCancelSigmetOrAirmet(product)) {
3379
3408
  return true;
3380
3409
  }
3381
- if (product && isInstanceOfSigmetOrAirmet(product) && product.phenomenon && product.phenomenon !== '' && product.isObservationOrForecast && product.isObservationOrForecast !== '' && product.validDateStart && product.validDateStart !== null && product.validDateEnd && product.validDateEnd !== null && isLevelFieldsComplete(product) && product.startGeometry && product.startGeometry !== null && product.startGeometryIntersect && product.startGeometryIntersect !== null && product.movementType && product.movementType !== '' && product.change && product.change !== '') {
3410
+ if (product && isInstanceOfSigmetOrAirmet(product) && product.phenomenon && product.phenomenon !== '' && product.isObservationOrForecast && product.isObservationOrForecast !== '' && product.validDateStart && product.validDateStart !== null && product.validDateEnd && product.validDateEnd !== null && isLevelFieldsComplete(product) && product.startGeometry && product.startGeometry !== null && product.startGeometryIntersect && product.startGeometryIntersect !== null && product.movementType && product.movementType !== '' && isChangeComplete(product, omitChange) && isSurfaceVisComplete(product)) {
3382
3411
  return true;
3383
3412
  }
3384
3413
  return false;
@@ -3387,6 +3416,7 @@ var useTAC = function useTAC(initialProduct, getTAC) {
3387
3416
  var hasErrors = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {
3388
3417
  return false;
3389
3418
  };
3419
+ var omitChange = arguments.length > 3 ? arguments[3] : undefined;
3390
3420
  var _React$useState = React__default.useState(noTAC),
3391
3421
  _React$useState2 = _slicedToArray(_React$useState, 2),
3392
3422
  TAC = _React$useState2[0],
@@ -3423,13 +3453,13 @@ var useTAC = function useTAC(initialProduct, getTAC) {
3423
3453
  }));
3424
3454
  };
3425
3455
  React__default.useEffect(function () {
3426
- if (shouldRetrieveTAC(initialProduct) && !hasErrors()) {
3456
+ if (shouldRetrieveTAC(initialProduct, omitChange) && !hasErrors()) {
3427
3457
  retrieveTAC(initialProduct);
3428
3458
  }
3429
3459
  // eslint-disable-next-line react-hooks/exhaustive-deps
3430
3460
  }, []);
3431
3461
  var update = function update(formValues, hasFormErrors) {
3432
- if (shouldRetrieveTAC(formValues) && !hasFormErrors) {
3462
+ if (shouldRetrieveTAC(formValues, omitChange) && !hasFormErrors) {
3433
3463
  retrieveTAC(formValues);
3434
3464
  } else if (isMounted.current) {
3435
3465
  setTAC(noTAC);
@@ -8015,7 +8045,7 @@ var airmetDefaultConfig = {
8015
8045
  mapPreset: mapPreset
8016
8046
  };
8017
8047
 
8018
- var schema13={type:'object',title:'sigmet config schema',properties:{location_indicator_mwo:{type:'string'},active_firs:{type:'array',items:{type:'string'},minItems:1},valid_from_delay_minutes:{type:'number'},default_validity_minutes:{type:'number'},fir_areas:{type:'object',patternProperties:{'':{type:'object',$merge:{source:{$ref:'firArea.schema.json'},"with":{properties:{tc_max_hours_of_validity:{type:'number'},tc_hours_before_validity:{type:'number'},va_max_hours_of_validity:{type:'number'},va_hours_before_validity:{type:'number'},adjacent_firs:{type:'array',items:{type:'string'},minItems:1},area_preset:{type:'string'}},required:['fir_name','fir_location','location_indicator_atsr','location_indicator_atsu','max_hours_of_validity','hours_before_validity','units','tc_max_hours_of_validity','tc_hours_before_validity','va_max_hours_of_validity','va_hours_before_validity','adjacent_firs','area_preset']}}}},required:[],minProperties:1},mapPreset:{type:'object',properties:{layers:{type:'array',items:{type:'object',properties:{id:{type:'string'},name:{type:'string'},layerType:{type:'string',"enum":['overLayer','baseLayer','mapLayer']}},additionalProperties:true,required:['id','name','layerType']}},proj:{type:'object',properties:{bbox:{type:'object',properties:{left:{type:'number'},right:{type:'number'},top:{type:'number'},bottom:{type:'number'}},additionalProperties:false,required:['left','right','top','bottom']},srs:{type:'string'}},additionalProperties:false,required:['bbox','srs']}}}},required:['location_indicator_mwo','fir_areas','active_firs','valid_from_delay_minutes','default_validity_minutes'],additionalProperties:false};var schema15$1={$schema:'http://json-schema.org/draft-07/schema#',$id:'geojson.schema.json',title:'GeoJSON FeatureCollection',type:'object',required:['type','features'],properties:{type:{type:'string',"enum":['FeatureCollection']},features:{type:'array',items:{title:'GeoJSON Feature',type:'object',required:['type','properties','geometry'],properties:{type:{type:'string',"enum":['Feature']},id:{oneOf:[{type:'number'},{type:'string'}]},properties:{type:'object',properties:{selectionType:{type:'string'}}},geometry:{oneOf:[{type:'null'},{title:'GeoJSON Point',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Point']},coordinates:{type:'array',minItems:2,items:{type:'number'}},bbox:{type:'array',minItems:4,items:{}}}},{title:'GeoJSON LineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['LineString']},coordinates:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON Polygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Polygon']},coordinates:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPoint',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPoint']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiLineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiLineString']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPolygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPolygon']},coordinates:{type:'array',items:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON GeometryCollection',type:'object',required:['type','geometries'],properties:{type:{type:'string',"enum":['GeometryCollection']},geometries:{type:'array',items:{oneOf:[{title:'GeoJSON Point',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Point']},coordinates:{type:'array',minItems:2,items:{type:'number'}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON LineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['LineString']},coordinates:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON Polygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Polygon']},coordinates:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPoint',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPoint']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiLineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiLineString']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPolygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPolygon']},coordinates:{type:'array',items:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}}]}},bbox:{type:'array',minItems:4,items:{type:'number'}}}}]},bbox:{type:'array',minItems:4,items:{type:'number'}}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}};var pattern0$1=new RegExp('','u');var keyword0={$id:'firArea.schema.json',title:'fir config schema',description:'all properties defined in FIRConfig type',type:'object',properties:{fir_name:{type:'string'},fir_location:{$ref:'geojson.schema.json'},location_indicator_atsr:{type:'string'},location_indicator_atsu:{type:'string'},max_hours_of_validity:{type:'number'},hours_before_validity:{type:'number'},movement_rounding_kt:{type:'number'},movement_rounding_kmh:{type:'number'},level_min:{type:'object',additionalProperties:{type:'number'}},level_max:{type:'object',additionalProperties:{type:'number'}},level_rounding_FL:{type:'number'},level_rounding_FT:{type:'number'},level_rounding_M:{type:'number'},movement_min:{type:'object',additionalProperties:{type:'number'}},movement_max:{type:'object',additionalProperties:{type:'number'}},units:{type:'array',items:{type:'object',properties:{unit_type:{type:'string'},allowed_units:{type:'array',items:{type:'string'},minItems:1}},required:['unit_type','allowed_units'],additionalProperties:false},minItems:1},tc_max_hours_of_validity:{type:'number'},tc_hours_before_validity:{type:'number'},va_max_hours_of_validity:{type:'number'},va_hours_before_validity:{type:'number'},adjacent_firs:{type:'array',items:{type:'string'},minItems:1},area_preset:{type:'string'}},required:['fir_name','fir_location','location_indicator_atsr','location_indicator_atsu','max_hours_of_validity','hours_before_validity','units','tc_max_hours_of_validity','tc_hours_before_validity','va_max_hours_of_validity','va_hours_before_validity','adjacent_firs','area_preset'],additionalProperties:false};var func2$1=Object.prototype.hasOwnProperty;function validate14(data){var _ref=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},_ref$instancePath=_ref.instancePath,instancePath=_ref$instancePath===void 0?'':_ref$instancePath;_ref.parentData;_ref.parentDataProperty;_ref.rootData;var vErrors=null;var errors=0;if(data&&_typeof(data)=='object'&&!Array.isArray(data)){if(data.location_indicator_mwo===undefined){var err0={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'location_indicator_mwo'},message:"must have required property '"+'location_indicator_mwo'+"'"};if(vErrors===null){vErrors=[err0];}else {vErrors.push(err0);}errors++;}if(data.fir_areas===undefined){var err1={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'fir_areas'},message:"must have required property '"+'fir_areas'+"'"};if(vErrors===null){vErrors=[err1];}else {vErrors.push(err1);}errors++;}if(data.active_firs===undefined){var err2={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'active_firs'},message:"must have required property '"+'active_firs'+"'"};if(vErrors===null){vErrors=[err2];}else {vErrors.push(err2);}errors++;}if(data.valid_from_delay_minutes===undefined){var err3={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'valid_from_delay_minutes'},message:"must have required property '"+'valid_from_delay_minutes'+"'"};if(vErrors===null){vErrors=[err3];}else {vErrors.push(err3);}errors++;}if(data.default_validity_minutes===undefined){var err4={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'default_validity_minutes'},message:"must have required property '"+'default_validity_minutes'+"'"};if(vErrors===null){vErrors=[err4];}else {vErrors.push(err4);}errors++;}for(var key0 in data){if(!(key0==='location_indicator_mwo'||key0==='active_firs'||key0==='valid_from_delay_minutes'||key0==='default_validity_minutes'||key0==='fir_areas'||key0==='mapPreset')){var err5={instancePath:instancePath,schemaPath:'#/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key0},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err5];}else {vErrors.push(err5);}errors++;}}if(data.location_indicator_mwo!==undefined){if(typeof data.location_indicator_mwo!=='string'){var err6={instancePath:instancePath+'/location_indicator_mwo',schemaPath:'#/properties/location_indicator_mwo/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err6];}else {vErrors.push(err6);}errors++;}}if(data.active_firs!==undefined){var data1=data.active_firs;if(Array.isArray(data1)){if(data1.length<1){var err7={instancePath:instancePath+'/active_firs',schemaPath:'#/properties/active_firs/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err7];}else {vErrors.push(err7);}errors++;}var len0=data1.length;for(var i0=0;i0<len0;i0++){if(typeof data1[i0]!=='string'){var err8={instancePath:instancePath+'/active_firs/'+i0,schemaPath:'#/properties/active_firs/items/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err8];}else {vErrors.push(err8);}errors++;}}}else {var err9={instancePath:instancePath+'/active_firs',schemaPath:'#/properties/active_firs/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err9];}else {vErrors.push(err9);}errors++;}}if(data.valid_from_delay_minutes!==undefined){var data3=data.valid_from_delay_minutes;if(!(typeof data3=='number'&&isFinite(data3))){var err10={instancePath:instancePath+'/valid_from_delay_minutes',schemaPath:'#/properties/valid_from_delay_minutes/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err10];}else {vErrors.push(err10);}errors++;}}if(data.default_validity_minutes!==undefined){var data4=data.default_validity_minutes;if(!(typeof data4=='number'&&isFinite(data4))){var err11={instancePath:instancePath+'/default_validity_minutes',schemaPath:'#/properties/default_validity_minutes/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err11];}else {vErrors.push(err11);}errors++;}}if(data.fir_areas!==undefined){var data5=data.fir_areas;if(data5&&_typeof(data5)=='object'&&!Array.isArray(data5)){if(Object.keys(data5).length<1){var err12={instancePath:instancePath+'/fir_areas',schemaPath:'#/properties/fir_areas/minProperties',keyword:'minProperties',params:{limit:1},message:'must NOT have fewer than 1 properties'};if(vErrors===null){vErrors=[err12];}else {vErrors.push(err12);}errors++;}for(var key1 in data5){if(pattern0$1.test(key1)){var data6=data5[key1];if(!(data6&&_typeof(data6)=='object'&&!Array.isArray(data6))){var err13={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err13];}else {vErrors.push(err13);}errors++;}var _errs17=errors;if(data6&&_typeof(data6)=='object'&&!Array.isArray(data6)){if(data6.fir_name===undefined){var err14={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'fir_name'},message:"must have required property '"+'fir_name'+"'"};if(vErrors===null){vErrors=[err14];}else {vErrors.push(err14);}errors++;}if(data6.fir_location===undefined){var err15={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'fir_location'},message:"must have required property '"+'fir_location'+"'"};if(vErrors===null){vErrors=[err15];}else {vErrors.push(err15);}errors++;}if(data6.location_indicator_atsr===undefined){var err16={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'location_indicator_atsr'},message:"must have required property '"+'location_indicator_atsr'+"'"};if(vErrors===null){vErrors=[err16];}else {vErrors.push(err16);}errors++;}if(data6.location_indicator_atsu===undefined){var err17={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'location_indicator_atsu'},message:"must have required property '"+'location_indicator_atsu'+"'"};if(vErrors===null){vErrors=[err17];}else {vErrors.push(err17);}errors++;}if(data6.max_hours_of_validity===undefined){var err18={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'max_hours_of_validity'},message:"must have required property '"+'max_hours_of_validity'+"'"};if(vErrors===null){vErrors=[err18];}else {vErrors.push(err18);}errors++;}if(data6.hours_before_validity===undefined){var err19={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'hours_before_validity'},message:"must have required property '"+'hours_before_validity'+"'"};if(vErrors===null){vErrors=[err19];}else {vErrors.push(err19);}errors++;}if(data6.units===undefined){var err20={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'units'},message:"must have required property '"+'units'+"'"};if(vErrors===null){vErrors=[err20];}else {vErrors.push(err20);}errors++;}if(data6.tc_max_hours_of_validity===undefined){var err21={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'tc_max_hours_of_validity'},message:"must have required property '"+'tc_max_hours_of_validity'+"'"};if(vErrors===null){vErrors=[err21];}else {vErrors.push(err21);}errors++;}if(data6.tc_hours_before_validity===undefined){var err22={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'tc_hours_before_validity'},message:"must have required property '"+'tc_hours_before_validity'+"'"};if(vErrors===null){vErrors=[err22];}else {vErrors.push(err22);}errors++;}if(data6.va_max_hours_of_validity===undefined){var err23={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'va_max_hours_of_validity'},message:"must have required property '"+'va_max_hours_of_validity'+"'"};if(vErrors===null){vErrors=[err23];}else {vErrors.push(err23);}errors++;}if(data6.va_hours_before_validity===undefined){var err24={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'va_hours_before_validity'},message:"must have required property '"+'va_hours_before_validity'+"'"};if(vErrors===null){vErrors=[err24];}else {vErrors.push(err24);}errors++;}if(data6.adjacent_firs===undefined){var err25={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'adjacent_firs'},message:"must have required property '"+'adjacent_firs'+"'"};if(vErrors===null){vErrors=[err25];}else {vErrors.push(err25);}errors++;}if(data6.area_preset===undefined){var err26={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'area_preset'},message:"must have required property '"+'area_preset'+"'"};if(vErrors===null){vErrors=[err26];}else {vErrors.push(err26);}errors++;}for(var key2 in data6){if(!func2$1.call(keyword0.properties,key2)){var err27={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key2},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err27];}else {vErrors.push(err27);}errors++;}}if(data6.fir_name!==undefined){if(typeof data6.fir_name!=='string'){var err28={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_name',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/fir_name/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err28];}else {vErrors.push(err28);}errors++;}}if(data6.fir_location!==undefined){var data8=data6.fir_location;if(data8&&_typeof(data8)=='object'&&!Array.isArray(data8)){if(data8.type===undefined){var err29={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location',schemaPath:'geojson.schema.json/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err29];}else {vErrors.push(err29);}errors++;}if(data8.features===undefined){var err30={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location',schemaPath:'geojson.schema.json/required',keyword:'required',params:{missingProperty:'features'},message:"must have required property '"+'features'+"'"};if(vErrors===null){vErrors=[err30];}else {vErrors.push(err30);}errors++;}if(data8.type!==undefined){var data9=data8.type;if(typeof data9!=='string'){var err31={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/type',schemaPath:'geojson.schema.json/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err31];}else {vErrors.push(err31);}errors++;}if(!(data9==='FeatureCollection')){var err32={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/type',schemaPath:'geojson.schema.json/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err32];}else {vErrors.push(err32);}errors++;}}if(data8.features!==undefined){var data10=data8.features;if(Array.isArray(data10)){var len1=data10.length;for(var i1=0;i1<len1;i1++){var data11=data10[i1];if(data11&&_typeof(data11)=='object'&&!Array.isArray(data11)){if(data11.type===undefined){var err33={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err33];}else {vErrors.push(err33);}errors++;}if(data11.properties===undefined){var err34={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/required',keyword:'required',params:{missingProperty:'properties'},message:"must have required property '"+'properties'+"'"};if(vErrors===null){vErrors=[err34];}else {vErrors.push(err34);}errors++;}if(data11.geometry===undefined){var err35={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/required',keyword:'required',params:{missingProperty:'geometry'},message:"must have required property '"+'geometry'+"'"};if(vErrors===null){vErrors=[err35];}else {vErrors.push(err35);}errors++;}if(data11.type!==undefined){var data12=data11.type;if(typeof data12!=='string'){var err36={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err36];}else {vErrors.push(err36);}errors++;}if(!(data12==='Feature')){var err37={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err37];}else {vErrors.push(err37);}errors++;}}if(data11.id!==undefined){var data13=data11.id;var _errs34=errors;var valid11=false;var passing0=null;var _errs35=errors;if(!(typeof data13=='number'&&isFinite(data13))){var err38={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/id',schemaPath:'geojson.schema.json/properties/features/items/properties/id/oneOf/0/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err38];}else {vErrors.push(err38);}errors++;}var _valid0=_errs35===errors;if(_valid0){valid11=true;passing0=0;}var _errs37=errors;if(typeof data13!=='string'){var err39={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/id',schemaPath:'geojson.schema.json/properties/features/items/properties/id/oneOf/1/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err39];}else {vErrors.push(err39);}errors++;}var _valid0=_errs37===errors;if(_valid0&&valid11){valid11=false;passing0=[passing0,1];}else {if(_valid0){valid11=true;passing0=1;}}if(!valid11){var err40={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/id',schemaPath:'geojson.schema.json/properties/features/items/properties/id/oneOf',keyword:'oneOf',params:{passingSchemas:passing0},message:'must match exactly one schema in oneOf'};if(vErrors===null){vErrors=[err40];}else {vErrors.push(err40);}errors++;}else {errors=_errs34;if(vErrors!==null){if(_errs34){vErrors.length=_errs34;}else {vErrors=null;}}}}if(data11.properties!==undefined){var data14=data11.properties;if(data14&&_typeof(data14)=='object'&&!Array.isArray(data14)){if(data14.selectionType!==undefined){if(typeof data14.selectionType!=='string'){var err41={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/properties/selectionType',schemaPath:'geojson.schema.json/properties/features/items/properties/properties/properties/selectionType/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err41];}else {vErrors.push(err41);}errors++;}}}else {var err42={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/properties',schemaPath:'geojson.schema.json/properties/features/items/properties/properties/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err42];}else {vErrors.push(err42);}errors++;}}if(data11.geometry!==undefined){var data16=data11.geometry;var _errs44=errors;var valid13=false;var passing1=null;var _errs45=errors;if(data16!==null){var err43={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/0/type',keyword:'type',params:{type:'null'},message:'must be null'};if(vErrors===null){vErrors=[err43];}else {vErrors.push(err43);}errors++;}var _valid1=_errs45===errors;if(_valid1){valid13=true;passing1=0;}var _errs47=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err44={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err44];}else {vErrors.push(err44);}errors++;}if(data16.coordinates===undefined){var err45={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err45];}else {vErrors.push(err45);}errors++;}if(data16.type!==undefined){var data17=data16.type;if(typeof data17!=='string'){var err46={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err46];}else {vErrors.push(err46);}errors++;}if(!(data17==='Point')){var err47={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[1].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err47];}else {vErrors.push(err47);}errors++;}}if(data16.coordinates!==undefined){var data18=data16.coordinates;if(Array.isArray(data18)){if(data18.length<2){var err48={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err48];}else {vErrors.push(err48);}errors++;}var len2=data18.length;for(var i2=0;i2<len2;i2++){var data19=data18[i2];if(!(typeof data19=='number'&&isFinite(data19))){var err49={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i2,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/coordinates/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err49];}else {vErrors.push(err49);}errors++;}}}else {var err50={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err50];}else {vErrors.push(err50);}errors++;}}if(data16.bbox!==undefined){var data20=data16.bbox;if(Array.isArray(data20)){if(data20.length<4){var err51={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err51];}else {vErrors.push(err51);}errors++;}}else {var err52={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err52];}else {vErrors.push(err52);}errors++;}}}else {var err53={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err53];}else {vErrors.push(err53);}errors++;}var _valid1=_errs47===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,1];}else {if(_valid1){valid13=true;passing1=1;}var _errs57=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err54={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err54];}else {vErrors.push(err54);}errors++;}if(data16.coordinates===undefined){var err55={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err55];}else {vErrors.push(err55);}errors++;}if(data16.type!==undefined){var data21=data16.type;if(typeof data21!=='string'){var err56={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err56];}else {vErrors.push(err56);}errors++;}if(!(data21==='LineString')){var err57={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[2].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err57];}else {vErrors.push(err57);}errors++;}}if(data16.coordinates!==undefined){var data22=data16.coordinates;if(Array.isArray(data22)){if(data22.length<2){var err58={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err58];}else {vErrors.push(err58);}errors++;}var len3=data22.length;for(var i3=0;i3<len3;i3++){var data23=data22[i3];if(Array.isArray(data23)){if(data23.length<2){var err59={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i3,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err59];}else {vErrors.push(err59);}errors++;}var len4=data23.length;for(var i4=0;i4<len4;i4++){var data24=data23[i4];if(!(typeof data24=='number'&&isFinite(data24))){var err60={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i3+'/'+i4,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err60];}else {vErrors.push(err60);}errors++;}}}else {var err61={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i3,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err61];}else {vErrors.push(err61);}errors++;}}}else {var err62={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err62];}else {vErrors.push(err62);}errors++;}}if(data16.bbox!==undefined){var data25=data16.bbox;if(Array.isArray(data25)){if(data25.length<4){var err63={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err63];}else {vErrors.push(err63);}errors++;}var len5=data25.length;for(var i5=0;i5<len5;i5++){var data26=data25[i5];if(!(typeof data26=='number'&&isFinite(data26))){var err64={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i5,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err64];}else {vErrors.push(err64);}errors++;}}}else {var err65={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err65];}else {vErrors.push(err65);}errors++;}}}else {var err66={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err66];}else {vErrors.push(err66);}errors++;}var _valid1=_errs57===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,2];}else {if(_valid1){valid13=true;passing1=2;}var _errs71=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err67={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err67];}else {vErrors.push(err67);}errors++;}if(data16.coordinates===undefined){var err68={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err68];}else {vErrors.push(err68);}errors++;}if(data16.type!==undefined){var data27=data16.type;if(typeof data27!=='string'){var err69={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err69];}else {vErrors.push(err69);}errors++;}if(!(data27==='Polygon')){var err70={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[3].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err70];}else {vErrors.push(err70);}errors++;}}if(data16.coordinates!==undefined){var data28=data16.coordinates;if(Array.isArray(data28)){var len6=data28.length;for(var i6=0;i6<len6;i6++){var data29=data28[i6];if(Array.isArray(data29)){if(data29.length<4){var err71={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err71];}else {vErrors.push(err71);}errors++;}var len7=data29.length;for(var i7=0;i7<len7;i7++){var data30=data29[i7];if(Array.isArray(data30)){if(data30.length<2){var err72={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6+'/'+i7,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err72];}else {vErrors.push(err72);}errors++;}var len8=data30.length;for(var i8=0;i8<len8;i8++){var data31=data30[i8];if(!(typeof data31=='number'&&isFinite(data31))){var err73={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6+'/'+i7+'/'+i8,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err73];}else {vErrors.push(err73);}errors++;}}}else {var err74={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6+'/'+i7,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err74];}else {vErrors.push(err74);}errors++;}}}else {var err75={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err75];}else {vErrors.push(err75);}errors++;}}}else {var err76={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err76];}else {vErrors.push(err76);}errors++;}}if(data16.bbox!==undefined){var data32=data16.bbox;if(Array.isArray(data32)){if(data32.length<4){var err77={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err77];}else {vErrors.push(err77);}errors++;}var len9=data32.length;for(var i9=0;i9<len9;i9++){var data33=data32[i9];if(!(typeof data33=='number'&&isFinite(data33))){var err78={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i9,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err78];}else {vErrors.push(err78);}errors++;}}}else {var err79={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err79];}else {vErrors.push(err79);}errors++;}}}else {var err80={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err80];}else {vErrors.push(err80);}errors++;}var _valid1=_errs71===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,3];}else {if(_valid1){valid13=true;passing1=3;}var _errs87=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err81={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err81];}else {vErrors.push(err81);}errors++;}if(data16.coordinates===undefined){var err82={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err82];}else {vErrors.push(err82);}errors++;}if(data16.type!==undefined){var data34=data16.type;if(typeof data34!=='string'){var err83={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err83];}else {vErrors.push(err83);}errors++;}if(!(data34==='MultiPoint')){var err84={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[4].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err84];}else {vErrors.push(err84);}errors++;}}if(data16.coordinates!==undefined){var data35=data16.coordinates;if(Array.isArray(data35)){var len10=data35.length;for(var i10=0;i10<len10;i10++){var data36=data35[i10];if(Array.isArray(data36)){if(data36.length<2){var err85={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i10,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err85];}else {vErrors.push(err85);}errors++;}var len11=data36.length;for(var i11=0;i11<len11;i11++){var data37=data36[i11];if(!(typeof data37=='number'&&isFinite(data37))){var err86={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i10+'/'+i11,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err86];}else {vErrors.push(err86);}errors++;}}}else {var err87={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i10,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err87];}else {vErrors.push(err87);}errors++;}}}else {var err88={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err88];}else {vErrors.push(err88);}errors++;}}if(data16.bbox!==undefined){var data38=data16.bbox;if(Array.isArray(data38)){if(data38.length<4){var err89={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err89];}else {vErrors.push(err89);}errors++;}var len12=data38.length;for(var i12=0;i12<len12;i12++){var data39=data38[i12];if(!(typeof data39=='number'&&isFinite(data39))){var err90={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i12,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err90];}else {vErrors.push(err90);}errors++;}}}else {var err91={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err91];}else {vErrors.push(err91);}errors++;}}}else {var err92={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err92];}else {vErrors.push(err92);}errors++;}var _valid1=_errs87===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,4];}else {if(_valid1){valid13=true;passing1=4;}var _errs101=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err93={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err93];}else {vErrors.push(err93);}errors++;}if(data16.coordinates===undefined){var err94={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err94];}else {vErrors.push(err94);}errors++;}if(data16.type!==undefined){var data40=data16.type;if(typeof data40!=='string'){var err95={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err95];}else {vErrors.push(err95);}errors++;}if(!(data40==='MultiLineString')){var err96={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[5].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err96];}else {vErrors.push(err96);}errors++;}}if(data16.coordinates!==undefined){var data41=data16.coordinates;if(Array.isArray(data41)){var len13=data41.length;for(var i13=0;i13<len13;i13++){var data42=data41[i13];if(Array.isArray(data42)){if(data42.length<2){var err97={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err97];}else {vErrors.push(err97);}errors++;}var len14=data42.length;for(var i14=0;i14<len14;i14++){var data43=data42[i14];if(Array.isArray(data43)){if(data43.length<2){var err98={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13+'/'+i14,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err98];}else {vErrors.push(err98);}errors++;}var len15=data43.length;for(var i15=0;i15<len15;i15++){var data44=data43[i15];if(!(typeof data44=='number'&&isFinite(data44))){var err99={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13+'/'+i14+'/'+i15,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err99];}else {vErrors.push(err99);}errors++;}}}else {var err100={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13+'/'+i14,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err100];}else {vErrors.push(err100);}errors++;}}}else {var err101={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err101];}else {vErrors.push(err101);}errors++;}}}else {var err102={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err102];}else {vErrors.push(err102);}errors++;}}if(data16.bbox!==undefined){var data45=data16.bbox;if(Array.isArray(data45)){if(data45.length<4){var err103={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err103];}else {vErrors.push(err103);}errors++;}var len16=data45.length;for(var i16=0;i16<len16;i16++){var data46=data45[i16];if(!(typeof data46=='number'&&isFinite(data46))){var err104={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i16,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err104];}else {vErrors.push(err104);}errors++;}}}else {var err105={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err105];}else {vErrors.push(err105);}errors++;}}}else {var err106={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err106];}else {vErrors.push(err106);}errors++;}var _valid1=_errs101===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,5];}else {if(_valid1){valid13=true;passing1=5;}var _errs117=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err107={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err107];}else {vErrors.push(err107);}errors++;}if(data16.coordinates===undefined){var err108={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err108];}else {vErrors.push(err108);}errors++;}if(data16.type!==undefined){var data47=data16.type;if(typeof data47!=='string'){var err109={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err109];}else {vErrors.push(err109);}errors++;}if(!(data47==='MultiPolygon')){var err110={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[6].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err110];}else {vErrors.push(err110);}errors++;}}if(data16.coordinates!==undefined){var data48=data16.coordinates;if(Array.isArray(data48)){var len17=data48.length;for(var i17=0;i17<len17;i17++){var data49=data48[i17];if(Array.isArray(data49)){var len18=data49.length;for(var i18=0;i18<len18;i18++){var data50=data49[i18];if(Array.isArray(data50)){if(data50.length<4){var err111={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err111];}else {vErrors.push(err111);}errors++;}var len19=data50.length;for(var i19=0;i19<len19;i19++){var data51=data50[i19];if(Array.isArray(data51)){if(data51.length<2){var err112={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18+'/'+i19,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err112];}else {vErrors.push(err112);}errors++;}var len20=data51.length;for(var i20=0;i20<len20;i20++){var data52=data51[i20];if(!(typeof data52=='number'&&isFinite(data52))){var err113={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18+'/'+i19+'/'+i20,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err113];}else {vErrors.push(err113);}errors++;}}}else {var err114={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18+'/'+i19,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err114];}else {vErrors.push(err114);}errors++;}}}else {var err115={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err115];}else {vErrors.push(err115);}errors++;}}}else {var err116={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err116];}else {vErrors.push(err116);}errors++;}}}else {var err117={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err117];}else {vErrors.push(err117);}errors++;}}if(data16.bbox!==undefined){var data53=data16.bbox;if(Array.isArray(data53)){if(data53.length<4){var err118={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err118];}else {vErrors.push(err118);}errors++;}var len21=data53.length;for(var i21=0;i21<len21;i21++){var data54=data53[i21];if(!(typeof data54=='number'&&isFinite(data54))){var err119={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i21,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err119];}else {vErrors.push(err119);}errors++;}}}else {var err120={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err120];}else {vErrors.push(err120);}errors++;}}}else {var err121={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err121];}else {vErrors.push(err121);}errors++;}var _valid1=_errs117===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,6];}else {if(_valid1){valid13=true;passing1=6;}var _errs135=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err122={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err122];}else {vErrors.push(err122);}errors++;}if(data16.geometries===undefined){var err123={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/required',keyword:'required',params:{missingProperty:'geometries'},message:"must have required property '"+'geometries'+"'"};if(vErrors===null){vErrors=[err123];}else {vErrors.push(err123);}errors++;}if(data16.type!==undefined){var data55=data16.type;if(typeof data55!=='string'){var err124={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err124];}else {vErrors.push(err124);}errors++;}if(!(data55==='GeometryCollection')){var err125={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err125];}else {vErrors.push(err125);}errors++;}}if(data16.geometries!==undefined){var data56=data16.geometries;if(Array.isArray(data56)){var len22=data56.length;for(var i22=0;i22<len22;i22++){var data57=data56[i22];var _errs142=errors;var valid63=false;var passing2=null;var _errs143=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err126={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err126];}else {vErrors.push(err126);}errors++;}if(data57.coordinates===undefined){var err127={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err127];}else {vErrors.push(err127);}errors++;}if(data57.type!==undefined){var data58=data57.type;if(typeof data58!=='string'){var err128={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err128];}else {vErrors.push(err128);}errors++;}if(!(data58==='Point')){var err129={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[0].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err129];}else {vErrors.push(err129);}errors++;}}if(data57.coordinates!==undefined){var data59=data57.coordinates;if(Array.isArray(data59)){if(data59.length<2){var err130={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err130];}else {vErrors.push(err130);}errors++;}var len23=data59.length;for(var i23=0;i23<len23;i23++){var data60=data59[i23];if(!(typeof data60=='number'&&isFinite(data60))){var err131={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i23,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/coordinates/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err131];}else {vErrors.push(err131);}errors++;}}}else {var err132={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err132];}else {vErrors.push(err132);}errors++;}}if(data57.bbox!==undefined){var data61=data57.bbox;if(Array.isArray(data61)){if(data61.length<4){var err133={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err133];}else {vErrors.push(err133);}errors++;}var len24=data61.length;for(var i24=0;i24<len24;i24++){var data62=data61[i24];if(!(typeof data62=='number'&&isFinite(data62))){var err134={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i24,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err134];}else {vErrors.push(err134);}errors++;}}}else {var err135={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err135];}else {vErrors.push(err135);}errors++;}}}else {var err136={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err136];}else {vErrors.push(err136);}errors++;}var _valid2=_errs143===errors;if(_valid2){valid63=true;passing2=0;}var _errs155=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err137={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err137];}else {vErrors.push(err137);}errors++;}if(data57.coordinates===undefined){var err138={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err138];}else {vErrors.push(err138);}errors++;}if(data57.type!==undefined){var data63=data57.type;if(typeof data63!=='string'){var err139={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err139];}else {vErrors.push(err139);}errors++;}if(!(data63==='LineString')){var err140={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[1].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err140];}else {vErrors.push(err140);}errors++;}}if(data57.coordinates!==undefined){var data64=data57.coordinates;if(Array.isArray(data64)){if(data64.length<2){var err141={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err141];}else {vErrors.push(err141);}errors++;}var len25=data64.length;for(var i25=0;i25<len25;i25++){var data65=data64[i25];if(Array.isArray(data65)){if(data65.length<2){var err142={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i25,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err142];}else {vErrors.push(err142);}errors++;}var len26=data65.length;for(var i26=0;i26<len26;i26++){var data66=data65[i26];if(!(typeof data66=='number'&&isFinite(data66))){var err143={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i25+'/'+i26,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err143];}else {vErrors.push(err143);}errors++;}}}else {var err144={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i25,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err144];}else {vErrors.push(err144);}errors++;}}}else {var err145={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err145];}else {vErrors.push(err145);}errors++;}}if(data57.bbox!==undefined){var data67=data57.bbox;if(Array.isArray(data67)){if(data67.length<4){var err146={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err146];}else {vErrors.push(err146);}errors++;}var len27=data67.length;for(var i27=0;i27<len27;i27++){var data68=data67[i27];if(!(typeof data68=='number'&&isFinite(data68))){var err147={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i27,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err147];}else {vErrors.push(err147);}errors++;}}}else {var err148={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err148];}else {vErrors.push(err148);}errors++;}}}else {var err149={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err149];}else {vErrors.push(err149);}errors++;}var _valid2=_errs155===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,1];}else {if(_valid2){valid63=true;passing2=1;}var _errs169=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err150={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err150];}else {vErrors.push(err150);}errors++;}if(data57.coordinates===undefined){var err151={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err151];}else {vErrors.push(err151);}errors++;}if(data57.type!==undefined){var data69=data57.type;if(typeof data69!=='string'){var err152={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err152];}else {vErrors.push(err152);}errors++;}if(!(data69==='Polygon')){var err153={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[2].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err153];}else {vErrors.push(err153);}errors++;}}if(data57.coordinates!==undefined){var data70=data57.coordinates;if(Array.isArray(data70)){var len28=data70.length;for(var i28=0;i28<len28;i28++){var data71=data70[i28];if(Array.isArray(data71)){if(data71.length<4){var err154={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err154];}else {vErrors.push(err154);}errors++;}var len29=data71.length;for(var i29=0;i29<len29;i29++){var data72=data71[i29];if(Array.isArray(data72)){if(data72.length<2){var err155={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28+'/'+i29,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err155];}else {vErrors.push(err155);}errors++;}var len30=data72.length;for(var i30=0;i30<len30;i30++){var data73=data72[i30];if(!(typeof data73=='number'&&isFinite(data73))){var err156={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28+'/'+i29+'/'+i30,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err156];}else {vErrors.push(err156);}errors++;}}}else {var err157={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28+'/'+i29,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err157];}else {vErrors.push(err157);}errors++;}}}else {var err158={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err158];}else {vErrors.push(err158);}errors++;}}}else {var err159={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err159];}else {vErrors.push(err159);}errors++;}}if(data57.bbox!==undefined){var data74=data57.bbox;if(Array.isArray(data74)){if(data74.length<4){var err160={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err160];}else {vErrors.push(err160);}errors++;}var len31=data74.length;for(var i31=0;i31<len31;i31++){var data75=data74[i31];if(!(typeof data75=='number'&&isFinite(data75))){var err161={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i31,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err161];}else {vErrors.push(err161);}errors++;}}}else {var err162={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err162];}else {vErrors.push(err162);}errors++;}}}else {var err163={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err163];}else {vErrors.push(err163);}errors++;}var _valid2=_errs169===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,2];}else {if(_valid2){valid63=true;passing2=2;}var _errs185=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err164={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err164];}else {vErrors.push(err164);}errors++;}if(data57.coordinates===undefined){var err165={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err165];}else {vErrors.push(err165);}errors++;}if(data57.type!==undefined){var data76=data57.type;if(typeof data76!=='string'){var err166={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err166];}else {vErrors.push(err166);}errors++;}if(!(data76==='MultiPoint')){var err167={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[3].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err167];}else {vErrors.push(err167);}errors++;}}if(data57.coordinates!==undefined){var data77=data57.coordinates;if(Array.isArray(data77)){var len32=data77.length;for(var i32=0;i32<len32;i32++){var data78=data77[i32];if(Array.isArray(data78)){if(data78.length<2){var err168={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i32,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err168];}else {vErrors.push(err168);}errors++;}var len33=data78.length;for(var i33=0;i33<len33;i33++){var data79=data78[i33];if(!(typeof data79=='number'&&isFinite(data79))){var err169={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i32+'/'+i33,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err169];}else {vErrors.push(err169);}errors++;}}}else {var err170={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i32,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err170];}else {vErrors.push(err170);}errors++;}}}else {var err171={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err171];}else {vErrors.push(err171);}errors++;}}if(data57.bbox!==undefined){var data80=data57.bbox;if(Array.isArray(data80)){if(data80.length<4){var err172={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err172];}else {vErrors.push(err172);}errors++;}var len34=data80.length;for(var i34=0;i34<len34;i34++){var data81=data80[i34];if(!(typeof data81=='number'&&isFinite(data81))){var err173={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i34,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err173];}else {vErrors.push(err173);}errors++;}}}else {var err174={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err174];}else {vErrors.push(err174);}errors++;}}}else {var err175={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err175];}else {vErrors.push(err175);}errors++;}var _valid2=_errs185===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,3];}else {if(_valid2){valid63=true;passing2=3;}var _errs199=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err176={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err176];}else {vErrors.push(err176);}errors++;}if(data57.coordinates===undefined){var err177={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err177];}else {vErrors.push(err177);}errors++;}if(data57.type!==undefined){var data82=data57.type;if(typeof data82!=='string'){var err178={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err178];}else {vErrors.push(err178);}errors++;}if(!(data82==='MultiLineString')){var err179={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[4].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err179];}else {vErrors.push(err179);}errors++;}}if(data57.coordinates!==undefined){var data83=data57.coordinates;if(Array.isArray(data83)){var len35=data83.length;for(var i35=0;i35<len35;i35++){var data84=data83[i35];if(Array.isArray(data84)){if(data84.length<2){var err180={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err180];}else {vErrors.push(err180);}errors++;}var len36=data84.length;for(var i36=0;i36<len36;i36++){var data85=data84[i36];if(Array.isArray(data85)){if(data85.length<2){var err181={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35+'/'+i36,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err181];}else {vErrors.push(err181);}errors++;}var len37=data85.length;for(var i37=0;i37<len37;i37++){var data86=data85[i37];if(!(typeof data86=='number'&&isFinite(data86))){var err182={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35+'/'+i36+'/'+i37,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err182];}else {vErrors.push(err182);}errors++;}}}else {var err183={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35+'/'+i36,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err183];}else {vErrors.push(err183);}errors++;}}}else {var err184={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err184];}else {vErrors.push(err184);}errors++;}}}else {var err185={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err185];}else {vErrors.push(err185);}errors++;}}if(data57.bbox!==undefined){var data87=data57.bbox;if(Array.isArray(data87)){if(data87.length<4){var err186={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err186];}else {vErrors.push(err186);}errors++;}var len38=data87.length;for(var i38=0;i38<len38;i38++){var data88=data87[i38];if(!(typeof data88=='number'&&isFinite(data88))){var err187={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i38,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err187];}else {vErrors.push(err187);}errors++;}}}else {var err188={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err188];}else {vErrors.push(err188);}errors++;}}}else {var err189={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err189];}else {vErrors.push(err189);}errors++;}var _valid2=_errs199===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,4];}else {if(_valid2){valid63=true;passing2=4;}var _errs215=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err190={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err190];}else {vErrors.push(err190);}errors++;}if(data57.coordinates===undefined){var err191={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err191];}else {vErrors.push(err191);}errors++;}if(data57.type!==undefined){var data89=data57.type;if(typeof data89!=='string'){var err192={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err192];}else {vErrors.push(err192);}errors++;}if(!(data89==='MultiPolygon')){var err193={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[5].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err193];}else {vErrors.push(err193);}errors++;}}if(data57.coordinates!==undefined){var data90=data57.coordinates;if(Array.isArray(data90)){var len39=data90.length;for(var i39=0;i39<len39;i39++){var data91=data90[i39];if(Array.isArray(data91)){var len40=data91.length;for(var i40=0;i40<len40;i40++){var data92=data91[i40];if(Array.isArray(data92)){if(data92.length<4){var err194={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err194];}else {vErrors.push(err194);}errors++;}var len41=data92.length;for(var i41=0;i41<len41;i41++){var data93=data92[i41];if(Array.isArray(data93)){if(data93.length<2){var err195={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40+'/'+i41,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err195];}else {vErrors.push(err195);}errors++;}var len42=data93.length;for(var i42=0;i42<len42;i42++){var data94=data93[i42];if(!(typeof data94=='number'&&isFinite(data94))){var err196={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40+'/'+i41+'/'+i42,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err196];}else {vErrors.push(err196);}errors++;}}}else {var err197={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40+'/'+i41,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err197];}else {vErrors.push(err197);}errors++;}}}else {var err198={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err198];}else {vErrors.push(err198);}errors++;}}}else {var err199={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err199];}else {vErrors.push(err199);}errors++;}}}else {var err200={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err200];}else {vErrors.push(err200);}errors++;}}if(data57.bbox!==undefined){var data95=data57.bbox;if(Array.isArray(data95)){if(data95.length<4){var err201={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err201];}else {vErrors.push(err201);}errors++;}var len43=data95.length;for(var i43=0;i43<len43;i43++){var data96=data95[i43];if(!(typeof data96=='number'&&isFinite(data96))){var err202={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i43,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err202];}else {vErrors.push(err202);}errors++;}}}else {var err203={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err203];}else {vErrors.push(err203);}errors++;}}}else {var err204={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err204];}else {vErrors.push(err204);}errors++;}var _valid2=_errs215===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,5];}else {if(_valid2){valid63=true;passing2=5;}}}}}}if(!valid63){var err205={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf',keyword:'oneOf',params:{passingSchemas:passing2},message:'must match exactly one schema in oneOf'};if(vErrors===null){vErrors=[err205];}else {vErrors.push(err205);}errors++;}else {errors=_errs142;if(vErrors!==null){if(_errs142){vErrors.length=_errs142;}else {vErrors=null;}}}}}else {var err206={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err206];}else {vErrors.push(err206);}errors++;}}if(data16.bbox!==undefined){var data97=data16.bbox;if(Array.isArray(data97)){if(data97.length<4){var err207={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err207];}else {vErrors.push(err207);}errors++;}var len44=data97.length;for(var i44=0;i44<len44;i44++){var data98=data97[i44];if(!(typeof data98=='number'&&isFinite(data98))){var err208={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i44,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err208];}else {vErrors.push(err208);}errors++;}}}else {var err209={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err209];}else {vErrors.push(err209);}errors++;}}}else {var err210={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err210];}else {vErrors.push(err210);}errors++;}var _valid1=_errs135===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,7];}else {if(_valid1){valid13=true;passing1=7;}}}}}}}}if(!valid13){var err211={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf',keyword:'oneOf',params:{passingSchemas:passing1},message:'must match exactly one schema in oneOf'};if(vErrors===null){vErrors=[err211];}else {vErrors.push(err211);}errors++;}else {errors=_errs44;if(vErrors!==null){if(_errs44){vErrors.length=_errs44;}else {vErrors=null;}}}}if(data11.bbox!==undefined){var data99=data11.bbox;if(Array.isArray(data99)){if(data99.length<4){var err212={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err212];}else {vErrors.push(err212);}errors++;}var len45=data99.length;for(var i45=0;i45<len45;i45++){var data100=data99[i45];if(!(typeof data100=='number'&&isFinite(data100))){var err213={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/bbox/'+i45,schemaPath:'geojson.schema.json/properties/features/items/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err213];}else {vErrors.push(err213);}errors++;}}}else {var err214={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err214];}else {vErrors.push(err214);}errors++;}}}else {var err215={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err215];}else {vErrors.push(err215);}errors++;}}}else {var err216={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features',schemaPath:'geojson.schema.json/properties/features/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err216];}else {vErrors.push(err216);}errors++;}}if(data8.bbox!==undefined){var data101=data8.bbox;if(Array.isArray(data101)){if(data101.length<4){var err217={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/bbox',schemaPath:'geojson.schema.json/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err217];}else {vErrors.push(err217);}errors++;}var len46=data101.length;for(var i46=0;i46<len46;i46++){var data102=data101[i46];if(!(typeof data102=='number'&&isFinite(data102))){var err218={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/bbox/'+i46,schemaPath:'geojson.schema.json/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err218];}else {vErrors.push(err218);}errors++;}}}else {var err219={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/bbox',schemaPath:'geojson.schema.json/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err219];}else {vErrors.push(err219);}errors++;}}}else {var err220={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location',schemaPath:'geojson.schema.json/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err220];}else {vErrors.push(err220);}errors++;}}if(data6.location_indicator_atsr!==undefined){if(typeof data6.location_indicator_atsr!=='string'){var err221={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/location_indicator_atsr',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/location_indicator_atsr/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err221];}else {vErrors.push(err221);}errors++;}}if(data6.location_indicator_atsu!==undefined){if(typeof data6.location_indicator_atsu!=='string'){var err222={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/location_indicator_atsu',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/location_indicator_atsu/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err222];}else {vErrors.push(err222);}errors++;}}if(data6.max_hours_of_validity!==undefined){var data105=data6.max_hours_of_validity;if(!(typeof data105=='number'&&isFinite(data105))){var err223={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/max_hours_of_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/max_hours_of_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err223];}else {vErrors.push(err223);}errors++;}}if(data6.hours_before_validity!==undefined){var data106=data6.hours_before_validity;if(!(typeof data106=='number'&&isFinite(data106))){var err224={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/hours_before_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/hours_before_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err224];}else {vErrors.push(err224);}errors++;}}if(data6.movement_rounding_kt!==undefined){var data107=data6.movement_rounding_kt;if(!(typeof data107=='number'&&isFinite(data107))){var err225={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_rounding_kt',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_rounding_kt/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err225];}else {vErrors.push(err225);}errors++;}}if(data6.movement_rounding_kmh!==undefined){var data108=data6.movement_rounding_kmh;if(!(typeof data108=='number'&&isFinite(data108))){var err226={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_rounding_kmh',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_rounding_kmh/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err226];}else {vErrors.push(err226);}errors++;}}if(data6.level_min!==undefined){var data109=data6.level_min;if(data109&&_typeof(data109)=='object'&&!Array.isArray(data109)){for(var key3 in data109){var data110=data109[key3];if(!(typeof data110=='number'&&isFinite(data110))){var err227={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_min/'+key3.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_min/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err227];}else {vErrors.push(err227);}errors++;}}}else {var err228={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_min/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err228];}else {vErrors.push(err228);}errors++;}}if(data6.level_max!==undefined){var data111=data6.level_max;if(data111&&_typeof(data111)=='object'&&!Array.isArray(data111)){for(var key4 in data111){var data112=data111[key4];if(!(typeof data112=='number'&&isFinite(data112))){var err229={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_max/'+key4.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_max/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err229];}else {vErrors.push(err229);}errors++;}}}else {var err230={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_max/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err230];}else {vErrors.push(err230);}errors++;}}if(data6.level_rounding_FL!==undefined){var data113=data6.level_rounding_FL;if(!(typeof data113=='number'&&isFinite(data113))){var err231={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_rounding_FL',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_rounding_FL/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err231];}else {vErrors.push(err231);}errors++;}}if(data6.level_rounding_FT!==undefined){var data114=data6.level_rounding_FT;if(!(typeof data114=='number'&&isFinite(data114))){var err232={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_rounding_FT',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_rounding_FT/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err232];}else {vErrors.push(err232);}errors++;}}if(data6.level_rounding_M!==undefined){var data115=data6.level_rounding_M;if(!(typeof data115=='number'&&isFinite(data115))){var err233={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_rounding_M',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_rounding_M/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err233];}else {vErrors.push(err233);}errors++;}}if(data6.movement_min!==undefined){var data116=data6.movement_min;if(data116&&_typeof(data116)=='object'&&!Array.isArray(data116)){for(var key5 in data116){var data117=data116[key5];if(!(typeof data117=='number'&&isFinite(data117))){var err234={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_min/'+key5.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_min/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err234];}else {vErrors.push(err234);}errors++;}}}else {var err235={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_min/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err235];}else {vErrors.push(err235);}errors++;}}if(data6.movement_max!==undefined){var data118=data6.movement_max;if(data118&&_typeof(data118)=='object'&&!Array.isArray(data118)){for(var key6 in data118){var data119=data118[key6];if(!(typeof data119=='number'&&isFinite(data119))){var err236={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_max/'+key6.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_max/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err236];}else {vErrors.push(err236);}errors++;}}}else {var err237={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_max/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err237];}else {vErrors.push(err237);}errors++;}}if(data6.units!==undefined){var data120=data6.units;if(Array.isArray(data120)){if(data120.length<1){var err238={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err238];}else {vErrors.push(err238);}errors++;}var len47=data120.length;for(var i47=0;i47<len47;i47++){var data121=data120[i47];if(data121&&_typeof(data121)=='object'&&!Array.isArray(data121)){if(data121.unit_type===undefined){var err239={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/required',keyword:'required',params:{missingProperty:'unit_type'},message:"must have required property '"+'unit_type'+"'"};if(vErrors===null){vErrors=[err239];}else {vErrors.push(err239);}errors++;}if(data121.allowed_units===undefined){var err240={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/required',keyword:'required',params:{missingProperty:'allowed_units'},message:"must have required property '"+'allowed_units'+"'"};if(vErrors===null){vErrors=[err240];}else {vErrors.push(err240);}errors++;}for(var key7 in data121){if(!(key7==='unit_type'||key7==='allowed_units')){var err241={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key7},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err241];}else {vErrors.push(err241);}errors++;}}if(data121.unit_type!==undefined){if(typeof data121.unit_type!=='string'){var err242={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/unit_type',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/unit_type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err242];}else {vErrors.push(err242);}errors++;}}if(data121.allowed_units!==undefined){var data123=data121.allowed_units;if(Array.isArray(data123)){if(data123.length<1){var err243={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/allowed_units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/allowed_units/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err243];}else {vErrors.push(err243);}errors++;}var len48=data123.length;for(var i48=0;i48<len48;i48++){if(typeof data123[i48]!=='string'){var err244={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/allowed_units/'+i48,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/allowed_units/items/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err244];}else {vErrors.push(err244);}errors++;}}}else {var err245={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/allowed_units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/allowed_units/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err245];}else {vErrors.push(err245);}errors++;}}}else {var err246={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err246];}else {vErrors.push(err246);}errors++;}}}else {var err247={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err247];}else {vErrors.push(err247);}errors++;}}if(data6.tc_max_hours_of_validity!==undefined){var data125=data6.tc_max_hours_of_validity;if(!(typeof data125=='number'&&isFinite(data125))){var err248={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/tc_max_hours_of_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/tc_max_hours_of_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err248];}else {vErrors.push(err248);}errors++;}}if(data6.tc_hours_before_validity!==undefined){var data126=data6.tc_hours_before_validity;if(!(typeof data126=='number'&&isFinite(data126))){var err249={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/tc_hours_before_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/tc_hours_before_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err249];}else {vErrors.push(err249);}errors++;}}if(data6.va_max_hours_of_validity!==undefined){var data127=data6.va_max_hours_of_validity;if(!(typeof data127=='number'&&isFinite(data127))){var err250={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/va_max_hours_of_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/va_max_hours_of_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err250];}else {vErrors.push(err250);}errors++;}}if(data6.va_hours_before_validity!==undefined){var data128=data6.va_hours_before_validity;if(!(typeof data128=='number'&&isFinite(data128))){var err251={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/va_hours_before_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/va_hours_before_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err251];}else {vErrors.push(err251);}errors++;}}if(data6.adjacent_firs!==undefined){var data129=data6.adjacent_firs;if(Array.isArray(data129)){if(data129.length<1){var err252={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/adjacent_firs',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/adjacent_firs/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err252];}else {vErrors.push(err252);}errors++;}var len49=data129.length;for(var i49=0;i49<len49;i49++){if(typeof data129[i49]!=='string'){var err253={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/adjacent_firs/'+i49,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/adjacent_firs/items/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err253];}else {vErrors.push(err253);}errors++;}}}else {var err254={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/adjacent_firs',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/adjacent_firs/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err254];}else {vErrors.push(err254);}errors++;}}if(data6.area_preset!==undefined){if(typeof data6.area_preset!=='string'){var err255={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/area_preset',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/area_preset/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err255];}else {vErrors.push(err255);}errors++;}}}else {var err256={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err256];}else {vErrors.push(err256);}errors++;}var valid4=_errs17===errors;if(!valid4){var err257={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge',keyword:'$merge',params:{},message:'must pass "$merge" keyword validation'};if(vErrors===null){vErrors=[err257];}else {vErrors.push(err257);}errors++;}}}}else {var err258={instancePath:instancePath+'/fir_areas',schemaPath:'#/properties/fir_areas/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err258];}else {vErrors.push(err258);}errors++;}}if(data.mapPreset!==undefined){var data132=data.mapPreset;if(data132&&_typeof(data132)=='object'&&!Array.isArray(data132)){if(data132.layers!==undefined){var data133=data132.layers;if(Array.isArray(data133)){var len50=data133.length;for(var i50=0;i50<len50;i50++){var data134=data133[i50];if(data134&&_typeof(data134)=='object'&&!Array.isArray(data134)){if(data134.id===undefined){var err259={instancePath:instancePath+'/mapPreset/layers/'+i50,schemaPath:'#/properties/mapPreset/properties/layers/items/required',keyword:'required',params:{missingProperty:'id'},message:"must have required property '"+'id'+"'"};if(vErrors===null){vErrors=[err259];}else {vErrors.push(err259);}errors++;}if(data134.name===undefined){var err260={instancePath:instancePath+'/mapPreset/layers/'+i50,schemaPath:'#/properties/mapPreset/properties/layers/items/required',keyword:'required',params:{missingProperty:'name'},message:"must have required property '"+'name'+"'"};if(vErrors===null){vErrors=[err260];}else {vErrors.push(err260);}errors++;}if(data134.layerType===undefined){var err261={instancePath:instancePath+'/mapPreset/layers/'+i50,schemaPath:'#/properties/mapPreset/properties/layers/items/required',keyword:'required',params:{missingProperty:'layerType'},message:"must have required property '"+'layerType'+"'"};if(vErrors===null){vErrors=[err261];}else {vErrors.push(err261);}errors++;}if(data134.id!==undefined){if(typeof data134.id!=='string'){var err262={instancePath:instancePath+'/mapPreset/layers/'+i50+'/id',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/id/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err262];}else {vErrors.push(err262);}errors++;}}if(data134.name!==undefined){if(typeof data134.name!=='string'){var err263={instancePath:instancePath+'/mapPreset/layers/'+i50+'/name',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/name/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err263];}else {vErrors.push(err263);}errors++;}}if(data134.layerType!==undefined){var data137=data134.layerType;if(typeof data137!=='string'){var err264={instancePath:instancePath+'/mapPreset/layers/'+i50+'/layerType',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/layerType/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err264];}else {vErrors.push(err264);}errors++;}if(!(data137==='overLayer'||data137==='baseLayer'||data137==='mapLayer')){var err265={instancePath:instancePath+'/mapPreset/layers/'+i50+'/layerType',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/layerType/enum',keyword:'enum',params:{allowedValues:schema13.properties.mapPreset.properties.layers.items.properties.layerType["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err265];}else {vErrors.push(err265);}errors++;}}}else {var err266={instancePath:instancePath+'/mapPreset/layers/'+i50,schemaPath:'#/properties/mapPreset/properties/layers/items/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err266];}else {vErrors.push(err266);}errors++;}}}else {var err267={instancePath:instancePath+'/mapPreset/layers',schemaPath:'#/properties/mapPreset/properties/layers/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err267];}else {vErrors.push(err267);}errors++;}}if(data132.proj!==undefined){var data138=data132.proj;if(data138&&_typeof(data138)=='object'&&!Array.isArray(data138)){if(data138.bbox===undefined){var err268={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/required',keyword:'required',params:{missingProperty:'bbox'},message:"must have required property '"+'bbox'+"'"};if(vErrors===null){vErrors=[err268];}else {vErrors.push(err268);}errors++;}if(data138.srs===undefined){var err269={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/required',keyword:'required',params:{missingProperty:'srs'},message:"must have required property '"+'srs'+"'"};if(vErrors===null){vErrors=[err269];}else {vErrors.push(err269);}errors++;}for(var key8 in data138){if(!(key8==='bbox'||key8==='srs')){var err270={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key8},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err270];}else {vErrors.push(err270);}errors++;}}if(data138.bbox!==undefined){var data139=data138.bbox;if(data139&&_typeof(data139)=='object'&&!Array.isArray(data139)){if(data139.left===undefined){var err271={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'left'},message:"must have required property '"+'left'+"'"};if(vErrors===null){vErrors=[err271];}else {vErrors.push(err271);}errors++;}if(data139.right===undefined){var err272={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'right'},message:"must have required property '"+'right'+"'"};if(vErrors===null){vErrors=[err272];}else {vErrors.push(err272);}errors++;}if(data139.top===undefined){var err273={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'top'},message:"must have required property '"+'top'+"'"};if(vErrors===null){vErrors=[err273];}else {vErrors.push(err273);}errors++;}if(data139.bottom===undefined){var err274={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'bottom'},message:"must have required property '"+'bottom'+"'"};if(vErrors===null){vErrors=[err274];}else {vErrors.push(err274);}errors++;}for(var key9 in data139){if(!(key9==='left'||key9==='right'||key9==='top'||key9==='bottom')){var err275={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key9},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err275];}else {vErrors.push(err275);}errors++;}}if(data139.left!==undefined){var data140=data139.left;if(!(typeof data140=='number'&&isFinite(data140))){var err276={instancePath:instancePath+'/mapPreset/proj/bbox/left',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/left/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err276];}else {vErrors.push(err276);}errors++;}}if(data139.right!==undefined){var data141=data139.right;if(!(typeof data141=='number'&&isFinite(data141))){var err277={instancePath:instancePath+'/mapPreset/proj/bbox/right',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/right/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err277];}else {vErrors.push(err277);}errors++;}}if(data139.top!==undefined){var data142=data139.top;if(!(typeof data142=='number'&&isFinite(data142))){var err278={instancePath:instancePath+'/mapPreset/proj/bbox/top',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/top/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err278];}else {vErrors.push(err278);}errors++;}}if(data139.bottom!==undefined){var data143=data139.bottom;if(!(typeof data143=='number'&&isFinite(data143))){var err279={instancePath:instancePath+'/mapPreset/proj/bbox/bottom',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/bottom/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err279];}else {vErrors.push(err279);}errors++;}}}else {var err280={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err280];}else {vErrors.push(err280);}errors++;}}if(data138.srs!==undefined){if(typeof data138.srs!=='string'){var err281={instancePath:instancePath+'/mapPreset/proj/srs',schemaPath:'#/properties/mapPreset/properties/proj/properties/srs/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err281];}else {vErrors.push(err281);}errors++;}}}else {var err282={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err282];}else {vErrors.push(err282);}errors++;}}}else {var err283={instancePath:instancePath+'/mapPreset',schemaPath:'#/properties/mapPreset/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err283];}else {vErrors.push(err283);}errors++;}}}else {var err284={instancePath:instancePath,schemaPath:'#/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err284];}else {vErrors.push(err284);}errors++;}validate14.errors=vErrors;return errors===0;}
8048
+ var schema13={type:'object',title:'sigmet config schema',properties:{location_indicator_mwo:{type:'string'},active_firs:{type:'array',items:{type:'string'},minItems:1},valid_from_delay_minutes:{type:'number'},default_validity_minutes:{type:'number'},fir_areas:{type:'object',patternProperties:{'':{type:'object',$merge:{source:{$ref:'firArea.schema.json'},"with":{properties:{tc_max_hours_of_validity:{type:'number'},tc_hours_before_validity:{type:'number'},va_max_hours_of_validity:{type:'number'},va_hours_before_validity:{type:'number'},adjacent_firs:{type:'array',items:{type:'string'},minItems:1},area_preset:{type:'string'}},required:['fir_name','fir_location','location_indicator_atsr','location_indicator_atsu','max_hours_of_validity','hours_before_validity','units','tc_max_hours_of_validity','tc_hours_before_validity','va_max_hours_of_validity','va_hours_before_validity','adjacent_firs','area_preset']}}}},required:[],minProperties:1},mapPreset:{type:'object',properties:{layers:{type:'array',items:{type:'object',properties:{id:{type:'string'},name:{type:'string'},layerType:{type:'string',"enum":['overLayer','baseLayer','mapLayer']}},additionalProperties:true,required:['id','name','layerType']}},proj:{type:'object',properties:{bbox:{type:'object',properties:{left:{type:'number'},right:{type:'number'},top:{type:'number'},bottom:{type:'number'}},additionalProperties:false,required:['left','right','top','bottom']},srs:{type:'string'}},additionalProperties:false,required:['bbox','srs']}}}},required:['location_indicator_mwo','fir_areas','active_firs','valid_from_delay_minutes','default_validity_minutes'],additionalProperties:false};var schema15$1={$schema:'http://json-schema.org/draft-07/schema#',$id:'geojson.schema.json',title:'GeoJSON FeatureCollection',type:'object',required:['type','features'],properties:{type:{type:'string',"enum":['FeatureCollection']},features:{type:'array',items:{title:'GeoJSON Feature',type:'object',required:['type','properties','geometry'],properties:{type:{type:'string',"enum":['Feature']},id:{oneOf:[{type:'number'},{type:'string'}]},properties:{type:'object',properties:{selectionType:{type:'string'}}},geometry:{oneOf:[{type:'null'},{title:'GeoJSON Point',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Point']},coordinates:{type:'array',minItems:2,items:{type:'number'}},bbox:{type:'array',minItems:4,items:{}}}},{title:'GeoJSON LineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['LineString']},coordinates:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON Polygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Polygon']},coordinates:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPoint',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPoint']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiLineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiLineString']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPolygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPolygon']},coordinates:{type:'array',items:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON GeometryCollection',type:'object',required:['type','geometries'],properties:{type:{type:'string',"enum":['GeometryCollection']},geometries:{type:'array',items:{oneOf:[{title:'GeoJSON Point',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Point']},coordinates:{type:'array',minItems:2,items:{type:'number'}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON LineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['LineString']},coordinates:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON Polygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Polygon']},coordinates:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPoint',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPoint']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiLineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiLineString']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPolygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPolygon']},coordinates:{type:'array',items:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}}]}},bbox:{type:'array',minItems:4,items:{type:'number'}}}}]},bbox:{type:'array',minItems:4,items:{type:'number'}}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}};var pattern0$1=new RegExp('','u');var keyword0={$id:'firArea.schema.json',title:'fir config schema',description:'all properties defined in FIRConfig type',type:'object',properties:{fir_name:{type:'string'},omit_change_va_and_rdoact_cloud:{type:'boolean'},fir_location:{$ref:'geojson.schema.json'},location_indicator_atsr:{type:'string'},location_indicator_atsu:{type:'string'},max_hours_of_validity:{type:'number'},hours_before_validity:{type:'number'},movement_rounding_kt:{type:'number'},movement_rounding_kmh:{type:'number'},level_min:{type:'object',additionalProperties:{type:'number'}},level_max:{type:'object',additionalProperties:{type:'number'}},level_rounding_FL:{type:'number'},level_rounding_FT:{type:'number'},level_rounding_M:{type:'number'},movement_min:{type:'object',additionalProperties:{type:'number'}},movement_max:{type:'object',additionalProperties:{type:'number'}},units:{type:'array',items:{type:'object',properties:{unit_type:{type:'string'},allowed_units:{type:'array',items:{type:'string'},minItems:1}},required:['unit_type','allowed_units'],additionalProperties:false},minItems:1},tc_max_hours_of_validity:{type:'number'},tc_hours_before_validity:{type:'number'},va_max_hours_of_validity:{type:'number'},va_hours_before_validity:{type:'number'},adjacent_firs:{type:'array',items:{type:'string'},minItems:1},area_preset:{type:'string'}},required:['fir_name','fir_location','location_indicator_atsr','location_indicator_atsu','max_hours_of_validity','hours_before_validity','units','tc_max_hours_of_validity','tc_hours_before_validity','va_max_hours_of_validity','va_hours_before_validity','adjacent_firs','area_preset'],additionalProperties:false};var func2$1=Object.prototype.hasOwnProperty;function validate14(data){var _ref=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},_ref$instancePath=_ref.instancePath,instancePath=_ref$instancePath===void 0?'':_ref$instancePath;_ref.parentData;_ref.parentDataProperty;_ref.rootData;var vErrors=null;var errors=0;if(data&&_typeof(data)=='object'&&!Array.isArray(data)){if(data.location_indicator_mwo===undefined){var err0={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'location_indicator_mwo'},message:"must have required property '"+'location_indicator_mwo'+"'"};if(vErrors===null){vErrors=[err0];}else {vErrors.push(err0);}errors++;}if(data.fir_areas===undefined){var err1={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'fir_areas'},message:"must have required property '"+'fir_areas'+"'"};if(vErrors===null){vErrors=[err1];}else {vErrors.push(err1);}errors++;}if(data.active_firs===undefined){var err2={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'active_firs'},message:"must have required property '"+'active_firs'+"'"};if(vErrors===null){vErrors=[err2];}else {vErrors.push(err2);}errors++;}if(data.valid_from_delay_minutes===undefined){var err3={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'valid_from_delay_minutes'},message:"must have required property '"+'valid_from_delay_minutes'+"'"};if(vErrors===null){vErrors=[err3];}else {vErrors.push(err3);}errors++;}if(data.default_validity_minutes===undefined){var err4={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'default_validity_minutes'},message:"must have required property '"+'default_validity_minutes'+"'"};if(vErrors===null){vErrors=[err4];}else {vErrors.push(err4);}errors++;}for(var key0 in data){if(!(key0==='location_indicator_mwo'||key0==='active_firs'||key0==='valid_from_delay_minutes'||key0==='default_validity_minutes'||key0==='fir_areas'||key0==='mapPreset'||key0==='omit_change_va_and_rdoact_cloud')){var err5={instancePath:instancePath,schemaPath:'#/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key0},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err5];}else {vErrors.push(err5);}errors++;}}if(data.location_indicator_mwo!==undefined){if(typeof data.location_indicator_mwo!=='string'){var err6={instancePath:instancePath+'/location_indicator_mwo',schemaPath:'#/properties/location_indicator_mwo/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err6];}else {vErrors.push(err6);}errors++;}}if(data.active_firs!==undefined){var data1=data.active_firs;if(Array.isArray(data1)){if(data1.length<1){var err7={instancePath:instancePath+'/active_firs',schemaPath:'#/properties/active_firs/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err7];}else {vErrors.push(err7);}errors++;}var len0=data1.length;for(var i0=0;i0<len0;i0++){if(typeof data1[i0]!=='string'){var err8={instancePath:instancePath+'/active_firs/'+i0,schemaPath:'#/properties/active_firs/items/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err8];}else {vErrors.push(err8);}errors++;}}}else {var err9={instancePath:instancePath+'/active_firs',schemaPath:'#/properties/active_firs/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err9];}else {vErrors.push(err9);}errors++;}}if(data.valid_from_delay_minutes!==undefined){var data3=data.valid_from_delay_minutes;if(!(typeof data3=='number'&&isFinite(data3))){var err10={instancePath:instancePath+'/valid_from_delay_minutes',schemaPath:'#/properties/valid_from_delay_minutes/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err10];}else {vErrors.push(err10);}errors++;}}if(data.default_validity_minutes!==undefined){var data4=data.default_validity_minutes;if(!(typeof data4=='number'&&isFinite(data4))){var err11={instancePath:instancePath+'/default_validity_minutes',schemaPath:'#/properties/default_validity_minutes/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err11];}else {vErrors.push(err11);}errors++;}}if(data.fir_areas!==undefined){var data5=data.fir_areas;if(data5&&_typeof(data5)=='object'&&!Array.isArray(data5)){if(Object.keys(data5).length<1){var err12={instancePath:instancePath+'/fir_areas',schemaPath:'#/properties/fir_areas/minProperties',keyword:'minProperties',params:{limit:1},message:'must NOT have fewer than 1 properties'};if(vErrors===null){vErrors=[err12];}else {vErrors.push(err12);}errors++;}for(var key1 in data5){if(pattern0$1.test(key1)){var data6=data5[key1];if(!(data6&&_typeof(data6)=='object'&&!Array.isArray(data6))){var err13={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err13];}else {vErrors.push(err13);}errors++;}var _errs17=errors;if(data6&&_typeof(data6)=='object'&&!Array.isArray(data6)){if(data6.fir_name===undefined){var err14={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'fir_name'},message:"must have required property '"+'fir_name'+"'"};if(vErrors===null){vErrors=[err14];}else {vErrors.push(err14);}errors++;}if(data6.fir_location===undefined){var err15={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'fir_location'},message:"must have required property '"+'fir_location'+"'"};if(vErrors===null){vErrors=[err15];}else {vErrors.push(err15);}errors++;}if(data6.location_indicator_atsr===undefined){var err16={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'location_indicator_atsr'},message:"must have required property '"+'location_indicator_atsr'+"'"};if(vErrors===null){vErrors=[err16];}else {vErrors.push(err16);}errors++;}if(data6.location_indicator_atsu===undefined){var err17={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'location_indicator_atsu'},message:"must have required property '"+'location_indicator_atsu'+"'"};if(vErrors===null){vErrors=[err17];}else {vErrors.push(err17);}errors++;}if(data6.max_hours_of_validity===undefined){var err18={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'max_hours_of_validity'},message:"must have required property '"+'max_hours_of_validity'+"'"};if(vErrors===null){vErrors=[err18];}else {vErrors.push(err18);}errors++;}if(data6.hours_before_validity===undefined){var err19={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'hours_before_validity'},message:"must have required property '"+'hours_before_validity'+"'"};if(vErrors===null){vErrors=[err19];}else {vErrors.push(err19);}errors++;}if(data6.units===undefined){var err20={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'units'},message:"must have required property '"+'units'+"'"};if(vErrors===null){vErrors=[err20];}else {vErrors.push(err20);}errors++;}if(data6.tc_max_hours_of_validity===undefined){var err21={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'tc_max_hours_of_validity'},message:"must have required property '"+'tc_max_hours_of_validity'+"'"};if(vErrors===null){vErrors=[err21];}else {vErrors.push(err21);}errors++;}if(data6.tc_hours_before_validity===undefined){var err22={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'tc_hours_before_validity'},message:"must have required property '"+'tc_hours_before_validity'+"'"};if(vErrors===null){vErrors=[err22];}else {vErrors.push(err22);}errors++;}if(data6.va_max_hours_of_validity===undefined){var err23={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'va_max_hours_of_validity'},message:"must have required property '"+'va_max_hours_of_validity'+"'"};if(vErrors===null){vErrors=[err23];}else {vErrors.push(err23);}errors++;}if(data6.va_hours_before_validity===undefined){var err24={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'va_hours_before_validity'},message:"must have required property '"+'va_hours_before_validity'+"'"};if(vErrors===null){vErrors=[err24];}else {vErrors.push(err24);}errors++;}if(data6.adjacent_firs===undefined){var err25={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'adjacent_firs'},message:"must have required property '"+'adjacent_firs'+"'"};if(vErrors===null){vErrors=[err25];}else {vErrors.push(err25);}errors++;}if(data6.area_preset===undefined){var err26={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'area_preset'},message:"must have required property '"+'area_preset'+"'"};if(vErrors===null){vErrors=[err26];}else {vErrors.push(err26);}errors++;}for(var key2 in data6){if(!func2$1.call(keyword0.properties,key2)){var err27={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key2},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err27];}else {vErrors.push(err27);}errors++;}}if(data6.fir_name!==undefined){if(typeof data6.fir_name!=='string'){var err28={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_name',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/fir_name/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err28];}else {vErrors.push(err28);}errors++;}}if(data6.fir_location!==undefined){var data8=data6.fir_location;if(data8&&_typeof(data8)=='object'&&!Array.isArray(data8)){if(data8.type===undefined){var err29={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location',schemaPath:'geojson.schema.json/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err29];}else {vErrors.push(err29);}errors++;}if(data8.features===undefined){var err30={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location',schemaPath:'geojson.schema.json/required',keyword:'required',params:{missingProperty:'features'},message:"must have required property '"+'features'+"'"};if(vErrors===null){vErrors=[err30];}else {vErrors.push(err30);}errors++;}if(data8.type!==undefined){var data9=data8.type;if(typeof data9!=='string'){var err31={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/type',schemaPath:'geojson.schema.json/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err31];}else {vErrors.push(err31);}errors++;}if(!(data9==='FeatureCollection')){var err32={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/type',schemaPath:'geojson.schema.json/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err32];}else {vErrors.push(err32);}errors++;}}if(data8.features!==undefined){var data10=data8.features;if(Array.isArray(data10)){var len1=data10.length;for(var i1=0;i1<len1;i1++){var data11=data10[i1];if(data11&&_typeof(data11)=='object'&&!Array.isArray(data11)){if(data11.type===undefined){var err33={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err33];}else {vErrors.push(err33);}errors++;}if(data11.properties===undefined){var err34={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/required',keyword:'required',params:{missingProperty:'properties'},message:"must have required property '"+'properties'+"'"};if(vErrors===null){vErrors=[err34];}else {vErrors.push(err34);}errors++;}if(data11.geometry===undefined){var err35={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/required',keyword:'required',params:{missingProperty:'geometry'},message:"must have required property '"+'geometry'+"'"};if(vErrors===null){vErrors=[err35];}else {vErrors.push(err35);}errors++;}if(data11.type!==undefined){var data12=data11.type;if(typeof data12!=='string'){var err36={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err36];}else {vErrors.push(err36);}errors++;}if(!(data12==='Feature')){var err37={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err37];}else {vErrors.push(err37);}errors++;}}if(data11.id!==undefined){var data13=data11.id;var _errs34=errors;var valid11=false;var passing0=null;var _errs35=errors;if(!(typeof data13=='number'&&isFinite(data13))){var err38={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/id',schemaPath:'geojson.schema.json/properties/features/items/properties/id/oneOf/0/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err38];}else {vErrors.push(err38);}errors++;}var _valid0=_errs35===errors;if(_valid0){valid11=true;passing0=0;}var _errs37=errors;if(typeof data13!=='string'){var err39={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/id',schemaPath:'geojson.schema.json/properties/features/items/properties/id/oneOf/1/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err39];}else {vErrors.push(err39);}errors++;}var _valid0=_errs37===errors;if(_valid0&&valid11){valid11=false;passing0=[passing0,1];}else {if(_valid0){valid11=true;passing0=1;}}if(!valid11){var err40={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/id',schemaPath:'geojson.schema.json/properties/features/items/properties/id/oneOf',keyword:'oneOf',params:{passingSchemas:passing0},message:'must match exactly one schema in oneOf'};if(vErrors===null){vErrors=[err40];}else {vErrors.push(err40);}errors++;}else {errors=_errs34;if(vErrors!==null){if(_errs34){vErrors.length=_errs34;}else {vErrors=null;}}}}if(data11.properties!==undefined){var data14=data11.properties;if(data14&&_typeof(data14)=='object'&&!Array.isArray(data14)){if(data14.selectionType!==undefined){if(typeof data14.selectionType!=='string'){var err41={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/properties/selectionType',schemaPath:'geojson.schema.json/properties/features/items/properties/properties/properties/selectionType/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err41];}else {vErrors.push(err41);}errors++;}}}else {var err42={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/properties',schemaPath:'geojson.schema.json/properties/features/items/properties/properties/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err42];}else {vErrors.push(err42);}errors++;}}if(data11.geometry!==undefined){var data16=data11.geometry;var _errs44=errors;var valid13=false;var passing1=null;var _errs45=errors;if(data16!==null){var err43={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/0/type',keyword:'type',params:{type:'null'},message:'must be null'};if(vErrors===null){vErrors=[err43];}else {vErrors.push(err43);}errors++;}var _valid1=_errs45===errors;if(_valid1){valid13=true;passing1=0;}var _errs47=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err44={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err44];}else {vErrors.push(err44);}errors++;}if(data16.coordinates===undefined){var err45={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err45];}else {vErrors.push(err45);}errors++;}if(data16.type!==undefined){var data17=data16.type;if(typeof data17!=='string'){var err46={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err46];}else {vErrors.push(err46);}errors++;}if(!(data17==='Point')){var err47={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[1].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err47];}else {vErrors.push(err47);}errors++;}}if(data16.coordinates!==undefined){var data18=data16.coordinates;if(Array.isArray(data18)){if(data18.length<2){var err48={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err48];}else {vErrors.push(err48);}errors++;}var len2=data18.length;for(var i2=0;i2<len2;i2++){var data19=data18[i2];if(!(typeof data19=='number'&&isFinite(data19))){var err49={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i2,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/coordinates/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err49];}else {vErrors.push(err49);}errors++;}}}else {var err50={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err50];}else {vErrors.push(err50);}errors++;}}if(data16.bbox!==undefined){var data20=data16.bbox;if(Array.isArray(data20)){if(data20.length<4){var err51={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err51];}else {vErrors.push(err51);}errors++;}}else {var err52={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err52];}else {vErrors.push(err52);}errors++;}}}else {var err53={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err53];}else {vErrors.push(err53);}errors++;}var _valid1=_errs47===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,1];}else {if(_valid1){valid13=true;passing1=1;}var _errs57=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err54={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err54];}else {vErrors.push(err54);}errors++;}if(data16.coordinates===undefined){var err55={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err55];}else {vErrors.push(err55);}errors++;}if(data16.type!==undefined){var data21=data16.type;if(typeof data21!=='string'){var err56={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err56];}else {vErrors.push(err56);}errors++;}if(!(data21==='LineString')){var err57={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[2].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err57];}else {vErrors.push(err57);}errors++;}}if(data16.coordinates!==undefined){var data22=data16.coordinates;if(Array.isArray(data22)){if(data22.length<2){var err58={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err58];}else {vErrors.push(err58);}errors++;}var len3=data22.length;for(var i3=0;i3<len3;i3++){var data23=data22[i3];if(Array.isArray(data23)){if(data23.length<2){var err59={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i3,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err59];}else {vErrors.push(err59);}errors++;}var len4=data23.length;for(var i4=0;i4<len4;i4++){var data24=data23[i4];if(!(typeof data24=='number'&&isFinite(data24))){var err60={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i3+'/'+i4,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err60];}else {vErrors.push(err60);}errors++;}}}else {var err61={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i3,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err61];}else {vErrors.push(err61);}errors++;}}}else {var err62={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err62];}else {vErrors.push(err62);}errors++;}}if(data16.bbox!==undefined){var data25=data16.bbox;if(Array.isArray(data25)){if(data25.length<4){var err63={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err63];}else {vErrors.push(err63);}errors++;}var len5=data25.length;for(var i5=0;i5<len5;i5++){var data26=data25[i5];if(!(typeof data26=='number'&&isFinite(data26))){var err64={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i5,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err64];}else {vErrors.push(err64);}errors++;}}}else {var err65={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err65];}else {vErrors.push(err65);}errors++;}}}else {var err66={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err66];}else {vErrors.push(err66);}errors++;}var _valid1=_errs57===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,2];}else {if(_valid1){valid13=true;passing1=2;}var _errs71=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err67={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err67];}else {vErrors.push(err67);}errors++;}if(data16.coordinates===undefined){var err68={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err68];}else {vErrors.push(err68);}errors++;}if(data16.type!==undefined){var data27=data16.type;if(typeof data27!=='string'){var err69={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err69];}else {vErrors.push(err69);}errors++;}if(!(data27==='Polygon')){var err70={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[3].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err70];}else {vErrors.push(err70);}errors++;}}if(data16.coordinates!==undefined){var data28=data16.coordinates;if(Array.isArray(data28)){var len6=data28.length;for(var i6=0;i6<len6;i6++){var data29=data28[i6];if(Array.isArray(data29)){if(data29.length<4){var err71={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err71];}else {vErrors.push(err71);}errors++;}var len7=data29.length;for(var i7=0;i7<len7;i7++){var data30=data29[i7];if(Array.isArray(data30)){if(data30.length<2){var err72={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6+'/'+i7,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err72];}else {vErrors.push(err72);}errors++;}var len8=data30.length;for(var i8=0;i8<len8;i8++){var data31=data30[i8];if(!(typeof data31=='number'&&isFinite(data31))){var err73={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6+'/'+i7+'/'+i8,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err73];}else {vErrors.push(err73);}errors++;}}}else {var err74={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6+'/'+i7,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err74];}else {vErrors.push(err74);}errors++;}}}else {var err75={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err75];}else {vErrors.push(err75);}errors++;}}}else {var err76={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err76];}else {vErrors.push(err76);}errors++;}}if(data16.bbox!==undefined){var data32=data16.bbox;if(Array.isArray(data32)){if(data32.length<4){var err77={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err77];}else {vErrors.push(err77);}errors++;}var len9=data32.length;for(var i9=0;i9<len9;i9++){var data33=data32[i9];if(!(typeof data33=='number'&&isFinite(data33))){var err78={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i9,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err78];}else {vErrors.push(err78);}errors++;}}}else {var err79={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err79];}else {vErrors.push(err79);}errors++;}}}else {var err80={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err80];}else {vErrors.push(err80);}errors++;}var _valid1=_errs71===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,3];}else {if(_valid1){valid13=true;passing1=3;}var _errs87=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err81={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err81];}else {vErrors.push(err81);}errors++;}if(data16.coordinates===undefined){var err82={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err82];}else {vErrors.push(err82);}errors++;}if(data16.type!==undefined){var data34=data16.type;if(typeof data34!=='string'){var err83={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err83];}else {vErrors.push(err83);}errors++;}if(!(data34==='MultiPoint')){var err84={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[4].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err84];}else {vErrors.push(err84);}errors++;}}if(data16.coordinates!==undefined){var data35=data16.coordinates;if(Array.isArray(data35)){var len10=data35.length;for(var i10=0;i10<len10;i10++){var data36=data35[i10];if(Array.isArray(data36)){if(data36.length<2){var err85={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i10,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err85];}else {vErrors.push(err85);}errors++;}var len11=data36.length;for(var i11=0;i11<len11;i11++){var data37=data36[i11];if(!(typeof data37=='number'&&isFinite(data37))){var err86={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i10+'/'+i11,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err86];}else {vErrors.push(err86);}errors++;}}}else {var err87={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i10,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err87];}else {vErrors.push(err87);}errors++;}}}else {var err88={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err88];}else {vErrors.push(err88);}errors++;}}if(data16.bbox!==undefined){var data38=data16.bbox;if(Array.isArray(data38)){if(data38.length<4){var err89={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err89];}else {vErrors.push(err89);}errors++;}var len12=data38.length;for(var i12=0;i12<len12;i12++){var data39=data38[i12];if(!(typeof data39=='number'&&isFinite(data39))){var err90={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i12,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err90];}else {vErrors.push(err90);}errors++;}}}else {var err91={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err91];}else {vErrors.push(err91);}errors++;}}}else {var err92={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err92];}else {vErrors.push(err92);}errors++;}var _valid1=_errs87===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,4];}else {if(_valid1){valid13=true;passing1=4;}var _errs101=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err93={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err93];}else {vErrors.push(err93);}errors++;}if(data16.coordinates===undefined){var err94={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err94];}else {vErrors.push(err94);}errors++;}if(data16.type!==undefined){var data40=data16.type;if(typeof data40!=='string'){var err95={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err95];}else {vErrors.push(err95);}errors++;}if(!(data40==='MultiLineString')){var err96={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[5].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err96];}else {vErrors.push(err96);}errors++;}}if(data16.coordinates!==undefined){var data41=data16.coordinates;if(Array.isArray(data41)){var len13=data41.length;for(var i13=0;i13<len13;i13++){var data42=data41[i13];if(Array.isArray(data42)){if(data42.length<2){var err97={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err97];}else {vErrors.push(err97);}errors++;}var len14=data42.length;for(var i14=0;i14<len14;i14++){var data43=data42[i14];if(Array.isArray(data43)){if(data43.length<2){var err98={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13+'/'+i14,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err98];}else {vErrors.push(err98);}errors++;}var len15=data43.length;for(var i15=0;i15<len15;i15++){var data44=data43[i15];if(!(typeof data44=='number'&&isFinite(data44))){var err99={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13+'/'+i14+'/'+i15,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err99];}else {vErrors.push(err99);}errors++;}}}else {var err100={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13+'/'+i14,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err100];}else {vErrors.push(err100);}errors++;}}}else {var err101={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err101];}else {vErrors.push(err101);}errors++;}}}else {var err102={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err102];}else {vErrors.push(err102);}errors++;}}if(data16.bbox!==undefined){var data45=data16.bbox;if(Array.isArray(data45)){if(data45.length<4){var err103={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err103];}else {vErrors.push(err103);}errors++;}var len16=data45.length;for(var i16=0;i16<len16;i16++){var data46=data45[i16];if(!(typeof data46=='number'&&isFinite(data46))){var err104={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i16,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err104];}else {vErrors.push(err104);}errors++;}}}else {var err105={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err105];}else {vErrors.push(err105);}errors++;}}}else {var err106={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err106];}else {vErrors.push(err106);}errors++;}var _valid1=_errs101===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,5];}else {if(_valid1){valid13=true;passing1=5;}var _errs117=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err107={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err107];}else {vErrors.push(err107);}errors++;}if(data16.coordinates===undefined){var err108={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err108];}else {vErrors.push(err108);}errors++;}if(data16.type!==undefined){var data47=data16.type;if(typeof data47!=='string'){var err109={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err109];}else {vErrors.push(err109);}errors++;}if(!(data47==='MultiPolygon')){var err110={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[6].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err110];}else {vErrors.push(err110);}errors++;}}if(data16.coordinates!==undefined){var data48=data16.coordinates;if(Array.isArray(data48)){var len17=data48.length;for(var i17=0;i17<len17;i17++){var data49=data48[i17];if(Array.isArray(data49)){var len18=data49.length;for(var i18=0;i18<len18;i18++){var data50=data49[i18];if(Array.isArray(data50)){if(data50.length<4){var err111={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err111];}else {vErrors.push(err111);}errors++;}var len19=data50.length;for(var i19=0;i19<len19;i19++){var data51=data50[i19];if(Array.isArray(data51)){if(data51.length<2){var err112={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18+'/'+i19,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err112];}else {vErrors.push(err112);}errors++;}var len20=data51.length;for(var i20=0;i20<len20;i20++){var data52=data51[i20];if(!(typeof data52=='number'&&isFinite(data52))){var err113={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18+'/'+i19+'/'+i20,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err113];}else {vErrors.push(err113);}errors++;}}}else {var err114={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18+'/'+i19,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err114];}else {vErrors.push(err114);}errors++;}}}else {var err115={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err115];}else {vErrors.push(err115);}errors++;}}}else {var err116={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err116];}else {vErrors.push(err116);}errors++;}}}else {var err117={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err117];}else {vErrors.push(err117);}errors++;}}if(data16.bbox!==undefined){var data53=data16.bbox;if(Array.isArray(data53)){if(data53.length<4){var err118={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err118];}else {vErrors.push(err118);}errors++;}var len21=data53.length;for(var i21=0;i21<len21;i21++){var data54=data53[i21];if(!(typeof data54=='number'&&isFinite(data54))){var err119={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i21,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err119];}else {vErrors.push(err119);}errors++;}}}else {var err120={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err120];}else {vErrors.push(err120);}errors++;}}}else {var err121={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err121];}else {vErrors.push(err121);}errors++;}var _valid1=_errs117===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,6];}else {if(_valid1){valid13=true;passing1=6;}var _errs135=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err122={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err122];}else {vErrors.push(err122);}errors++;}if(data16.geometries===undefined){var err123={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/required',keyword:'required',params:{missingProperty:'geometries'},message:"must have required property '"+'geometries'+"'"};if(vErrors===null){vErrors=[err123];}else {vErrors.push(err123);}errors++;}if(data16.type!==undefined){var data55=data16.type;if(typeof data55!=='string'){var err124={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err124];}else {vErrors.push(err124);}errors++;}if(!(data55==='GeometryCollection')){var err125={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err125];}else {vErrors.push(err125);}errors++;}}if(data16.geometries!==undefined){var data56=data16.geometries;if(Array.isArray(data56)){var len22=data56.length;for(var i22=0;i22<len22;i22++){var data57=data56[i22];var _errs142=errors;var valid63=false;var passing2=null;var _errs143=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err126={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err126];}else {vErrors.push(err126);}errors++;}if(data57.coordinates===undefined){var err127={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err127];}else {vErrors.push(err127);}errors++;}if(data57.type!==undefined){var data58=data57.type;if(typeof data58!=='string'){var err128={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err128];}else {vErrors.push(err128);}errors++;}if(!(data58==='Point')){var err129={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[0].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err129];}else {vErrors.push(err129);}errors++;}}if(data57.coordinates!==undefined){var data59=data57.coordinates;if(Array.isArray(data59)){if(data59.length<2){var err130={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err130];}else {vErrors.push(err130);}errors++;}var len23=data59.length;for(var i23=0;i23<len23;i23++){var data60=data59[i23];if(!(typeof data60=='number'&&isFinite(data60))){var err131={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i23,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/coordinates/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err131];}else {vErrors.push(err131);}errors++;}}}else {var err132={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err132];}else {vErrors.push(err132);}errors++;}}if(data57.bbox!==undefined){var data61=data57.bbox;if(Array.isArray(data61)){if(data61.length<4){var err133={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err133];}else {vErrors.push(err133);}errors++;}var len24=data61.length;for(var i24=0;i24<len24;i24++){var data62=data61[i24];if(!(typeof data62=='number'&&isFinite(data62))){var err134={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i24,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err134];}else {vErrors.push(err134);}errors++;}}}else {var err135={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err135];}else {vErrors.push(err135);}errors++;}}}else {var err136={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err136];}else {vErrors.push(err136);}errors++;}var _valid2=_errs143===errors;if(_valid2){valid63=true;passing2=0;}var _errs155=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err137={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err137];}else {vErrors.push(err137);}errors++;}if(data57.coordinates===undefined){var err138={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err138];}else {vErrors.push(err138);}errors++;}if(data57.type!==undefined){var data63=data57.type;if(typeof data63!=='string'){var err139={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err139];}else {vErrors.push(err139);}errors++;}if(!(data63==='LineString')){var err140={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[1].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err140];}else {vErrors.push(err140);}errors++;}}if(data57.coordinates!==undefined){var data64=data57.coordinates;if(Array.isArray(data64)){if(data64.length<2){var err141={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err141];}else {vErrors.push(err141);}errors++;}var len25=data64.length;for(var i25=0;i25<len25;i25++){var data65=data64[i25];if(Array.isArray(data65)){if(data65.length<2){var err142={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i25,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err142];}else {vErrors.push(err142);}errors++;}var len26=data65.length;for(var i26=0;i26<len26;i26++){var data66=data65[i26];if(!(typeof data66=='number'&&isFinite(data66))){var err143={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i25+'/'+i26,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err143];}else {vErrors.push(err143);}errors++;}}}else {var err144={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i25,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err144];}else {vErrors.push(err144);}errors++;}}}else {var err145={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err145];}else {vErrors.push(err145);}errors++;}}if(data57.bbox!==undefined){var data67=data57.bbox;if(Array.isArray(data67)){if(data67.length<4){var err146={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err146];}else {vErrors.push(err146);}errors++;}var len27=data67.length;for(var i27=0;i27<len27;i27++){var data68=data67[i27];if(!(typeof data68=='number'&&isFinite(data68))){var err147={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i27,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err147];}else {vErrors.push(err147);}errors++;}}}else {var err148={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err148];}else {vErrors.push(err148);}errors++;}}}else {var err149={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err149];}else {vErrors.push(err149);}errors++;}var _valid2=_errs155===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,1];}else {if(_valid2){valid63=true;passing2=1;}var _errs169=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err150={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err150];}else {vErrors.push(err150);}errors++;}if(data57.coordinates===undefined){var err151={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err151];}else {vErrors.push(err151);}errors++;}if(data57.type!==undefined){var data69=data57.type;if(typeof data69!=='string'){var err152={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err152];}else {vErrors.push(err152);}errors++;}if(!(data69==='Polygon')){var err153={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[2].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err153];}else {vErrors.push(err153);}errors++;}}if(data57.coordinates!==undefined){var data70=data57.coordinates;if(Array.isArray(data70)){var len28=data70.length;for(var i28=0;i28<len28;i28++){var data71=data70[i28];if(Array.isArray(data71)){if(data71.length<4){var err154={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err154];}else {vErrors.push(err154);}errors++;}var len29=data71.length;for(var i29=0;i29<len29;i29++){var data72=data71[i29];if(Array.isArray(data72)){if(data72.length<2){var err155={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28+'/'+i29,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err155];}else {vErrors.push(err155);}errors++;}var len30=data72.length;for(var i30=0;i30<len30;i30++){var data73=data72[i30];if(!(typeof data73=='number'&&isFinite(data73))){var err156={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28+'/'+i29+'/'+i30,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err156];}else {vErrors.push(err156);}errors++;}}}else {var err157={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28+'/'+i29,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err157];}else {vErrors.push(err157);}errors++;}}}else {var err158={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err158];}else {vErrors.push(err158);}errors++;}}}else {var err159={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err159];}else {vErrors.push(err159);}errors++;}}if(data57.bbox!==undefined){var data74=data57.bbox;if(Array.isArray(data74)){if(data74.length<4){var err160={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err160];}else {vErrors.push(err160);}errors++;}var len31=data74.length;for(var i31=0;i31<len31;i31++){var data75=data74[i31];if(!(typeof data75=='number'&&isFinite(data75))){var err161={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i31,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err161];}else {vErrors.push(err161);}errors++;}}}else {var err162={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err162];}else {vErrors.push(err162);}errors++;}}}else {var err163={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err163];}else {vErrors.push(err163);}errors++;}var _valid2=_errs169===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,2];}else {if(_valid2){valid63=true;passing2=2;}var _errs185=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err164={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err164];}else {vErrors.push(err164);}errors++;}if(data57.coordinates===undefined){var err165={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err165];}else {vErrors.push(err165);}errors++;}if(data57.type!==undefined){var data76=data57.type;if(typeof data76!=='string'){var err166={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err166];}else {vErrors.push(err166);}errors++;}if(!(data76==='MultiPoint')){var err167={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[3].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err167];}else {vErrors.push(err167);}errors++;}}if(data57.coordinates!==undefined){var data77=data57.coordinates;if(Array.isArray(data77)){var len32=data77.length;for(var i32=0;i32<len32;i32++){var data78=data77[i32];if(Array.isArray(data78)){if(data78.length<2){var err168={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i32,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err168];}else {vErrors.push(err168);}errors++;}var len33=data78.length;for(var i33=0;i33<len33;i33++){var data79=data78[i33];if(!(typeof data79=='number'&&isFinite(data79))){var err169={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i32+'/'+i33,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err169];}else {vErrors.push(err169);}errors++;}}}else {var err170={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i32,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err170];}else {vErrors.push(err170);}errors++;}}}else {var err171={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err171];}else {vErrors.push(err171);}errors++;}}if(data57.bbox!==undefined){var data80=data57.bbox;if(Array.isArray(data80)){if(data80.length<4){var err172={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err172];}else {vErrors.push(err172);}errors++;}var len34=data80.length;for(var i34=0;i34<len34;i34++){var data81=data80[i34];if(!(typeof data81=='number'&&isFinite(data81))){var err173={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i34,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err173];}else {vErrors.push(err173);}errors++;}}}else {var err174={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err174];}else {vErrors.push(err174);}errors++;}}}else {var err175={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err175];}else {vErrors.push(err175);}errors++;}var _valid2=_errs185===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,3];}else {if(_valid2){valid63=true;passing2=3;}var _errs199=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err176={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err176];}else {vErrors.push(err176);}errors++;}if(data57.coordinates===undefined){var err177={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err177];}else {vErrors.push(err177);}errors++;}if(data57.type!==undefined){var data82=data57.type;if(typeof data82!=='string'){var err178={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err178];}else {vErrors.push(err178);}errors++;}if(!(data82==='MultiLineString')){var err179={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[4].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err179];}else {vErrors.push(err179);}errors++;}}if(data57.coordinates!==undefined){var data83=data57.coordinates;if(Array.isArray(data83)){var len35=data83.length;for(var i35=0;i35<len35;i35++){var data84=data83[i35];if(Array.isArray(data84)){if(data84.length<2){var err180={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err180];}else {vErrors.push(err180);}errors++;}var len36=data84.length;for(var i36=0;i36<len36;i36++){var data85=data84[i36];if(Array.isArray(data85)){if(data85.length<2){var err181={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35+'/'+i36,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err181];}else {vErrors.push(err181);}errors++;}var len37=data85.length;for(var i37=0;i37<len37;i37++){var data86=data85[i37];if(!(typeof data86=='number'&&isFinite(data86))){var err182={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35+'/'+i36+'/'+i37,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err182];}else {vErrors.push(err182);}errors++;}}}else {var err183={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35+'/'+i36,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err183];}else {vErrors.push(err183);}errors++;}}}else {var err184={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err184];}else {vErrors.push(err184);}errors++;}}}else {var err185={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err185];}else {vErrors.push(err185);}errors++;}}if(data57.bbox!==undefined){var data87=data57.bbox;if(Array.isArray(data87)){if(data87.length<4){var err186={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err186];}else {vErrors.push(err186);}errors++;}var len38=data87.length;for(var i38=0;i38<len38;i38++){var data88=data87[i38];if(!(typeof data88=='number'&&isFinite(data88))){var err187={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i38,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err187];}else {vErrors.push(err187);}errors++;}}}else {var err188={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err188];}else {vErrors.push(err188);}errors++;}}}else {var err189={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err189];}else {vErrors.push(err189);}errors++;}var _valid2=_errs199===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,4];}else {if(_valid2){valid63=true;passing2=4;}var _errs215=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err190={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err190];}else {vErrors.push(err190);}errors++;}if(data57.coordinates===undefined){var err191={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err191];}else {vErrors.push(err191);}errors++;}if(data57.type!==undefined){var data89=data57.type;if(typeof data89!=='string'){var err192={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err192];}else {vErrors.push(err192);}errors++;}if(!(data89==='MultiPolygon')){var err193={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/type/enum',keyword:'enum',params:{allowedValues:schema15$1.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[5].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err193];}else {vErrors.push(err193);}errors++;}}if(data57.coordinates!==undefined){var data90=data57.coordinates;if(Array.isArray(data90)){var len39=data90.length;for(var i39=0;i39<len39;i39++){var data91=data90[i39];if(Array.isArray(data91)){var len40=data91.length;for(var i40=0;i40<len40;i40++){var data92=data91[i40];if(Array.isArray(data92)){if(data92.length<4){var err194={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err194];}else {vErrors.push(err194);}errors++;}var len41=data92.length;for(var i41=0;i41<len41;i41++){var data93=data92[i41];if(Array.isArray(data93)){if(data93.length<2){var err195={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40+'/'+i41,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err195];}else {vErrors.push(err195);}errors++;}var len42=data93.length;for(var i42=0;i42<len42;i42++){var data94=data93[i42];if(!(typeof data94=='number'&&isFinite(data94))){var err196={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40+'/'+i41+'/'+i42,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err196];}else {vErrors.push(err196);}errors++;}}}else {var err197={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40+'/'+i41,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err197];}else {vErrors.push(err197);}errors++;}}}else {var err198={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err198];}else {vErrors.push(err198);}errors++;}}}else {var err199={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err199];}else {vErrors.push(err199);}errors++;}}}else {var err200={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err200];}else {vErrors.push(err200);}errors++;}}if(data57.bbox!==undefined){var data95=data57.bbox;if(Array.isArray(data95)){if(data95.length<4){var err201={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err201];}else {vErrors.push(err201);}errors++;}var len43=data95.length;for(var i43=0;i43<len43;i43++){var data96=data95[i43];if(!(typeof data96=='number'&&isFinite(data96))){var err202={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i43,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err202];}else {vErrors.push(err202);}errors++;}}}else {var err203={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err203];}else {vErrors.push(err203);}errors++;}}}else {var err204={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err204];}else {vErrors.push(err204);}errors++;}var _valid2=_errs215===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,5];}else {if(_valid2){valid63=true;passing2=5;}}}}}}if(!valid63){var err205={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf',keyword:'oneOf',params:{passingSchemas:passing2},message:'must match exactly one schema in oneOf'};if(vErrors===null){vErrors=[err205];}else {vErrors.push(err205);}errors++;}else {errors=_errs142;if(vErrors!==null){if(_errs142){vErrors.length=_errs142;}else {vErrors=null;}}}}}else {var err206={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err206];}else {vErrors.push(err206);}errors++;}}if(data16.bbox!==undefined){var data97=data16.bbox;if(Array.isArray(data97)){if(data97.length<4){var err207={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err207];}else {vErrors.push(err207);}errors++;}var len44=data97.length;for(var i44=0;i44<len44;i44++){var data98=data97[i44];if(!(typeof data98=='number'&&isFinite(data98))){var err208={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i44,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err208];}else {vErrors.push(err208);}errors++;}}}else {var err209={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err209];}else {vErrors.push(err209);}errors++;}}}else {var err210={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err210];}else {vErrors.push(err210);}errors++;}var _valid1=_errs135===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,7];}else {if(_valid1){valid13=true;passing1=7;}}}}}}}}if(!valid13){var err211={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf',keyword:'oneOf',params:{passingSchemas:passing1},message:'must match exactly one schema in oneOf'};if(vErrors===null){vErrors=[err211];}else {vErrors.push(err211);}errors++;}else {errors=_errs44;if(vErrors!==null){if(_errs44){vErrors.length=_errs44;}else {vErrors=null;}}}}if(data11.bbox!==undefined){var data99=data11.bbox;if(Array.isArray(data99)){if(data99.length<4){var err212={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err212];}else {vErrors.push(err212);}errors++;}var len45=data99.length;for(var i45=0;i45<len45;i45++){var data100=data99[i45];if(!(typeof data100=='number'&&isFinite(data100))){var err213={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/bbox/'+i45,schemaPath:'geojson.schema.json/properties/features/items/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err213];}else {vErrors.push(err213);}errors++;}}}else {var err214={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err214];}else {vErrors.push(err214);}errors++;}}}else {var err215={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err215];}else {vErrors.push(err215);}errors++;}}}else {var err216={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features',schemaPath:'geojson.schema.json/properties/features/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err216];}else {vErrors.push(err216);}errors++;}}if(data8.bbox!==undefined){var data101=data8.bbox;if(Array.isArray(data101)){if(data101.length<4){var err217={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/bbox',schemaPath:'geojson.schema.json/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err217];}else {vErrors.push(err217);}errors++;}var len46=data101.length;for(var i46=0;i46<len46;i46++){var data102=data101[i46];if(!(typeof data102=='number'&&isFinite(data102))){var err218={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/bbox/'+i46,schemaPath:'geojson.schema.json/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err218];}else {vErrors.push(err218);}errors++;}}}else {var err219={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/bbox',schemaPath:'geojson.schema.json/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err219];}else {vErrors.push(err219);}errors++;}}}else {var err220={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location',schemaPath:'geojson.schema.json/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err220];}else {vErrors.push(err220);}errors++;}}if(data6.location_indicator_atsr!==undefined){if(typeof data6.location_indicator_atsr!=='string'){var err221={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/location_indicator_atsr',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/location_indicator_atsr/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err221];}else {vErrors.push(err221);}errors++;}}if(data6.location_indicator_atsu!==undefined){if(typeof data6.location_indicator_atsu!=='string'){var err222={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/location_indicator_atsu',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/location_indicator_atsu/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err222];}else {vErrors.push(err222);}errors++;}}if(data6.max_hours_of_validity!==undefined){var data105=data6.max_hours_of_validity;if(!(typeof data105=='number'&&isFinite(data105))){var err223={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/max_hours_of_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/max_hours_of_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err223];}else {vErrors.push(err223);}errors++;}}if(data6.hours_before_validity!==undefined){var data106=data6.hours_before_validity;if(!(typeof data106=='number'&&isFinite(data106))){var err224={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/hours_before_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/hours_before_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err224];}else {vErrors.push(err224);}errors++;}}if(data6.movement_rounding_kt!==undefined){var data107=data6.movement_rounding_kt;if(!(typeof data107=='number'&&isFinite(data107))){var err225={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_rounding_kt',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_rounding_kt/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err225];}else {vErrors.push(err225);}errors++;}}if(data6.movement_rounding_kmh!==undefined){var data108=data6.movement_rounding_kmh;if(!(typeof data108=='number'&&isFinite(data108))){var err226={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_rounding_kmh',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_rounding_kmh/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err226];}else {vErrors.push(err226);}errors++;}}if(data6.level_min!==undefined){var data109=data6.level_min;if(data109&&_typeof(data109)=='object'&&!Array.isArray(data109)){for(var key3 in data109){var data110=data109[key3];if(!(typeof data110=='number'&&isFinite(data110))){var err227={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_min/'+key3.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_min/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err227];}else {vErrors.push(err227);}errors++;}}}else {var err228={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_min/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err228];}else {vErrors.push(err228);}errors++;}}if(data6.level_max!==undefined){var data111=data6.level_max;if(data111&&_typeof(data111)=='object'&&!Array.isArray(data111)){for(var key4 in data111){var data112=data111[key4];if(!(typeof data112=='number'&&isFinite(data112))){var err229={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_max/'+key4.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_max/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err229];}else {vErrors.push(err229);}errors++;}}}else {var err230={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_max/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err230];}else {vErrors.push(err230);}errors++;}}if(data6.level_rounding_FL!==undefined){var data113=data6.level_rounding_FL;if(!(typeof data113=='number'&&isFinite(data113))){var err231={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_rounding_FL',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_rounding_FL/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err231];}else {vErrors.push(err231);}errors++;}}if(data6.level_rounding_FT!==undefined){var data114=data6.level_rounding_FT;if(!(typeof data114=='number'&&isFinite(data114))){var err232={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_rounding_FT',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_rounding_FT/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err232];}else {vErrors.push(err232);}errors++;}}if(data6.level_rounding_M!==undefined){var data115=data6.level_rounding_M;if(!(typeof data115=='number'&&isFinite(data115))){var err233={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_rounding_M',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_rounding_M/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err233];}else {vErrors.push(err233);}errors++;}}if(data6.movement_min!==undefined){var data116=data6.movement_min;if(data116&&_typeof(data116)=='object'&&!Array.isArray(data116)){for(var key5 in data116){var data117=data116[key5];if(!(typeof data117=='number'&&isFinite(data117))){var err234={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_min/'+key5.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_min/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err234];}else {vErrors.push(err234);}errors++;}}}else {var err235={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_min/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err235];}else {vErrors.push(err235);}errors++;}}if(data6.movement_max!==undefined){var data118=data6.movement_max;if(data118&&_typeof(data118)=='object'&&!Array.isArray(data118)){for(var key6 in data118){var data119=data118[key6];if(!(typeof data119=='number'&&isFinite(data119))){var err236={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_max/'+key6.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_max/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err236];}else {vErrors.push(err236);}errors++;}}}else {var err237={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_max/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err237];}else {vErrors.push(err237);}errors++;}}if(data6.units!==undefined){var data120=data6.units;if(Array.isArray(data120)){if(data120.length<1){var err238={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err238];}else {vErrors.push(err238);}errors++;}var len47=data120.length;for(var i47=0;i47<len47;i47++){var data121=data120[i47];if(data121&&_typeof(data121)=='object'&&!Array.isArray(data121)){if(data121.unit_type===undefined){var err239={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/required',keyword:'required',params:{missingProperty:'unit_type'},message:"must have required property '"+'unit_type'+"'"};if(vErrors===null){vErrors=[err239];}else {vErrors.push(err239);}errors++;}if(data121.allowed_units===undefined){var err240={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/required',keyword:'required',params:{missingProperty:'allowed_units'},message:"must have required property '"+'allowed_units'+"'"};if(vErrors===null){vErrors=[err240];}else {vErrors.push(err240);}errors++;}for(var key7 in data121){if(!(key7==='unit_type'||key7==='allowed_units')){var err241={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key7},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err241];}else {vErrors.push(err241);}errors++;}}if(data121.unit_type!==undefined){if(typeof data121.unit_type!=='string'){var err242={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/unit_type',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/unit_type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err242];}else {vErrors.push(err242);}errors++;}}if(data121.allowed_units!==undefined){var data123=data121.allowed_units;if(Array.isArray(data123)){if(data123.length<1){var err243={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/allowed_units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/allowed_units/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err243];}else {vErrors.push(err243);}errors++;}var len48=data123.length;for(var i48=0;i48<len48;i48++){if(typeof data123[i48]!=='string'){var err244={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/allowed_units/'+i48,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/allowed_units/items/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err244];}else {vErrors.push(err244);}errors++;}}}else {var err245={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/allowed_units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/allowed_units/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err245];}else {vErrors.push(err245);}errors++;}}}else {var err246={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err246];}else {vErrors.push(err246);}errors++;}}}else {var err247={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err247];}else {vErrors.push(err247);}errors++;}}if(data6.tc_max_hours_of_validity!==undefined){var data125=data6.tc_max_hours_of_validity;if(!(typeof data125=='number'&&isFinite(data125))){var err248={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/tc_max_hours_of_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/tc_max_hours_of_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err248];}else {vErrors.push(err248);}errors++;}}if(data6.tc_hours_before_validity!==undefined){var data126=data6.tc_hours_before_validity;if(!(typeof data126=='number'&&isFinite(data126))){var err249={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/tc_hours_before_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/tc_hours_before_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err249];}else {vErrors.push(err249);}errors++;}}if(data6.va_max_hours_of_validity!==undefined){var data127=data6.va_max_hours_of_validity;if(!(typeof data127=='number'&&isFinite(data127))){var err250={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/va_max_hours_of_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/va_max_hours_of_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err250];}else {vErrors.push(err250);}errors++;}}if(data6.va_hours_before_validity!==undefined){var data128=data6.va_hours_before_validity;if(!(typeof data128=='number'&&isFinite(data128))){var err251={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/va_hours_before_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/va_hours_before_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err251];}else {vErrors.push(err251);}errors++;}}if(data6.adjacent_firs!==undefined){var data129=data6.adjacent_firs;if(Array.isArray(data129)){if(data129.length<1){var err252={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/adjacent_firs',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/adjacent_firs/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err252];}else {vErrors.push(err252);}errors++;}var len49=data129.length;for(var i49=0;i49<len49;i49++){if(typeof data129[i49]!=='string'){var err253={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/adjacent_firs/'+i49,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/adjacent_firs/items/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err253];}else {vErrors.push(err253);}errors++;}}}else {var err254={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/adjacent_firs',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/adjacent_firs/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err254];}else {vErrors.push(err254);}errors++;}}if(data6.area_preset!==undefined){if(typeof data6.area_preset!=='string'){var err255={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/area_preset',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/area_preset/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err255];}else {vErrors.push(err255);}errors++;}}}else {var err256={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err256];}else {vErrors.push(err256);}errors++;}var valid4=_errs17===errors;if(!valid4){var err257={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge',keyword:'$merge',params:{},message:'must pass "$merge" keyword validation'};if(vErrors===null){vErrors=[err257];}else {vErrors.push(err257);}errors++;}}}}else {var err258={instancePath:instancePath+'/fir_areas',schemaPath:'#/properties/fir_areas/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err258];}else {vErrors.push(err258);}errors++;}}if(data.mapPreset!==undefined){var data132=data.mapPreset;if(data132&&_typeof(data132)=='object'&&!Array.isArray(data132)){if(data132.layers!==undefined){var data133=data132.layers;if(Array.isArray(data133)){var len50=data133.length;for(var i50=0;i50<len50;i50++){var data134=data133[i50];if(data134&&_typeof(data134)=='object'&&!Array.isArray(data134)){if(data134.id===undefined){var err259={instancePath:instancePath+'/mapPreset/layers/'+i50,schemaPath:'#/properties/mapPreset/properties/layers/items/required',keyword:'required',params:{missingProperty:'id'},message:"must have required property '"+'id'+"'"};if(vErrors===null){vErrors=[err259];}else {vErrors.push(err259);}errors++;}if(data134.name===undefined){var err260={instancePath:instancePath+'/mapPreset/layers/'+i50,schemaPath:'#/properties/mapPreset/properties/layers/items/required',keyword:'required',params:{missingProperty:'name'},message:"must have required property '"+'name'+"'"};if(vErrors===null){vErrors=[err260];}else {vErrors.push(err260);}errors++;}if(data134.layerType===undefined){var err261={instancePath:instancePath+'/mapPreset/layers/'+i50,schemaPath:'#/properties/mapPreset/properties/layers/items/required',keyword:'required',params:{missingProperty:'layerType'},message:"must have required property '"+'layerType'+"'"};if(vErrors===null){vErrors=[err261];}else {vErrors.push(err261);}errors++;}if(data134.id!==undefined){if(typeof data134.id!=='string'){var err262={instancePath:instancePath+'/mapPreset/layers/'+i50+'/id',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/id/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err262];}else {vErrors.push(err262);}errors++;}}if(data134.name!==undefined){if(typeof data134.name!=='string'){var err263={instancePath:instancePath+'/mapPreset/layers/'+i50+'/name',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/name/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err263];}else {vErrors.push(err263);}errors++;}}if(data134.layerType!==undefined){var data137=data134.layerType;if(typeof data137!=='string'){var err264={instancePath:instancePath+'/mapPreset/layers/'+i50+'/layerType',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/layerType/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err264];}else {vErrors.push(err264);}errors++;}if(!(data137==='overLayer'||data137==='baseLayer'||data137==='mapLayer')){var err265={instancePath:instancePath+'/mapPreset/layers/'+i50+'/layerType',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/layerType/enum',keyword:'enum',params:{allowedValues:schema13.properties.mapPreset.properties.layers.items.properties.layerType["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err265];}else {vErrors.push(err265);}errors++;}}}else {var err266={instancePath:instancePath+'/mapPreset/layers/'+i50,schemaPath:'#/properties/mapPreset/properties/layers/items/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err266];}else {vErrors.push(err266);}errors++;}}}else {var err267={instancePath:instancePath+'/mapPreset/layers',schemaPath:'#/properties/mapPreset/properties/layers/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err267];}else {vErrors.push(err267);}errors++;}}if(data132.proj!==undefined){var data138=data132.proj;if(data138&&_typeof(data138)=='object'&&!Array.isArray(data138)){if(data138.bbox===undefined){var err268={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/required',keyword:'required',params:{missingProperty:'bbox'},message:"must have required property '"+'bbox'+"'"};if(vErrors===null){vErrors=[err268];}else {vErrors.push(err268);}errors++;}if(data138.srs===undefined){var err269={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/required',keyword:'required',params:{missingProperty:'srs'},message:"must have required property '"+'srs'+"'"};if(vErrors===null){vErrors=[err269];}else {vErrors.push(err269);}errors++;}for(var key8 in data138){if(!(key8==='bbox'||key8==='srs')){var err270={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key8},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err270];}else {vErrors.push(err270);}errors++;}}if(data138.bbox!==undefined){var data139=data138.bbox;if(data139&&_typeof(data139)=='object'&&!Array.isArray(data139)){if(data139.left===undefined){var err271={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'left'},message:"must have required property '"+'left'+"'"};if(vErrors===null){vErrors=[err271];}else {vErrors.push(err271);}errors++;}if(data139.right===undefined){var err272={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'right'},message:"must have required property '"+'right'+"'"};if(vErrors===null){vErrors=[err272];}else {vErrors.push(err272);}errors++;}if(data139.top===undefined){var err273={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'top'},message:"must have required property '"+'top'+"'"};if(vErrors===null){vErrors=[err273];}else {vErrors.push(err273);}errors++;}if(data139.bottom===undefined){var err274={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'bottom'},message:"must have required property '"+'bottom'+"'"};if(vErrors===null){vErrors=[err274];}else {vErrors.push(err274);}errors++;}for(var key9 in data139){if(!(key9==='left'||key9==='right'||key9==='top'||key9==='bottom')){var err275={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key9},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err275];}else {vErrors.push(err275);}errors++;}}if(data139.left!==undefined){var data140=data139.left;if(!(typeof data140=='number'&&isFinite(data140))){var err276={instancePath:instancePath+'/mapPreset/proj/bbox/left',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/left/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err276];}else {vErrors.push(err276);}errors++;}}if(data139.right!==undefined){var data141=data139.right;if(!(typeof data141=='number'&&isFinite(data141))){var err277={instancePath:instancePath+'/mapPreset/proj/bbox/right',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/right/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err277];}else {vErrors.push(err277);}errors++;}}if(data139.top!==undefined){var data142=data139.top;if(!(typeof data142=='number'&&isFinite(data142))){var err278={instancePath:instancePath+'/mapPreset/proj/bbox/top',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/top/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err278];}else {vErrors.push(err278);}errors++;}}if(data139.bottom!==undefined){var data143=data139.bottom;if(!(typeof data143=='number'&&isFinite(data143))){var err279={instancePath:instancePath+'/mapPreset/proj/bbox/bottom',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/bottom/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err279];}else {vErrors.push(err279);}errors++;}}}else {var err280={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err280];}else {vErrors.push(err280);}errors++;}}if(data138.srs!==undefined){if(typeof data138.srs!=='string'){var err281={instancePath:instancePath+'/mapPreset/proj/srs',schemaPath:'#/properties/mapPreset/properties/proj/properties/srs/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err281];}else {vErrors.push(err281);}errors++;}}}else {var err282={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err282];}else {vErrors.push(err282);}errors++;}}}else {var err283={instancePath:instancePath+'/mapPreset',schemaPath:'#/properties/mapPreset/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err283];}else {vErrors.push(err283);}errors++;}}}else {var err284={instancePath:instancePath,schemaPath:'#/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err284];}else {vErrors.push(err284);}errors++;}validate14.errors=vErrors;return errors===0;}
8019
8049
 
8020
8050
  var schema17={type:'object',title:'airmet config schema',properties:{location_indicator_mwo:{type:'string'},active_firs:{type:'array',items:{type:'string'},minItems:1},valid_from_delay_minutes:{type:'number'},default_validity_minutes:{type:'number'},fir_areas:{type:'object',patternProperties:{'':{type:'object',$merge:{source:{$ref:'firArea.schema.json'},"with":{properties:{cloud_level_min:{type:'object',additionalProperties:{type:'number'}},cloud_level_max:{type:'object',additionalProperties:{type:'number'}},cloud_lower_level_min:{type:'object',additionalProperties:{type:'number'}},cloud_lower_level_max:{type:'object',additionalProperties:{type:'number'}},cloud_level_rounding_ft:{type:'number'},cloud_level_rounding_m_below:{type:'number'},cloud_level_rounding_m_above:{type:'number'},wind_direction_rounding:{type:'number'},wind_speed_max:{type:'object',additionalProperties:{type:'number'}},wind_speed_min:{type:'object',additionalProperties:{type:'number'}},visibility_max:{type:'number'},visibility_min:{type:'number'},visibility_rounding_below:{type:'number'},visibility_rounding_above:{type:'number'}},required:['fir_name','fir_location','location_indicator_atsr','location_indicator_atsu','max_hours_of_validity','hours_before_validity','units']}}}},required:[],minProperties:1},mapPreset:{type:'object',properties:{layers:{type:'array',items:{type:'object',properties:{id:{type:'string'},name:{type:'string'},layerType:{type:'string',"enum":['overLayer','baseLayer','mapLayer']}},additionalProperties:true,required:['id','name','layerType']}},proj:{type:'object',properties:{bbox:{type:'object',properties:{left:{type:'number'},right:{type:'number'},top:{type:'number'},bottom:{type:'number'}},additionalProperties:false,required:['left','right','top','bottom']},srs:{type:'string'}},additionalProperties:false,required:['bbox','srs']}}}},required:['location_indicator_mwo','fir_areas','active_firs','valid_from_delay_minutes','default_validity_minutes'],additionalProperties:false};var schema15={$schema:'http://json-schema.org/draft-07/schema#',$id:'geojson.schema.json',title:'GeoJSON FeatureCollection',type:'object',required:['type','features'],properties:{type:{type:'string',"enum":['FeatureCollection']},features:{type:'array',items:{title:'GeoJSON Feature',type:'object',required:['type','properties','geometry'],properties:{type:{type:'string',"enum":['Feature']},id:{oneOf:[{type:'number'},{type:'string'}]},properties:{type:'object',properties:{selectionType:{type:'string'}}},geometry:{oneOf:[{type:'null'},{title:'GeoJSON Point',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Point']},coordinates:{type:'array',minItems:2,items:{type:'number'}},bbox:{type:'array',minItems:4,items:{}}}},{title:'GeoJSON LineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['LineString']},coordinates:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON Polygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Polygon']},coordinates:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPoint',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPoint']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiLineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiLineString']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPolygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPolygon']},coordinates:{type:'array',items:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON GeometryCollection',type:'object',required:['type','geometries'],properties:{type:{type:'string',"enum":['GeometryCollection']},geometries:{type:'array',items:{oneOf:[{title:'GeoJSON Point',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Point']},coordinates:{type:'array',minItems:2,items:{type:'number'}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON LineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['LineString']},coordinates:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON Polygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['Polygon']},coordinates:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPoint',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPoint']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'number'}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiLineString',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiLineString']},coordinates:{type:'array',items:{type:'array',minItems:2,items:{type:'array',minItems:2,items:{type:'number'}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}},{title:'GeoJSON MultiPolygon',type:'object',required:['type','coordinates'],properties:{type:{type:'string',"enum":['MultiPolygon']},coordinates:{type:'array',items:{type:'array',items:{type:'array',minItems:4,items:{type:'array',minItems:2,items:{type:'number'}}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}}]}},bbox:{type:'array',minItems:4,items:{type:'number'}}}}]},bbox:{type:'array',minItems:4,items:{type:'number'}}}}},bbox:{type:'array',minItems:4,items:{type:'number'}}}};var pattern0=new RegExp('','u');var keyword1={$id:'firArea.schema.json',title:'fir config schema',description:'all properties defined in FIRConfig type',type:'object',properties:{fir_name:{type:'string'},fir_location:{$ref:'geojson.schema.json'},location_indicator_atsr:{type:'string'},location_indicator_atsu:{type:'string'},max_hours_of_validity:{type:'number'},hours_before_validity:{type:'number'},movement_rounding_kt:{type:'number'},movement_rounding_kmh:{type:'number'},level_min:{type:'object',additionalProperties:{type:'number'}},level_max:{type:'object',additionalProperties:{type:'number'}},level_rounding_FL:{type:'number'},level_rounding_FT:{type:'number'},level_rounding_M:{type:'number'},movement_min:{type:'object',additionalProperties:{type:'number'}},movement_max:{type:'object',additionalProperties:{type:'number'}},units:{type:'array',items:{type:'object',properties:{unit_type:{type:'string'},allowed_units:{type:'array',items:{type:'string'},minItems:1}},required:['unit_type','allowed_units'],additionalProperties:false},minItems:1},cloud_level_min:{type:'object',additionalProperties:{type:'number'}},cloud_level_max:{type:'object',additionalProperties:{type:'number'}},cloud_lower_level_min:{type:'object',additionalProperties:{type:'number'}},cloud_lower_level_max:{type:'object',additionalProperties:{type:'number'}},cloud_level_rounding_ft:{type:'number'},cloud_level_rounding_m_below:{type:'number'},cloud_level_rounding_m_above:{type:'number'},wind_direction_rounding:{type:'number'},wind_speed_max:{type:'object',additionalProperties:{type:'number'}},wind_speed_min:{type:'object',additionalProperties:{type:'number'}},visibility_max:{type:'number'},visibility_min:{type:'number'},visibility_rounding_below:{type:'number'},visibility_rounding_above:{type:'number'}},required:['fir_name','fir_location','location_indicator_atsr','location_indicator_atsu','max_hours_of_validity','hours_before_validity','units'],additionalProperties:false};var func2=Object.prototype.hasOwnProperty;function validate16(data){var _ref=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},_ref$instancePath=_ref.instancePath,instancePath=_ref$instancePath===void 0?'':_ref$instancePath;_ref.parentData;_ref.parentDataProperty;_ref.rootData;var vErrors=null;var errors=0;if(data&&_typeof(data)=='object'&&!Array.isArray(data)){if(data.location_indicator_mwo===undefined){var err0={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'location_indicator_mwo'},message:"must have required property '"+'location_indicator_mwo'+"'"};if(vErrors===null){vErrors=[err0];}else {vErrors.push(err0);}errors++;}if(data.fir_areas===undefined){var err1={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'fir_areas'},message:"must have required property '"+'fir_areas'+"'"};if(vErrors===null){vErrors=[err1];}else {vErrors.push(err1);}errors++;}if(data.active_firs===undefined){var err2={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'active_firs'},message:"must have required property '"+'active_firs'+"'"};if(vErrors===null){vErrors=[err2];}else {vErrors.push(err2);}errors++;}if(data.valid_from_delay_minutes===undefined){var err3={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'valid_from_delay_minutes'},message:"must have required property '"+'valid_from_delay_minutes'+"'"};if(vErrors===null){vErrors=[err3];}else {vErrors.push(err3);}errors++;}if(data.default_validity_minutes===undefined){var err4={instancePath:instancePath,schemaPath:'#/required',keyword:'required',params:{missingProperty:'default_validity_minutes'},message:"must have required property '"+'default_validity_minutes'+"'"};if(vErrors===null){vErrors=[err4];}else {vErrors.push(err4);}errors++;}for(var key0 in data){if(!(key0==='location_indicator_mwo'||key0==='active_firs'||key0==='valid_from_delay_minutes'||key0==='default_validity_minutes'||key0==='fir_areas'||key0==='mapPreset')){var err5={instancePath:instancePath,schemaPath:'#/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key0},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err5];}else {vErrors.push(err5);}errors++;}}if(data.location_indicator_mwo!==undefined){if(typeof data.location_indicator_mwo!=='string'){var err6={instancePath:instancePath+'/location_indicator_mwo',schemaPath:'#/properties/location_indicator_mwo/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err6];}else {vErrors.push(err6);}errors++;}}if(data.active_firs!==undefined){var data1=data.active_firs;if(Array.isArray(data1)){if(data1.length<1){var err7={instancePath:instancePath+'/active_firs',schemaPath:'#/properties/active_firs/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err7];}else {vErrors.push(err7);}errors++;}var len0=data1.length;for(var i0=0;i0<len0;i0++){if(typeof data1[i0]!=='string'){var err8={instancePath:instancePath+'/active_firs/'+i0,schemaPath:'#/properties/active_firs/items/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err8];}else {vErrors.push(err8);}errors++;}}}else {var err9={instancePath:instancePath+'/active_firs',schemaPath:'#/properties/active_firs/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err9];}else {vErrors.push(err9);}errors++;}}if(data.valid_from_delay_minutes!==undefined){var data3=data.valid_from_delay_minutes;if(!(typeof data3=='number'&&isFinite(data3))){var err10={instancePath:instancePath+'/valid_from_delay_minutes',schemaPath:'#/properties/valid_from_delay_minutes/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err10];}else {vErrors.push(err10);}errors++;}}if(data.default_validity_minutes!==undefined){var data4=data.default_validity_minutes;if(!(typeof data4=='number'&&isFinite(data4))){var err11={instancePath:instancePath+'/default_validity_minutes',schemaPath:'#/properties/default_validity_minutes/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err11];}else {vErrors.push(err11);}errors++;}}if(data.fir_areas!==undefined){var data5=data.fir_areas;if(data5&&_typeof(data5)=='object'&&!Array.isArray(data5)){if(Object.keys(data5).length<1){var err12={instancePath:instancePath+'/fir_areas',schemaPath:'#/properties/fir_areas/minProperties',keyword:'minProperties',params:{limit:1},message:'must NOT have fewer than 1 properties'};if(vErrors===null){vErrors=[err12];}else {vErrors.push(err12);}errors++;}for(var key1 in data5){if(pattern0.test(key1)){var data6=data5[key1];if(!(data6&&_typeof(data6)=='object'&&!Array.isArray(data6))){var err13={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err13];}else {vErrors.push(err13);}errors++;}var _errs17=errors;if(data6&&_typeof(data6)=='object'&&!Array.isArray(data6)){if(data6.fir_name===undefined){var err14={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'fir_name'},message:"must have required property '"+'fir_name'+"'"};if(vErrors===null){vErrors=[err14];}else {vErrors.push(err14);}errors++;}if(data6.fir_location===undefined){var err15={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'fir_location'},message:"must have required property '"+'fir_location'+"'"};if(vErrors===null){vErrors=[err15];}else {vErrors.push(err15);}errors++;}if(data6.location_indicator_atsr===undefined){var err16={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'location_indicator_atsr'},message:"must have required property '"+'location_indicator_atsr'+"'"};if(vErrors===null){vErrors=[err16];}else {vErrors.push(err16);}errors++;}if(data6.location_indicator_atsu===undefined){var err17={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'location_indicator_atsu'},message:"must have required property '"+'location_indicator_atsu'+"'"};if(vErrors===null){vErrors=[err17];}else {vErrors.push(err17);}errors++;}if(data6.max_hours_of_validity===undefined){var err18={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'max_hours_of_validity'},message:"must have required property '"+'max_hours_of_validity'+"'"};if(vErrors===null){vErrors=[err18];}else {vErrors.push(err18);}errors++;}if(data6.hours_before_validity===undefined){var err19={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'hours_before_validity'},message:"must have required property '"+'hours_before_validity'+"'"};if(vErrors===null){vErrors=[err19];}else {vErrors.push(err19);}errors++;}if(data6.units===undefined){var err20={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/required',keyword:'required',params:{missingProperty:'units'},message:"must have required property '"+'units'+"'"};if(vErrors===null){vErrors=[err20];}else {vErrors.push(err20);}errors++;}for(var key2 in data6){if(!func2.call(keyword1.properties,key2)){var err21={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key2},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err21];}else {vErrors.push(err21);}errors++;}}if(data6.fir_name!==undefined){if(typeof data6.fir_name!=='string'){var err22={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_name',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/fir_name/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err22];}else {vErrors.push(err22);}errors++;}}if(data6.fir_location!==undefined){var data8=data6.fir_location;if(data8&&_typeof(data8)=='object'&&!Array.isArray(data8)){if(data8.type===undefined){var err23={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location',schemaPath:'geojson.schema.json/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err23];}else {vErrors.push(err23);}errors++;}if(data8.features===undefined){var err24={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location',schemaPath:'geojson.schema.json/required',keyword:'required',params:{missingProperty:'features'},message:"must have required property '"+'features'+"'"};if(vErrors===null){vErrors=[err24];}else {vErrors.push(err24);}errors++;}if(data8.type!==undefined){var data9=data8.type;if(typeof data9!=='string'){var err25={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/type',schemaPath:'geojson.schema.json/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err25];}else {vErrors.push(err25);}errors++;}if(!(data9==='FeatureCollection')){var err26={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/type',schemaPath:'geojson.schema.json/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err26];}else {vErrors.push(err26);}errors++;}}if(data8.features!==undefined){var data10=data8.features;if(Array.isArray(data10)){var len1=data10.length;for(var i1=0;i1<len1;i1++){var data11=data10[i1];if(data11&&_typeof(data11)=='object'&&!Array.isArray(data11)){if(data11.type===undefined){var err27={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err27];}else {vErrors.push(err27);}errors++;}if(data11.properties===undefined){var err28={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/required',keyword:'required',params:{missingProperty:'properties'},message:"must have required property '"+'properties'+"'"};if(vErrors===null){vErrors=[err28];}else {vErrors.push(err28);}errors++;}if(data11.geometry===undefined){var err29={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/required',keyword:'required',params:{missingProperty:'geometry'},message:"must have required property '"+'geometry'+"'"};if(vErrors===null){vErrors=[err29];}else {vErrors.push(err29);}errors++;}if(data11.type!==undefined){var data12=data11.type;if(typeof data12!=='string'){var err30={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err30];}else {vErrors.push(err30);}errors++;}if(!(data12==='Feature')){var err31={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err31];}else {vErrors.push(err31);}errors++;}}if(data11.id!==undefined){var data13=data11.id;var _errs34=errors;var valid11=false;var passing0=null;var _errs35=errors;if(!(typeof data13=='number'&&isFinite(data13))){var err32={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/id',schemaPath:'geojson.schema.json/properties/features/items/properties/id/oneOf/0/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err32];}else {vErrors.push(err32);}errors++;}var _valid0=_errs35===errors;if(_valid0){valid11=true;passing0=0;}var _errs37=errors;if(typeof data13!=='string'){var err33={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/id',schemaPath:'geojson.schema.json/properties/features/items/properties/id/oneOf/1/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err33];}else {vErrors.push(err33);}errors++;}var _valid0=_errs37===errors;if(_valid0&&valid11){valid11=false;passing0=[passing0,1];}else {if(_valid0){valid11=true;passing0=1;}}if(!valid11){var err34={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/id',schemaPath:'geojson.schema.json/properties/features/items/properties/id/oneOf',keyword:'oneOf',params:{passingSchemas:passing0},message:'must match exactly one schema in oneOf'};if(vErrors===null){vErrors=[err34];}else {vErrors.push(err34);}errors++;}else {errors=_errs34;if(vErrors!==null){if(_errs34){vErrors.length=_errs34;}else {vErrors=null;}}}}if(data11.properties!==undefined){var data14=data11.properties;if(data14&&_typeof(data14)=='object'&&!Array.isArray(data14)){if(data14.selectionType!==undefined){if(typeof data14.selectionType!=='string'){var err35={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/properties/selectionType',schemaPath:'geojson.schema.json/properties/features/items/properties/properties/properties/selectionType/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err35];}else {vErrors.push(err35);}errors++;}}}else {var err36={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/properties',schemaPath:'geojson.schema.json/properties/features/items/properties/properties/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err36];}else {vErrors.push(err36);}errors++;}}if(data11.geometry!==undefined){var data16=data11.geometry;var _errs44=errors;var valid13=false;var passing1=null;var _errs45=errors;if(data16!==null){var err37={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/0/type',keyword:'type',params:{type:'null'},message:'must be null'};if(vErrors===null){vErrors=[err37];}else {vErrors.push(err37);}errors++;}var _valid1=_errs45===errors;if(_valid1){valid13=true;passing1=0;}var _errs47=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err38={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err38];}else {vErrors.push(err38);}errors++;}if(data16.coordinates===undefined){var err39={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err39];}else {vErrors.push(err39);}errors++;}if(data16.type!==undefined){var data17=data16.type;if(typeof data17!=='string'){var err40={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err40];}else {vErrors.push(err40);}errors++;}if(!(data17==='Point')){var err41={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[1].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err41];}else {vErrors.push(err41);}errors++;}}if(data16.coordinates!==undefined){var data18=data16.coordinates;if(Array.isArray(data18)){if(data18.length<2){var err42={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err42];}else {vErrors.push(err42);}errors++;}var len2=data18.length;for(var i2=0;i2<len2;i2++){var data19=data18[i2];if(!(typeof data19=='number'&&isFinite(data19))){var err43={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i2,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/coordinates/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err43];}else {vErrors.push(err43);}errors++;}}}else {var err44={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err44];}else {vErrors.push(err44);}errors++;}}if(data16.bbox!==undefined){var data20=data16.bbox;if(Array.isArray(data20)){if(data20.length<4){var err45={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err45];}else {vErrors.push(err45);}errors++;}}else {var err46={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err46];}else {vErrors.push(err46);}errors++;}}}else {var err47={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/1/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err47];}else {vErrors.push(err47);}errors++;}var _valid1=_errs47===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,1];}else {if(_valid1){valid13=true;passing1=1;}var _errs57=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err48={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err48];}else {vErrors.push(err48);}errors++;}if(data16.coordinates===undefined){var err49={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err49];}else {vErrors.push(err49);}errors++;}if(data16.type!==undefined){var data21=data16.type;if(typeof data21!=='string'){var err50={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err50];}else {vErrors.push(err50);}errors++;}if(!(data21==='LineString')){var err51={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[2].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err51];}else {vErrors.push(err51);}errors++;}}if(data16.coordinates!==undefined){var data22=data16.coordinates;if(Array.isArray(data22)){if(data22.length<2){var err52={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err52];}else {vErrors.push(err52);}errors++;}var len3=data22.length;for(var i3=0;i3<len3;i3++){var data23=data22[i3];if(Array.isArray(data23)){if(data23.length<2){var err53={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i3,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err53];}else {vErrors.push(err53);}errors++;}var len4=data23.length;for(var i4=0;i4<len4;i4++){var data24=data23[i4];if(!(typeof data24=='number'&&isFinite(data24))){var err54={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i3+'/'+i4,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err54];}else {vErrors.push(err54);}errors++;}}}else {var err55={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i3,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err55];}else {vErrors.push(err55);}errors++;}}}else {var err56={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err56];}else {vErrors.push(err56);}errors++;}}if(data16.bbox!==undefined){var data25=data16.bbox;if(Array.isArray(data25)){if(data25.length<4){var err57={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err57];}else {vErrors.push(err57);}errors++;}var len5=data25.length;for(var i5=0;i5<len5;i5++){var data26=data25[i5];if(!(typeof data26=='number'&&isFinite(data26))){var err58={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i5,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err58];}else {vErrors.push(err58);}errors++;}}}else {var err59={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err59];}else {vErrors.push(err59);}errors++;}}}else {var err60={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/2/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err60];}else {vErrors.push(err60);}errors++;}var _valid1=_errs57===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,2];}else {if(_valid1){valid13=true;passing1=2;}var _errs71=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err61={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err61];}else {vErrors.push(err61);}errors++;}if(data16.coordinates===undefined){var err62={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err62];}else {vErrors.push(err62);}errors++;}if(data16.type!==undefined){var data27=data16.type;if(typeof data27!=='string'){var err63={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err63];}else {vErrors.push(err63);}errors++;}if(!(data27==='Polygon')){var err64={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[3].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err64];}else {vErrors.push(err64);}errors++;}}if(data16.coordinates!==undefined){var data28=data16.coordinates;if(Array.isArray(data28)){var len6=data28.length;for(var i6=0;i6<len6;i6++){var data29=data28[i6];if(Array.isArray(data29)){if(data29.length<4){var err65={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err65];}else {vErrors.push(err65);}errors++;}var len7=data29.length;for(var i7=0;i7<len7;i7++){var data30=data29[i7];if(Array.isArray(data30)){if(data30.length<2){var err66={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6+'/'+i7,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err66];}else {vErrors.push(err66);}errors++;}var len8=data30.length;for(var i8=0;i8<len8;i8++){var data31=data30[i8];if(!(typeof data31=='number'&&isFinite(data31))){var err67={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6+'/'+i7+'/'+i8,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err67];}else {vErrors.push(err67);}errors++;}}}else {var err68={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6+'/'+i7,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err68];}else {vErrors.push(err68);}errors++;}}}else {var err69={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i6,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err69];}else {vErrors.push(err69);}errors++;}}}else {var err70={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err70];}else {vErrors.push(err70);}errors++;}}if(data16.bbox!==undefined){var data32=data16.bbox;if(Array.isArray(data32)){if(data32.length<4){var err71={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err71];}else {vErrors.push(err71);}errors++;}var len9=data32.length;for(var i9=0;i9<len9;i9++){var data33=data32[i9];if(!(typeof data33=='number'&&isFinite(data33))){var err72={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i9,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err72];}else {vErrors.push(err72);}errors++;}}}else {var err73={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err73];}else {vErrors.push(err73);}errors++;}}}else {var err74={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/3/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err74];}else {vErrors.push(err74);}errors++;}var _valid1=_errs71===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,3];}else {if(_valid1){valid13=true;passing1=3;}var _errs87=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err75={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err75];}else {vErrors.push(err75);}errors++;}if(data16.coordinates===undefined){var err76={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err76];}else {vErrors.push(err76);}errors++;}if(data16.type!==undefined){var data34=data16.type;if(typeof data34!=='string'){var err77={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err77];}else {vErrors.push(err77);}errors++;}if(!(data34==='MultiPoint')){var err78={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[4].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err78];}else {vErrors.push(err78);}errors++;}}if(data16.coordinates!==undefined){var data35=data16.coordinates;if(Array.isArray(data35)){var len10=data35.length;for(var i10=0;i10<len10;i10++){var data36=data35[i10];if(Array.isArray(data36)){if(data36.length<2){var err79={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i10,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err79];}else {vErrors.push(err79);}errors++;}var len11=data36.length;for(var i11=0;i11<len11;i11++){var data37=data36[i11];if(!(typeof data37=='number'&&isFinite(data37))){var err80={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i10+'/'+i11,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err80];}else {vErrors.push(err80);}errors++;}}}else {var err81={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i10,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err81];}else {vErrors.push(err81);}errors++;}}}else {var err82={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err82];}else {vErrors.push(err82);}errors++;}}if(data16.bbox!==undefined){var data38=data16.bbox;if(Array.isArray(data38)){if(data38.length<4){var err83={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err83];}else {vErrors.push(err83);}errors++;}var len12=data38.length;for(var i12=0;i12<len12;i12++){var data39=data38[i12];if(!(typeof data39=='number'&&isFinite(data39))){var err84={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i12,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err84];}else {vErrors.push(err84);}errors++;}}}else {var err85={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err85];}else {vErrors.push(err85);}errors++;}}}else {var err86={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/4/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err86];}else {vErrors.push(err86);}errors++;}var _valid1=_errs87===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,4];}else {if(_valid1){valid13=true;passing1=4;}var _errs101=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err87={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err87];}else {vErrors.push(err87);}errors++;}if(data16.coordinates===undefined){var err88={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err88];}else {vErrors.push(err88);}errors++;}if(data16.type!==undefined){var data40=data16.type;if(typeof data40!=='string'){var err89={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err89];}else {vErrors.push(err89);}errors++;}if(!(data40==='MultiLineString')){var err90={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[5].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err90];}else {vErrors.push(err90);}errors++;}}if(data16.coordinates!==undefined){var data41=data16.coordinates;if(Array.isArray(data41)){var len13=data41.length;for(var i13=0;i13<len13;i13++){var data42=data41[i13];if(Array.isArray(data42)){if(data42.length<2){var err91={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err91];}else {vErrors.push(err91);}errors++;}var len14=data42.length;for(var i14=0;i14<len14;i14++){var data43=data42[i14];if(Array.isArray(data43)){if(data43.length<2){var err92={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13+'/'+i14,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err92];}else {vErrors.push(err92);}errors++;}var len15=data43.length;for(var i15=0;i15<len15;i15++){var data44=data43[i15];if(!(typeof data44=='number'&&isFinite(data44))){var err93={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13+'/'+i14+'/'+i15,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err93];}else {vErrors.push(err93);}errors++;}}}else {var err94={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13+'/'+i14,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err94];}else {vErrors.push(err94);}errors++;}}}else {var err95={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i13,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err95];}else {vErrors.push(err95);}errors++;}}}else {var err96={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err96];}else {vErrors.push(err96);}errors++;}}if(data16.bbox!==undefined){var data45=data16.bbox;if(Array.isArray(data45)){if(data45.length<4){var err97={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err97];}else {vErrors.push(err97);}errors++;}var len16=data45.length;for(var i16=0;i16<len16;i16++){var data46=data45[i16];if(!(typeof data46=='number'&&isFinite(data46))){var err98={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i16,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err98];}else {vErrors.push(err98);}errors++;}}}else {var err99={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err99];}else {vErrors.push(err99);}errors++;}}}else {var err100={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/5/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err100];}else {vErrors.push(err100);}errors++;}var _valid1=_errs101===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,5];}else {if(_valid1){valid13=true;passing1=5;}var _errs117=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err101={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err101];}else {vErrors.push(err101);}errors++;}if(data16.coordinates===undefined){var err102={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err102];}else {vErrors.push(err102);}errors++;}if(data16.type!==undefined){var data47=data16.type;if(typeof data47!=='string'){var err103={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err103];}else {vErrors.push(err103);}errors++;}if(!(data47==='MultiPolygon')){var err104={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[6].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err104];}else {vErrors.push(err104);}errors++;}}if(data16.coordinates!==undefined){var data48=data16.coordinates;if(Array.isArray(data48)){var len17=data48.length;for(var i17=0;i17<len17;i17++){var data49=data48[i17];if(Array.isArray(data49)){var len18=data49.length;for(var i18=0;i18<len18;i18++){var data50=data49[i18];if(Array.isArray(data50)){if(data50.length<4){var err105={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err105];}else {vErrors.push(err105);}errors++;}var len19=data50.length;for(var i19=0;i19<len19;i19++){var data51=data50[i19];if(Array.isArray(data51)){if(data51.length<2){var err106={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18+'/'+i19,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err106];}else {vErrors.push(err106);}errors++;}var len20=data51.length;for(var i20=0;i20<len20;i20++){var data52=data51[i20];if(!(typeof data52=='number'&&isFinite(data52))){var err107={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18+'/'+i19+'/'+i20,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err107];}else {vErrors.push(err107);}errors++;}}}else {var err108={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18+'/'+i19,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err108];}else {vErrors.push(err108);}errors++;}}}else {var err109={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17+'/'+i18,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err109];}else {vErrors.push(err109);}errors++;}}}else {var err110={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates/'+i17,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err110];}else {vErrors.push(err110);}errors++;}}}else {var err111={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err111];}else {vErrors.push(err111);}errors++;}}if(data16.bbox!==undefined){var data53=data16.bbox;if(Array.isArray(data53)){if(data53.length<4){var err112={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err112];}else {vErrors.push(err112);}errors++;}var len21=data53.length;for(var i21=0;i21<len21;i21++){var data54=data53[i21];if(!(typeof data54=='number'&&isFinite(data54))){var err113={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i21,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err113];}else {vErrors.push(err113);}errors++;}}}else {var err114={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err114];}else {vErrors.push(err114);}errors++;}}}else {var err115={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/6/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err115];}else {vErrors.push(err115);}errors++;}var _valid1=_errs117===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,6];}else {if(_valid1){valid13=true;passing1=6;}var _errs135=errors;if(data16&&_typeof(data16)=='object'&&!Array.isArray(data16)){if(data16.type===undefined){var err116={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err116];}else {vErrors.push(err116);}errors++;}if(data16.geometries===undefined){var err117={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/required',keyword:'required',params:{missingProperty:'geometries'},message:"must have required property '"+'geometries'+"'"};if(vErrors===null){vErrors=[err117];}else {vErrors.push(err117);}errors++;}if(data16.type!==undefined){var data55=data16.type;if(typeof data55!=='string'){var err118={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err118];}else {vErrors.push(err118);}errors++;}if(!(data55==='GeometryCollection')){var err119={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[7].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err119];}else {vErrors.push(err119);}errors++;}}if(data16.geometries!==undefined){var data56=data16.geometries;if(Array.isArray(data56)){var len22=data56.length;for(var i22=0;i22<len22;i22++){var data57=data56[i22];var _errs142=errors;var valid63=false;var passing2=null;var _errs143=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err120={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err120];}else {vErrors.push(err120);}errors++;}if(data57.coordinates===undefined){var err121={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err121];}else {vErrors.push(err121);}errors++;}if(data57.type!==undefined){var data58=data57.type;if(typeof data58!=='string'){var err122={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err122];}else {vErrors.push(err122);}errors++;}if(!(data58==='Point')){var err123={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[0].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err123];}else {vErrors.push(err123);}errors++;}}if(data57.coordinates!==undefined){var data59=data57.coordinates;if(Array.isArray(data59)){if(data59.length<2){var err124={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err124];}else {vErrors.push(err124);}errors++;}var len23=data59.length;for(var i23=0;i23<len23;i23++){var data60=data59[i23];if(!(typeof data60=='number'&&isFinite(data60))){var err125={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i23,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/coordinates/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err125];}else {vErrors.push(err125);}errors++;}}}else {var err126={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err126];}else {vErrors.push(err126);}errors++;}}if(data57.bbox!==undefined){var data61=data57.bbox;if(Array.isArray(data61)){if(data61.length<4){var err127={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err127];}else {vErrors.push(err127);}errors++;}var len24=data61.length;for(var i24=0;i24<len24;i24++){var data62=data61[i24];if(!(typeof data62=='number'&&isFinite(data62))){var err128={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i24,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err128];}else {vErrors.push(err128);}errors++;}}}else {var err129={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err129];}else {vErrors.push(err129);}errors++;}}}else {var err130={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/0/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err130];}else {vErrors.push(err130);}errors++;}var _valid2=_errs143===errors;if(_valid2){valid63=true;passing2=0;}var _errs155=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err131={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err131];}else {vErrors.push(err131);}errors++;}if(data57.coordinates===undefined){var err132={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err132];}else {vErrors.push(err132);}errors++;}if(data57.type!==undefined){var data63=data57.type;if(typeof data63!=='string'){var err133={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err133];}else {vErrors.push(err133);}errors++;}if(!(data63==='LineString')){var err134={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[1].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err134];}else {vErrors.push(err134);}errors++;}}if(data57.coordinates!==undefined){var data64=data57.coordinates;if(Array.isArray(data64)){if(data64.length<2){var err135={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err135];}else {vErrors.push(err135);}errors++;}var len25=data64.length;for(var i25=0;i25<len25;i25++){var data65=data64[i25];if(Array.isArray(data65)){if(data65.length<2){var err136={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i25,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err136];}else {vErrors.push(err136);}errors++;}var len26=data65.length;for(var i26=0;i26<len26;i26++){var data66=data65[i26];if(!(typeof data66=='number'&&isFinite(data66))){var err137={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i25+'/'+i26,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err137];}else {vErrors.push(err137);}errors++;}}}else {var err138={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i25,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err138];}else {vErrors.push(err138);}errors++;}}}else {var err139={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err139];}else {vErrors.push(err139);}errors++;}}if(data57.bbox!==undefined){var data67=data57.bbox;if(Array.isArray(data67)){if(data67.length<4){var err140={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err140];}else {vErrors.push(err140);}errors++;}var len27=data67.length;for(var i27=0;i27<len27;i27++){var data68=data67[i27];if(!(typeof data68=='number'&&isFinite(data68))){var err141={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i27,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err141];}else {vErrors.push(err141);}errors++;}}}else {var err142={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err142];}else {vErrors.push(err142);}errors++;}}}else {var err143={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/1/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err143];}else {vErrors.push(err143);}errors++;}var _valid2=_errs155===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,1];}else {if(_valid2){valid63=true;passing2=1;}var _errs169=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err144={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err144];}else {vErrors.push(err144);}errors++;}if(data57.coordinates===undefined){var err145={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err145];}else {vErrors.push(err145);}errors++;}if(data57.type!==undefined){var data69=data57.type;if(typeof data69!=='string'){var err146={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err146];}else {vErrors.push(err146);}errors++;}if(!(data69==='Polygon')){var err147={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[2].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err147];}else {vErrors.push(err147);}errors++;}}if(data57.coordinates!==undefined){var data70=data57.coordinates;if(Array.isArray(data70)){var len28=data70.length;for(var i28=0;i28<len28;i28++){var data71=data70[i28];if(Array.isArray(data71)){if(data71.length<4){var err148={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err148];}else {vErrors.push(err148);}errors++;}var len29=data71.length;for(var i29=0;i29<len29;i29++){var data72=data71[i29];if(Array.isArray(data72)){if(data72.length<2){var err149={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28+'/'+i29,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err149];}else {vErrors.push(err149);}errors++;}var len30=data72.length;for(var i30=0;i30<len30;i30++){var data73=data72[i30];if(!(typeof data73=='number'&&isFinite(data73))){var err150={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28+'/'+i29+'/'+i30,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err150];}else {vErrors.push(err150);}errors++;}}}else {var err151={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28+'/'+i29,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err151];}else {vErrors.push(err151);}errors++;}}}else {var err152={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i28,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err152];}else {vErrors.push(err152);}errors++;}}}else {var err153={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err153];}else {vErrors.push(err153);}errors++;}}if(data57.bbox!==undefined){var data74=data57.bbox;if(Array.isArray(data74)){if(data74.length<4){var err154={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err154];}else {vErrors.push(err154);}errors++;}var len31=data74.length;for(var i31=0;i31<len31;i31++){var data75=data74[i31];if(!(typeof data75=='number'&&isFinite(data75))){var err155={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i31,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err155];}else {vErrors.push(err155);}errors++;}}}else {var err156={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err156];}else {vErrors.push(err156);}errors++;}}}else {var err157={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/2/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err157];}else {vErrors.push(err157);}errors++;}var _valid2=_errs169===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,2];}else {if(_valid2){valid63=true;passing2=2;}var _errs185=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err158={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err158];}else {vErrors.push(err158);}errors++;}if(data57.coordinates===undefined){var err159={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err159];}else {vErrors.push(err159);}errors++;}if(data57.type!==undefined){var data76=data57.type;if(typeof data76!=='string'){var err160={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err160];}else {vErrors.push(err160);}errors++;}if(!(data76==='MultiPoint')){var err161={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[3].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err161];}else {vErrors.push(err161);}errors++;}}if(data57.coordinates!==undefined){var data77=data57.coordinates;if(Array.isArray(data77)){var len32=data77.length;for(var i32=0;i32<len32;i32++){var data78=data77[i32];if(Array.isArray(data78)){if(data78.length<2){var err162={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i32,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err162];}else {vErrors.push(err162);}errors++;}var len33=data78.length;for(var i33=0;i33<len33;i33++){var data79=data78[i33];if(!(typeof data79=='number'&&isFinite(data79))){var err163={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i32+'/'+i33,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err163];}else {vErrors.push(err163);}errors++;}}}else {var err164={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i32,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err164];}else {vErrors.push(err164);}errors++;}}}else {var err165={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err165];}else {vErrors.push(err165);}errors++;}}if(data57.bbox!==undefined){var data80=data57.bbox;if(Array.isArray(data80)){if(data80.length<4){var err166={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err166];}else {vErrors.push(err166);}errors++;}var len34=data80.length;for(var i34=0;i34<len34;i34++){var data81=data80[i34];if(!(typeof data81=='number'&&isFinite(data81))){var err167={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i34,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err167];}else {vErrors.push(err167);}errors++;}}}else {var err168={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err168];}else {vErrors.push(err168);}errors++;}}}else {var err169={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/3/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err169];}else {vErrors.push(err169);}errors++;}var _valid2=_errs185===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,3];}else {if(_valid2){valid63=true;passing2=3;}var _errs199=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err170={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err170];}else {vErrors.push(err170);}errors++;}if(data57.coordinates===undefined){var err171={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err171];}else {vErrors.push(err171);}errors++;}if(data57.type!==undefined){var data82=data57.type;if(typeof data82!=='string'){var err172={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err172];}else {vErrors.push(err172);}errors++;}if(!(data82==='MultiLineString')){var err173={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[4].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err173];}else {vErrors.push(err173);}errors++;}}if(data57.coordinates!==undefined){var data83=data57.coordinates;if(Array.isArray(data83)){var len35=data83.length;for(var i35=0;i35<len35;i35++){var data84=data83[i35];if(Array.isArray(data84)){if(data84.length<2){var err174={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err174];}else {vErrors.push(err174);}errors++;}var len36=data84.length;for(var i36=0;i36<len36;i36++){var data85=data84[i36];if(Array.isArray(data85)){if(data85.length<2){var err175={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35+'/'+i36,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err175];}else {vErrors.push(err175);}errors++;}var len37=data85.length;for(var i37=0;i37<len37;i37++){var data86=data85[i37];if(!(typeof data86=='number'&&isFinite(data86))){var err176={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35+'/'+i36+'/'+i37,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err176];}else {vErrors.push(err176);}errors++;}}}else {var err177={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35+'/'+i36,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err177];}else {vErrors.push(err177);}errors++;}}}else {var err178={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i35,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err178];}else {vErrors.push(err178);}errors++;}}}else {var err179={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err179];}else {vErrors.push(err179);}errors++;}}if(data57.bbox!==undefined){var data87=data57.bbox;if(Array.isArray(data87)){if(data87.length<4){var err180={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err180];}else {vErrors.push(err180);}errors++;}var len38=data87.length;for(var i38=0;i38<len38;i38++){var data88=data87[i38];if(!(typeof data88=='number'&&isFinite(data88))){var err181={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i38,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err181];}else {vErrors.push(err181);}errors++;}}}else {var err182={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err182];}else {vErrors.push(err182);}errors++;}}}else {var err183={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/4/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err183];}else {vErrors.push(err183);}errors++;}var _valid2=_errs199===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,4];}else {if(_valid2){valid63=true;passing2=4;}var _errs215=errors;if(data57&&_typeof(data57)=='object'&&!Array.isArray(data57)){if(data57.type===undefined){var err184={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/required',keyword:'required',params:{missingProperty:'type'},message:"must have required property '"+'type'+"'"};if(vErrors===null){vErrors=[err184];}else {vErrors.push(err184);}errors++;}if(data57.coordinates===undefined){var err185={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/required',keyword:'required',params:{missingProperty:'coordinates'},message:"must have required property '"+'coordinates'+"'"};if(vErrors===null){vErrors=[err185];}else {vErrors.push(err185);}errors++;}if(data57.type!==undefined){var data89=data57.type;if(typeof data89!=='string'){var err186={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err186];}else {vErrors.push(err186);}errors++;}if(!(data89==='MultiPolygon')){var err187={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/type',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/type/enum',keyword:'enum',params:{allowedValues:schema15.properties.features.items.properties.geometry.oneOf[7].properties.geometries.items.oneOf[5].properties.type["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err187];}else {vErrors.push(err187);}errors++;}}if(data57.coordinates!==undefined){var data90=data57.coordinates;if(Array.isArray(data90)){var len39=data90.length;for(var i39=0;i39<len39;i39++){var data91=data90[i39];if(Array.isArray(data91)){var len40=data91.length;for(var i40=0;i40<len40;i40++){var data92=data91[i40];if(Array.isArray(data92)){if(data92.length<4){var err188={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err188];}else {vErrors.push(err188);}errors++;}var len41=data92.length;for(var i41=0;i41<len41;i41++){var data93=data92[i41];if(Array.isArray(data93)){if(data93.length<2){var err189={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40+'/'+i41,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/items/minItems',keyword:'minItems',params:{limit:2},message:'must NOT have fewer than 2 items'};if(vErrors===null){vErrors=[err189];}else {vErrors.push(err189);}errors++;}var len42=data93.length;for(var i42=0;i42<len42;i42++){var data94=data93[i42];if(!(typeof data94=='number'&&isFinite(data94))){var err190={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40+'/'+i41+'/'+i42,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/items/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err190];}else {vErrors.push(err190);}errors++;}}}else {var err191={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40+'/'+i41,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err191];}else {vErrors.push(err191);}errors++;}}}else {var err192={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39+'/'+i40,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err192];}else {vErrors.push(err192);}errors++;}}}else {var err193={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates/'+i39,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/items/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err193];}else {vErrors.push(err193);}errors++;}}}else {var err194={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/coordinates',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/coordinates/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err194];}else {vErrors.push(err194);}errors++;}}if(data57.bbox!==undefined){var data95=data57.bbox;if(Array.isArray(data95)){if(data95.length<4){var err195={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err195];}else {vErrors.push(err195);}errors++;}var len43=data95.length;for(var i43=0;i43<len43;i43++){var data96=data95[i43];if(!(typeof data96=='number'&&isFinite(data96))){var err196={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox/'+i43,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err196];}else {vErrors.push(err196);}errors++;}}}else {var err197={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err197];}else {vErrors.push(err197);}errors++;}}}else {var err198={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf/5/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err198];}else {vErrors.push(err198);}errors++;}var _valid2=_errs215===errors;if(_valid2&&valid63){valid63=false;passing2=[passing2,5];}else {if(_valid2){valid63=true;passing2=5;}}}}}}if(!valid63){var err199={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries/'+i22,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/items/oneOf',keyword:'oneOf',params:{passingSchemas:passing2},message:'must match exactly one schema in oneOf'};if(vErrors===null){vErrors=[err199];}else {vErrors.push(err199);}errors++;}else {errors=_errs142;if(vErrors!==null){if(_errs142){vErrors.length=_errs142;}else {vErrors=null;}}}}}else {var err200={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/geometries',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/geometries/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err200];}else {vErrors.push(err200);}errors++;}}if(data16.bbox!==undefined){var data97=data16.bbox;if(Array.isArray(data97)){if(data97.length<4){var err201={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err201];}else {vErrors.push(err201);}errors++;}var len44=data97.length;for(var i44=0;i44<len44;i44++){var data98=data97[i44];if(!(typeof data98=='number'&&isFinite(data98))){var err202={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox/'+i44,schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err202];}else {vErrors.push(err202);}errors++;}}}else {var err203={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err203];}else {vErrors.push(err203);}errors++;}}}else {var err204={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf/7/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err204];}else {vErrors.push(err204);}errors++;}var _valid1=_errs135===errors;if(_valid1&&valid13){valid13=false;passing1=[passing1,7];}else {if(_valid1){valid13=true;passing1=7;}}}}}}}}if(!valid13){var err205={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/geometry',schemaPath:'geojson.schema.json/properties/features/items/properties/geometry/oneOf',keyword:'oneOf',params:{passingSchemas:passing1},message:'must match exactly one schema in oneOf'};if(vErrors===null){vErrors=[err205];}else {vErrors.push(err205);}errors++;}else {errors=_errs44;if(vErrors!==null){if(_errs44){vErrors.length=_errs44;}else {vErrors=null;}}}}if(data11.bbox!==undefined){var data99=data11.bbox;if(Array.isArray(data99)){if(data99.length<4){var err206={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err206];}else {vErrors.push(err206);}errors++;}var len45=data99.length;for(var i45=0;i45<len45;i45++){var data100=data99[i45];if(!(typeof data100=='number'&&isFinite(data100))){var err207={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/bbox/'+i45,schemaPath:'geojson.schema.json/properties/features/items/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err207];}else {vErrors.push(err207);}errors++;}}}else {var err208={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1+'/bbox',schemaPath:'geojson.schema.json/properties/features/items/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err208];}else {vErrors.push(err208);}errors++;}}}else {var err209={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features/'+i1,schemaPath:'geojson.schema.json/properties/features/items/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err209];}else {vErrors.push(err209);}errors++;}}}else {var err210={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/features',schemaPath:'geojson.schema.json/properties/features/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err210];}else {vErrors.push(err210);}errors++;}}if(data8.bbox!==undefined){var data101=data8.bbox;if(Array.isArray(data101)){if(data101.length<4){var err211={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/bbox',schemaPath:'geojson.schema.json/properties/bbox/minItems',keyword:'minItems',params:{limit:4},message:'must NOT have fewer than 4 items'};if(vErrors===null){vErrors=[err211];}else {vErrors.push(err211);}errors++;}var len46=data101.length;for(var i46=0;i46<len46;i46++){var data102=data101[i46];if(!(typeof data102=='number'&&isFinite(data102))){var err212={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/bbox/'+i46,schemaPath:'geojson.schema.json/properties/bbox/items/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err212];}else {vErrors.push(err212);}errors++;}}}else {var err213={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location/bbox',schemaPath:'geojson.schema.json/properties/bbox/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err213];}else {vErrors.push(err213);}errors++;}}}else {var err214={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/fir_location',schemaPath:'geojson.schema.json/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err214];}else {vErrors.push(err214);}errors++;}}if(data6.location_indicator_atsr!==undefined){if(typeof data6.location_indicator_atsr!=='string'){var err215={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/location_indicator_atsr',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/location_indicator_atsr/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err215];}else {vErrors.push(err215);}errors++;}}if(data6.location_indicator_atsu!==undefined){if(typeof data6.location_indicator_atsu!=='string'){var err216={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/location_indicator_atsu',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/location_indicator_atsu/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err216];}else {vErrors.push(err216);}errors++;}}if(data6.max_hours_of_validity!==undefined){var data105=data6.max_hours_of_validity;if(!(typeof data105=='number'&&isFinite(data105))){var err217={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/max_hours_of_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/max_hours_of_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err217];}else {vErrors.push(err217);}errors++;}}if(data6.hours_before_validity!==undefined){var data106=data6.hours_before_validity;if(!(typeof data106=='number'&&isFinite(data106))){var err218={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/hours_before_validity',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/hours_before_validity/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err218];}else {vErrors.push(err218);}errors++;}}if(data6.movement_rounding_kt!==undefined){var data107=data6.movement_rounding_kt;if(!(typeof data107=='number'&&isFinite(data107))){var err219={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_rounding_kt',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_rounding_kt/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err219];}else {vErrors.push(err219);}errors++;}}if(data6.movement_rounding_kmh!==undefined){var data108=data6.movement_rounding_kmh;if(!(typeof data108=='number'&&isFinite(data108))){var err220={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_rounding_kmh',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_rounding_kmh/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err220];}else {vErrors.push(err220);}errors++;}}if(data6.level_min!==undefined){var data109=data6.level_min;if(data109&&_typeof(data109)=='object'&&!Array.isArray(data109)){for(var key3 in data109){var data110=data109[key3];if(!(typeof data110=='number'&&isFinite(data110))){var err221={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_min/'+key3.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_min/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err221];}else {vErrors.push(err221);}errors++;}}}else {var err222={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_min/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err222];}else {vErrors.push(err222);}errors++;}}if(data6.level_max!==undefined){var data111=data6.level_max;if(data111&&_typeof(data111)=='object'&&!Array.isArray(data111)){for(var key4 in data111){var data112=data111[key4];if(!(typeof data112=='number'&&isFinite(data112))){var err223={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_max/'+key4.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_max/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err223];}else {vErrors.push(err223);}errors++;}}}else {var err224={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_max/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err224];}else {vErrors.push(err224);}errors++;}}if(data6.level_rounding_FL!==undefined){var data113=data6.level_rounding_FL;if(!(typeof data113=='number'&&isFinite(data113))){var err225={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_rounding_FL',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_rounding_FL/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err225];}else {vErrors.push(err225);}errors++;}}if(data6.level_rounding_FT!==undefined){var data114=data6.level_rounding_FT;if(!(typeof data114=='number'&&isFinite(data114))){var err226={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_rounding_FT',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_rounding_FT/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err226];}else {vErrors.push(err226);}errors++;}}if(data6.level_rounding_M!==undefined){var data115=data6.level_rounding_M;if(!(typeof data115=='number'&&isFinite(data115))){var err227={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/level_rounding_M',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/level_rounding_M/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err227];}else {vErrors.push(err227);}errors++;}}if(data6.movement_min!==undefined){var data116=data6.movement_min;if(data116&&_typeof(data116)=='object'&&!Array.isArray(data116)){for(var key5 in data116){var data117=data116[key5];if(!(typeof data117=='number'&&isFinite(data117))){var err228={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_min/'+key5.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_min/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err228];}else {vErrors.push(err228);}errors++;}}}else {var err229={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_min/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err229];}else {vErrors.push(err229);}errors++;}}if(data6.movement_max!==undefined){var data118=data6.movement_max;if(data118&&_typeof(data118)=='object'&&!Array.isArray(data118)){for(var key6 in data118){var data119=data118[key6];if(!(typeof data119=='number'&&isFinite(data119))){var err230={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_max/'+key6.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_max/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err230];}else {vErrors.push(err230);}errors++;}}}else {var err231={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/movement_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/movement_max/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err231];}else {vErrors.push(err231);}errors++;}}if(data6.units!==undefined){var data120=data6.units;if(Array.isArray(data120)){if(data120.length<1){var err232={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err232];}else {vErrors.push(err232);}errors++;}var len47=data120.length;for(var i47=0;i47<len47;i47++){var data121=data120[i47];if(data121&&_typeof(data121)=='object'&&!Array.isArray(data121)){if(data121.unit_type===undefined){var err233={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/required',keyword:'required',params:{missingProperty:'unit_type'},message:"must have required property '"+'unit_type'+"'"};if(vErrors===null){vErrors=[err233];}else {vErrors.push(err233);}errors++;}if(data121.allowed_units===undefined){var err234={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/required',keyword:'required',params:{missingProperty:'allowed_units'},message:"must have required property '"+'allowed_units'+"'"};if(vErrors===null){vErrors=[err234];}else {vErrors.push(err234);}errors++;}for(var key7 in data121){if(!(key7==='unit_type'||key7==='allowed_units')){var err235={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key7},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err235];}else {vErrors.push(err235);}errors++;}}if(data121.unit_type!==undefined){if(typeof data121.unit_type!=='string'){var err236={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/unit_type',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/unit_type/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err236];}else {vErrors.push(err236);}errors++;}}if(data121.allowed_units!==undefined){var data123=data121.allowed_units;if(Array.isArray(data123)){if(data123.length<1){var err237={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/allowed_units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/allowed_units/minItems',keyword:'minItems',params:{limit:1},message:'must NOT have fewer than 1 items'};if(vErrors===null){vErrors=[err237];}else {vErrors.push(err237);}errors++;}var len48=data123.length;for(var i48=0;i48<len48;i48++){if(typeof data123[i48]!=='string'){var err238={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/allowed_units/'+i48,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/allowed_units/items/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err238];}else {vErrors.push(err238);}errors++;}}}else {var err239={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47+'/allowed_units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/properties/allowed_units/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err239];}else {vErrors.push(err239);}errors++;}}}else {var err240={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units/'+i47,schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/items/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err240];}else {vErrors.push(err240);}errors++;}}}else {var err241={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/units',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/units/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err241];}else {vErrors.push(err241);}errors++;}}if(data6.cloud_level_min!==undefined){var data125=data6.cloud_level_min;if(data125&&_typeof(data125)=='object'&&!Array.isArray(data125)){for(var key8 in data125){var data126=data125[key8];if(!(typeof data126=='number'&&isFinite(data126))){var err242={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_level_min/'+key8.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_level_min/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err242];}else {vErrors.push(err242);}errors++;}}}else {var err243={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_level_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_level_min/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err243];}else {vErrors.push(err243);}errors++;}}if(data6.cloud_level_max!==undefined){var data127=data6.cloud_level_max;if(data127&&_typeof(data127)=='object'&&!Array.isArray(data127)){for(var key9 in data127){var data128=data127[key9];if(!(typeof data128=='number'&&isFinite(data128))){var err244={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_level_max/'+key9.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_level_max/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err244];}else {vErrors.push(err244);}errors++;}}}else {var err245={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_level_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_level_max/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err245];}else {vErrors.push(err245);}errors++;}}if(data6.cloud_lower_level_min!==undefined){var data129=data6.cloud_lower_level_min;if(data129&&_typeof(data129)=='object'&&!Array.isArray(data129)){for(var key10 in data129){var data130=data129[key10];if(!(typeof data130=='number'&&isFinite(data130))){var err246={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_lower_level_min/'+key10.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_lower_level_min/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err246];}else {vErrors.push(err246);}errors++;}}}else {var err247={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_lower_level_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_lower_level_min/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err247];}else {vErrors.push(err247);}errors++;}}if(data6.cloud_lower_level_max!==undefined){var data131=data6.cloud_lower_level_max;if(data131&&_typeof(data131)=='object'&&!Array.isArray(data131)){for(var key11 in data131){var data132=data131[key11];if(!(typeof data132=='number'&&isFinite(data132))){var err248={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_lower_level_max/'+key11.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_lower_level_max/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err248];}else {vErrors.push(err248);}errors++;}}}else {var err249={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_lower_level_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_lower_level_max/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err249];}else {vErrors.push(err249);}errors++;}}if(data6.cloud_level_rounding_ft!==undefined){var data133=data6.cloud_level_rounding_ft;if(!(typeof data133=='number'&&isFinite(data133))){var err250={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_level_rounding_ft',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_level_rounding_ft/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err250];}else {vErrors.push(err250);}errors++;}}if(data6.cloud_level_rounding_m_below!==undefined){var data134=data6.cloud_level_rounding_m_below;if(!(typeof data134=='number'&&isFinite(data134))){var err251={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_level_rounding_m_below',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_level_rounding_m_below/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err251];}else {vErrors.push(err251);}errors++;}}if(data6.cloud_level_rounding_m_above!==undefined){var data135=data6.cloud_level_rounding_m_above;if(!(typeof data135=='number'&&isFinite(data135))){var err252={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/cloud_level_rounding_m_above',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/cloud_level_rounding_m_above/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err252];}else {vErrors.push(err252);}errors++;}}if(data6.wind_direction_rounding!==undefined){var data136=data6.wind_direction_rounding;if(!(typeof data136=='number'&&isFinite(data136))){var err253={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/wind_direction_rounding',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/wind_direction_rounding/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err253];}else {vErrors.push(err253);}errors++;}}if(data6.wind_speed_max!==undefined){var data137=data6.wind_speed_max;if(data137&&_typeof(data137)=='object'&&!Array.isArray(data137)){for(var key12 in data137){var data138=data137[key12];if(!(typeof data138=='number'&&isFinite(data138))){var err254={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/wind_speed_max/'+key12.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/wind_speed_max/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err254];}else {vErrors.push(err254);}errors++;}}}else {var err255={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/wind_speed_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/wind_speed_max/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err255];}else {vErrors.push(err255);}errors++;}}if(data6.wind_speed_min!==undefined){var data139=data6.wind_speed_min;if(data139&&_typeof(data139)=='object'&&!Array.isArray(data139)){for(var key13 in data139){var data140=data139[key13];if(!(typeof data140=='number'&&isFinite(data140))){var err256={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/wind_speed_min/'+key13.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/wind_speed_min/additionalProperties/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err256];}else {vErrors.push(err256);}errors++;}}}else {var err257={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/wind_speed_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/wind_speed_min/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err257];}else {vErrors.push(err257);}errors++;}}if(data6.visibility_max!==undefined){var data141=data6.visibility_max;if(!(typeof data141=='number'&&isFinite(data141))){var err258={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/visibility_max',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/visibility_max/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err258];}else {vErrors.push(err258);}errors++;}}if(data6.visibility_min!==undefined){var data142=data6.visibility_min;if(!(typeof data142=='number'&&isFinite(data142))){var err259={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/visibility_min',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/visibility_min/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err259];}else {vErrors.push(err259);}errors++;}}if(data6.visibility_rounding_below!==undefined){var data143=data6.visibility_rounding_below;if(!(typeof data143=='number'&&isFinite(data143))){var err260={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/visibility_rounding_below',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/visibility_rounding_below/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err260];}else {vErrors.push(err260);}errors++;}}if(data6.visibility_rounding_above!==undefined){var data144=data6.visibility_rounding_above;if(!(typeof data144=='number'&&isFinite(data144))){var err261={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1')+'/visibility_rounding_above',schemaPath:'#/properties/fir_areas/patternProperties//$merge/properties/visibility_rounding_above/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err261];}else {vErrors.push(err261);}errors++;}}}else {var err262={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err262];}else {vErrors.push(err262);}errors++;}var valid4=_errs17===errors;if(!valid4){var err263={instancePath:instancePath+'/fir_areas/'+key1.replace(/~/g,'~0').replace(/\//g,'~1'),schemaPath:'#/properties/fir_areas/patternProperties//$merge',keyword:'$merge',params:{},message:'must pass "$merge" keyword validation'};if(vErrors===null){vErrors=[err263];}else {vErrors.push(err263);}errors++;}}}}else {var err264={instancePath:instancePath+'/fir_areas',schemaPath:'#/properties/fir_areas/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err264];}else {vErrors.push(err264);}errors++;}}if(data.mapPreset!==undefined){var data145=data.mapPreset;if(data145&&_typeof(data145)=='object'&&!Array.isArray(data145)){if(data145.layers!==undefined){var data146=data145.layers;if(Array.isArray(data146)){var len49=data146.length;for(var i49=0;i49<len49;i49++){var data147=data146[i49];if(data147&&_typeof(data147)=='object'&&!Array.isArray(data147)){if(data147.id===undefined){var err265={instancePath:instancePath+'/mapPreset/layers/'+i49,schemaPath:'#/properties/mapPreset/properties/layers/items/required',keyword:'required',params:{missingProperty:'id'},message:"must have required property '"+'id'+"'"};if(vErrors===null){vErrors=[err265];}else {vErrors.push(err265);}errors++;}if(data147.name===undefined){var err266={instancePath:instancePath+'/mapPreset/layers/'+i49,schemaPath:'#/properties/mapPreset/properties/layers/items/required',keyword:'required',params:{missingProperty:'name'},message:"must have required property '"+'name'+"'"};if(vErrors===null){vErrors=[err266];}else {vErrors.push(err266);}errors++;}if(data147.layerType===undefined){var err267={instancePath:instancePath+'/mapPreset/layers/'+i49,schemaPath:'#/properties/mapPreset/properties/layers/items/required',keyword:'required',params:{missingProperty:'layerType'},message:"must have required property '"+'layerType'+"'"};if(vErrors===null){vErrors=[err267];}else {vErrors.push(err267);}errors++;}if(data147.id!==undefined){if(typeof data147.id!=='string'){var err268={instancePath:instancePath+'/mapPreset/layers/'+i49+'/id',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/id/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err268];}else {vErrors.push(err268);}errors++;}}if(data147.name!==undefined){if(typeof data147.name!=='string'){var err269={instancePath:instancePath+'/mapPreset/layers/'+i49+'/name',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/name/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err269];}else {vErrors.push(err269);}errors++;}}if(data147.layerType!==undefined){var data150=data147.layerType;if(typeof data150!=='string'){var err270={instancePath:instancePath+'/mapPreset/layers/'+i49+'/layerType',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/layerType/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err270];}else {vErrors.push(err270);}errors++;}if(!(data150==='overLayer'||data150==='baseLayer'||data150==='mapLayer')){var err271={instancePath:instancePath+'/mapPreset/layers/'+i49+'/layerType',schemaPath:'#/properties/mapPreset/properties/layers/items/properties/layerType/enum',keyword:'enum',params:{allowedValues:schema17.properties.mapPreset.properties.layers.items.properties.layerType["enum"]},message:'must be equal to one of the allowed values'};if(vErrors===null){vErrors=[err271];}else {vErrors.push(err271);}errors++;}}}else {var err272={instancePath:instancePath+'/mapPreset/layers/'+i49,schemaPath:'#/properties/mapPreset/properties/layers/items/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err272];}else {vErrors.push(err272);}errors++;}}}else {var err273={instancePath:instancePath+'/mapPreset/layers',schemaPath:'#/properties/mapPreset/properties/layers/type',keyword:'type',params:{type:'array'},message:'must be array'};if(vErrors===null){vErrors=[err273];}else {vErrors.push(err273);}errors++;}}if(data145.proj!==undefined){var data151=data145.proj;if(data151&&_typeof(data151)=='object'&&!Array.isArray(data151)){if(data151.bbox===undefined){var err274={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/required',keyword:'required',params:{missingProperty:'bbox'},message:"must have required property '"+'bbox'+"'"};if(vErrors===null){vErrors=[err274];}else {vErrors.push(err274);}errors++;}if(data151.srs===undefined){var err275={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/required',keyword:'required',params:{missingProperty:'srs'},message:"must have required property '"+'srs'+"'"};if(vErrors===null){vErrors=[err275];}else {vErrors.push(err275);}errors++;}for(var key14 in data151){if(!(key14==='bbox'||key14==='srs')){var err276={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key14},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err276];}else {vErrors.push(err276);}errors++;}}if(data151.bbox!==undefined){var data152=data151.bbox;if(data152&&_typeof(data152)=='object'&&!Array.isArray(data152)){if(data152.left===undefined){var err277={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'left'},message:"must have required property '"+'left'+"'"};if(vErrors===null){vErrors=[err277];}else {vErrors.push(err277);}errors++;}if(data152.right===undefined){var err278={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'right'},message:"must have required property '"+'right'+"'"};if(vErrors===null){vErrors=[err278];}else {vErrors.push(err278);}errors++;}if(data152.top===undefined){var err279={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'top'},message:"must have required property '"+'top'+"'"};if(vErrors===null){vErrors=[err279];}else {vErrors.push(err279);}errors++;}if(data152.bottom===undefined){var err280={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/required',keyword:'required',params:{missingProperty:'bottom'},message:"must have required property '"+'bottom'+"'"};if(vErrors===null){vErrors=[err280];}else {vErrors.push(err280);}errors++;}for(var key15 in data152){if(!(key15==='left'||key15==='right'||key15==='top'||key15==='bottom')){var err281={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/additionalProperties',keyword:'additionalProperties',params:{additionalProperty:key15},message:'must NOT have additional properties'};if(vErrors===null){vErrors=[err281];}else {vErrors.push(err281);}errors++;}}if(data152.left!==undefined){var data153=data152.left;if(!(typeof data153=='number'&&isFinite(data153))){var err282={instancePath:instancePath+'/mapPreset/proj/bbox/left',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/left/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err282];}else {vErrors.push(err282);}errors++;}}if(data152.right!==undefined){var data154=data152.right;if(!(typeof data154=='number'&&isFinite(data154))){var err283={instancePath:instancePath+'/mapPreset/proj/bbox/right',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/right/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err283];}else {vErrors.push(err283);}errors++;}}if(data152.top!==undefined){var data155=data152.top;if(!(typeof data155=='number'&&isFinite(data155))){var err284={instancePath:instancePath+'/mapPreset/proj/bbox/top',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/top/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err284];}else {vErrors.push(err284);}errors++;}}if(data152.bottom!==undefined){var data156=data152.bottom;if(!(typeof data156=='number'&&isFinite(data156))){var err285={instancePath:instancePath+'/mapPreset/proj/bbox/bottom',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/properties/bottom/type',keyword:'type',params:{type:'number'},message:'must be number'};if(vErrors===null){vErrors=[err285];}else {vErrors.push(err285);}errors++;}}}else {var err286={instancePath:instancePath+'/mapPreset/proj/bbox',schemaPath:'#/properties/mapPreset/properties/proj/properties/bbox/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err286];}else {vErrors.push(err286);}errors++;}}if(data151.srs!==undefined){if(typeof data151.srs!=='string'){var err287={instancePath:instancePath+'/mapPreset/proj/srs',schemaPath:'#/properties/mapPreset/properties/proj/properties/srs/type',keyword:'type',params:{type:'string'},message:'must be string'};if(vErrors===null){vErrors=[err287];}else {vErrors.push(err287);}errors++;}}}else {var err288={instancePath:instancePath+'/mapPreset/proj',schemaPath:'#/properties/mapPreset/properties/proj/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err288];}else {vErrors.push(err288);}errors++;}}}else {var err289={instancePath:instancePath+'/mapPreset',schemaPath:'#/properties/mapPreset/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err289];}else {vErrors.push(err289);}errors++;}}}else {var err290={instancePath:instancePath,schemaPath:'#/type',keyword:'type',params:{type:'object'},message:'must be object'};if(vErrors===null){vErrors=[err290];}else {vErrors.push(err290);}errors++;}validate16.errors=vErrors;return errors===0;}
8021
8051
 
@@ -8076,19 +8106,25 @@ var validateAirmet = function validateAirmet(airmetConfig) {
8076
8106
  var sigmetConfig = sigmetDefaultConfig;
8077
8107
  var airmetConfig = airmetDefaultConfig;
8078
8108
 
8079
- var useConditionalFields$1 = function useConditionalFields() {
8109
+ var useConditionalFields$1 = function useConditionalFields(productConfig) {
8080
8110
  var _useFormContext = useFormContext(),
8081
8111
  watch = _useFormContext.watch,
8082
8112
  unregister = _useFormContext.unregister;
8083
- // phenomenon: VA_CLD
8084
8113
  var hasVolcanicAshes = watch('phenomenon') === 'VA_CLD';
8114
+ var hasRadioactiveCloud = watch('phenomenon') === 'RDOACT_CLD';
8115
+ var changeFromConfig = getOmitChangeFromConfig(productConfig);
8116
+ var omitChange = changeFromConfig && (hasVolcanicAshes || hasRadioactiveCloud);
8085
8117
  React__default.useEffect(function () {
8086
8118
  if (!hasVolcanicAshes) {
8087
8119
  unregister(['vaSigmetVolcanoName', 'vaSigmetVolcanoCoordinates.latitude', 'vaSigmetVolcanoCoordinates.longitude']);
8088
8120
  }
8089
- }, [hasVolcanicAshes, unregister]);
8121
+ if (omitChange) {
8122
+ unregister(['change']);
8123
+ }
8124
+ }, [hasVolcanicAshes, omitChange, unregister]);
8090
8125
  return {
8091
- hasVolcanicAshes: hasVolcanicAshes
8126
+ hasVolcanicAshes: hasVolcanicAshes,
8127
+ omitChange: omitChange
8092
8128
  };
8093
8129
  };
8094
8130
  var SigmetForm = function SigmetForm(_ref) {
@@ -8205,7 +8241,7 @@ var SigmetForm = function SigmetForm(_ref) {
8205
8241
  setIsDisabled = _React$useState2[1];
8206
8242
  var isReadOnly = mode === 'view';
8207
8243
  var helperText = isDisabled ? '' : 'Optional';
8208
- var _useTAC = useTAC(initialSigmet !== null ? initialSigmet : initialCancelSigmet, api.getSigmetTAC, getHasFormErrors),
8244
+ var _useTAC = useTAC(initialSigmet !== null ? initialSigmet : initialCancelSigmet, api.getSigmetTAC, getHasFormErrors, getOmitChangeFromConfig(productConfig)),
8209
8245
  _useTAC2 = _slicedToArray(_useTAC, 2),
8210
8246
  tac = _useTAC2[0],
8211
8247
  updateTac = _useTAC2[1];
@@ -8218,8 +8254,9 @@ var SigmetForm = function SigmetForm(_ref) {
8218
8254
  setIsDisabled(isInDrawMode);
8219
8255
  }
8220
8256
  }, [activeStartTool, activeEndTool, isReadOnly, isDisabled]);
8221
- var _useConditionalFields = useConditionalFields$1(),
8222
- hasVolcanicAshes = _useConditionalFields.hasVolcanicAshes;
8257
+ var _useConditionalFields = useConditionalFields$1(productConfig),
8258
+ hasVolcanicAshes = _useConditionalFields.hasVolcanicAshes,
8259
+ omitChange = _useConditionalFields.omitChange;
8223
8260
  var onChangeFir = function onChangeFir(event) {
8224
8261
  var newFIRValue = event === null || event === void 0 ? void 0 : event.target.value;
8225
8262
  var newFirGeoJSON = addFeatureProperties(getFir(productConfig, newFIRValue), featurePropsFIR);
@@ -8298,7 +8335,7 @@ var SigmetForm = function SigmetForm(_ref) {
8298
8335
  tools: endEditModes,
8299
8336
  onChangeTool: onChangeEndTool,
8300
8337
  activeTool: activeEndTool
8301
- }), !isCancelSigmet && /*#__PURE__*/React__default.createElement(Change, {
8338
+ }), !isCancelSigmet && !omitChange && /*#__PURE__*/React__default.createElement(Change, {
8302
8339
  isDisabled: isDisabled,
8303
8340
  isReadOnly: isReadOnly
8304
8341
  }), isCancelSigmet && watch('vaSigmetMoveToFIR') && /*#__PURE__*/React__default.createElement(ProductFormFieldLayout, null, /*#__PURE__*/React__default.createElement(Grid, {
@@ -8616,6 +8653,7 @@ var ContentDialog = function ContentDialog(_a) {
8616
8653
  }
8617
8654
  };
8618
8655
  return /*#__PURE__*/React.createElement(Dialog, Object.assign({
8656
+ disableEnforceFocus: true,
8619
8657
  "data-testid": "contentDialog",
8620
8658
  open: open,
8621
8659
  onClose: handleClose,
@@ -8856,6 +8894,7 @@ var ProductListRow = function ProductListRow(_ref2) {
8856
8894
  var apiCall = productType === 'sigmet' ? api.getSigmetTAC : api.getAirmetTAC;
8857
8895
  React__default.useEffect(function () {
8858
8896
  var retrieveTAC = function retrieveTAC(productToPost) {
8897
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
8859
8898
  apiCall(productToPost).then(function (result) {
8860
8899
  if (isMounted.current) {
8861
8900
  setTAC(result.data);
@@ -9116,7 +9155,7 @@ var ProductList = function ProductList(_ref) {
9116
9155
  containerType: 'inline-size'
9117
9156
  }
9118
9157
  }, productList.map(function (productListItem, index) {
9119
- var product = productListItem[productType];
9158
+ var product = productType === 'sigmet' ? productListItem[productType] : productListItem[productType];
9120
9159
  return /*#__PURE__*/React__default.createElement(ListItemButton, {
9121
9160
  "data-testid": "productListItem",
9122
9161
  onClick: function onClick() {
@@ -12544,7 +12583,7 @@ tags.forEach(function (tagName) {
12544
12583
  });
12545
12584
 
12546
12585
  /**
12547
- * @mui/styled-engine v5.14.8
12586
+ * @mui/styled-engine v5.14.10
12548
12587
  *
12549
12588
  * @license MIT
12550
12589
  * This source code is licensed under the MIT license found in the
@@ -14072,7 +14111,7 @@ var ProductFormDialog = function ProductFormDialog(_ref) {
14072
14111
  if (!isOpen) {
14073
14112
  return null;
14074
14113
  }
14075
- var product = productListItem !== null ? prepareProductValues(productListItem[productType], productType, productConfig) : null;
14114
+ var product = productListItem !== null ? prepareProductValues(productType === 'sigmet' ? productListItem[productType] : productListItem[productType], productType, productConfig) : null;
14076
14115
  return /*#__PURE__*/React.createElement(Wrapper, {
14077
14116
  isOpen: isOpen,
14078
14117
  toggleDialogStatus: toggleDialogStatus,