Note: You are viewing the development version of Schema.org. See how we work for more details.

InStock

A Schema.org Enumeration Member
  • Canonical URL: https://schema.org/InStock
  • Check for open issues.
Indicates that the item is in stock.

A member value for enumeration type: ItemAvailability

Examples

Example 1
Copied
Example notes or example HTML without markup.
  1. Kenmore White 17" Microwave
  2. <img src="kenmore-microwave-17in.jpg" alt='Kenmore 17" Microwave' />
  3. Rated 3.5/5 based on 11 customer reviews

  4. $55.00
  5. In stock

  6. Product description:
  7. 0.7 cubic feet countertop microwave. Has six preset cooking categories and
  8.  convenience features like Add-A-Minute and Child Lock.

  9. Customer reviews:

  10. Not a happy camper - by Ellie, April 1, 2011
  11. 1/5 stars
  12. The lamp burned out and now I have to replace it.

  13.  Value purchase - by Lucas, March 25, 2011
  14. 4/5 stars
  15. Great microwave for the price. It is small and fits in my apartment.
  16. ...
Example encoded as Microdata embedded in HTML.
  1. <div itemscope itemtype="https://schema.org/Product">
  2.   <span itemprop="name">Kenmore White 17" Microwave</span>
  3.   <img itemprop="image" src="kenmore-microwave-17in.jpg" alt='Kenmore 17" Microwave' />
  4.   <div itemprop="aggregateRating"
  5.     itemscope itemtype="https://schema.org/AggregateRating">
  6.    Rated <span itemprop="ratingValue">3.5</span>/5
  7.    based on <span itemprop="reviewCount">11</span> customer reviews
  8.   </div>

  9.   <div itemprop="offers" itemscope itemtype="https://schema.org/Offer">

  10.     <!--price is 1000, a number, with locale-specific thousands separator
  11.     and decimal mark, and the $ character is marked up with the
  12.     machine-readable code "USD" -->
  13.     <span itemprop="priceCurrency" content="USD">$</span><span
  14.           itemprop="price" content="1000.00">1,000.00</span>

  15.     <link itemprop="availability" href="https://schema.org/InStock" />In stock
  16.   </div>

  17.   Product description:
  18.   <span itemprop="description">0.7 cubic feet countertop microwave.
  19.   Has six preset cooking categories and convenience features like
  20.   Add-A-Minute and Child Lock.</span>

  21.   Customer reviews:

  22.   <div itemprop="review" itemscope itemtype="https://schema.org/Review">
  23.     <span itemprop="name">Not a happy camper</span> -
  24.     by <span itemprop="author">Ellie</span>,
  25.     <meta itemprop="datePublished" content="2011-04-01">April 1, 2011
  26.     <div itemprop="reviewRating" itemscope itemtype="https://schema.org/Rating">
  27.       <meta itemprop="worstRating" content = "1">
  28.       <span itemprop="ratingValue">1</span>/
  29.       <span itemprop="bestRating">5</span>stars
  30.     </div>
  31.     <span itemprop="reviewBody">The lamp burned out and now I have to replace
  32.     it. </span>
  33.   </div>

  34.   <div itemprop="review" itemscope itemtype="https://schema.org/Review">
  35.     <span itemprop="name">Value purchase</span> -
  36.     by <span itemprop="author">Lucas</span>,
  37.     <meta itemprop="datePublished" content="2011-03-25">March 25, 2011
  38.     <div itemprop="reviewRating" itemscope itemtype="https://schema.org/Rating">
  39.       <meta itemprop="worstRating" content = "1"/>
  40.       <span itemprop="ratingValue">4</span>/
  41.       <span itemprop="bestRating">5</span>stars
  42.     </div>
  43.     <span itemprop="reviewBody">Great microwave for the price. It is small and
  44.     fits in my apartment.</span>
  45.   </div>
  46.   ...
  47. </div>
