Skip to content

Instantly share code, notes, and snippets.

@tao-s
Created December 13, 2020 23:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tao-s/9bc7901a0dc860f9cc01e03adb68ebb2 to your computer and use it in GitHub Desktop.
Save tao-s/9bc7901a0dc860f9cc01e03adb68ebb2 to your computer and use it in GitHub Desktop.
ShippingDetails sample
"shippingDetails": [
{
"@type": "OfferShippingDetails",
"shippingRate": {
"@type": "MonetaryAmount",
"value": "610",
"currency": "JPY"
},
"shippingDestination": {
"@type": "DefinedRegion",
"addressCountry": "JP",
"postalCodeRange": [
{
"postalCodeBegin": "9600000",
"postalCodeEnd": "9999999"
},
{
"postalCodeBegin": "1000000",
"postalCodeEnd": "5199999"
},
{
"postalCodeBegin": "9100000",
"postalCodeEnd": "9599999"
}
]
},
"deliveryTime": {
"@type": "ShippingDeliveryTime",
"handlingTime": {
"@type": "QuantitativeValue",
"minValue": "0",
"maxValue": "4"
},
"transitTime": {
"@type": "QuantitativeValue",
"minValue": "1",
"maxValue": "2"
},
"cutOffTime": "17:30-08:30",
"businessDays": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": [ "https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday","https://schema.org/Friday" ]
}
}
},
{
"@type": "OfferShippingDetails",
"shippingRate": {
"@type": "MonetaryAmount",
"value": "720",
"currency": "JPY"
},
"shippingDestination": [
{
"@type": "DefinedRegion",
"addressCountry": "JP",
"postalCodeRange": {
"postalCodeBegin": "0100000",
"postalCodeEnd": "0399999"
}
},
{
"@type": "DefinedRegion",
"addressCountry": "JP",
"postalCodeRange": {
"postalCodeBegin": "5200000",
"postalCodeEnd": "6799999"
}
}
],
"deliveryTime": {
"@type": "ShippingDeliveryTime",
"handlingTime": {
"@type": "QuantitativeValue",
"minValue": "0",
"maxValue": "4"
},
"transitTime": {
"@type": "QuantitativeValue",
"minValue": "1",
"maxValue": "2"
},
"cutOffTime": "17:30-08:30",
"businessDays": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": [ "https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday","https://schema.org/Friday" ]
}
}
},
{
"@type": "OfferShippingDetails",
"shippingRate": {
"@type": "MonetaryAmount",
"value": "870",
"currency": "JPY"
},
"shippingDestination": {
"@type": "DefinedRegion",
"addressCountry": "JP",
"postalCodeRange": {
"postalCodeBegin": "6800000",
"postalCodeEnd": "7999999"
}
},
"deliveryTime": {
"@type": "ShippingDeliveryTime",
"handlingTime": {
"@type": "QuantitativeValue",
"minValue": "0",
"maxValue": "4"
},
"transitTime": {
"@type": "QuantitativeValue",
"minValue": "1",
"maxValue": "2"
},
"cutOffTime": "17:30-08:30",
"businessDays": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": [ "https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday","https://schema.org/Friday" ]
}
}
},
{
"@type": "OfferShippingDetails",
"shippingRate": {
"@type": "MonetaryAmount",
"value": "950",
"currency": "JPY"
},
"shippingDestination": [
{
"@type": "DefinedRegion",
"addressCountry": "JP",
"postalCodeRange": {
"postalCodeBegin": "0010000",
"postalCodeEnd": "0019999"
}
},
{
"@type": "DefinedRegion",
"addressCountry": "JP",
"postalCodeRange": {
"postalCodeBegin": "0400000",
"postalCodeEnd": "0999999"
}
},
{
"@type": "DefinedRegion",
"addressCountry": "JP",
"postalCodeRange": {
"postalCodeBegin": "8000000",
"postalCodeEnd": "8999999"
}
}
],
"deliveryTime": {
"@type": "ShippingDeliveryTime",
"handlingTime": {
"@type": "QuantitativeValue",
"minValue": "0",
"maxValue": "4"
},
"transitTime": {
"@type": "QuantitativeValue",
"minValue": "1",
"maxValue": "2"
},
"cutOffTime": "17:30-08:30",
"businessDays": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": [ "https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday","https://schema.org/Friday" ]
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment