GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — lowcode-engine/modules/material-parser/src/validate/index.ts at main · david0718/lowcode-engine Expand file tree/ Copy pathindex.tsMore file actions 14 lines (11 loc) · 355 Bytes / Copy pathindex.tsFile metadata and controls14 lines (11 loc) · 355 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 import Ajv from 'ajv'; import { Json } from '../types/Basic'; import schema from './schema.json'; const ajv = new Ajv({ jsonPointers: true }); const validate = ajv.compile(schema); export default function validateSchema(json: Json) { if (validate(json) === false) { throw new Error(JSON.stringify(validate.errors, null, 2)); } return true; } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |