Adding JSON field to metaobject saying JSON is invalid problem Dawn 15V?

Topic summary

A user is encountering a validation error when attempting to add a JSON field to a Shopify metaobject in Dawn theme version 15.

The Issue:

  • Shopify is rejecting the JSON as invalid
  • The schema defines a “Variants List” for variant swatches with properties like variant_name, variant_value, variant_swatch, and variant_hex

Technical Problem:
The provided JSON schema appears corrupted with reversed text (text written backwards, e.g., “eulav_tnairav” instead of “variant_value”). This formatting issue is likely causing the validation failure.

Status:
The discussion remains open with no responses or solutions provided yet. The user needs assistance identifying and correcting the JSON syntax errors to successfully add the field to their metaobject.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Hii

I am trying to add JSON field to metaobject saying JSON is invalid.

Please check the JSON below and help me —

{
“$id”: “variants_images.schema.json”,
“$schema”: “<http://json-schema.org/draft-07/schema#>”,
“title”: “Variants List”,
“description”: “A list of variant swatches”,
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“variant_name”: {
“type”: “string”,
“description”: “The variant option name.”
},
“variant_value”: {
“type”: “string”,
“description”: “The variant option value.”
},
“variant_swatch”: {
“type”: “string”,
“description”: “The filename or URL of the image representing the color.”
},
“variant_hex”: {
“type”: “string”,
“description”: “The HEX value or description of the color.”
}
},
“required”: [
“variant_name”,
“variant_value”
]
}
}