Dynamically generate JSON LD Schema for different collection type rows
This plugin only supports Strapi v4
A plugin to dynamically map your database to a Schema.org JSON-LD schema. When you access your collection row with a specific query parameter (i.e ?schemaOrg=true
) it will add the json-ld for that data.
npm install strapi-plugin-generate-schema
or
yarn add strapi-plugin-generate-schema
1
2
3
'generate-schema': {
enabled: true,
},
After installing the plugin a "generate-schema" tab will appear on the left side of the admin panel.
Here you can see a list of your visible collection types and if you click "Map Type" you will be able to map certain fields to the corresponding schema fields.
After you have mapped your fields you can add the ?schemaOrg=true
query parameter to your collection row to generate the json-ld for that row.
For example if you have a blog collection type you can query /blog?schemaOrg=true
and you will see the json-ld for that row.
All general issues should be submitted through the Github issue system
If you find a security issue please do not publicly post it instead send an email to support@exclnetworks.com with "Generate Schema Security Issue" as the subject
If you found this plugin helpful give it a star?
npm install strapi-plugin-generate-schema
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.