我们已经成功地为我们的电子邮件实施了 Gmail 注释。然而,随着黑色星期五的临近,我们希望在目录卡片中使用多个图像。我找到了调用项目属性等的参考指南,但我不知道如何将其编码为 JSON-LD。我使用 250ok/Validity 的脚本作为基础,如下所示。有人可以帮我编码或提供目录卡注释的示例代码吗?
<script type="application/ld+json">
[{
"@context": "http://schema.org/",
"@type": "Organization",
"logo": "http://250ok.com/img/favicon-black.png"
},{
"@context": "http://schema.org/",
"@type": "EmailMessage",
"subjectLine": "Time to renew your 250ok Account"
},{
"@context": "http://schema.org/",
"@type": "DiscountOffer",
"description": "10% off",
"discountCode": "RENEW2019",
"availabilityStarts": "2020-11-06T08:00:00-07:00",
"availabilityEnds": "2020-11-25T08:00:00-07:00"
},{
"@context": "http://schema.org/",
"@type": "PromotionCard",
"image": "https://s3.amazonaws.com/250ok-wordpress/wp-content/uploads/2018/12/03212604/promo_sample.png"
}]
</script>