MCPcopy Index your code
hub / github.com/fastify/fast-json-stringify / getSchemaId

Function getSchemaId

index.js:90–95  ·  view source on GitHub ↗
(schema, rootSchemaId)

Source from the content-addressed store, hash-verified

88}
89
90function getSchemaId (schema, rootSchemaId) {
91 if (schema.$id && schema.$id.charAt(0) !== '#') {
92 return schema.$id
93 }
94 return rootSchemaId
95}
96
97function getSafeSchemaRef (context, location) {
98 let schemaRef = location.getSchemaRef() || ''

Callers 1

buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…