Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/json-schema-tools
/ functions
Functions
85 in github.com/cloudflare/json-schema-tools
⨍
Functions
85
◇
Types & classes
10
↓ 10 callers
Method
push
(key, invalidationKey, buffer)
scripts/yarn/lib/v8-compile-cache.js:116
↓ 6 callers
Method
get
(key, invalidationKey)
scripts/yarn/lib/v8-compile-cache.js:35
↓ 4 callers
Function
_apply
(schema, path, preFunc, postFunc, parentPath)
workspaces/json-schema-walker/lib/schemaWalk.js:267
↓ 4 callers
Function
_getProcessLinks
(ldoVocabulary)
workspaces/json-schema-walker/lib/schemaWalk.js:232
↓ 4 callers
Function
collapseSchemas
* Use a vocabulary to collapse subschemas into a parent schema * to whatever extent is possible.
workspaces/json-schema-transform/lib/allOf.js:365
↓ 4 callers
Method
dereference
* Returns a promise, to which the dereferenced data structure will * be passed.
workspaces/json-schema-transform/lib/dereferencer.js:101
↓ 3 callers
Function
_isSchema
(schema)
workspaces/json-schema-walker/lib/schemaWalk.js:130
↓ 2 callers
Function
_findExtension
* Search an ordered list of possible extensions and * return the first one matching an existing file, or * an empty string if none match. * * Curr
workspaces/json-schema-transform/lib/dereferencer.js:12
↓ 2 callers
Method
getDependencies
* Returns a list of objects representing resolved references, * each of which has two properties: * * uri: * The resolved URI, which ma
workspaces/json-schema-transform/lib/dereferencer.js:135
↓ 2 callers
Function
getSubschema
(schema, path)
workspaces/json-schema-walker/lib/schemaWalk.js:20
↓ 2 callers
Function
subschemaWalk
( schema, preFunc, postFunc, parentPath, vocabulary )
workspaces/json-schema-walker/lib/schemaWalk.js:79
↓ 1 callers
Function
_arrayIntersection
* Sets parent to an array containing only values that appear * in both the parent and the subschema. May result in an * empty list, which will *not
workspaces/json-schema-transform/lib/allOf.js:206
↓ 1 callers
Function
_determineType
* Determine the most likely primary type of any instance that * validates against the subschema. * * If we don't have a type and can't infer one fr
workspaces/json-schema-transform/lib/example.js:15
↓ 1 callers
Method
_getDump
()
scripts/yarn/lib/v8-compile-cache.js:111
↓ 1 callers
Method
_load
()
scripts/yarn/lib/v8-compile-cache.js:98
↓ 1 callers
Function
_mkdirpSync
(p, mode)
scripts/yarn/lib/v8-compile-cache.js:262
↓ 1 callers
Method
_moduleCompile
(filename, content)
scripts/yarn/lib/v8-compile-cache.js:186
↓ 1 callers
Function
_processArrayOfSchemas
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:165
↓ 1 callers
Function
_processSchemaKeyword
( vocabulary, schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:137
↓ 1 callers
Function
_processSingleSchema
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:152
↓ 1 callers
Function
configureStore
(reducer, initialState)
workspaces/doca/app/src/client/store.js:6
↓ 1 callers
Function
copyFiles
(theme, input, output, dev, schemas)
workspaces/doca/lib/init.js:33
↓ 1 callers
Method
delete
(key)
scripts/yarn/lib/v8-compile-cache.js:54
↓ 1 callers
Function
extractLdos
* Returns the list of LDOs from the top level of the given * schema that match the supplied search fields. * * Only the "title", "rel", and "method
workspaces/json-hyper-schema/lib/ldo.js:12
↓ 1 callers
Function
findSchemas
(theme, input, output, dev)
workspaces/doca/lib/init.js:45
↓ 1 callers
Function
getCacheDir
()
scripts/yarn/lib/v8-compile-cache.js:296
↓ 1 callers
Function
getParentName
()
scripts/yarn/lib/v8-compile-cache.js:305
↓ 1 callers
Function
getVocabulary
(schema, defaultVocabulary)
workspaces/json-schema-walker/lib/schemaWalk.js:35
↓ 1 callers
Method
has
(key, invalidationKey)
scripts/yarn/lib/v8-compile-cache.js:26
↓ 1 callers
Function
init
(theme, input, output, dev)
workspaces/doca/lib/init.js:62
↓ 1 callers
Method
install
()
scripts/yarn/lib/v8-compile-cache.js:153
↓ 1 callers
Function
installTheme
(theme, project, dev)
workspaces/doca/lib/theme.js:32
↓ 1 callers
Method
isDirty
()
scripts/yarn/lib/v8-compile-cache.js:69
↓ 1 callers
Function
mkdirpSync
(p_)
scripts/yarn/lib/v8-compile-cache.js:258
↓ 1 callers
Function
normalizeName
(theme)
workspaces/doca/lib/theme.js:59
↓ 1 callers
Method
render
()
workspaces/doca/app/src/client/introduction.js:11
↓ 1 callers
Function
replaceSchemasAndTheme
(theme, input, output, dev, schemas)
workspaces/doca/lib/init.js:10
↓ 1 callers
Function
replaceTheme
(theme, project)
workspaces/doca/lib/theme.js:7
↓ 1 callers
Method
save
()
scripts/yarn/lib/v8-compile-cache.js:73
↓ 1 callers
Method
set
(key, invalidationKey, buffer)
scripts/yarn/lib/v8-compile-cache.js:48
↓ 1 callers
Method
setCacheStore
(cacheStore)
scripts/yarn/lib/v8-compile-cache.js:149
↓ 1 callers
Function
setTheme
(theme, project, dev)
workspaces/doca/lib/theme.js:67
↓ 1 callers
Function
slashEscape
(str)
scripts/yarn/lib/v8-compile-cache.js:280
↓ 1 callers
Function
supportsCachedData
()
scripts/yarn/lib/v8-compile-cache.js:291
↓ 1 callers
Method
uninstall
()
scripts/yarn/lib/v8-compile-cache.js:182
Function
Head
({ cssBundle, title })
workspaces/doca-default-theme/components/head.js:4
Function
_arrayUnion
* Sets parent to an array containing all values that appear * in either the parent or the subschema.
workspaces/json-schema-transform/lib/allOf.js:197
Function
_autoExtensionChecker
* Plugin for json-schema-ref-parser that uses _findExtension() * to see if we recognize a format, and then update the ref-parser's * data structure
workspaces/json-schema-transform/lib/dereferencer.js:32
Function
_autoExtensionReader
* Reads the file, and if neither YAML nor plain JSON * parses the contents and writes them back out as * JSON so that RefParser will understand it.
workspaces/json-schema-transform/lib/dereferencer.js:49
Function
_collapseArrayOrSingleSchemas
* Handles "items" or any future keyword that can take either a * single subschema or an array of subschemas. * * TODO: The interaction between "ite
workspaces/json-schema-transform/lib/allOf.js:246
Function
_collapseObjectOfSchemas
* Handles any keyword with an object of subschemas for a value. * TODO: The interactions among "properties", "patternProperties", * and "addit
workspaces/json-schema-transform/lib/allOf.js:297
Function
_collision
* Handle keywords that cannot be collapsed. For now, just throw an exception. * TODO: preserve a limited use of "allOf" for those keywords that *
workspaces/json-schema-transform/lib/allOf.js:347
Function
_doMerge
(schemaParent, schemaProp, rootSchemaNoLinks)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:15
Function
_exclusiveComparison
* Handle minimum and maximum with draft-04's boolean modifiers * exclusivity. The exclusive keywords could not be handled * on their own in draft-0
workspaces/json-schema-transform/lib/allOf.js:165
Function
_maxOfMin
* Sets the parent to the maximum of the values, for use * with minimum boundaries.
workspaces/json-schema-transform/lib/allOf.js:147
Function
_minOfMax
* Sets the parent to the minimum of the values, for use * with maximum boundaries.
workspaces/json-schema-transform/lib/allOf.js:155
Function
_notSupported
* Used for keywords that should cause the entire process to fail if * we're asked to do anything with them at all.
workspaces/json-schema-transform/lib/allOf.js:357
Function
_or
* Logically ORs the subschema value into the parent.
workspaces/json-schema-transform/lib/allOf.js:139
Function
_parentWins
* Ignores the subschema value. In other words, a no-op that exists * to make handling such keywords explicit rather than it looking * like they wer
workspaces/json-schema-transform/lib/allOf.js:338
Function
_processObjectOfMaybeSchemas
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:214
Function
_processObjectOfSchemas
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:197
Function
_processSingleOrArrayOfSchemas
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:180
Function
_singleValueOrArrayIntersection
* Similar to _arrayIntersection, except can handle single values * as if they were one-element arrays.
workspaces/json-schema-transform/lib/allOf.js:218
Function
checkRoot
(position, subschema, path, parent, parentPath)
workspaces/json-schema-walker/__tests__/schemaWalk.js:54
Function
checkSubschema
(position, subschema, path, parent, parentPath)
workspaces/json-schema-walker/__tests__/schemaWalk.js:78
Function
cmp
(a, b)
workspaces/json-schema-walker/__tests__/schemaWalk.js:153
Method
constructor
(schemaPath, schemaData)
workspaces/json-schema-transform/lib/dereferencer.js:88
Method
constructor
(directory, prefix)
scripts/yarn/lib/v8-compile-cache.js:17
Method
constructor
()
scripts/yarn/lib/v8-compile-cache.js:144
Function
extractLdo
* Same as extractLdos except that it returns a single * ldo, and throws on multiple matches or no match.
workspaces/json-hyper-schema/lib/ldo.js:48
Function
getCollapseAllOfCallback
* Returns a function suitable for use as a *post*-walk callback * for json-schema-walker which flattens "allOf" keywords as * much as possible, usin
workspaces/json-schema-transform/lib/allOf.js:428
Function
getCurlExampleCallback
* Get a callback that will build curl request examples under every * link. This needs to be run after the example fields for every * schema have be
workspaces/json-schema-transform/lib/example.js:232
Function
handleResolveSuccess
(schema)
workspaces/json-schema-ref-loader/lib/loader.js:21
Function
makeCfRecurseWalker
(root)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:186
Function
mapStateToProps
workspaces/doca/app/src/client/main.js:30
Function
mergeCfRecurse
(schema, options, vocabulary)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:122
Function
processApiDocSchema
* Process a dereferenced (no "$ref") hyper-schema into a form most suitable * for rendering API documentation. This involves: * - De-referencing t
workspaces/json-schema-transform/lib/apiDoc.js:51
Function
pruneDefinitions
(schema)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:57
Function
removeLinksAndDefs
(subschema, path, parent)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:36
Method
render
()
workspaces/doca-default-theme/components/app.js:18
Method
require
(id)
scripts/yarn/lib/v8-compile-cache.js:158
Function
resolveUri
* Resolve URI Templates from supplied data. * * The first data set is the instance data, if any, while the * second is the input data, if any. Inp
workspaces/json-hyper-schema/lib/ldo.js:85
Function
rollUpExamples
* Roll up examples for use from the root schema, or the root of * schemas inside of Link Description Objects. Schema objects * that already have an
workspaces/json-schema-transform/lib/example.js:100
Function
schemaWalk
(schema, preFunc, postFunc, vocabulary)
workspaces/json-schema-walker/lib/schemaWalk.js:60
Function
schemas
(state = new Immutable.List(), action)
workspaces/doca/app/src/client/reducers/schemas.js:4