I am building a Wordpress plugin that will let users define schema markup for their posts/CPTs. I’m curious if there is a single file somewhere, json csv or otherwise that has all of the schema and their attributes. Building that from scratch would be quite tedious.
Hello, try this Schema.org it’s a site which provides a comprehensive vocabulary for structured data, and there are ways to access this data programmatically or in bulk.
There isn’t a single file with all schema types and attributes, but you can find the full list on Schema.org. For a programmatic approach, JSON-LD is commonly used for schema markup. You can also explore third-party libraries or tools like “Schema Pro” and “Yoast SEO” that offer predefined schema templates. These resources can help you build your plugin without starting from scratch.