MCPcopy Create free account

hub / github.com/santhosh-tekuri/jsonschema / functions

Functions377 in github.com/santhosh-tekuri/jsonschema

↓ 2 callersMethodadd
(url url, doc any)
loader.go:134
↓ 2 callersMethodcollectAnchors
(sch any, schPtr jsonPointer, res *resource)
root.go:78
↓ 2 callersFunctiondiscriminatorVocab
Vocab --
example_vocab_discriminator_test.go:44
↓ 2 callersMethoddisplay
(sb *strings.Builder, verbose bool, indent int, absKwLoc string, p *message.Printer)
output.go:46
↓ 2 callersFunctionduplicates
(arr []any)
util.go:331
↓ 2 callersMethodenqueueAdditional
(pname string)
objcompiler.go:416
↓ 2 callersMethodformat
(tok string)
util.go:246
↓ 2 callersMethodinstanceLocation
error helpers --
validator.go:816
↓ 2 callersMethodjoin
(ref string)
util.go:27
↓ 2 callersMethodkwLoc
()
validator.go:896
↓ 2 callersFunctionlocalizedError
(err error, p *message.Printer)
kind/kind.go:646
↓ 2 callersFunctionminInt
--
util.go:256
↓ 2 callersFunctionnewHTTPURLLoader
(insecure bool)
example_http_test.go:31
↓ 2 callersFunctionopenMeta
(url string)
loader.go:81
↓ 2 callersMethodorLoad
(u url)
roots.go:30
↓ 2 callersMethodoutput
(flatten, inRef bool, schemaURL, kwLoc string, p *message.Printer)
output.go:168
↓ 2 callersFunctionquote
quote returns single-quoted string. used for embedding quoted strings in json.
util.go:279
↓ 2 callersMethodresolveFragment
(frag fragment)
root.go:52
↓ 2 callersMethodresolveFragmentIn
(frag fragment, res *resource)
root.go:34
↓ 2 callersMethodskip
()
output.go:38
↓ 2 callersFunctiontestOuputSuite
(t *testing.T, suite string)
output_test.go:137
↓ 2 callersFunctiontestOutputDir
(t *testing.T, suite, dir string, draft *jsonschema.Draft)
output_test.go:15
↓ 2 callersFunctiontestSuite
(t *testing.T, suite string)
suite_test.go:132
↓ 2 callersFunctionunescape
(tok string)
util.go:61
↓ 2 callersMethodvalidate
(r *root, v any, ptr jsonPointer)
roots.go:237
↓ 2 callersFunctionvalidateDuration
see https://datatracker.ietf.org/doc/html/rfc3339#appendix-A
format.go:143
↓ 2 callersFunctionvalidateIPV6
(v any)
format.go:236
↓ 1 callersMethodAddError
AddError reports validation-error of given kind.
vocab.go:80
↓ 1 callersMethodDuplicates
(arr []any)
vocab.go:105
↓ 1 callersMethodEnqueue
(schPath []string)
vocab.go:9
↓ 1 callersMethodEvaluatedProp
EvaluatedProp marks given property of current object as evaluated.
vocab.go:70
↓ 1 callersMethodFlagOutput
The `Flag` output format, merely the boolean result.
output.go:120
↓ 1 callersMethodLocalizedBasicOutput
(p *message.Printer)
output.go:153
↓ 1 callersMethodLocalizedDetailedOutput
(p *message.Printer)
output.go:163
↓ 1 callersMethodLocalizedError
(p *message.Printer)
output.go:87
↓ 1 callersMethodLocalizedError
(p *message.Printer)
util.go:462
↓ 1 callersMethodLocalizedGoString
(p *message.Printer)
output.go:97
↓ 1 callersFunctionNewCompiler
NewCompiler create Compiler Object.
compiler.go:21
↓ 1 callersMethodRegisterContentEncoding
RegisterContentEncoding registers custom contentEncoding. NOTE: content assertions are disabled by default. see [Compiler.AssertContent].
compiler.go:85
↓ 1 callersMethodRegisterContentMediaType
RegisterContentMediaType registers custom contentMediaType. NOTE: content assertions are disabled by default. see [Compiler.AssertContent].
compiler.go:93
↓ 1 callersMethodRegisterFormat
RegisterFormat registers custom format. NOTE: - "regex" format can not be overridden - format assertions are disabled for draft >= 2019-09 see [Compi
compiler.go:75
↓ 1 callersMethodString
String returns the specification url.
draft.go:22
↓ 1 callersMethodUseRegexpEngine
UseRegexpEngine changes the regexp-engine used. By default it uses regexp package from go standard library. NOTE: must be called before compiling any
compiler.go:146
↓ 1 callersMethod_collectResources
(r *root, sch any, base url, schPtr jsonPointer, fallback dialect)
roots.go:81
↓ 1 callersMethodaddRoot
(u url, doc any)
roots.go:41
↓ 1 callersMethodaddSubschema
(r *root, ptr jsonPointer)
roots.go:216
↓ 1 callersMethodarrValidate
(arr []any)
validator.go:324
↓ 1 callersMethodassertFormat
(draftVersion int)
objcompiler.go:432
↓ 1 callersMethodat
(i int)
compiler.go:289
↓ 1 callersMethodcheckCycle
()
validator.go:882
↓ 1 callersMethodclone
()
root.go:137
↓ 1 callersMethodcompile
(s *Schema)
objcompiler.go:19
↓ 1 callersMethodcompileDraft2019
(s *Schema)
objcompiler.go:265
↓ 1 callersMethodcompileDraft2020
(s *Schema)
objcompiler.go:317
↓ 1 callersMethodcompileDraft4
(s *Schema)
objcompiler.go:86
↓ 1 callersMethodcompileDraft6
(s *Schema)
objcompiler.go:212
↓ 1 callersMethodcompileDraft7
(s *Schema)
objcompiler.go:225
↓ 1 callersMethodcompileObject
(obj map[string]any, sch *Schema, r *root, q *queue)
compiler.go:264
↓ 1 callersMethodcompileValue
(v any, sch *Schema, r *root, q *queue)
compiler.go:216
↓ 1 callersMethodconcat
(next jsonPointer)
util.go:95
↓ 1 callersMethodcondValidate
()
validator.go:552
↓ 1 callersMethoddoCompile
(up urlPtr)
compiler.go:190
↓ 1 callersMethodensureSubschema
(up urlPtr)
roots.go:193
↓ 1 callersMethodget
(up urlPtr)
compiler.go:297
↓ 1 callersMethodgetDraft
(up urlPtr, doc any, defaultDraft *Draft, cycle map[url]struct{})
loader.go:165
↓ 1 callersMethodgetMetaVocabs
(doc any, draft *Draft, vocabularies map[string]*Vocabulary)
loader.go:196
↓ 1 callersMethodgetVocabs
(url url, doc any, vocabularies map[string]*Vocabulary)
draft.go:181
↓ 1 callersFunctionisInteger
(num any)
util.go:272
↓ 1 callersFunctionisMeta
(url string)
loader.go:103
↓ 1 callersMethodlen
()
compiler.go:293
↓ 1 callersFunctionloadMeta
(url string)
loader.go:115
↓ 1 callersMethodmerge
(other *uneval)
validator.go:939
↓ 1 callersFunctionnewEnum
(arr []any)
schema.go:237
↓ 1 callersFunctionnewLoader
(mappings map[string]string, insecure bool, cacert string)
cmd/jv/loader.go:17
↓ 1 callersFunctionnewSchema
(up urlPtr)
schema.go:252
↓ 1 callersFunctionnewTypes
(v any)
schema.go:176
↓ 1 callersMethodnumValidate
(v any)
validator.go:513
↓ 1 callersMethodobjValidate
(obj map[string]any)
validator.go:198
↓ 1 callersMethodresolve
resolves urlFrag to urlPtr from root. returns nil if it is external.
root.go:58
↓ 1 callersMethodresolveDynamicAnchor
(name string, fallback *Schema)
validator.go:779
↓ 1 callersMethodresolveRecursiveAnchor
(fallback *Schema)
validator.go:767
↓ 1 callersMethodschemaURL
format ---
output.go:17
↓ 1 callersFunctionstartsWithWindowsDrive
(s string)
util.go:163
↓ 1 callersMethodstrValidate
(str string)
validator.go:432
↓ 1 callersFunctiontestFile
(t *testing.T, suite, fpath string, draft *jsonschema.Draft)
suite_test.go:22
↓ 1 callersFunctiontypeFromString
(s string)
schema.go:131
↓ 1 callersMethodunevalValidate
()
validator.go:633
↓ 1 callersFunctionvalidateDate
see see https://datatracker.ietf.org/doc/html/rfc3339#section-5.6
format.go:378
↓ 1 callersFunctionvalidateHostname
see https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names
format.go:255
↓ 1 callersFunctionvalidateIPV4
(v any)
format.go:212
↓ 1 callersFunctionvalidateJSONPointer
see https://www.rfc-editor.org/rfc/rfc6901#section-3
format.go:42
↓ 1 callersMethodvalidateRefs
()
validator.go:791
↓ 1 callersFunctionvalidateTime
see https://datatracker.ietf.org/doc/html/rfc3339#section-5.6 NOTE: golang time package does not support leap seconds.
format.go:389
↓ 1 callersMethodvalidateValue
(sch *Schema, v any, vpath []string)
validator.go:705
MethodAddErrors
AddErrors reports validation-errors of given kind.
vocab.go:85
MethodEquals
(v1, v2 any)
vocab.go:97
MethodError
()
roots.go:254
MethodError
()
roots.go:264
MethodError
()
roots.go:274
MethodError
()
roots.go:284
← previousnext →101–200 of 377, ranked by callers