Skip to content

Instantly share code, notes, and snippets.

@emphaticsunshine
Created October 25, 2016 19:20
Show Gist options
  • Save emphaticsunshine/1a12078e91ef52a1ce81b681a1b43178 to your computer and use it in GitHub Desktop.
Save emphaticsunshine/1a12078e91ef52a1ce81b681a1b43178 to your computer and use it in GitHub Desktop.
<script type="application/ld+json">
{
"@context": {
"gs1": "http://gs1.org/voc/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"e" : {"@id":"gs1:availabilityEnds","@type":"xsd:dateTime"},
"c" : {"@id":"gs1:eligibleTradeChannel","@type":"gs1:TradeChannelCode"},
"x" : {"@id":"gs1:exclusionDescription","@language":"en-us"},
"d" : {"@id":"gs1:offerDescription","@language":"en-us"},
"r" : {"@id":"gs1:offerRedemptionType"},
"od" : {"@id":"gs1:offerDiscount"},
"u" : { "@id": "gs1:unitCode", "@type": "xsd:string"},
"v" : { "@id": "gs1:value", "@type": "xsd:float" },
"dt" : {"@id":"gs1:discountType"},
"maxPc" : {"@id":"gs1:maximumDiscountPercentage", "@type": "xsd:float" },
"minPc" : {"@id":"gs1:minimumDiscountPercentage", "@type": "xsd:float" },
"pc" : {"@id":"gs1:exactDiscountPercentage", "@type": "xsd:float" },
"maxDisc" : {"@id":"gs1:maximumDiscountAmount", "@type": "gs1:PriceSpecification" },
"minDisc" : {"@id":"gs1:minimumDiscountAmount", "@type": "gs1:PriceSpecification" },
"disc" : {"@id":"gs1:exactDiscountAmount", "@type": "gs1:PriceSpecification" },
"maxSpend" : {"@id":"gs1:maximumQualifyingSpend", "@type": "gs1:PriceSpecification" },
"minSpend" : {"@id":"gs1:minimumQualifyingSpend", "@type": "gs1:PriceSpecification" },
"maxItems" : {"@id":"gs1:maximumQualifyingItems", "@type": "xsd:integer" },
"minItems" : {"@id":"gs1:minimumQualifyingItems", "@type": "xsd:integer" },
"loyalty" : {"@id":"gs1:onlyWithRetailerLoyaltyCard", "@type": "xsd:boolean" },
"mailList" : {"@id":"gs1:onlyWithMailingListSignup", "@type": "xsd:boolean" },
"storeCard" : {"@id":"gs1:onlyWithRetailerPaymentCard", "@type": "xsd:boolean" },
"payCard" : {"@id":"gs1:onlyWithPaymentCard", "@type": "gs1:PaymentCardTypeCode" },
"orl": {"@id":"gs1:offerRedemptionURL"},
"w": {"@id": "gs1:referencedFileURL", "@type":"xsd:anyURI"}
},
"@graph":
[
{
"@type": "gs1:Offer",
"e": "2015-10-25T23:59:59-05:00",
"c": {
"@id": "gs1:TradeChannelCode-ONLINE-ONLY"
},
"x": "Hi! This offer is for online use only and will not be accepted in stores. Please remember there are exclusions to this offer such as Nike and FitBit. Thank you!",
"d": " Get 30% off with Kohl's Charge. Expires on 10/25/2015.",
"od": { "@type":"gs1:Discount",
"dt": { "@id": "gs1:DiscountTypeCode-PERCENTAGE_OFF" },
"pc": "30",
"storeCard": "true"
},
"r": { "@id": "gs1:OfferRedemptionTypeCode-CODE"},
"orl": {"w" : {"@id":"http://www.retailmenot.com/out/7297994"} ,"@type":"gs1:ReferencedFile"}
},
{
"@type": "gs1:Offer",
"e": "2015-10-25T23:59:59-05:00",
"c": {
"@id": "gs1:TradeChannelCode-ONLINE_ONLY"
},
"d": "Free Sitewide shipping for Card Holders. Expires on 10/25/2015.",
"od": { "@type":"gs1:Discount",
"dt": { "@id": "gs1:DiscountTypeCode-FREE_SHIPPING" },
"loyalty": "true"
},
"r": { "@id": "gs1:OfferRedemptionTypeCode-CODE"},
"orl": {"w" : {"@id": "http://www.retailmenot.com/out/7291028"} ,"@type":"gs1:ReferencedFile"}
},
{
"@type": "gs1:Offer",
"e": "2015-10-25T23:59:59-05:00",
"c": {
"@id": "gs1:TradeChannelCode-ONLINE_ONLY"
},
"d": " 20% off with Kohl's Charge. Expires on 10/25/2015.",
"od": { "@type":"gs1:Discount",
"dt": { "@id": "gs1:DiscountTypeCode-PERCENTAGE_OFF" },
"pc": "20",
"storeCard": "true"
},
"r": { "@id": "gs1:OfferRedemptionTypeCode-CODE"},
"orl": {"w" : {"@id":"http://www.retailmenot.com/out/7203979"} ,"@type":"gs1:ReferencedFile"}
}
,
{
"@type": "gs1:Offer",
"e": "2015-10-25T23:59:59-05:00",
"c": {
"@id": "gs1:TradeChannelCode-ONLINE_ONLY"
},
"d": " 15% Off Your Order. Expires on 10/25/2015.",
"od": { "@type":"gs1:Discount",
"dt": { "@id": "gs1:DiscountTypeCode-PERCENTAGE_OFF" },
"pc": "15"
},
"r": { "@id": "gs1:OfferRedemptionTypeCode-CODE"},
"orl": {"w" : {"@id":"http://www.retailmenot.com/out/7305912"} ,"@type":"gs1:ReferencedFile"}
}
,
{
"@type": "gs1:Offer",
"e": "2015-10-25T23:59:59-05:00",
"c": {
"@id": "gs1:TradeChannelCode-ONLINE_ONLY"
},
"d": " 20% Off Sitewide. Expires on 10/25/2015.",
"od": { "@type":"gs1:Discount",
"dt": { "@id": "gs1:DiscountTypeCode-PERCENTAGE_OFF" },
"pc": "20"
},
"r": { "@id": "gs1:OfferRedemptionTypeCode-CODE"},
"orl": {"w" : {"@id":"http://www.retailmenot.com/out/7257456"} ,"@type":"gs1:ReferencedFile"}
}
,
{
"@type": "gs1:Offer",
"e": "2015-10-25T23:59:59-05:00",
"c": {
"@id": "gs1:TradeChannelCode-ONLINE_ONLY"
},
"d": " Extra 15% Off Sitewide. Expires on 10/25/2015.",
"od": { "@type":"gs1:Discount",
"dt": { "@id": "gs1:DiscountTypeCode-PERCENTAGE_OFF" },
"pc": "15"
},
"r": { "@id": "gs1:OfferRedemptionTypeCode-CODE"},
"orl": {"w" : {"@id":"http://www.retailmenot.com/out/7285533"} ,"@type":"gs1:ReferencedFile"}
}
,
{
"@type": "gs1:Offer",
"e": "2015-10-25T23:59:59-05:00",
"c": {
"@id": "gs1:TradeChannelCode-ONLINE_ONLY"
},
"d": " 15% Off Sitewide. Expires on 10/25/2015.",
"od": { "@type":"gs1:Discount",
"dt": { "@id": "gs1:DiscountTypeCode-PERCENTAGE_OFF" },
"pc": "15"
},
"r": { "@id": "gs1:OfferRedemptionTypeCode-CODE"},
"orl": {"w" : {"@id":"http://www.retailmenot.com/out/7285643"} ,"@type":"gs1:ReferencedFile"}
}
,
{
"@type": "gs1:Offer",
"e": "2015-10-25T23:59:59-05:00",
"c": {
"@id": "gs1:TradeChannelCode-ONLINE_ONLY"
},
"d": " 15% Off Sitewide. Expires on 10/25/2015.",
"od": { "@type":"gs1:Discount",
"dt": { "@id": "gs1:DiscountTypeCode-PERCENTAGE_OFF" },
"pc": "15"
},
"r": { "@id": "gs1:OfferRedemptionTypeCode-CODE"},
"orl": {"w" : {"@id":"http://www.retailmenot.com/out/7203975"} ,"@type":"gs1:ReferencedFile"}
}
]
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment