Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajv-validator/ajv
/ functions
Functions
786 in github.com/ajv-validator/ajv
⨍
Functions
786
◇
Types & classes
146
Function
code
(cxt: KeywordCxt)
lib/vocabularies/jtd/elements.ts:16
Function
code
(cxt: KeywordCxt)
lib/vocabularies/jtd/values.ts:15
Function
code
(cxt: KeywordCxt)
lib/vocabularies/jtd/enum.ts:18
Function
code
(cxt: KeywordCxt, ruleType?: string)
lib/vocabularies/format/format.ts:34
Function
code
(cxt)
spec/keyword.spec.ts:566
Function
compileCheckIdExists
(schema: {table: string})
spec/async_schemas.spec.ts:103
Function
compileConstant
(schema)
spec/keyword.spec.ts:233
Function
compileEven
(schema)
spec/keyword.spec.ts:156
Function
compileParser
( this: Ajv, sch: SchemaEnv, definitions: SchemaObjectMap )
lib/compile/jtd/parse.ts:39
Function
compileRange
(schema, parentSchema)
spec/keyword.spec.ts:244
Function
compileSchema
(this: Ajv, sch: SchemaEnv)
lib/compile/index.ts:111
Function
compileSerializer
( this: Ajv, sch: SchemaEnv, definitions: SchemaObjectMap )
lib/compile/jtd/serialize.ts:33
Function
compileTestValidate
()
spec/options/options_code.spec.ts:102
Function
constructor
(readonly nodes: ChildNode[] = [])
lib/compile/codegen/index.ts:170
Method
constructor
(opts: Options = {})
lib/2019.ts:14
Method
constructor
(opts: JTDOptions = {})
lib/jtd.ts:39
Method
constructor
(opts: Options = {})
lib/2020.ts:11
Method
constructor
(opts: Options = {})
lib/core.ts:293
Method
constructor
(readonly ajv: Ajv)
lib/standalone/instance.ts:7
Method
constructor
(env: SchemaEnvArgs)
lib/compile/index.ts:92
Method
constructor
(resolver: UriResolver, baseId: string, ref: string, msg?: string)
lib/compile/ref_error.ts:8
Method
constructor
( private readonly varKind: Name, private readonly name: Name, private rhs?: SafeExpr )
lib/compile/codegen/index.ts:44
Method
constructor
( readonly lhs: Code, public rhs: SafeExpr, private readonly sideEffects?: boolean )
lib/compile/codegen/index.ts:70
Method
constructor
( lhs: Code, private readonly op: Code, rhs: SafeExpr, sideEffects?: boolean )
lib/compile/codegen/index.ts:95
Method
constructor
(readonly label: Name)
lib/compile/codegen/index.ts:111
Method
constructor
(readonly label?: Code)
lib/compile/codegen/index.ts:122
Method
constructor
(readonly error: Code)
lib/compile/codegen/index.ts:133
Method
constructor
(private code: SafeExpr)
lib/compile/codegen/index.ts:147
Method
constructor
( private condition: Code | boolean, nodes?: ChildNode[] )
lib/compile/codegen/index.ts:227
Method
constructor
(private iteration: Code)
lib/compile/codegen/index.ts:282
Method
constructor
( private readonly varKind: Name, private readonly name: Name, private readonly from: SafeExpr,
lib/compile/codegen/index.ts:302
Method
constructor
( private readonly loop: "of" | "in", private readonly varKind: Name, private readonly name: Name,
lib/compile/codegen/index.ts:324
Method
constructor
( public name: Name, public args: Code, public async?: boolean )
lib/compile/codegen/index.ts:350
Method
constructor
(readonly error: Name)
lib/compile/codegen/index.ts:411
Method
constructor
(extScope: ValueScope, opts: CodeGenOptions = {})
lib/compile/codegen/index.ts:463
Method
constructor
(name: ValueScopeName)
lib/compile/codegen/scope.ts:18
Method
constructor
({prefixes, parent}: ScopeOptions = {})
lib/compile/codegen/scope.ts:65
Method
constructor
(prefix: string, nameStr: string)
lib/compile/codegen/scope.ts:101
Method
constructor
(opts: ValueScopeOptions)
lib/compile/codegen/scope.ts:123
Method
constructor
(s: string)
lib/compile/codegen/code.ts:13
Method
constructor
(code: string | readonly CodeItem[])
lib/compile/codegen/code.ts:37
Method
constructor
(it: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string)
lib/compile/validate/index.ts:351
Method
constructor
(errors: Partial<ErrorObject>[])
lib/runtime/validation_error.ts:8
Method
defaultMeta
()
lib/ajv.ts:28
Method
defaultMeta
()
lib/2019.ts:40
Method
defaultMeta
()
lib/jtd.ts:57
Method
defaultMeta
()
lib/2020.ts:34
Function
defaultRegExp
(str, flags)
lib/core.ts:68
Function
discriminatorForm
(root)
lib/refs/jtd-schema.ts:86
Function
elementsForm
(root)
lib/refs/jtd-schema.ts:58
Function
emptyForm
(root)
lib/refs/jtd-schema.ts:19
Method
emptyStr
()
lib/compile/codegen/code.ts:46
Function
enumForm
(root)
lib/refs/jtd-schema.ts:51
Function
error
()
lib/core.ts:814
Function
error
()
spec/options/strictKeywords.spec.ts:78
Function
error
()
spec/options/strict.spec.ts:436
Function
getAjvSyncInstances
(extraOpts?: Options)
spec/ajv_async_instances.ts:6
Function
getApplicator
(draft2020 = false)
lib/vocabularies/applicator/index.ts:19
Function
getCompilingSchema
(this: Ajv, schEnv: SchemaEnv)
lib/compile/index.ts:232
Function
getJsonPointer
( this: Ajv, parsedRef: URIComponent, {baseId, schema, root}: SchemaEnv )
lib/compile/index.ts:296
Function
getMetaSchemaOptions
(this: Ajv)
lib/core.ts:808
Function
getSchEnv
(this: Ajv, keyRef: string)
lib/core.ts:773
Function
getSchemaRefs
(this: Ajv, schema: AnySchema, baseId: string)
lib/compile/resolve.ts:93
Function
getValidate
(id: string)
lib/standalone/index.ts:23
Function
hasItem
()
lib/compile/jtd/parse.ts:157
Function
hook
(...args: any[])
spec/options/comment.spec.ts:48
Function
inlineOrCompile
(this: Ajv, sch: SchemaEnv)
lib/compile/index.ts:226
Method
invalid$DataSchema
()
lib/compile/validate/index.ts:486
Function
isDeepEqual
(data)
spec/keyword.spec.ts:236
Function
isEven
(data)
spec/keyword.spec.ts:163
Function
isJSONType
(x: unknown)
lib/compile/rules.ts:9
Function
isOdd
(data)
spec/keyword.spec.ts:166
Function
isStrictEqual
(data)
spec/keyword.spec.ts:239
Function
keywordMetaschema
(this: Ajv, def: KeywordDefinition)
lib/core.ts:878
Method
loadMetaSchema
(this: Ajv, $ref?: string)
lib/core.ts:429
Method
loadMissingSchema
(this: Ajv, ref: string)
lib/core.ts:452
Function
loadSchema
(url)
spec/discriminator.spec.ts:210
Function
log
()
lib/core.ts:814
Function
log
()
spec/options/strictKeywords.spec.ts:72
Function
log
()
spec/options/meta_validateSchema.spec.ts:51
Function
log
(...args: any[])
spec/options/comment.spec.ts:9
Function
log
()
spec/options/options_reporting.spec.ts:125
Function
log
()
spec/options/strict.spec.ts:430
Function
loopAllRequired
()
lib/vocabularies/validation/required.ts:73
Function
loopEnum
()
lib/vocabularies/validation/enum.ts:38
Function
loopEnum
()
lib/vocabularies/jtd/enum.ts:37
Function
loopN
(i: Name, j: Name)
lib/vocabularies/validation/uniqueItems.ts:46
Function
loopN2
(i: Name, j: Name)
lib/vocabularies/validation/uniqueItems.ts:64
Function
macro
(schema, _parentSchema, it)
spec/keyword.spec.ts:281
Function
macro
()
spec/issues/1539_add_keyword_name_to_validation_error.spec.ts:14
Function
macroConstant
(schema /*, parentSchema */)
spec/keyword.spec.ts:547
Function
macroContains
(_schema)
spec/keyword.spec.ts:522
Function
macroDeepProperties
(_schema)
spec/keyword.spec.ts:411
Function
macroEven
(schema)
spec/keyword.spec.ts:541
Function
macroInvalid
(/* schema */)
spec/keyword.spec.ts:536
Function
macroRange
(schema, parentSchema)
spec/keyword.spec.ts:551
Function
makeStandalone
(ajv: AjvCore)
spec/ajv_standalone.ts:9
Function
message
({keyword, schemaCode})
lib/vocabularies/validation/limitProperties.ts:6
Function
message
({keyword, schemaCode})
lib/vocabularies/validation/limitLength.ts:8
Method
name
(prefix: string)
lib/compile/codegen/scope.ts:133
← previous
next →
601–700 of 786, ranked by callers