MCPcopy Create free account

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

Functions786 in github.com/ajv-validator/ajv

↓ 1 callersFunctionserializeNumber
({gen, data}: SerializeCxt)
lib/compile/jtd/serialize.ts:231
↓ 1 callersFunctionserializeProperty
(key: string, propSchema: SchemaObject, value: Name)
lib/compile/jtd/serialize.ts:196
↓ 1 callersFunctionsetUsedState
(name: ValueScopeName, state: UsedValueState)
lib/standalone/index.ts:89
↓ 1 callersMethodsetValue
(value: NameValue, {property, itemIndex}: ScopePath)
lib/compile/codegen/scope.ts:106
↓ 1 callersFunctionshouldBeInvalidSchema
( schema, msg: string | RegExp = /keyword .+ value is invalid at path/ )
spec/keyword.spec.ts:1058
↓ 1 callersFunctionshouldBeRangeError
( error, instancePath, schemaPath, comparison, limit, exclusive?: boolean )
spec/keyword.spec.ts:1008
↓ 1 callersFunctionshouldFail
(parse: JTDParser, str: string)
spec/jtd-schema.spec.ts:223
↓ 1 callersFunctionshouldParse
(parse: JTDParser, str: string, res: unknown)
spec/jtd-schema.spec.ts:217
↓ 1 callersFunctionshouldReject
(p: Promise<AnyValidateFunction>, rx: RegExp)
spec/async.spec.ts:346
↓ 1 callersFunctionskipTestCases
(suites: TestSuite[], skipCases: SkippedTestCases)
spec/json-schema.spec.ts:248
↓ 1 callersFunctionspec
(validate)
spec/async.spec.ts:243
↓ 1 callersFunctionspec
(ajv: AjvCore | AjvPack)
spec/issues/240_mutual_recur_frags_common_ref.spec.ts:49
↓ 1 callersFunctionspec
(ajv: AjvCore | AjvPack)
spec/issues/210_mutual_recur_frags.spec.ts:13
↓ 1 callersFunctionspec
(ajv: AjvCore | AjvPack)
spec/issues/50_refs_with_definitions.spec.ts:57
↓ 1 callersFunctionspec
(ajv: AjvCore | AjvPack)
spec/issues/8_shared_refs.spec.ts:43
↓ 1 callersFunctionsplitDependencies
({schema}: KeywordCxt)
lib/vocabularies/applicator/dependencies.ts:54
↓ 1 callersFunctionsubSchemaObjCode
(it: SchemaObjCxt, valid: Name)
lib/compile/validate/index.ts:141
↓ 1 callersFunctionsubschemaCode
(it: SchemaCxt, valid: Name)
lib/compile/validate/index.ts:120
↓ 1 callersFunctionsubtractNames
(names: UsedNames, from: UsedNames)
lib/compile/codegen/index.ts:821
↓ 1 callersFunctiontest
(data)
.runkit_example.js:19
↓ 1 callersFunctiontest
(boolSchema, valid)
spec/boolean.spec.ts:31
↓ 1 callersFunctiontest
(_Ajv)
spec/javacript.spec.js:9
↓ 1 callersFunctiontest
(schema, expectedLoadCallCount)
spec/async.spec.ts:204
↓ 1 callersFunctiontest
(ajv)
spec/options/strictKeywords.spec.ts:28
↓ 1 callersFunctiontest
(ajv)
spec/options/options_code.spec.ts:12
↓ 1 callersFunctiontest
(ajv)
spec/options/unknownFormats.spec.ts:12
↓ 1 callersFunctiontest
(ajv)
spec/options/useDefaults.spec.ts:19
↓ 1 callersFunctiontest
(schema, obj, proto, errors = 1, reverse?: boolean)
spec/options/ownProperties.spec.ts:166
↓ 1 callersFunctiontest
(data, valid, expectedLogCalls)
spec/options/comment.spec.ts:36
↓ 1 callersFunctiontest
(ajv, allErrors)
spec/options/options_reporting.spec.ts:38
↓ 1 callersFunctiontest
(ajv)
spec/options/strict.spec.ts:406
↓ 1 callersFunctiontest
(opts: Options, shouldExtendRef: boolean)
spec/options/options_refs.spec.ts:28
↓ 1 callersFunctiontest
(ajv)
spec/options/strictDefaults.spec.ts:54
↓ 1 callersFunctiontest
(ajv)
spec/options/options_validation.spec.ts:120
↓ 1 callersFunctiontest
(ajv)
spec/options/schemaId.spec.ts:11
↓ 1 callersFunctiontest
(ajv)
spec/issues/273_error_schemaPath_refd_schema.spec.ts:10
↓ 1 callersFunctiontest
(data, json)
spec/issues/2001_jtd_only_optional_properties.spec.ts:17
↓ 1 callersFunctiontestAdditional
()
spec/errors.spec.ts:59
↓ 1 callersFunctiontestAdditionalIsSchema
()
spec/errors.spec.ts:126
↓ 1 callersFunctiontestCoercion
(_ajv, _schema, fromData, toData)
spec/coercion.spec.ts:238
↓ 1 callersFunctiontestConstantKeyword
(definition, numErrors?: number)
spec/keyword.spec.ts:888
↓ 1 callersFunctiontestDependencies
()
spec/errors.spec.ts:385
↓ 1 callersFunctiontestError
(keyword, message, params)
spec/errors.spec.ts:825
↓ 1 callersFunctiontestEvenKeyword
(evenDefinition, numErrors = 1)
spec/keyword.spec.ts:828
↓ 1 callersFunctiontestEvenKeyword$data
(definition, numErrors = 1)
spec/keyword.spec.ts:844
↓ 1 callersFunctiontestExport
(validate: AnyValidateFunction<unknown>)
spec/standalone.spec.ts:296
↓ 1 callersFunctiontestExportTypeCjs
(moduleCode: string, singleExport: boolean)
spec/standalone.spec.ts:19
↓ 1 callersFunctiontestExportTypeEsm
(moduleCode: string, singleExport: boolean)
spec/standalone.spec.ts:10
↓ 1 callersFunctiontestExports
(m: {[n: string]: AnyValidateFunction<unknown>})
spec/standalone.spec.ts:134
↓ 1 callersFunctiontestFormat
()
spec/ajv.spec.ts:446
↓ 1 callersFunctiontestIfError
(ifClause, multipleOf)
spec/errors.spec.ts:943
↓ 1 callersFunctiontestInlined
(validate: AnyValidateFunction, expectedInlined)
spec/resolve.spec.ts:403
↓ 1 callersFunctiontestKeyword
(ajv: Ajv)
spec/options/options_validation.spec.ts:80
↓ 1 callersFunctiontestKeywordErrors
(def: KeywordDefinition)
spec/issues/181_allErrors_custom_keyword_skipped.spec.ts:39
↓ 1 callersFunctiontestListSchema
(validate)
spec/resolve.spec.ts:397
↓ 1 callersFunctiontestMissingSchemaError
(opts)
spec/resolve.spec.ts:266
↓ 1 callersFunctiontestModifying
(withOption)
spec/keyword.spec.ts:1286
↓ 1 callersFunctiontestMultipleConstantKeyword
(definition, numErrors?: number)
spec/keyword.spec.ts:901
↓ 1 callersFunctiontestMultipleRangeKeyword
(definition, numErrors?: number)
spec/keyword.spec.ts:981
↓ 1 callersFunctiontestNaN
(_ajv, schema, NaNisValid)
spec/issues/182_nan_validation.spec.ts:37
↓ 1 callersFunctiontestNotNullable
(schema)
spec/options/nullable.spec.ts:73
↓ 1 callersFunctiontestNotStrict
(_ajv)
spec/options/strictNumbers.spec.ts:32
↓ 1 callersFunctiontestNullable
(schema)
spec/options/nullable.spec.ts:66
↓ 1 callersFunctiontestObjSchema
(validate)
spec/resolve.spec.ts:391
↓ 1 callersFunctiontestOptionMeta
(ajv)
spec/options/meta_validateSchema.spec.ts:10
↓ 1 callersFunctiontestRangeKeyword
(definition, createsErrors?: boolean, numErrors?: number)
spec/keyword.spec.ts:929
↓ 1 callersFunctiontestRequired
()
spec/errors.spec.ts:176
↓ 1 callersFunctiontestRequiredAndProperties
()
spec/errors.spec.ts:251
↓ 1 callersFunctiontestRequiredInAnyOf
()
spec/errors.spec.ts:268
↓ 1 callersFunctiontestRequiredLargeSchema
()
spec/errors.spec.ts:188
↓ 1 callersFunctiontestRules
(rules, cb)
spec/coercion.spec.ts:471
↓ 1 callersFunctiontestSchema
(validate, valid)
spec/boolean.spec.ts:434
↓ 1 callersFunctiontestSchema
(validate)
spec/issues/240_mutual_recur_frags_common_ref.spec.ts:233
↓ 1 callersFunctiontestSchema1
(schema, schemaPathPrefix = "#/properties/foo")
spec/errors.spec.ts:998
↓ 1 callersFunctiontestSchemas
(ajv, expectedInlined)
spec/resolve.spec.ts:379
↓ 1 callersFunctiontestStrict
(ajv)
spec/options/strictNumbers.spec.ts:10
↓ 1 callersFunctiontestStrictMode
(schema, logPattern)
spec/options/strict.spec.ts:387
↓ 1 callersFunctiontestThrow
(keywords)
spec/keyword.spec.ts:1076
↓ 1 callersFunctiontestThrowDuplicate
(keywordPrefix)
spec/keyword.spec.ts:1084
↓ 1 callersFunctiontestTimestamp
( opts: JTDOptions, valid: {Date: boolean; datetime: boolean; date: boolean} )
spec/jtd-timestamps.spec.ts:33
↓ 1 callersFunctiontestTree
(treeSchema: SchemaObject, strictTreeSchema: SchemaObject)
spec/dynamic-ref.spec.ts:75
↓ 1 callersFunctiontestTypeError
(i, instancePath)
spec/errors.spec.ts:990
↓ 1 callersFunctiontestUnicode
(ajv: Ajv)
spec/options/options_validation.spec.ts:99
↓ 1 callersFunctiontestVerbose
(ajv)
spec/options/options_reporting.spec.ts:11
↓ 1 callersFunctiontestWarning
(opts: Options = {}, msgPattern?: RegExp)
spec/options/options_refs.spec.ts:67
↓ 1 callersFunctiontimestampCode
(cxt: KeywordCxt)
lib/vocabularies/jtd/type.ts:29
↓ 1 callersFunctiontopBoolOrEmptySchema
(it: SchemaCxt)
lib/compile/validate/boolSchema.ts:11
↓ 1 callersFunctiontopSchemaObjCode
(it: SchemaObjCxt)
lib/compile/validate/index.ts:92
↓ 1 callersFunctionunescapeFragment
(str: string)
lib/compile/util.ts:59
↓ 1 callersFunctionunevaluatedDynamic
(evaluatedProps: Name, key: Name)
lib/vocabularies/unevaluated/unevaluatedProperties.ts:71
↓ 1 callersFunctionunevaluatedPropCode
(key: Name)
lib/vocabularies/unevaluated/unevaluatedProperties.ts:49
↓ 1 callersFunctionunevaluatedStatic
(evaluatedProps: {[K in string]?: true}, key: Name)
lib/vocabularies/unevaluated/unevaluatedProperties.ts:75
↓ 1 callersFunctionunknownFmt
()
lib/vocabularies/format/format.ts:58
↓ 1 callersFunctionunknownFormat
()
lib/vocabularies/format/format.ts:82
↓ 1 callersFunctionunknownMsg
()
lib/vocabularies/format/format.ts:89
↓ 1 callersFunctionupdateContext
(it: SchemaObjCxt)
lib/compile/validate/index.ts:178
↓ 1 callersFunctionvalidCondition
()
lib/vocabularies/format/format.ts:109
↓ 1 callersFunctionvalidDate
(str: string)
lib/runtime/timestamp.ts:15
↓ 1 callersFunctionvalidSchemaType
( schema: unknown, schemaType: JSONType[], allowUndefined = false )
lib/compile/validate/keyword.ts:128
↓ 1 callersFunctionvalidTime
(str: string)
lib/runtime/timestamp.ts:31
← previousnext →401–500 of 786, ranked by callers