@salesforce/b2c-tooling-sdk / docs / readSchema
Function: readSchema()
readSchema(
id): {content:string;entry:SchemaEntry;path:string; } |null
Defined in: packages/b2c-tooling-sdk/src/docs/schema.ts:69
Read a schema by its exact ID.
Parameters
id
string
The exact schema ID to look up
Returns
{ content: string; entry: SchemaEntry; path: string; } | null
An object containing the schema entry, file content, and file path; or null if the schema ID is not found