DigitalDocument extends CreativeWork
An electronic file or document.
Tags
Table of Contents
Constants
- CONTEXT = 'https://schema.org'
- JSON-LD @context declaration for Schema.org.
Properties
- $_from : string|null
- The metadata to indicates the edge 'from' identifier.
- $_id : null|string
- The metadata identifier of the item.
- $_key : null|string
- The metadata unique key identifier of the thing.
- $_rev : null|string
- The metadata revision value of the thing.
- $_to : string|null
- The metadata to indicates the edge 'to' identifier.
- $about : string|object|null
- The subject matter of the content.
- $abstract : string|null
- An abstract is a short description that summarizes a CreativeWork.
- $accessibilityAPI : string|null
- Indicates that the resource is compatible with the referenced accessibility API.
- $accessibilityControl : string|null
- Identifies input methods that are sufficient to fully control the described resource.
- $accessibilityFeature : string|null
- Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility.
- $accessibilityHazard : string|null
- A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3.
- $accessibilitySummary : string|null
- A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as "short descriptions are present but long descriptions will be needed for non-visual users" or "short descriptions are present and no long descriptions are needed".
- $accessMode : string|null
- The human sensory perceptual system or cognitive faculty through which a person may process or perceive information.
- $accessModeSufficient : ItemList|null
- A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource.
- $accountablePerson : array<string|int, mixed>|Person|null
- Specifies the Person that is legally accountable for the CreativeWork.
- $acquireLicensePage : string|CreativeWork|null
- Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.
- $active : bool|null
- The active flag.
- $additionalType : array<string|int, mixed>|string|null|object
- An additionalType for the item.
- $aggregateRating : array<string|int, mixed>|AggregateRating|null
- The overall rating, based on a collection of reviews or ratings, of the item.
- $alternateName : string|object|null
- An alias for the item.
- $alternativeHeadline : string|object|null
- The alternative headline of this content.
- $archivedAt : string|WebPage|null
- Indicates a page or other link involved in archival of a CreativeWork. In the case of MediaReview, the items in a MediaReviewItem may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations.
- $assesses : string|DefinedTerm|null
- The item being described is intended to assess the competency or learning outcome defined by the referenced term.
- $associatedMedia : array<string|int, mixed>|MediaObject|null
- A media object that encodes this CreativeWork. This property is a synonym for encoding.
- $audience : null|array<string|int, mixed>|Audience
- An intended audience, i.e. a group for whom something was created.
- $audio : object|null
- An embedded audio object.
- $author : null|string|AudioObject
- The author of this content.
- $award : null|string|array<string|int, mixed>
- An award won by or for this item.
- $character : null|array<string|int, mixed>|Person
- Fictional person connected with a creative work.
- $citation : null|string|CreativeWork|array<string|int, mixed>
- A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.
- $comment : Comment|array<string|int, mixed>|null
- Comments, typically from users.
- $commentCount : int|null
- The number of comments this CreativeWork (e.g. Article, Question or Answer) has received.
- $conditionsOfAccess : null|string|object
- Conditions that affect the availability of, or method(s) of access to, an item.
- $contentLocation : string|Place|null
- The location depicted or described in the content. For example, the location in a photograph or painting.
- $contentRating : null|string|Rating|array<string|int, mixed>
- Official rating of a piece of content—for example,'MPAA PG-13'.
- $contentReferenceTime : string|null|DateTime
- The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.
- $contributor : null|Organization|Person|array<string|int, mixed>
- A secondary contributor to the CreativeWork or Event.
- $copyrightHolder : null|Organization|Person|array<string|int, mixed>
- The party holding the legal copyright to the CreativeWork.
- $copyrightNotice : string|object|null
- Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work.
- $copyrightYear : null|int|string
- The year during which the claimed copyright for the CreativeWork was first asserted.
- $correction : null|CorrectionComment|string
- Indicates a correction to a CreativeWork, either via a CorrectionComment, textually or in another document.
- $countryOfOrigin : Country|null
- The country of origin of something, including products as well as creative works such as movie and TV content.
- $created : null|string|DateTime
- Date of creation of the resource.
- $creativeWorkStatus : string|DefinedTerm|null
- The status of a creative work in terms of its stage in a lifecycle.
- $creator : Organization|Person|array<string|int, mixed>|null
- The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.
- $creditText : null|object|string
- Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.
- $dateCreated : string|null
- The date on which the CreativeWork was created or the item was added to a DataFeed.
- $dateModified : string|null
- The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.
- $datePublished : string|null
- Date of first broadcast/publication.
- $description : string|null
- A short description of the item.
- $digitalSourceType : null|IPTCDigitalSourceEnumeration
- Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some CreativeWork.
- $disambiguatingDescription : string|null
- 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.
- $discussionUrl : null|string
- A link to the page containing the comments of the CreativeWork.
- $editEIDR : null|string
- An EIDR (Entertainment Identifier Registry) identifier representing a specific edit / edition for a work of film or television.
- $editor : string|null
- Specifies the Person who edited the CreativeWork.
- $educationalAlignment : AlignmentObject|null
- An alignment to an established educational framework.
- $educationalLevel : null|string|DefinedTerm
- The level in terms of progression through an educational or training context.
- $educationalUse : null|string|DefinedTerm
- The purpose of a work in the context of education; for example, 'assignment', 'group work'.
- $encoding : null|string|MediaObject
- A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.
- $encodingFormat : string|null
- Media type typically expressed using a MIME format (see IANA site and MDN reference) e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.).
- $exampleOfWork : array<string|int, mixed>|CreativeWork|null
- A creative work that this work is an example/instance/realization/derivation of.
- $expires : string|null
- Date the content expires and is no longer useful or available.
- $funder : null|Organization|Person
- A person or organization that supports (sponsors) something through some kind of financial contribution.
- $funding : null|Grant|array<string|int, mixed>
- A Grant that directly or indirectly provide funding or sponsorship for this item.
- $genre : null|string|DefinedTerm
- Genre of the creative work, broadcast channel or group.
- $hasDigitalDocumentPermission : null|array<string|int, mixed>|DigitalDocumentPermission
- A permission related to the access to this document (e.g. permission to read or write an electronic document).
- $hasPart : string|Thing|array<string|int, mixed>|null
- Indicates an item that this part of this item.
- $headline : string|object|null
- The headline of this content.
- $id : null|int|string
- The unique identifier of the item.
- $identifier : string|null
- The identifier of the item.
- $image : string|object|null
- The image reference of this resource.
- $inLanguage : array<string|int, mixed>|string|null
- The language of the content or performance or used in an action.
- $interactionStatistic : InteractionCounter|array<string|int, mixed>|null
- The number of interactions for the CreativeWork using the WebSite or SoftwareApplication.
- $isAccessibleForFree : bool|null
- A flag to signal that the item, event, or place is accessible for free.
- $isBasedOn : array<string|int, mixed>|object|null
- A resource that was used in the creation of this resource. This term can be repeated for multiple sources.
- $isPartOf : string|Thing|array<string|int, mixed>|null
- Indicates an item that this item is part of.
- $keywords : string|DefinedTerm|array<string|int, mixed>|null
- Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.
- $license : string|object|null
- A legal document giving official permission to do something with the resource.
- $locationCreated : string|object|null
- The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.
- $mainEntity : string|object|null
- Indicates the primary entity described in some page or other CreativeWork.
- $material : array<string|int, mixed>|Product|string|null
- A material that something is made from, e.g. leather, wool, cotton, paper.
- $mentions : array<string|int, mixed>|string|null
- The mentions of this content.
- $modified : null|string|DateTime
- Date on which the resource was changed.
- $name : int|string|null
- The name of the item.
- $offers : array<string|int, mixed>|Offer|null|Demand
- An offer to provide this item.
- $position : null|int|string
- The position of an item in a series or sequence of items.
- $producer : object|null
- The person or organization who produced the work.
- $provider : string|object|null
- The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.
- $publisher : string|array<string|int, mixed>|Person|Organization|null
- The publisher of the resource.
- $recordedAt : object|null
- The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.
- $releaseEvent : object|null
- The place and time the release was issued, expressed as a PublicationEvent.
- $review : array<string|int, mixed>|Review|null
- A review of the item.
- $sourceOrganization : object|null
- The Organization on whose behalf the creator was working.
- $sponsor : array<string|int, mixed>|object|string|null
- A person or organization that supports a thing through a pledge, promise, or financial contribution. e.g. a sponsor of a Medical Study or a corporate sponsor of an event.
- $temporal : string|object|null
- The "temporal" property can be used in cases where more specific properties (e.g. temporalCoverage, dateCreated, dateModified, datePublished) are not known to be appropriate.
- $temporalCoverage : string|object|null
- The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in ISO 8601 time interval format. In the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written "2011/2012"). Other forms of content e.g. ScholarlyArticle, Book, TVSeries or TVEpisode may indicate their temporalCoverage in broader terms - textually or via well-known URL. Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via "1939/1945".
- $text : string|object|null
- The text of the creative work.
- $thumbnailUrl : string|object|null
- A thumbnail image relevant to the Thing.
- $timeRequired : string|null
- Approximate or typical time it takes to work with or through this learning resource for the typical intended target audience, e.g. 'PT30M', 'PT1H25M'.
- $translator : string|object|null
- Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.
- $typicalAgeRange : string|object|null
- The typical expected age range, e.g. '7-9', '11-'.
- $url : int|string|null
- URL of the item.
- $usageInfo : string|CreativeWork|null
- The schema.org usageInfo property indicates further information about a CreativeWork.
- $version : null|string|int
- The version of the CreativeWork embodied by a specified resource.
- $video : string|object|null
- An embedded video object.
- $atContext : string|null
- The JSON-LD `@context` value.
- $atType : string|null
- The JSON-LD `@type` value.
Methods
- __construct() : mixed
- Constructor to hydrate public properties from an array or stdClass.
- jsonSerialize() : array<string|int, mixed>
- Serializes the current object into a JSON-LD array.
- withAtContext() : $this
- Sets the internal JSON-LD `@context` attribute.
- withAtType() : $this
- Sets the internal JSON-LD `@type` attribute.
- withJSONLDMeta() : $this
- Initializes both JSON-LD metadata: `@type` and `@context`.
Constants
CONTEXT
JSON-LD @context declaration for Schema.org.
public
mixed
CONTEXT
= 'https://schema.org'
Properties
$_from
The metadata to indicates the edge 'from' identifier.
public
string|null
$_from
$_id
The metadata identifier of the item.
public
null|string
$_id
$_key
The metadata unique key identifier of the thing.
public
null|string
$_key
$_rev
The metadata revision value of the thing.
public
null|string
$_rev
$_to
The metadata to indicates the edge 'to' identifier.
public
string|null
$_to
$about
The subject matter of the content.
public
string|object|null
$about
$abstract
An abstract is a short description that summarizes a CreativeWork.
public
string|null
$abstract
$accessibilityAPI
Indicates that the resource is compatible with the referenced accessibility API.
public
string|null
$accessibilityAPI
$accessibilityControl
Identifies input methods that are sufficient to fully control the described resource.
public
string|null
$accessibilityControl
$accessibilityFeature
Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility.
public
string|null
$accessibilityFeature
$accessibilityHazard
A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3.
public
string|null
$accessibilityHazard
$accessibilitySummary
A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as "short descriptions are present but long descriptions will be needed for non-visual users" or "short descriptions are present and no long descriptions are needed".
public
string|null
$accessibilitySummary
$accessMode
The human sensory perceptual system or cognitive faculty through which a person may process or perceive information.
public
string|null
$accessMode
$accessModeSufficient
A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource.
public
ItemList|null
$accessModeSufficient
$accountablePerson
Specifies the Person that is legally accountable for the CreativeWork.
public
array<string|int, mixed>|Person|null
$accountablePerson
$acquireLicensePage
Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.
public
string|CreativeWork|null
$acquireLicensePage
$active
The active flag.
public
bool|null
$active
$additionalType
An additionalType for the item.
public
array<string|int, mixed>|string|null|object
$additionalType
$aggregateRating
The overall rating, based on a collection of reviews or ratings, of the item.
public
array<string|int, mixed>|AggregateRating|null
$aggregateRating
$alternateName
An alias for the item.
public
string|object|null
$alternateName
$alternativeHeadline
The alternative headline of this content.
public
string|object|null
$alternativeHeadline
$archivedAt
Indicates a page or other link involved in archival of a CreativeWork. In the case of MediaReview, the items in a MediaReviewItem may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations.
public
string|WebPage|null
$archivedAt
In such cases, the referenced page may not directly publish the content.
$assesses
The item being described is intended to assess the competency or learning outcome defined by the referenced term.
public
string|DefinedTerm|null
$assesses
$associatedMedia
A media object that encodes this CreativeWork. This property is a synonym for encoding.
public
array<string|int, mixed>|MediaObject|null
$associatedMedia
$audience
An intended audience, i.e. a group for whom something was created.
public
null|array<string|int, mixed>|Audience
$audience
$audio
An embedded audio object.
public
object|null
$audio
$author
The author of this content.
public
null|string|AudioObject
$author
$award
An award won by or for this item.
public
null|string|array<string|int, mixed>
$award
$character
Fictional person connected with a creative work.
public
null|array<string|int, mixed>|Person
$character
$citation
A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.
public
null|string|CreativeWork|array<string|int, mixed>
$citation
$comment
Comments, typically from users.
public
Comment|array<string|int, mixed>|null
$comment
$commentCount
The number of comments this CreativeWork (e.g. Article, Question or Answer) has received.
public
int|null
$commentCount
This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere.
$conditionsOfAccess
Conditions that affect the availability of, or method(s) of access to, an item.
public
null|string|object
$conditionsOfAccess
Typically used for real world items such as an ArchiveComponent held by an ArchiveOrganization. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.
For example "Available by appointment from the Reading Room" or "Accessible only from logged-in accounts ".
$contentLocation
The location depicted or described in the content. For example, the location in a photograph or painting.
public
string|Place|null
$contentLocation
$contentRating
Official rating of a piece of content—for example,'MPAA PG-13'.
public
null|string|Rating|array<string|int, mixed>
$contentRating
$contentReferenceTime
The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.
public
string|null|DateTime
$contentReferenceTime
$contributor
A secondary contributor to the CreativeWork or Event.
public
null|Organization|Person|array<string|int, mixed>
$contributor
$copyrightHolder
The party holding the legal copyright to the CreativeWork.
public
null|Organization|Person|array<string|int, mixed>
$copyrightHolder
$copyrightNotice
Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work.
public
string|object|null
$copyrightNotice
$copyrightYear
The year during which the claimed copyright for the CreativeWork was first asserted.
public
null|int|string
$copyrightYear
$correction
Indicates a correction to a CreativeWork, either via a CorrectionComment, textually or in another document.
public
null|CorrectionComment|string
$correction
$countryOfOrigin
The country of origin of something, including products as well as creative works such as movie and TV content.
public
Country|null
$countryOfOrigin
In the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of CreativeWork it is difficult to provide fully general guidance, and properties such as contentLocation and locationCreated may be more applicable.
In the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.
$created
Date of creation of the resource.
public
null|string|DateTime
$created
$creativeWorkStatus
The status of a creative work in terms of its stage in a lifecycle.
public
string|DefinedTerm|null
$creativeWorkStatus
Example terms include Incomplete, Draft, Published, Obsolete.
Some organizations define a set of terms for the stages of their publication lifecycle.
$creator
The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.
public
Organization|Person|array<string|int, mixed>|null
$creator
$creditText
Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.
public
null|object|string
$creditText
$dateCreated
The date on which the CreativeWork was created or the item was added to a DataFeed.
public
string|null
$dateCreated
$dateModified
The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.
public
string|null
$dateModified
$datePublished
Date of first broadcast/publication.
public
string|null
$datePublished
$description
A short description of the item.
public
string|null
$description
$digitalSourceType
Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some CreativeWork.
public
null|IPTCDigitalSourceEnumeration
$digitalSourceType
$disambiguatingDescription
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.
public
string|null
$disambiguatingDescription
$discussionUrl
A link to the page containing the comments of the CreativeWork.
public
null|string
$discussionUrl
$editEIDR
An EIDR (Entertainment Identifier Registry) identifier representing a specific edit / edition for a work of film or television.
public
null|string
$editEIDR
For example, the motion picture known as "Ghostbusters" whose titleEIDR is "10.5240/7EC7-228A-510A-053E-CBB8-J" has several edits, e.g. "10.5240/1F2A-E1C5-680A-14C6-E76B-I" and "10.5240/8A35-3BEE-6497-5D12-9E4F-3".
Since schema.org types like Movie and TVEpisode can be used for both works and their multiple expressions, it is possible to use titleEIDR alone (for a general description), or alongside editEIDR for a more edit-specific description.
$editor
Specifies the Person who edited the CreativeWork.
public
string|null
$editor
$educationalAlignment
An alignment to an established educational framework.
public
AlignmentObject|null
$educationalAlignment
This property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource teaches or assesses a competency.
$educationalLevel
The level in terms of progression through an educational or training context.
public
null|string|DefinedTerm
$educationalLevel
Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.
$educationalUse
The purpose of a work in the context of education; for example, 'assignment', 'group work'.
public
null|string|DefinedTerm
$educationalUse
$encoding
A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.
public
null|string|MediaObject
$encoding
$encodingFormat
Media type typically expressed using a MIME format (see IANA site and MDN reference) e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.).
public
string|null
$encodingFormat
In cases where a CreativeWork has several media type representations, encoding can be used to indicate each MediaObject alongside particular encodingFormat information.
Unregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry.
$exampleOfWork
A creative work that this work is an example/instance/realization/derivation of.
public
array<string|int, mixed>|CreativeWork|null
$exampleOfWork
Inverse property: workExample
$expires
Date the content expires and is no longer useful or available.
public
string|null
$expires
For example a VideoObject or NewsArticle whose availability or relevance is time-limited, or a ClaimReview fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date.
$funder
A person or organization that supports (sponsors) something through some kind of financial contribution.
public
null|Organization|Person
$funder
$funding
A Grant that directly or indirectly provide funding or sponsorship for this item.
public
null|Grant|array<string|int, mixed>
$funding
See also ownershipFundingInfo.
$genre
Genre of the creative work, broadcast channel or group.
public
null|string|DefinedTerm
$genre
$hasDigitalDocumentPermission
A permission related to the access to this document (e.g. permission to read or write an electronic document).
public
null|array<string|int, mixed>|DigitalDocumentPermission
$hasDigitalDocumentPermission
For a public document, specify a grantee with an Audience with audienceType equal to "public".
$hasPart
Indicates an item that this part of this item.
public
string|Thing|array<string|int, mixed>|null
$hasPart
$headline
The headline of this content.
public
string|object|null
$headline
$id
The unique identifier of the item.
public
null|int|string
$id
$identifier
The identifier of the item.
public
string|null
$identifier
$image
The image reference of this resource.
public
string|object|null
$image
$inLanguage
The language of the content or performance or used in an action.
public
array<string|int, mixed>|string|null
$inLanguage
$interactionStatistic
The number of interactions for the CreativeWork using the WebSite or SoftwareApplication.
public
InteractionCounter|array<string|int, mixed>|null
$interactionStatistic
The most specific child type of InteractionCounter should be used.
$isAccessibleForFree
A flag to signal that the item, event, or place is accessible for free.
public
bool|null
$isAccessibleForFree
$isBasedOn
A resource that was used in the creation of this resource. This term can be repeated for multiple sources.
public
array<string|int, mixed>|object|null
$isBasedOn
$isPartOf
Indicates an item that this item is part of.
public
string|Thing|array<string|int, mixed>|null
$isPartOf
$keywords
Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.
public
string|DefinedTerm|array<string|int, mixed>|null
$keywords
$license
A legal document giving official permission to do something with the resource.
public
string|object|null
$license
$locationCreated
The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.
public
string|object|null
$locationCreated
$mainEntity
Indicates the primary entity described in some page or other CreativeWork.
public
string|object|null
$mainEntity
$material
A material that something is made from, e.g. leather, wool, cotton, paper.
public
array<string|int, mixed>|Product|string|null
$material
$mentions
The mentions of this content.
public
array<string|int, mixed>|string|null
$mentions
$modified
Date on which the resource was changed.
public
null|string|DateTime
$modified
$name
The name of the item.
public
int|string|null
$name
$offers
An offer to provide this item.
public
array<string|int, mixed>|Offer|null|Demand
$offers
$position
The position of an item in a series or sequence of items.
public
null|int|string
$position
$producer
The person or organization who produced the work.
public
object|null
$producer
$provider
The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.
public
string|object|null
$provider
$publisher
The publisher of the resource.
public
string|array<string|int, mixed>|Person|Organization|null
$publisher
$recordedAt
The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.
public
object|null
$recordedAt
$releaseEvent
The place and time the release was issued, expressed as a PublicationEvent.
public
object|null
$releaseEvent
$review
A review of the item.
public
array<string|int, mixed>|Review|null
$review
$sourceOrganization
The Organization on whose behalf the creator was working.
public
object|null
$sourceOrganization
$sponsor
A person or organization that supports a thing through a pledge, promise, or financial contribution. e.g. a sponsor of a Medical Study or a corporate sponsor of an event.
public
array<string|int, mixed>|object|string|null
$sponsor
$temporal
The "temporal" property can be used in cases where more specific properties (e.g. temporalCoverage, dateCreated, dateModified, datePublished) are not known to be appropriate.
public
string|object|null
$temporal
$temporalCoverage
The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in ISO 8601 time interval format. In the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written "2011/2012"). Other forms of content e.g. ScholarlyArticle, Book, TVSeries or TVEpisode may indicate their temporalCoverage in broader terms - textually or via well-known URL. Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via "1939/1945".
public
string|object|null
$temporalCoverage
Open-ended date ranges can be written with ".." in place of the end date. For example, "2015-11/.." indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated. Supersedes datasetTimeInterval.
$text
The text of the creative work.
public
string|object|null
$text
$thumbnailUrl
A thumbnail image relevant to the Thing.
public
string|object|null
$thumbnailUrl
$timeRequired
Approximate or typical time it takes to work with or through this learning resource for the typical intended target audience, e.g. 'PT30M', 'PT1H25M'.
public
string|null
$timeRequired
$translator
Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.
public
string|object|null
$translator
$typicalAgeRange
The typical expected age range, e.g. '7-9', '11-'.
public
string|object|null
$typicalAgeRange
$url
URL of the item.
public
int|string|null
$url
$usageInfo
The schema.org usageInfo property indicates further information about a CreativeWork.
public
string|CreativeWork|null
$usageInfo
This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options. This property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.
$version
The version of the CreativeWork embodied by a specified resource.
public
null|string|int
$version
$video
An embedded video object.
public
string|object|null
$video
$atContext
The JSON-LD `@context` value.
private
string|null
$atContext
= null
Default is https://schema.org
.
$atType
The JSON-LD `@type` value.
private
string|null
$atType
= null
This can be manually set or automatically inferred from the class name.
Methods
__construct()
Constructor to hydrate public properties from an array or stdClass.
public
__construct([array<string|int, mixed>|object|null $init = null ]) : mixed
This allows objects to be quickly populated with associative data without manually setting each property.
Parameters
- $init : array<string|int, mixed>|object|null = null
-
A data array or object used to initialize the instance. Keys must match public property names.
Tags
jsonSerialize()
Serializes the current object into a JSON-LD array.
public
jsonSerialize() : array<string|int, mixed>
Includes public properties, the JSON-LD @context
and @type
.
Null values are automatically removed.
Tags
Return values
array<string|int, mixed> —JSON-LD representation of the object.
withAtContext()
Sets the internal JSON-LD `@context` attribute.
public
withAtContext(string $context) : $this
Useful if you need a custom JSON-LD context.
Parameters
- $context : string
Return values
$thiswithAtType()
Sets the internal JSON-LD `@type` attribute.
public
withAtType(string $type) : $this
Allows overriding the default type inferred from the class.
Parameters
- $type : string
Return values
$thiswithJSONLDMeta()
Initializes both JSON-LD metadata: `@type` and `@context`.
public
withJSONLDMeta([string|null $atType = null ][, string|null $atContext = null ]) : $this
Can be called from constructor or later to override default values.
Parameters
- $atType : string|null = null
-
Optional JSON-LD type
- $atContext : string|null = null
-
Optional JSON-LD context