Yes, looks like it’s not valid indeed !
Error: Parse error on line 4005:
... "default_value": "<h1>%{platform_name
-----------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'
One of my fields has a default value with variables embedded and looks like it breaks :
{
"field": "email_end_submission",
"type": "String",
"default_value": "<h1>%{platform_name} will close in %{days_before_end} day(s) !</h1>
Your submission is still in progress.
You can now edit and finalize the application form,
using this link:
%
{
update_link
}
Do not forget to finalize the application when you are done.
Cheers,
The Team ",
"enums": null,
"integration": null,
It’s defined this way in my schema.rb :
t.text "email_end_submission", default: "<h1>%{platform_name} will close in %{days_before_end} day(s) !</h1>\n\nYour submission is still in progress.\n\nYou can now edit and finalize the application form, using this link:\n\n %{update_link}\n\nDo not forget to finalize the application when you are done.\n\nCheers,\nThe Team"