CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
definition_schema.js38 linesDownload Raw Back to lib
1'use strict';2 3var metaSchema = require('./refs/json-schema-draft-07.json');4 5module.exports = {6  $id: 'https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js',7  definitions: {8    simpleTypes: metaSchema.definitions.simpleTypes9  },10  type: 'object',11  dependencies: {12    schema: ['validate'],13    $data: ['validate'],14    statements: ['inline'],15    valid: {not: {required: ['macro']}}16  },17  properties: {18    type: metaSchema.properties.type,19    schema: {type: 'boolean'},20    statements: {type: 'boolean'},21    dependencies: {22      type: 'array',23      items: {type: 'string'}24    },25    metaSchema: {type: 'object'},26    modifying: {type: 'boolean'},27    valid: {type: 'boolean'},28    $data: {type: 'boolean'},29    async: {type: 'boolean'},30    errors: {31      anyOf: [32        {type: 'boolean'},33        {const: 'full'}34      ]35    }36  }37};38 
basant307/AI_Governance_Project · CoolFace