String error in settings-schema.json when migrating to Dawn 10.0.0

Topic summary

A user is encountering a schema validation error when migrating theme settings from Dawn 2.3.0 to Dawn 10.0.0. The error message states: “New schema is incompatible with current setting value: setting ‘page-with’ must be a string.”

Key Details:

  • Error occurs when saving the settings-schema.json file
  • The problematic setting involves a ‘page_width’ select field with numeric string values (“1200”, “1600”)
  • User confirms values are defined as strings in both the schema and settings data
  • The code worked in the previous Dawn version

Current Status:

  • Issue remains unresolved
  • User is seeking assistance to identify the root cause
  • The posted code snippet appears corrupted or improperly formatted, making diagnosis difficult
Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

Hi all,

I am reaching out to you to get some assist in resolving the error I encounter when copying the content of the setting-schema.sjon content to Dawn 10.0.0 from Dawn 2.3.0

The error states:

New schema is incompatible with current setting value: setting ‘page-with’ must be a string

the error occurs when trying to save the file.

The code in this file is listed below:

},
{
“name”: “t:settings_schema.layout.name”,
“settings”: [
{
“type”: “select”,
“id”: “page_width”,
“options”: [
{
“value”: “1200”,
“label”: “t:settings_schema.layout.settings.page_width.options__1.label”
},
{
“value”: “1600”,
“label”: “t:settings_schema.layout.settings.page_width.options__2.label”
}
],
“default”: “1600”,
“label”: “t:settings_schema.layout.settings.page_width.label”
}
]
}

to the best of my knowledge the values are defined as strings.

The value in the settings-data is also defined as a string.

What puzzles me is that it worked in the previous version we copied the code from.

Who can assist in resolving this issue. Your help is much appreciated.

Kind regards, Wim