Example encoded as RDFa embedded in HTML.
  1. <div vocab="https://schema.org/" typeof="Product">
  2.   <span property="name">Kenmore White 17" Microwave</span>
  3.   <img property="image" src="kenmore-microwave-17in.jpg" alt='Kenmore 17" Microwave' />
  4.   <div property="aggregateRating"
  5.      typeof="AggregateRating">
  6.    Rated <span property="ratingValue">3.5</span>/5
  7.    based on <span property="reviewCount">11</span> customer reviews
  8.   </div>

  9.   <div property="offers" typeof="Offer">
  10.     <!--price is 1000, a number, with locale-specific thousands separator
  11.         and decimal mark, and the $ character is marked up with the
  12.         machine-readable code "USD" -->
  13.     <span property="priceCurrency" content="USD">$</span><span
  14.       property="price" content="1000.00">1,000.00</span>
  15.     <link property="availability" href="https://schema.org/InStock" />In stock
  16.   </div>

  17.   Product description:
  18.   <span property="description">0.7 cubic feet countertop microwave.
  19.   Has six preset cooking categories and convenience features like
  20.   Add-A-Minute and Child Lock.</span>

  21.   Customer reviews:

  22.   <div property="review" typeof="Review">
  23.     <span property="name">Not a happy camper</span> -
  24.     by <span property="author">Ellie</span>,
  25.     <meta property="datePublished" content="2011-04-01">April 1, 2011
  26.     <div property="reviewRating" typeof="Rating">
  27.       <meta property="worstRating" content = "1">
  28.       <span property="ratingValue">1</span>/
  29.       <span property="bestRating">5</span>stars
  30.     </div>
  31.     <span property="reviewBody">The lamp burned out and now I have to replace
  32.     it. </span>
  33.   </div>

  34.   <div property="review" typeof="Review">
  35.     <span property="name">Value purchase</span> -
  36.     by <span property="author">Lucas</span>,
  37.     <meta property="datePublished" content="2011-03-25">March 25, 2011
  38.     <div property="reviewRating" typeof="Rating">
  39.       <meta property="worstRating" content = "1"/>
  40.       <span property="ratingValue">4</span>/
  41.       <span property="bestRating">5</span>stars
  42.     </div>
  43.     <span property="reviewBody">Great microwave for the price. It is small and
  44.     fits in my apartment.</span>
  45.   </div>
  46.   ...
  47. </div>
Example encoded as JSON-LD in a HTML script tag.
  1. <script type="application/ld+json">
  2. {
  3.   "@context": "https://schema.org",
  4.   "@type": "Product",
  5.   "aggregateRating": {
  6.     "@type": "AggregateRating",
  7.     "ratingValue": "3.5",
  8.     "reviewCount": "11"
  9.   },
  10.   "description": "0.7 cubic feet countertop microwave. Has six preset cooking categories and convenience features like Add-A-Minute and Child Lock.",
  11.   "name": "Kenmore White 17\" Microwave",
  12.   "image": "kenmore-microwave-17in.jpg",
  13.   "offers": {
  14.     "@type": "Offer",
  15.     "availability": "https://schema.org/InStock",
  16.     "price": "55.00",
  17.     "priceCurrency": "USD"
  18.   },
  19.   "review": [
  20.     {
  21.       "@type": "Review",
  22.       "author": "Ellie",
  23.       "datePublished": "2011-04-01",
  24.       "reviewBody": "The lamp burned out and now I have to replace it.",
  25.       "name": "Not a happy camper",
  26.       "reviewRating": {
  27.         "@type": "Rating",
  28.         "bestRating": "5",
  29.         "ratingValue": "1",
  30.         "worstRating": "1"
  31.       }
  32.     },
  33.     {
  34.       "@type": "Review",
  35.       "author": "Lucas",
  36.       "datePublished": "2011-03-25",
  37.       "reviewBody": "Great microwave for the price. It is small and fits in my apartment.",
  38.       "name": "Value purchase",
  39.       "reviewRating": {
  40.         "@type": "Rating",
  41.         "bestRating": "5",
  42.         "ratingValue": "4",
  43.         "worstRating": "1"
  44.       }
  45.     }
  46.   ]
  47. }
  48. </script>
Structured representation of the JSON-LD example.