MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / GenerateDataSchema

Function GenerateDataSchema

tsunami/engine/schema.go:301–304  ·  view source on GitHub ↗

GenerateDataSchema generates a JSON schema for all data atoms

(root *RootElem)

Source from the content-addressed store, hash-verified

299
300// GenerateDataSchema generates a JSON schema for all data atoms
301func GenerateDataSchema(root *RootElem) map[string]any {
302 dataAtoms := root.getAtomsByPrefix("$data.")
303 return generateSchemaFromAtoms(dataAtoms, "Application Data", "Application data schema")
304}

Callers 2

handleSchemasMethod · 0.85
GetAppManifestMethod · 0.85

Calls 2

generateSchemaFromAtomsFunction · 0.85
getAtomsByPrefixMethod · 0.80

Tested by

no test coverage detected