Issues with settings_schema.json when changing parameters and pushing to github

bengriz
Visitor
1 0 1

I've been working on the Dawn theme and I'm interested in customizing it a bit via github. I've got everything set up and connected to my github branch, I made a small change to the settings_schema.json file to confirm everything is working properly. I am seeing the following error when I look at the logs 

02:39:26 PM:Fetching new theme files

02:39:26 PM:Files fetched

02:39:26 PM:Error: config/settings_schema.json, Validation failed: Section 1: settings is required, Section 1: 'theme_name' is not a valid attribute, Section 1: 'theme_version' is not a valid attribute, Section 1: 'theme_author' is not a valid attribute, Section 1: 'theme_documentation_url' is not a valid attribute, Section 1: 'theme_support_url' is not a valid attribute

02:39:27 PM:0 succeeded, 0 warnings, 1 failed

02:39:27 PM: Theme updated!

My settings_schema file is as follows: 

{
"name": "cerious_composites",
"theme_name": "Change",
"theme_version": "2.1.0",
"theme_author": "Shopify",
"theme_support_url": "https://support.shopify.com/"
}
 
All I did was change the "name" and "theme_name" parameters. It doesn't seem to work with any parameters other than the parameters that come default with Dawn. 
 
I can't see any issues with the above. I've even run it through a json checker to make sure there aren't any issues with the syntax.. 
 
Any help would be appreicated. 
 
Thank you. 
Replies 2 (2)

wilsaint
Shopify Partner
1 0 1

name you be "theme_info", so your schema should look like this:

{
"name": "theme_info",
"theme_name": "Change",
"theme_author": "Shopify",
"theme_version": "2.1.0",
"theme_support_url": "https://support.shopify.com/"



}

 

alexanderjprado
Shopify Partner
1 0 0

You are right!