MCPcopy Create free account

hub / github.com/ajv-validator/ajv / functions

Functions786 in github.com/ajv-validator/ajv

↓ 2 callersFunctionschemaCxtHasRules
({schema, self}: SchemaCxt)
lib/compile/validate/index.ts:131
↓ 2 callersFunctionschemaOrData
(schema: AnySchema)
lib/core.ts:889
↓ 2 callersMethodscopeCode
()
lib/compile/codegen/index.ts:502
↓ 2 callersFunctionserializeKeyValue
(cxt: SerializeCxt, key: Name, schema: SchemaObject, first?: Name)
lib/compile/jtd/serialize.ts:120
↓ 2 callersFunctionserializeSchemaProperties
(cxt: SerializeCxt, discriminator?: string)
lib/compile/jtd/serialize.ts:152
↓ 2 callersFunctionsetEvaluated
(gen: CodeGen, props: Name, ps: {[K in string]?: true})
lib/compile/util.ts:167
↓ 2 callersFunctionshouldThrow
(p, exception)
spec/async_validate.spec.ts:418
↓ 2 callersFunctionshouldUseGroup
(schema: AnySchemaObject, group: RuleGroup)
lib/compile/validate/applicability.ts:13
↓ 2 callersFunctionsortErrors
(errors?: JTDError[] | null)
spec/jtd-schema.spec.ts:104
↓ 2 callersFunctiontest
(extraErrors = 0, schemaPathPrefix = "#")
spec/errors.spec.ts:207
↓ 2 callersFunctiontryParseItems
(cxt: ParseCxt, endToken: string, block: () => void)
lib/compile/jtd/parse.ts:150
↓ 2 callersFunctiontypeAndKeywords
(it: SchemaObjCxt, errsCount?: Name)
lib/compile/validate/index.ts:157
↓ 2 callersFunctiontypeError
(t: string)
lib/vocabularies/jtd/error.ts:10
↓ 2 callersFunctionunescapeJsonPointer
(str: string)
lib/compile/util.ts:72
↓ 2 callersFunctionuseKeyword
(gen: CodeGen, keyword: string, result?: KeywordCompilationResult)
lib/compile/validate/keyword.ts:120
↓ 2 callersFunctionusedState
(name: ValueScopeName)
lib/standalone/index.ts:85
↓ 2 callersFunctionvalidateAdditionalItems
(cxt: KeywordCxt, items: AnySchema[])
lib/vocabularies/applicator/additionalItems.ts:35
↓ 2 callersFunctionvalidateFunction
( {gen, validateName, schema, schemaEnv, opts}: SchemaCxt, body: Block )
lib/compile/validate/index.ts:49
↓ 2 callersFunctionvalidateItems
(_valid: Name, block: () => void)
lib/vocabularies/applicator/contains.ts:81
↓ 2 callersFunctionvalidatePropertyDeps
( cxt: KeywordCxt, propertyDeps: {[K in string]?: string[]} = cxt.schema )
lib/vocabularies/applicator/dependencies.ts:65
↓ 2 callersFunctionvalidateSchemaDeps
(cxt: KeywordCxt, schemaDeps: SchemaMap = cxt.schema)
lib/vocabularies/applicator/dependencies.ts:95
↓ 2 callersFunctionvalidateTuple
( cxt: KeywordCxt, extraItems: string, schArr: AnySchema[] = cxt.schema )
lib/vocabularies/applicator/items.ts:21
↓ 1 callersMethod$dataError
()
lib/compile/validate/index.ts:434
↓ 1 callersMethod_addDefaultMetaSchema
()
lib/core.ts:320
↓ 1 callersMethod_addVocabularies
()
lib/core.ts:316
↓ 1 callersFunction_callRef
(validate: Code, valid?: Name)
lib/vocabularies/dynamic/dynamicRef.ts:40
↓ 1 callersMethod_compileMetaSchema
(sch: SchemaEnv)
lib/core.ts:744
↓ 1 callersMethod_compileParser
(sch: SchemaEnv)
lib/jtd.ts:87
↓ 1 callersMethod_compileSerializer
(sch: SchemaEnv)
lib/jtd.ts:80
↓ 1 callersFunction_dynamicRef
(valid?: Name)
lib/vocabularies/dynamic/dynamicRef.ts:25
↓ 1 callersMethod_error
(append?: boolean, errorPaths?: ErrorPaths)
lib/compile/validate/index.ts:430
↓ 1 callersFunction_getAjvInstances
(opts: Options, useOpts: Options)
spec/ajv_instances.ts:11
↓ 1 callersFunction_getValidate
(cxt: KeywordCxt)
lib/vocabularies/dynamic/dynamicAnchor.ts:22
↓ 1 callersFunction_it
({only, skip}: JSONParseTest)
spec/jtd-schema.spec.ts:213
↓ 1 callersMethod_nameGroup
(prefix: string)
lib/compile/codegen/scope.ts:83
↓ 1 callersMethod_removeAllSchemas
(schemas: {[Ref in string]?: SchemaEnv | string}, regex?: RegExp)
lib/core.ts:684
↓ 1 callersFunction_testSchema1
(_ajv, schema, schemaPathPrefix)
spec/errors.spec.ts:1004
↓ 1 callersFunctionaddErrs
(cxt: KeywordCxt, errs: Code)
lib/compile/validate/keyword.ts:102
↓ 1 callersFunctionaddFormatEnglishWord
()
spec/async_validate.spec.ts:383
↓ 1 callersFunctionaddMapping
(tagValue: unknown, i: number)
lib/vocabularies/discriminator/index.ts:103
↓ 1 callersFunctionaddMappings
(sch: AnySchemaObject, i: number)
lib/vocabularies/discriminator/index.ts:91
↓ 1 callersFunctionadditionalPropertyCode
(key: Name)
lib/vocabularies/applicator/additionalProperties.ts:72
↓ 1 callersFunctionafterEach
(res: TestResult)
spec/after_test.ts:20
↓ 1 callersFunctionallErrorsMode
()
lib/vocabularies/validation/required.ts:50
↓ 1 callersFunctionallProperties
(ps: string[])
lib/compile/jtd/serialize.ts:184
↓ 1 callersFunctionapplyAdditionalSchema
(key: Name, valid: Name, errors?: false)
lib/vocabularies/applicator/additionalProperties.ts:100
↓ 1 callersFunctionapplyPropertySchema
(prop: string)
lib/vocabularies/applicator/properties.ts:44
↓ 1 callersFunctionapplyPropertySchema
(prop: string, keyword: string, _valid: Name)
lib/vocabularies/jtd/properties.ts:128
↓ 1 callersFunctionapplyTagSchema
(schemaProp?: number)
lib/vocabularies/discriminator/index.ts:56
↓ 1 callersFunctionapplyTagSchema
(schemaProp: string)
lib/vocabularies/jtd/discriminator.ts:74
↓ 1 callersFunctionassertEqual
(code: Code | CodeGen, s: string)
spec/codegen.spec.ts:497
↓ 1 callersFunctionassertInvalid
(schemas: SchemaObject[], data: unknown)
spec/discriminator.spec.ts:382
↓ 1 callersFunctionassertNoDuplicateFunctions
(code: string)
spec/standalone.spec.ts:262
↓ 1 callersFunctionassertValid
(schemas: SchemaObject[], data: unknown)
spec/discriminator.spec.ts:376
↓ 1 callersFunctionassignDefault
(it: SchemaObjCxt, prop: string | number, defaultValue: unknown)
lib/compile/validate/defaults.ts:16
↓ 1 callersFunctionassignDefaults
(it: SchemaObjCxt, ty?: string)
lib/compile/validate/defaults.ts:5
↓ 1 callersFunctionassignEvaluated
({gen, evaluated, props, items}: SchemaCxt)
lib/compile/validate/index.ts:214
↓ 1 callersFunctionassignParentData
({gen, parentData, parentDataProperty}: SchemaObjCxt, expr: Name)
lib/compile/validate/dataType.ts:138
↓ 1 callersFunctionboolOrEmptySchema
(it: SchemaCxt, valid: Name)
lib/compile/validate/boolSchema.ts:23
↓ 1 callersFunctioncallAsyncRef
()
lib/vocabularies/core/ref.ts:70
↓ 1 callersFunctioncallRootRef
()
lib/vocabularies/core/ref.ts:23
↓ 1 callersFunctioncallSyncRef
()
lib/vocabularies/core/ref.ts:88
↓ 1 callersFunctioncallValidate
(sch: SchemaEnv)
lib/vocabularies/core/ref.ts:29
↓ 1 callersFunctioncallValidate
(schema: AnySchemaObject)
lib/vocabularies/jtd/ref.ts:38
↓ 1 callersFunctioncanOptimize
()
lib/vocabularies/validation/uniqueItems.ts:42
↓ 1 callersFunctioncanOptimize
(e: SafeExpr)
lib/compile/codegen/index.ts:811
↓ 1 callersMethodcheck$data
(valid: Name = nil, $dataValid: Code = nil)
lib/compile/validate/index.ts:459
↓ 1 callersFunctioncheckAdditionalProperties
()
lib/vocabularies/applicator/additionalProperties.ts:44
↓ 1 callersFunctioncheckAmbiguosRef
(sch1: AnySchema, sch2: AnySchema | undefined, ref: string)
lib/compile/resolve.ts:142
↓ 1 callersFunctioncheckAsyncKeyword
({schemaEnv}: SchemaObjCxt, def: FuncKeywordDefinition)
lib/compile/validate/keyword.ts:116
↓ 1 callersFunctioncheckAsyncSchema
(it: SchemaObjCxt)
lib/compile/validate/index.ts:183
↓ 1 callersFunctioncheckContextTypes
(it: SchemaObjCxt, types: JSONType[])
lib/compile/validate/index.ts:278
↓ 1 callersFunctioncheckErrors
(expectedErrs)
spec/issues/485_type_validation_priority.spec.ts:23
↓ 1 callersFunctioncheckKeywordTypes
(it: SchemaObjCxt, ts: JSONType[])
lib/compile/validate/index.ts:298
↓ 1 callersFunctioncheckLimits
(count: Name)
lib/vocabularies/applicator/contains.ts:96
↓ 1 callersFunctioncheckMatchingProperties
(pat: string)
lib/vocabularies/applicator/patternProperties.ts:51
↓ 1 callersFunctioncheckMultipleTypes
(it: SchemaObjCxt, ts: JSONType[])
lib/compile/validate/index.ts:292
↓ 1 callersFunctioncheckNoDefault
(it: SchemaObjCxt)
lib/compile/validate/index.ts:171
↓ 1 callersFunctioncheckRefsAndKeywords
(it: SchemaObjCxt)
lib/compile/validate/index.ts:164
↓ 1 callersFunctioncheckStrictTuple
(sch: AnySchemaObject)
lib/vocabularies/applicator/items.ts:48
↓ 1 callersFunctioncheckStrictTypes
(it: SchemaObjCxt, types: JSONType[])
lib/compile/validate/index.ts:271
↓ 1 callersFunctioncleanErrors
(errors?: JTDError[] | null)
spec/jtd-schema.spec.ts:88
↓ 1 callersFunctioncoerceAndCheckDataType
(it: SchemaObjCxt, types: JSONType[])
lib/compile/validate/dataType.ts:40
↓ 1 callersFunctioncoerceData
(it: SchemaObjCxt, types: JSONType[], coerceTo: JSONType[])
lib/compile/validate/dataType.ts:63
↓ 1 callersFunctioncoerceSpecificType
(t: string)
lib/compile/validate/dataType.ts:90
↓ 1 callersFunctioncoerceToTypes
(types: JSONType[], coerceTypes?: boolean | "array")
lib/compile/validate/dataType.ts:57
↓ 1 callersFunctioncommonProperties
()
lib/vocabularies/jtd/properties.ts:87
↓ 1 callersMethodcompile
(schema: AnySchema, meta?: boolean)
lib/standalone/instance.ts:13
↓ 1 callersFunctioncompileCheck
(IDs: number[])
spec/async_schemas.spec.ts:113
↓ 1 callersFunctionconvertErrors
(errors: TestCaseError[])
spec/jtd-schema.spec.ts:95
↓ 1 callersFunctioncountKeys
(schema: AnySchemaObject)
lib/compile/resolve.ts:56
↓ 1 callersFunctioncreateBundleConfig
(sourceFile, outFile, globalName)
rollup.config.js:7
↓ 1 callersFunctioncreateInstances
()
spec/errors.spec.ts:14
↓ 1 callersFunctiondataContextProps
(_nextData: Name)
lib/compile/validate/subschema.ts:116
↓ 1 callersMethoddefaultMeta
()
lib/core.ts:331
↓ 1 callersFunctiondeleteAdditional
(key: Name)
lib/vocabularies/applicator/additionalProperties.ts:68
↓ 1 callersFunctiondescribeOnly
(name: string, func: () => void)
spec/jtd-schema.spec.ts:229
↓ 1 callersFunctiondestructureValCxt
(opts: InstanceOptions)
lib/compile/validate/index.ts:66
↓ 1 callersFunctiondestructureValCxtES5
(gen: CodeGen, opts: InstanceOptions)
lib/compile/validate/index.ts:72
↓ 1 callersFunctionequalCode
(vSchema: Name, i: number)
lib/vocabularies/validation/enum.ts:45
← previousnext →201–300 of 786, ranked by callers