GovernmentPermit - микроразметка для пермитов от правительственных органов
Подробная информация о микроразметке GovernmentPermit на schema.su
GovernmentPermit - Тип Schema.org
Описание: Пермит, выданный государственным агентством.
Микроразметка GovernmentPermit определяет тип документа, выданного государственным агентством. Она включена в иерархию типов от общего Thing до более конкретного Permit и GovernmentPermit. Для корректного отображения информации об этих разрешениях на веб-страницах следует использовать данную микроразметку.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Properties from Permit | ||
issuedBy |
Organization | The organization issuing the item, for example a Permit, Ticket, or Certification. |
issuedThrough |
Service | Сервис, через который было выдано разрешение. |
permitAudience |
Audience | Целевая аудитория для этого разрешения |
validFor |
Duration | Длительность действия разрешения или аналогичной вещи. |
validFrom |
Date или DateTime | Дата, когда объект становится действительным. |
validIn |
AdministrativeArea | The geographic area where the item is valid. Applies for example to a Permit, a Certification, or an EducationalOccupationalCredential. |
validUntil |
Date | Дата, когда элемент больше не действителен. |
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 объекта. |
Examples
Example 1
Copied
Example notes or example HTML without markup.
<div> NYC Food Service Establishment Permit, issued by Department of Health and Mental Hygiene. (issued through NYC Food Service Establishment Permit Service; valid in New York for 1 year). </div>
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/GovernmentPermit"> <span itemprop="name">NYC Food Service Establishment Permit</span> <div itemprop="issuedBy" itemscope itemtype="https://schema.org/GovernmentOrganization"> <span itemprop="name">Department of Health and Mental Hygiene"</span> </div> <div itemprop="issuedThrough" itemscope itemtype="https://schema.org/GovernmentService"> <span itemprop="name">NYC Food Service Establishment Permit Service</span> </div> <div itemprop="validIn" itemscope itemtype="https://schema.org/AdministrativeArea"> <span itemprop="name">New York</span> </div> <time itemprop="validFor" datetime="P1Y">1 year</time> </div>
Example encoded as RDFa embedded in HTML.
<div vocab="https://schema.org/" typeof="GovernmentPermit"> <span property="name">NYC Food Service Establishment Permit</span> <div property="issuedBy" typeof="GovernmentOrganization"> <span property="name">Department of Health and Mental Hygiene"</span> </div> <div property="issuedThrough" typeof="GovernmentService"> <span property="name">NYC Food Service Establishment Permit Service</span> </div> <div property="validIn" typeof="AdministrativeArea"> <span property="name">New York</span> </div> <time property="validFor" datetime="P1Y">1 Year</time> </div>
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "GovernmentPermit", "issuedBy": { "@type": "GovernmentOrganization", "name": "Department of Health and Mental Hygiene\"" }, "issuedThrough": { "@type": "GovernmentService", "name": "NYC Food Service Establishment Permit Service" }, "name": "NYC Food Service Establishment Permit", "validFor": "P1Y", "validIn": { "@type": "AdministrativeArea", "name": "New York" } } </script>
Structured representation of the JSON-LD example.