schema-org-gen
schema-org-gen copied to clipboard
Generate JSON Schemas from the schema.org spec
The semantics of `instances` on http://schema.json.org doesn't imply an `enum` in the target JSON schema, so I've removed it and the generated schemas look reasonably sane now.
Fixes issues described in https://github.com/geraintluff/schema-org-gen/pull/4 - please merge https://github.com/geraintluff/schema-org-gen/pull/4 first
The source for schema-org-gen is not being updated it seems. Would be great to get this data for the 2.0 release.
Hi @geraintluff I've created a cardinality extractor for Schema.org's properties: https://github.com/dunglas/php-schema.org-model It works like yours except that it extracts cardinalities of e-commerce related properties from GoodRelations (in the GoodRelations OWL,...
- [ ] http://schema.org/addressCountry - can be ISO code - [x] remove URL prefix (for portability), keep `.json` suffix in URL - [x] `"media": {"type": "application/json; profile=..."}` - [x] mark...