ProgramMembership
A Schema.org Type
- Canonical URL: https://schema.org/ProgramMembership
- Check for open issues.
Used to describe membership in a loyalty programs (e.g. "StarAliance"), traveler clubs (e.g. "AAA"), purchase clubs ("Safeway Club"), etc.
Property | Expected Type | Description |
---|---|---|
Properties from ProgramMembership | ||
hostingOrganization |
Organization | The Organization (airline, travelers' club, retailer, etc.) the membership is made with or which offers the MemberProgram. |
member |
Organization or Person |
A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.
Supersedes
musicGroupMember,
members.
Inverse property: memberOf |
membershipNumber |
Text | A unique identifier for the membership. |
membershipPointsEarned |
Number or QuantitativeValue |
The number of membership points earned by the member. If necessary, the unitText can be used to express the units the points are issued in. (E.g. stars, miles, etc.) |
program |
MemberProgram | The MemberProgram associated with a ProgramMembership. |
programName |
Text | The program providing the membership. It is preferable to use :program instead. |
Properties from Thing | ||
additionalType |
Text or 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 | An alias for the item. |
description |
Text or TextObject |
A description of the item. |
disambiguatingDescription |
Text | A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation. |
identifier |
PropertyValue or Text or 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 or URL |
An image of the item. This can be a URL or a fully described ImageObject. |
mainEntityOfPage |
CreativeWork or URL |
Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
Inverse property: mainEntity |
name |
Text | The name of the item. |
potentialAction |
Action | Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. |
sameAs |
URL | URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website. |
subjectOf |
CreativeWork or Event |
A CreativeWork or Event about this Thing.
Inverse property: about |
url |
URL | URL of the item. |
Instances of
ProgramMembership may appear as a value for the following properties
Property | On Types | Description |
---|---|---|
memberOf |
Organization or Person |
An Organization (or ProgramMembership) to which this Person or Organization belongs. |
programMembershipUsed | Reservation | Any membership in a frequent flyer, hotel loyalty program, etc. being applied to the reservation. |
Examples
Example 1
Copied
Example notes or example HTML without markup.
An email message describing the points earned.
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@type": "ProgramMembership", "name": "ACME customer rewards", "membershipPointsEarned": { "@type": "QuantitativeValue", "unitText": "Starpoints", "value": 500 } } </script>
Structured representation of the JSON-LD example.