@opentext/forms-schema-generator
v24.4.1
Published
Generates a JSON schema for use with OpenText™ Forms API
Downloads
108
Readme
forms-schema-generator
Generates a JSON schema for use with OpenText™ Forms API
Contents
Install
Run:
npm install @opentext/forms-schema-generator
Usage
To generate a schema from a Core Content workspace type definition:
import { schemaGenerator } from '@opentext/forms-schema-generator';
// Generate schema
const schema = schemaGenerator(workspaceTypeDefinition);