PriceSpecification - Тип StructuredValue Schema.org
PriceSpecification - структурированное значение для представления цены или диапазона цен.
PriceSpecification - Тип Schema.org
❗️ В микроразметке schema.org важен регистр букв, поэтому не перепутайте с priceSpecification.
Описание: Структурированное значение, представляющее цену или диапазон цен. Typically, only the subclasses of this type are used for markup. It is recommended to use MonetaryAmount to describe independent amounts of money such as a salary, credit card limits, etc.
Цена или диапазон цен - структурированное значение, typically, only the subclasses of this type are used for markup. It is recommended to use MonetaryAmount для описания независимых сумм денег, таких как заработная плата, кредитные лимиты и т. д. PriceSpecification представляет собой важный тип микроразметки, который помогает яндексу, google и другим поисковым системам правильно интерпретировать ценовую информацию. Для более точного описания ценовых деталей исопльзуйте подтипы этого типа Schema.org.
This class is derived from the GoodRelations Vocabulary for E-Commerce, created by Martin Hepp. GoodRelations is a data model for sharing e-commerce data on the Web that can be expressed in a variety of syntaxes, including RDFa and HTML5 Microdata. More information about GoodRelations can be found at http://purl.org/goodrelations/.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Properties from PriceSpecification | ||
eligibleQuantity |
QuantitativeValue | Интервал и единица измерения заказных количеств для которых действительно предложение или спецификация цены. Это позволяет, например, указать, что определенная стоимость доставки действительна только для определенного количества. |
eligibleTransactionVolume |
PriceSpecification | Объем транзакций, выраженный в денежной единице, для которого действительно предложение или спецификация цены, например, для обозначения минимального объема покупок, выражения бесплатной доставки при превышении определенного объема заказа или ограничения использования кредитных карт при покупках на определенную минимальную сумму. |
maxPrice |
Number | Высшая цена, если цена представлена в виде диапазона. |
minPrice |
Number | Самая низкая цена, если цена указана в виде диапазона. |
price |
Number или Text | The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes.Usage guidelines:Use the priceCurrency property (with standard formats: ISO 4217 currency format, e.g. "USD"; Ticker symbol for cryptocurrencies, e.g. "BTC"; well known names for Local Exchange Trading Systems (LETS) and other currency types, e.g. "Ithaca HOUR") instead of including ambiguous symbols such as '$' in the value.Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.Note that both RDFa and Microdata syntax allow the use of a "content=" attribute for publishing simple machine-readable values alongside more human-friendly formatting.Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols. |
priceCurrency |
Text | The currency of the price, or a price component when attached to PriceSpecification and its subtypes.Use standard formats: ISO 4217 currency format, e.g. "USD"; Ticker symbol for cryptocurrencies, e.g. "BTC"; well known names for Local Exchange Trading Systems (LETS) and other currency types, e.g. "Ithaca HOUR". |
validFrom |
Date или DateTime | Дата, когда объект становится действительным. |
validThrough |
Date или DateTime | Свойство validThrough показывает дату, после которой элемент больше не является действительным. Например, окончание предложения или периода заработной платы. |
valueAddedTaxIncluded |
Boolean | Указывает, включен ли применимый налог на добавленную стоимость (VAT) в спецификации цены или нет. |
Properties from Thing | ||
additionalType |
Text или URL | An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide. |
alternateName |
Text | Псевдоним для элемента. |
description |
Text или TextObject | Описание элемента. |
disambiguatingDescription |
Text | Подсвойство описания. Краткое описание элемента, используемое для различения от других, схожих элементов. Для того чтобы описание было полезным для разрешения неоднозначности, может потребоваться информация из других свойств (в частности, name). |
identifier |
PropertyValue или Text или URL | The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details. |
image |
ImageObject или URL | An image of the item. This can be a URL or a fully described ImageObject. |
mainEntityOfPage |
CreativeWork или URL | Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details. Обратное свойство: mainEntity |
name |
Text | Название элемента. |
potentialAction |
Action | Указывает на потенциальное действие, описывающее идеализированное действие, в котором этот объект мог бы выполнять роль 'объекта'. |
sameAs |
URL | URL страницы для ссылки, однозначно указывающей на идентичность объекта. Например, URL страницы объекта на Википедии, записи в Wikidata или официального веб-сайта. |
subjectOf |
CreativeWork или Event | Свойство Schema.org - subjectOf: A CreativeWork or Event about this Thing. Обратное свойство: about |
url |
URL | URL объекта. |
Instances of
PriceSpecification may appear as a value for the following properties
Свойство | On Types | Описание |
---|---|---|
baseSalary | EmployeeRole или JobPosting | Основная заработная плата для работы или сотрудника в EmployeeRole. |
eligibleTransactionVolume | Demand или Offer или PriceSpecification | Объем транзакций, выраженный в денежной единице, для которого действительно предложение или спецификация цены, например, для обозначения минимального объема покупок, выражения бесплатной доставки при превышении определенного объема заказа или ограничения использования кредитных карт при покупках на определенную минимальную сумму. |
healthPlanCopay | HealthPlanCostSharingSpecification | Сумма коплаты. |
minimumPaymentDue | Invoice | Минимальный платеж, требуемый на данный момент. |
netWorth | Person | Общая финансовая ценность персоны, вычисленная путем вычитания активов от обязательств. |
priceSpecification | Demand или Offer или TradeAction | Одно или более детальных спецификаций цен, указывающих единичную цену и расходы на доставку или оплату. |
totalPaymentDue | Invoice | Общая сумма к оплате. |
totalPrice | Reservation или Ticket | The total price for the reservation or ticket, including applicable taxes, shipping, etc.Usage guidelines:Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator. |
More specific Types
- CompoundPriceSpecification
- DeliveryChargeSpecification
- PaymentChargeSpecification
- UnitPriceSpecification
Acknowledgements
GoodRelations Vocabulary Classes
Examples
Example 1
Copied
Example notes or example HTML without markup.
An example of a credit card bill (invoice). ACME Bank Bill for: January 2015 Visa invoice link: http://www.acmebank.com/invoice.pdf Customer: Jane Doe account ID: xxxx-xxxx-xxxx-1234 payment due: 2015-01-30 minimum payment: $15.00 total due: $200.00 billing period: 2014-12-21 to 2015-01-20 payment due
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/Invoice"> <h1 itemprop="description">January 2015 Visa</h1> <a itemprop="url" href="http://acmebank.com/invoice.pdf">Invoice PDF</a> <div itemprop="broker" itemscope itemtype="https://schema.org/BankOrCreditUnion"> <b itemprop="name">ACME Bank</b> </div> <span itemprop="accountId">xxxx-xxxx-xxxx-1234</span> <div itemprop="customer" itemscope itemtype="https://schema.org/Person"> <b itemprop="name">Jane Doe</b> </div> <time itemprop="paymentDueDate">2015-01-30</time> <div itemprop="minimumPaymentDue" itemscope itemtype="https://schema.org/PriceSpecification"> <span itemprop="price">15.00</span> <span itemprop="priceCurrency">USD</span> </div> <div itemprop="totalPaymentDue" itemscope itemtype="https://schema.org/PriceSpecification"> <span itemprop="price">200.00</span> <span itemprop="priceCurrency">USD</span> </div> <meta itemprop="billingPeriod" content="P30D" />starts:2014-12-21 30 days <link itemprop="paymentStatus" href="https://schema.org/PaymentDue" /> </div>
Example encoded as RDFa embedded in HTML.
<div vocab="https://schema.org/" typeof="Invoice"> <h1 property="description">January 2015 Visa</h1> <a property="url" href="http://acmebank.com/invoice.pdf">Invoice PDF</a> <div property="broker" typeof="BankOrCreditUnion"> <b property="name">ACME Bank</b> </div> <span property="accountId">xxxx-xxxx-xxxx-1234</span> <div property="customer" typeof="Person"> <b property="name">Jane Doe</b> </div> <time property="paymentDueDate">2015-01-30T12:00:00</time> <div property="minimumPaymentDue" typeof="PriceSpecification"> <span property="price">15.00</span> <span property="priceCurrency">USD</span> </div> <div property="totalPaymentDue" typeof="PriceSpecification"> <span property="price">200.00</span> <span property="priceCurrency">USD</span> </div> <meta property="billingPeriod" content="P30D" />starts:2014-12-21 30 days <link property="paymentStatus" href="PaymentDue" /> </div>
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Invoice", "description": "January 2015 Visa bill.", "url": "http://acmebank.com/invoice.pdf", "broker": { "@type": "BankOrCreditUnion", "name": "ACME Bank" }, "accountId": "xxxx-xxxx-xxxx-1234", "customer": { "@type": "Person", "name": "Jane Doe" }, "paymentDueDate": "2015-01-30T12:00:00", "minimumPaymentDue": { "@type": "PriceSpecification", "price": 15.00, "priceCurrency": "USD" }, "totalPaymentDue": { "@type": "PriceSpecification", "price": 200.00, "priceCurrency": "USD" }, "billingPeriod": "P30D", "paymentStatus": "https://schema.org/PaymentDue" } </script>
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
An example of a invoice for a purchase and installation. ACME Home Heating Bill for: New furnace and installation Customer: Jane Doe payment due: 2015-01-30 minimum payment: $0.00 total due: $0.00 payment status: paid order: furnace model ABC123 order: installation labor
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/Invoice"> <h1 itemprop="description">New furnace and installation</h1> <div itemprop="broker" itemscope itemtype="https://schema.org/LocalBusiness"> <b itemprop="name">ACME Home Heating</b> </div> <div itemprop="customer" itemscope itemtype="https://schema.org/Person"> <b itemprop="name">Jane Doe</b> </div> <time itemprop="paymentDueDate">2015-01-30</time> <div itemprop="minimumPaymentDue" itemscope itemtype="https://schema.org/PriceSpecification"> <span itemprop="price">0.00</span> <span itemprop="priceCurrency">USD</span> </div> <div itemprop="totalPaymentDue" itemscope itemtype="https://schema.org/PriceSpecification"> <span itemprop="price">0.00</span> <span itemprop="priceCurrency">USD</span> </div> <link itemprop="paymentStatus" href="https://schema.org/PaymentComplete" /> <div itemprop="referencesOrder" itemscope itemtype="https://schema.org/Order"> <span itemprop="description">furnace</span> <time itemprop="orderDate">2014-12-01</time> <span itemprop="orderNumber">123ABC</span> <div itemprop="orderedItem" itemscope itemtype="https://schema.org/Product"> <span itemprop="name">ACME Furnace 3000</span> <meta itemprop="productID" content="ABC123" /> </div> </div> <div itemprop="referencesOrder" itemscope itemtype="https://schema.org/Order"> <span itemprop="description">furnace installation</span> <time itemprop="orderDate">2014-12-02</time> <div itemprop="orderedItem" itemscope itemtype="https://schema.org/Service"> <span itemprop="description">furnace installation</span> </div> </div> </div>
Example encoded as RDFa embedded in HTML.
<div vocab="https://schema.org/" typeof="Invoice"> <h1 property="description">New furnace and installation</h1> <div property="broker" typeof="LocalBusiness"> <b property="name">ACME Home Heating</b> </div> <div property="customer" typeof="Person"> <b property="name">Jane Doe</b> </div> <time property="paymentDueDate">2015-01-30</time> <div property="minimumPaymentDue" typeof="PriceSpecification"> <span property="price">0.00</span> <span property="priceCurrency">USD</span> </div> <div property="totalPaymentDue" typeof="PriceSpecification"> <span property="price">0.00</span> <span property="priceCurrency">USD</span> </div> <meta itemprop="paymentStatus" content="PaymentComplete" /> <div property="referencesOrder" typeof="Order"> <span property="description">furnace</span> <time property="orderDate">2014-12-01</time> <span property="orderNumber">123ABC</span> <div property="orderedItem" typeof="Product"> <span property="name">ACME Furnace 3000</span> <meta property="productID" content="ABC123" /> </div> </div> <div property="referencesOrder" typeof="Order"> <span property="description">furnace installation</span> <time property="orderDate">2014-12-02</time> <div property="orderedItem" typeof="Service"> <span property="description">furnace installation</span> </div> </div> </div>
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Invoice", "broker": { "@type": "LocalBusiness", "name": "ACME Home Heating" }, "accountId": "xxxx-xxxx-xxxx-1234", "customer": { "@type": "Person", "name": "Jane Doe" }, "paymentDueDate": "2015-01-30", "minimumPaymentDue": { "@type": "PriceSpecification", "price": 0.00, "priceCurrency": "USD" }, "totalPaymentDue": { "@type": "PriceSpecification", "price": 0.00, "priceCurrency": "USD" }, "paymentStatus": "https://schema.org/PaymentComplete", "referencesOrder": [ { "@type": "Order", "description": "furnace", "orderDate": "2014-12-01", "orderNumber": "123ABC", "paymentMethod": "http://purl.org/goodrelations/v1#ByInvoice", "orderedItem": { "@type": "Product", "name": "ACME Furnace 3000", "productID": "ABC123" } }, { "@type": "Order", "description": "furnace installation", "orderDate": "2014-12-02", "paymentMethod": "http://purl.org/goodrelations/v1#ByInvoice", "orderedItem": { "@type": "Service", "description": "furnace installation" } } ] } </script>
Structured representation of the JSON-LD example.
Example 3
Copied
Example notes or example HTML without markup.
Joes' Pizza 123 Main Street Cambridge, MA 02142 delivers within 5 km of its store with a minimum order of $20.
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/FoodEstablishment"> <span itemprop="name">Joe's Pizza</span> <div itemprop="location" itemscope itemtype="https://schema.org/PostalAddress"> <span itemprop="streetAddress">123 Main Street</span> <span itemprop="addressLocality">Cambridge</span> <span itemprop="addressRegion">MA</span> <span itemprop="postalCode">02142</span> </div> delivers within 5 km of its store <div itemprop="makesOffer" itemscope itemtype="https://schema.org/Offer"> <div itemprop="eligibleRegion" itemscope itemtype="https://schema.org/GeoCircle"> <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"> <meta itemprop="streetAddress" content="123 Main Street" /> <meta itemprop="addressLocality" content="Cambridge" /> <meta itemprop="addressRegion" content="MA" /> <meta itemprop="postalCode" content="02142" /> </div> <meta itemprop="geoRadius" content="5000" /> </div> with a minium order of $20. <div itemprop="priceSpecification" itemscope itemtype="https://schema.org/DeliveryChargeSpecification"> <meta itemprop="appliesToDeliveryMethod" link="http://purl.org/goodrelations/v1#DeliveryModeOwnFleet"> <div itemprop="eligibleTransactionVolume" itemscope itemtype="https://schema.org/PriceSpecification"> <meta itemprop="price" content="20.00" /> <meta itemprop="priceCurrency" content="USD" /> </div> </div> </div> </div>
Example encoded as RDFa embedded in HTML.
<div vocab="https://schema.org/" typeof="FoodEstablishment"> <span property="name">Joe's Pizza</span> <div property="location" typeof="PostalAddress"> <span property="streetAddress">123 Main Street</span> <span property="addressLocality">Cambridge</span> <span property="addressRegion">MA</span> <span property="postalCode">02142</span> </div> delivers within 5 km of its store with a minium order of $20. <div property="makesOffer" typeof="Offer"> <div property="priceSpecification" typeof="DeliveryChargeSpecification"> <meta property="appliesToDeliveryMethod" link="http://purl.org/goodrelations/v1#DeliveryModeOwnFleet"> <div property="eligibleTransactionVolume" typeof="PriceSpecification"> <meta property="price" content="20.00" /> <meta property="priceCurrency" content="USD" /> </div> <div property="eligibleRegion" typeof="GeoCircle"> <div property="address" typeof="PostalAddress"> <meta property="streetAddress" content="123 Main Street" /> <meta property="addressLocality" content="Cambridge" /> <meta property="addressRegion" content="MA" /> <meta property="postalCode" content="02142" /> </div> <meta property="geoRadius" content="5000" /> </div> </div> </div> </div>
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "FoodEstablishment", "name": "Joe's Pizza", "location": { "@type": "PostalAddress", "@id": "http://example.com/address", "streetAddress": "123 Main Street", "addressLocality": "Cambridge", "addressRegion": "MA", "postalCode": "02142" }, "makesOffer": { "@type": "Offer", "priceSpecification": { "@type": "DeliveryChargeSpecification", "appliesToDeliveryMethod": "http://purl.org/goodrelations/v1#DeliveryModeOwnFleet", "eligibleTransactionVolume": { "@type": "PriceSpecification", "price": "20.00", "priceCurrency": "USD" }, "eligibleRegion": { "@type": "GeoCircle", "address": { "@id": "http://www.example.com/address" }, "geoRadius": "5000" } } } } </script>
Structured representation of the JSON-LD example.