@yext/schema-wrapper
v1.0.4
Published
NPM Package for generating JSON-LD schema markup from a Yext entity
Downloads
11,521
Maintainers
Keywords
Readme
schema-wrapper
NPM Package for generating JSON-LD schema markup from a Yext entity
Under src/yextFields
, find adapter functions which take Yext fields (i.e. Address, Hours, CFTs, etc) and return a JSON object which matches the schema.org specifications
Under src/schemaTypes
, find functions which represent larger schema.org types, which are composed of data from several Yext fields. These can be thought of as Yext Entity level objects.
Release Process
When you make changes to this library, please bump the version in package.json in your pr. After the PR is merged:
- run
yarn build
to compile thedist/
files - run
npm publish
to push out the new library version