How do I programmatically access my Form Data Model's JSON schema to feed to my React Adaptive Forms component?
I'm trying to get a proof-of-concept working for a headless consumer of AEM Adaptive Forms.
I'm using this starter React project: https://github.com/adobe/react-starter-kit-aem-headless-forms
I've created a Form Data Model in my local author instance running on localhost:4502 via the schema in that repo, and uploaded it as form-model.schema.json.
I can access something that looks vaguely like a schema at
As well as what seems like a high level description of the Adaptive Form I'm using with the path
My question is: How do I programmatically access the schema I just uploaded from the React repo? What's the path to the JSON? Can I do it on the author instance or do I need to stand up a publish instance as well?
The README from the repo says that the URI
/content/forms/af/application-forms/peak-application-form/jcr:content/guideContainer.model.json
should work but that returns me an error.
Any help would be much appreciated! Haven't found anything useful in the docs.