Problem/Motivation
Schemata integration was last touched in a substantive way in #2882231: [BUGFIX] Fatal error: Class 'Drupal\schemata_json_schema\Normalizer\jsonapi\SchemataSchemaNormalizer, and provides SchemaFieldDefinitionNormalizer for normalizing attribute fields. This does not normalize relationship fields for schema generation; that is handled by Schemata's RelationshipFieldDefinitionNormalizer, which is not enhancer-aware.
This may be an oversight re: schema generation after #3025284: Allow field enhancers for relationships was committed.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork jsonapi_extras-3224754
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
bradjones1Comment #4
bradjones1Comment #5
bradjones1This now requires json_schema_api module; see #3258113: [META] Future of Schemata/Compatibility with other ecosystem modules for discussion.
Comment #6
bradjones1Comment #7
bradjones1Rebased. I'm also going to mark this Postponed b/c the broader "what do to about schemas" question needs to be answered, first. This can't depend on some rando module I've come up with. :-D
Comment #8
bradjones1Schema generation is being reworked in #3031367: Generate JSON schema for content entity types.