MCPcopy Create free account

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

Functions786 in github.com/ajv-validator/ajv

↓ 1 callersFunctionerrorInstancePath
({errorPath}: SchemaCxt, {instancePath}: ErrorPaths)
lib/compile/errors.ts:144
↓ 1 callersFunctionerrorMsg
(pointerType: string, up: number)
lib/compile/validate/index.ts:579
↓ 1 callersFunctionerrorObject
( cxt: KeywordErrorCxt, error: KeywordErrorDefinition, errorPaths: ErrorPaths = {} )
lib/compile/errors.ts:130
↓ 1 callersFunctionerrorSchemaPath
( {keyword, it: {errSchemaPath}}: KeywordErrorCxt, {schemaPath, parentSchema}: ErrorPaths )
lib/compile/errors.ts:151
↓ 1 callersFunctionescapeFragment
(str: string | number)
lib/compile/util.ts:63
↓ 1 callersFunctionevaluatedPropsToName
(gen: CodeGen, ps?: EvaluatedProperties)
lib/compile/util.ts:160
↓ 1 callersFunctionexitOnErrorMode
()
lib/vocabularies/validation/required.ts:60
↓ 1 callersFunctionextendErrors
({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt)
lib/compile/errors.ts:66
↓ 1 callersFunctionextendSubschemaData
( subschema: SubschemaContext, it: SchemaObjCxt, {dataProp, dataPropType: dpType, data, dataTypes, prope
lib/compile/validate/subschema.ts:87
↓ 1 callersFunctionextendSubschemaMode
( subschema: SubschemaContext, {jtdDiscriminator, jtdMetadata, compositeRule, createErrors, allErrors}: Su
lib/compile/validate/subschema.ts:126
↓ 1 callersFunctionextraErrorProps
( cxt: KeywordErrorCxt, {params, message}: KeywordErrorDefinition, keyValues: [Name, SafeExpr | string][
lib/compile/errors.ts:162
↓ 1 callersFunctionfuncExportCode
(source?: SourceCode)
lib/standalone/index.ts:29
↓ 1 callersFunctionfuncKeywordCode
(cxt: KeywordCxt, def: FuncKeywordDefinition)
lib/compile/validate/keyword.ts:39
↓ 1 callersFunctionfuncSourceUrl
(schema: AnySchema, opts: InstanceOptions)
lib/compile/validate/index.ts:114
↓ 1 callersFunctiongetAjvs
(Ajv: typeof AjvCore)
spec/ajv_all_instances.ts:10
↓ 1 callersFunctiongetAjvs
(AjvClass: typeof AjvCore)
spec/discriminator.spec.ts:21
↓ 1 callersFunctiongetData
( $data: string, {dataLevel, dataNames, dataPathArr}: SchemaCxt )
lib/compile/validate/index.ts:544
↓ 1 callersFunctiongetEsmExportName
(key: Code | string | number)
lib/compile/codegen/code.ts:160
↓ 1 callersFunctiongetFormat
(fmtDef: AddedFormat)
lib/vocabularies/format/format.ts:94
↓ 1 callersFunctiongetGen
(opts?: CodeGenOptions)
spec/codegen.spec.ts:501
↓ 1 callersMethodgetKeyword
(keyword: string)
lib/core.ts:629
↓ 1 callersFunctiongetLogger
(logger?: Partial<Logger> | false)
lib/core.ts:816
↓ 1 callersFunctiongetLogger
(output)
spec/options/strictKeywords.spec.ts:70
↓ 1 callersFunctiongetLogger
(output)
spec/options/strictDefaults.spec.ts:178
↓ 1 callersFunctiongetMapping
()
lib/vocabularies/discriminator/index.ts:63
↓ 1 callersFunctiongetParser
(gen: CodeGen, sch: SchemaEnv)
lib/compile/jtd/parse.ts:352
↓ 1 callersFunctiongetRules
()
lib/compile/rules.ts:36
↓ 1 callersMethodgetSchema
(keyRef: string)
lib/standalone/instance.ts:17
↓ 1 callersMethodgetScopeValue
(prefix: string, keyOrRef: unknown)
lib/compile/codegen/index.ts:492
↓ 1 callersFunctiongetSerialize
(gen: CodeGen, sch: SchemaEnv)
lib/compile/jtd/serialize.ts:246
↓ 1 callersFunctiongetSubschema
( it: SchemaObjCxt, {keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef}: SubschemaArgs
lib/compile/validate/subschema.ts:49
↓ 1 callersFunctiongetTypeErrorContext
(it: SchemaObjCxt)
lib/compile/validate/dataType.ts:216
↓ 1 callersFunctiongetValidate
(passContext)
spec/options/options_code.spec.ts:76
↓ 1 callersFunctiongetValidate
(passContext)
spec/issues/768_passContext_recursive_ref.spec.ts:50
↓ 1 callersFunctiongetValidateFragments
(passContext)
spec/issues/768_passContext_recursive_ref.spec.ts:69
↓ 1 callersMethodgetValue
(prefix: string, keyOrRef: unknown)
lib/compile/codegen/scope.ts:158
↓ 1 callersFunctiongroupKeywords
(group: RuleGroup)
lib/compile/validate/index.ts:237
↓ 1 callersFunctionhasApplicableType
(schTs: JSONType[], kwdT: JSONType)
lib/compile/validate/index.ts:311
↓ 1 callersFunctionhasDefault
(prop: string)
lib/vocabularies/applicator/properties.ts:40
↓ 1 callersFunctionhasRef
(schema: AnySchemaObject)
lib/compile/resolve.ts:46
↓ 1 callersFunctionhasRequired
({required}: AnySchemaObject)
lib/vocabularies/discriminator/index.ts:87
↓ 1 callersFunctionhasSchema
(it: SchemaObjCxt, keyword: string)
lib/vocabularies/applicator/if.ts:75
↓ 1 callersFunctioninlineRef
(schema: AnySchema, limit: boolean | number = true)
lib/compile/resolve.ts:31
↓ 1 callersFunctioninlineRefSchema
(sch: AnySchema)
lib/vocabularies/core/ref.ts:34
↓ 1 callersFunctioninlineRefSchema
(schema: AnySchemaObject)
lib/vocabularies/jtd/ref.ts:49
↓ 1 callersFunctioninterpolate
(x?: string | string[] | number | boolean | null)
lib/compile/codegen/code.ts:139
↓ 1 callersFunctioninvalidFmt
()
lib/vocabularies/format/format.ts:63
↓ 1 callersFunctioninvalidSchema
(schema: SchemaObject, error: any)
spec/discriminator.spec.ts:388
↓ 1 callersFunctionisAdditional
(key: Name)
lib/vocabularies/applicator/additionalProperties.ts:51
↓ 1 callersFunctionisAdditional
( key: Name, props: string[], keyword: string, jtdDiscriminator?: string )
lib/vocabularies/jtd/properties.ts:160
↓ 1 callersFunctionisAdditional
(key: Name, ps: string[])
lib/compile/jtd/serialize.ts:201
↓ 1 callersFunctioniterateKeywords
(it: SchemaObjCxt, group: RuleGroup)
lib/compile/validate/index.ts:255
↓ 1 callersFunctionjsonPointer
(error: string[])
spec/jtd-schema.spec.ts:115
↓ 1 callersFunctionkeyValue
(key: string)
lib/compile/jtd/serialize.ts:192
↓ 1 callersFunctionkeys
(ps?: SchemaObjectMap)
lib/compile/jtd/serialize.ts:180
↓ 1 callersFunctionloadSchema
(uri: string)
spec/async.spec.ts:376
↓ 1 callersFunctionlog
(comparison: string)
spec/codegen.spec.ts:264
↓ 1 callersFunctionloopUntilMissing
(missing: Name, valid: Name)
lib/vocabularies/validation/required.ts:80
↓ 1 callersFunctionmacroKeywordCode
(cxt: KeywordCxt, def: MacroKeywordDefinition)
lib/compile/validate/keyword.ts:19
↓ 1 callersFunctionmain
()
scripts/get-contributors.js:16
↓ 1 callersFunctionmakeMergeEvaluated
({ mergeNames, mergeToName, mergeValues, resultToName, }: MakeMergeFuncArgs<T>)
lib/compile/util.ts:100
↓ 1 callersFunctionmappend
(op: Code)
lib/compile/codegen/index.ts:846
↓ 1 callersFunctionmergeExprItems
(a: CodeItem, b: CodeItem)
lib/compile/codegen/code.ts:121
↓ 1 callersFunctionmessage
({keyword, schemaCode})
lib/vocabularies/validation/limitItems.ts:6
↓ 1 callersFunctionmissingProperty
(prop: string)
lib/vocabularies/jtd/properties.ts:118
↓ 1 callersFunctionmodifyData
(cxt: KeywordCxt)
lib/compile/validate/keyword.ts:97
↓ 1 callersFunctionmultiExportsCode
( schemas: {[K in string]?: T}, getValidateFunc: (schOrId: T) => AnyValidateFunction | undefined )
lib/standalone/index.ts:40
↓ 1 callersFunctionnarrowSchemaTypes
(it: SchemaObjCxt, withTypes: JSONType[])
lib/compile/validate/index.ts:319
↓ 1 callersFunctionnumCond
(_cond: Code = nil)
lib/compile/validate/dataType.ts:173
↓ 1 callersFunctionoptimize
(expr: CodeItem[])
lib/compile/codegen/code.ts:106
↓ 1 callersFunctionoptionalPropertiesForm
(root)
lib/refs/jtd-schema.ts:76
↓ 1 callersFunctionparseBooleanToken
(bool: boolean, fail: GenParse)
lib/compile/jtd/parse.ts:329
↓ 1 callersFunctionparseDefinedProperty
(cxt: ParseCxt, key: Name, schemas: SchemaObjectMap = {})
lib/compile/jtd/parse.ts:243
↓ 1 callersFunctionparseDigits
(maxLen?: number)
lib/runtime/parseJson.ts:78
↓ 1 callersFunctionparseKeyValue
(cxt: ParseCxt, schema: SchemaObject)
lib/compile/jtd/parse.ts:162
↓ 1 callersFunctionparseNullable
(cxt: ParseCxt, parseForm: GenParse)
lib/compile/jtd/parse.ts:120
↓ 1 callersFunctionparseNumber
(cxt: ParseCxt, maxDigits?: number)
lib/compile/jtd/parse.ts:319
↓ 1 callersFunctionparserFunction
(cxt: ParseCxt)
lib/compile/jtd/parse.ts:86
↓ 1 callersFunctionpassValidationThrowCompile
(schema: SchemaObject)
spec/ajv.spec.ts:587
↓ 1 callersFunctionprepareTest
(_ajv: Ajv, schema)
spec/errors.spec.ts:938
↓ 1 callersFunctionpropertiesForm
(root)
lib/refs/jtd-schema.ts:65
↓ 1 callersFunctionrecursiveTest
(schema, refSchema?)
spec/async_validate.spec.ts:355
↓ 1 callersFunctionregexpCode
(rx: RegExp)
lib/compile/codegen/code.ts:167
↓ 1 callersMethodremoveKeyword
(keyword: string)
lib/core.ts:635
↓ 1 callersFunctionreplaceName
(n: Name)
lib/compile/codegen/index.ts:804
↓ 1 callersFunctionreportErrs
(errors: () => void)
lib/compile/validate/keyword.ts:92
↓ 1 callersFunctionrequiredOptions
(o: Options)
lib/core.ts:241
↓ 1 callersFunctionresetErrorsCount
(gen: CodeGen, errsCount: Name)
lib/compile/errors.ts:55
↓ 1 callersFunctionresetEvaluated
(it: SchemaObjCxt)
lib/compile/validate/index.ts:106
↓ 1 callersFunctionresolve
( this: Ajv, root: SchemaEnv, // information about the root schema for the current schema ref: string //
lib/compile/index.ts:244
↓ 1 callersFunctionreturnResults
(it: SchemaCxt)
lib/compile/validate/index.ts:198
↓ 1 callersFunctionrunTest
({instances, draft, tests, skip = [], remotes = {}}: SchemaTest)
spec/json-schema.spec.ts:216
↓ 1 callersFunctionsameSchemaEnv
(s1: SchemaEnv, s2: SchemaEnv)
lib/compile/index.ts:238
↓ 1 callersFunctionschema
(root)
lib/refs/jtd-schema.ts:107
↓ 1 callersFunctionschemaHasRules
( schema: AnySchema, rules: {[Key in string]?: boolean | Rule} )
lib/compile/util.ts:31
↓ 1 callersFunctionschemaHasRulesForType
( {schema, self}: SchemaObjCxt, type: JSONType )
lib/compile/validate/applicability.ts:5
↓ 1 callersFunctionschemaKeywords
( it: SchemaObjCxt, types: JSONType[], typeErrors: boolean, errsCount?: Name )
lib/compile/validate/index.ts:219
↓ 1 callersFunctionschemaProperties
(keyword: string)
lib/vocabularies/jtd/properties.ts:97
↓ 1 callersMethodserialize
(component: URIComponent)
lib/types/index.ts:243
↓ 1 callersFunctionserializeNullable
(cxt: SerializeCxt, serializeForm: (_cxt: SerializeCxt) => void)
lib/compile/jtd/serialize.ts:91
← previousnext →301–400 of 786, ranked by callers