MCPcopy Create free account

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

Functions786 in github.com/ajv-validator/ajv

↓ 4 callersFunctiontypeErrorParams
({parentSchema}: KeywordErrorCxt, t: string)
lib/vocabularies/jtd/error.ts:21
↓ 4 callersFunctionvalidateRangeSchema
(schema, parentSchema)
spec/keyword.spec.ts:1031
↓ 4 callersMethodvalue
(nameOrPrefix: ValueScopeName | string, value: NameValue)
lib/compile/codegen/scope.ts:137
↓ 3 callersMethod$dataMetaSchema
(metaSchema: AnySchemaObject, keywordsJsonPointers: string[])
lib/core.ts:664
↓ 3 callersFunction_addKeyword
(keyword, dataType)
spec/keyword.spec.ts:1163
↓ 3 callersMethod_compileSchemaEnv
(sch: SchemaEnv)
lib/core.ts:735
↓ 3 callersMethod_def
( varKind: Name, nameOrPrefix: Name | string, rhs?: SafeExpr, constant?: boolean )
lib/compile/codegen/index.ts:506
↓ 3 callersFunction_testRequired
(schema, schemaPathPrefix = "#", extraErrors = 0)
spec/errors.spec.ts:467
↓ 3 callersFunctionaddCodeArg
(code: CodeItem[], arg: CodeArg | string[])
lib/compile/codegen/code.ts:100
↓ 3 callersFunctionaddComma
({gen}: SerializeCxt, first?: Name)
lib/compile/jtd/serialize.ts:256
↓ 3 callersFunctionaddExprNames
(names: UsedNames, from: SafeExpr)
lib/compile/codegen/index.ts:787
↓ 3 callersFunctionassignValid
(_await: Code = def.async ? _`await ` : nil)
lib/compile/validate/keyword.ts:82
↓ 3 callersFunctioncallValidateCode
( {schemaCode, data, it: {gen, topSchemaRef, schemaPath, errorPath}, it}: KeywordCxt, func: Code, contex
lib/vocabularies/code.ts:75
↓ 3 callersFunctioncheckNullable
( {gen, data, parentSchema}: KeywordCxt, cond: Code = nil )
lib/vocabularies/jtd/nullable.ts:4
↓ 3 callersFunctioncheckNullableObject
(cxt: KeywordCxt, cond: Code)
lib/vocabularies/jtd/nullable.ts:18
↓ 3 callersMethodcompileAsync
( schema: AnySchemaObject, meta?: boolean )
lib/core.ts:409
↓ 3 callersFunctioneachItem
(xs: T | T[], f: (x: T) => void)
lib/compile/util.ts:76
↓ 3 callersMethoderrorsText
( errors: ErrorObject[] | null | undefined = this.errors, // optional array of validation errors {sepa
lib/core.ts:654
↓ 3 callersMethodfailResult
(condition: Code, successAction?: () => void, failAction?: () => void)
lib/compile/validate/index.ts:384
↓ 3 callersFunctiongetAjvAllInstances
(options: Options, extraOpts: Options = {})
spec/ajv_all_instances.ts:7
↓ 3 callersFunctiongetErrorPath
( dataProp: Name | string | number, dataPropType?: Type, jsPropertySyntax?: boolean )
lib/compile/util.ts:185
↓ 3 callersFunctiongetJSONTypes
(ts: unknown | unknown[])
lib/compile/validate/dataType.ts:34
↓ 3 callersFunctiongetValidate
(cxt: KeywordCxt, sch: SchemaEnv)
lib/vocabularies/core/ref.ts:56
↓ 3 callersFunctionhasRef
(schema: AnySchemaObject)
lib/vocabularies/jtd/ref.ts:68
↓ 3 callersFunctionjsonSyntaxError
(cxt: ParseCxt)
lib/compile/jtd/parse.ts:403
↓ 3 callersMethodmergeValidEvaluated
(schemaCxt: SchemaCxt, valid: Name)
lib/compile/validate/index.ts:515
↓ 3 callersMethodname
(prefix: string)
lib/compile/codegen/index.ts:475
↓ 3 callersFunctionnoPropertyInData
( gen: CodeGen, data: Name, property: Name | string, ownProperties?: boolean )
lib/vocabularies/code.ts:55
↓ 3 callersMethodobject
(...keyValues: [Name | string, SafeExpr | string][])
lib/compile/codegen/index.ts:551
↓ 3 callersMethodoptimizeNodes
()
lib/compile/codegen/index.ts:240
↓ 3 callersFunctionparseEmpty
(cxt: ParseCxt)
lib/compile/jtd/parse.ts:358
↓ 3 callersFunctionparseItems
(cxt: ParseCxt, endToken: string, block: () => void)
lib/compile/jtd/parse.ts:145
↓ 3 callersFunctionparseWith
(cxt: ParseCxt, parseFunc: {code: string}, args?: SafeExpr)
lib/compile/jtd/parse.ts:362
↓ 3 callersFunctionreportError
( cxt: KeywordErrorCxt, error: KeywordErrorDefinition = keywordError, errorPaths?: ErrorPaths, overrid
lib/compile/errors.ts:25
↓ 3 callersFunctionreportTypeError
(it: SchemaObjCxt)
lib/compile/validate/dataType.ts:211
↓ 3 callersFunctionsafeStringify
(x: unknown)
lib/compile/codegen/code.ts:149
↓ 3 callersMethodscopeName
(prefix: string)
lib/compile/codegen/index.ts:480
↓ 3 callersFunctionserializeString
({gen, data}: SerializeCxt)
lib/compile/jtd/serialize.ts:227
↓ 3 callersFunctionshouldBeInvalid
(p, expectedMessages?: string[])
spec/async_validate.spec.ts:406
↓ 3 callersFunctionshouldBeValid
(p, data)
spec/async_validate.spec.ts:401
↓ 3 callersFunctionshouldUseRule
(schema: AnySchemaObject, rule: Rule)
lib/compile/validate/applicability.ts:17
↓ 3 callersFunctionskipWhitespace
({gen, char: c}: ParseCxt)
lib/compile/jtd/parse.ts:391
↓ 3 callersFunctionstandaloneCode
( ajv: AjvCore, refsOrFunc?: {[K in string]?: string} | AnyValidateFunction )
lib/standalone/index.ts:7
↓ 3 callersFunctionstrConcat
(c1: Code, c2: Code)
lib/compile/codegen/code.ts:134
↓ 3 callersFunctionstrictTypesError
(it: SchemaObjCxt, msg: string)
lib/compile/validate/index.ts:328
↓ 3 callersFunctiontoHash
(arr: T[])
lib/compile/util.ts:8
↓ 3 callersMethodtoString
()
lib/compile/codegen/index.ts:470
↓ 3 callersMethodtry
(tryBody: Block, catchCode?: (e: Name) => void, finallyCode?: Block)
lib/compile/codegen/index.ts:675
↓ 3 callersFunctionusePattern
({gen, it: {opts}}: KeywordCxt, pattern: string)
lib/vocabularies/code.ts:95
↓ 3 callersFunctionvalidateArray
(cxt: KeywordCxt)
lib/vocabularies/code.ts:107
↓ 3 callersFunctionvalidateCode
(usedValues: UsedScopeValues, s?: SourceCode)
lib/standalone/index.ts:59
↓ 2 callersMethod_checkUnique
(id: string)
lib/core.ts:729
↓ 2 callersMethod_elseNode
(node: If | Else)
lib/compile/codegen/index.ts:754
↓ 2 callersFunction_getFullPath
(resolver: UriResolver, p: URIComponent)
lib/compile/resolve.ts:76
↓ 2 callersMethod_newName
(prefix: string)
lib/compile/codegen/scope.ts:78
↓ 2 callersMethod_reduceValues
( values: ScopeValues | ScopeValueSets, valueCode: (n: ValueScopeName) => Code | undefined, usedVa
lib/compile/codegen/scope.ts:187
↓ 2 callersFunctionaddError
(gen: CodeGen, errObj: Code)
lib/compile/errors.ts:90
↓ 2 callersFunctionaddErrorsFrom
(source: Code)
lib/vocabularies/core/ref.ts:96
↓ 2 callersFunctionaddEvaluatedFrom
(source: Code)
lib/vocabularies/core/ref.ts:102
↓ 2 callersFunctionambiguos
(ref: string)
lib/compile/resolve.ts:146
↓ 2 callersFunctioncheck
(IDs: number[])
spec/async_schemas.spec.ts:76
↓ 2 callersFunctioncheck
(IDs)
spec/async_validate.spec.ts:157
↓ 2 callersFunctioncheckDataType
( dataType: JSONType, data: Name, strictNums?: boolean | "log", correct = DataType.Correct )
lib/compile/validate/dataType.ts:145
↓ 2 callersFunctioncheckKeywords
(it: SchemaObjCxt)
lib/compile/validate/index.ts:152
↓ 2 callersFunctioncheckMissingProp
( {gen, data, it: {opts}}: KeywordCxt, properties: string[], missing: Name )
lib/vocabularies/code.ts:16
↓ 2 callersFunctioncheckNotValid
(p)
spec/async_validate.spec.ts:422
↓ 2 callersFunctioncheckReportMissingProp
(cxt: KeywordCxt, prop: string)
lib/vocabularies/code.ts:8
↓ 2 callersFunctioncheckUnknownRules
(it: SchemaCxt, schema: AnySchema = it.schema)
lib/compile/util.ts:21
↓ 2 callersFunctioncommentKeyword
({gen, schemaEnv, schema, errSchemaPath, opts}: SchemaObjCxt)
lib/compile/validate/index.ts:187
↓ 2 callersFunctiondynamicAnchor
(cxt: KeywordCxt, anchor: string)
lib/vocabularies/dynamic/dynamicAnchor.ts:14
↓ 2 callersFunctiondynamicRef
(cxt: KeywordCxt, ref: string)
lib/vocabularies/dynamic/dynamicRef.ts:13
↓ 2 callersMethodemptyStr
()
lib/compile/codegen/code.ts:23
↓ 2 callersMethodendBlock
(nodeCount?: number)
lib/compile/codegen/index.ts:705
↓ 2 callersMethodendFor
()
lib/compile/codegen/index.ts:651
↓ 2 callersMethodendFunc
()
lib/compile/codegen/index.ts:724
↓ 2 callersMethoderror
(append?: boolean, errorParams?: KeywordCxtParams, errorPaths?: ErrorPaths)
lib/compile/validate/index.ts:420
↓ 2 callersFunctionerrorMessage
()
lib/runtime/parseJson.ts:88
↓ 2 callersFunctionerrorObjectCode
( cxt: KeywordErrorCxt, error: KeywordErrorDefinition, errorPaths?: ErrorPaths )
lib/compile/errors.ts:120
↓ 2 callersFunctionescapeJsonPointer
(str: string | number)
lib/compile/util.ts:67
↓ 2 callersFunctionfalseSchemaError
(it: SchemaCxt, overrideAllErrors?: boolean)
lib/compile/validate/boolSchema.ts:33
↓ 2 callersFunctiongetEql
()
lib/vocabularies/validation/enum.ts:24
↓ 2 callersFunctiongetLogger
(output)
spec/options/strict.spec.ts:428
↓ 2 callersFunctiongetSchemaTypes
(schema: AnySchemaObject)
lib/compile/validate/dataType.ts:19
↓ 2 callersMethodgetStandalone
(v: AnyValidateFunction<T>)
lib/standalone/instance.ts:23
↓ 2 callersFunctionhasPropFunc
(gen: CodeGen)
lib/vocabularies/code.ts:33
↓ 2 callersFunctionincludesType
(ts: JSONType[], t: JSONType)
lib/compile/validate/index.ts:315
↓ 2 callersMethodinvalid$data
()
lib/compile/validate/index.ts:472
↓ 2 callersFunctionisSchemaObj
(it: SchemaCxt)
lib/compile/validate/index.ts:137
↓ 2 callersFunctionkeywordCode
( it: SchemaObjCxt, keyword: string, def: AddedKeywordDefinition, ruleType?: JSONType )
lib/compile/validate/index.ts:524
↓ 2 callersMethodlabel
(label: Name)
lib/compile/codegen/index.ts:656
↓ 2 callersFunctionpar
(x: Code)
lib/compile/codegen/index.ts:850
↓ 2 callersFunctionparams
(missing)
spec/errors.spec.ts:455
↓ 2 callersFunctionparsePropertyValue
(cxt: ParseCxt, key: Name, schema: SchemaObject)
lib/compile/jtd/parse.ts:251
↓ 2 callersFunctionparseSchemaProperties
(cxt: ParseCxt, discriminator?: string)
lib/compile/jtd/parse.ts:211
↓ 2 callersFunctionpartialParse
(cxt: ParseCxt, parseFunc: Name, args?: SafeExpr)
lib/compile/jtd/parse.ts:366
↓ 2 callersMethodremoveSchema
(schemaKeyRef?: AnySchema | string | RegExp)
lib/core.ts:547
↓ 2 callersFunctionrepeat
(func)
spec/async_validate.spec.ts:434
↓ 2 callersFunctionreportMissingProp
(cxt: KeywordCxt, missing: Name)
lib/vocabularies/code.ts:28
↓ 2 callersFunctionrequiredMsg
(prop: string)
spec/errors.spec.ts:511
↓ 2 callersFunctionreturnErrors
(it: SchemaCxt, errs: Code)
lib/compile/errors.ts:100
← previousnext →101–200 of 786, ranked by callers