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”
]
}
}