How to fetch fields/datatypes of Content Fragment Model(not content fragment) using Headless GET API in AEM?
Views
Replies
Total Likes
Why do you want to do that? What's the usecase?
Generally, CF Model is not a something which will change on a fly. So for third parties which needs a JSON should stick to the defined schema.
If you change the schema on the fly, then how it will system will manage the existing data in CF.