Oihana PHP System

Organization extends Thing

Entities that have a somewhat fixed, physical extension.

Tags
see
http://schema.org/Organization

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.
$acceptedPaymentMethod  : null|string|array<string|int, mixed>|PaymentMethod|LoanOrCredit
The payment method(s) that are accepted in general by an organization, or for some specific demand or offer.
$actionableFeedbackPolicy  : string|CreativeWork|null
For a NewsMediaOrganization or other news-related Organization, a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.
$active  : bool|null
The active flag.
$additional  : object|string|null
The additional description of the organization.
$additionalType  : array<string|int, mixed>|string|null|object
An additionalType for the item.
$address  : null|string|PostalAddress
Physical address of the item (PostalAddress or any object to describe it).
$agentInteractionStatistic  : InteractionCounter|array<string|int, mixed>|null
The number of completed interactions for this entity, in a particular role (the 'agent'), in a particular action (indicated in the statistic), and in a particular context (i.e. interactionService).
$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.
$alumni  : array<string|int, mixed>|Person|null
Alumni of an organization.
$ape  : string|null
The ape identifier of the organization.
$areaServed  : null|string|Place|GeoShape
The geographic area where a service or offered item is provided.
$award  : array<string|int, mixed>|string|null
An award won by or for this item.
$brand  : null|Brand|Organization
The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.
$contactPoint  : null|ContactPoint|array<string|int, mixed>
A contact point for a person or organization.
$created  : null|string|DateTime
Date of creation of the resource.
$department  : null|Organization|array<string|int, mixed>
A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours).
$description  : string|null
A short description of the item.
$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.
$dissolutionDate  : string|null
The date that this organization was dissolved.
$duns  : string|null
The Dun & Bradstreet DUNS number for identifying an organization or business person.
$email  : null|array<string|int, mixed>|string|PropertyValue
The Email address.
$employees  : null|array<string|int, mixed>|Person
The employees of the organization
$event  : null|array<string|int, mixed>|Event
Upcoming or past events associated with this organization (legacy spelling; see singular form, event).
$faxNumber  : string|null|array<string|int, mixed>|PropertyValue
The fax number.
$founder  : array<string|int, mixed>|null|Organization|Person
A person or organization who founded this organization.
$foundingDate  : string|null
The date that this organization was founded.
$foundingLocation  : Place|string|null
The place where the Organization was founded.
$hasCertification  : array<string|int, mixed>|Certification|null
Certification information about a product, organization, service, place, or person.
$hasOfferCatalog  : array<string|int, mixed>|OfferCatalog|null
Indicates an OfferCatalog listing for this Organization, Person, or Service.
$hasPart  : string|Thing|array<string|int, mixed>|null
Indicates an item that this part of this item.
$hasPOS  : array<string|int, mixed>|Place|null
Points-of-Sales operated by the organization or person.
$hasShippingService  : array<string|int, mixed>|object|null
Specification of a shipping service offered by the organization.
$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.
$images  : array<string|int, mixed>|null
Photographs of this organization (legacy spelling; see singular form, photo).
$interactionStatistic  : InteractionCounter|array<string|int, mixed>|null
The number of interactions for the CreativeWork using the WebSite or SoftwareApplication.
$iso6523Code  : string|null
An organization identifier as defined in ISO 6523(-1). The identifier should be in the XXXX:YYYYYY:ZZZ or XXXX:YYYYYYformat.
$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.
$legalForm  : string|object|null
Legal form of the organization.
$legalName  : string|null
The legal name of the organization
$leiCode  : string|null
An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.
$license  : string|object|null
A legal document giving official permission to do something with the resource.
$location  : null|string|Place|PostalAddress|VirtualLocation
The location of, for example, where an event is happening, where an organization is located, or where an action takes place.
$logo  : null|string|ImageObject
An associated logo.
$makesOffer  : array<string|int, mixed>|Offer|null
A pointer to products or services offered by the organization or person.
$member  : null|array<string|int, mixed>|Person|Organization
A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.
$memberOf  : null|array<string|int, mixed>|Organization|MemberProgramTier|ProgramMembership
An Organization (or ProgramMembership) to which this Person or Organization belongs.
$modified  : null|string|DateTime
Date on which the resource was changed.
$naics  : string|null
The North American Industry Classification System (NAICS) code for a particular organization or business person.
$name  : int|string|null
The name of the item.
$nonprofitStatus  : string|DefinedTerm|NonprofitType|null
Indicates the legal status of a non-profit organization in its primary place of business.
$numberOfEmployees  : QuantitativeValue|null
The number of employees in an organization, e.g. business.
$owns  : array<string|int, mixed>|Product|OwnershipInfo|null
Products owned by the organization or person.
$parentOrganization  : array<string|int, mixed>|Organization|null
The larger organization that this organization is a subOrganization of, if any.
$photos  : array<string|int, mixed>|null
Photographs of this organization (legacy spelling; see singular form, photo).
$providers  : array<string|int, mixed>|null
The providers of the organization
$publisher  : string|array<string|int, mixed>|Person|Organization|null
The publisher of the resource.
$publishingPrinciples  : string|CreativeWork
The publishingPrinciples property indicates (typically via URL) a document describing the editorial principles of an Organization (or individual, e.g. a Person writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies.
$review  : array<string|int, mixed>|Review|null
A review of the item.
$seeks  : array<string|int, mixed>|Demand|null
A pointer to products or services sought by the organization or person (demand).
$skills  : array<string|int, mixed>|DefinedTerm|null
The skills of the organization.
$slogan  : string|object|null
A slogan or motto associated with the item.
$sponsor  : array<string|int, mixed>|Person|Organization|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.
$subOrganization  : Organization|array<string|int, mixed>|null
A relationship between two organizations where the first includes the second, e.g., as a subsidiary.
$taxID  : string|null
The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US, the SIRET/SIREN in France or the CIF/NIF in Spain.
$telephone  : string|null|array<string|int, mixed>|PropertyValue
The telephone number.
$url  : int|string|null
URL of the item.
$vatID  : string|null
The Value-added Tax ID of the organization or person.

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.

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

$acceptedPaymentMethod

The payment method(s) that are accepted in general by an organization, or for some specific demand or offer.

public null|string|array<string|int, mixed>|PaymentMethod|LoanOrCredit $acceptedPaymentMethod

$actionableFeedbackPolicy

For a NewsMediaOrganization or other news-related Organization, a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.

public string|CreativeWork|null $actionableFeedbackPolicy

$active

The active flag.

public bool|null $active

$additional

The additional description of the organization.

public object|string|null $additional

Note : this property is a custom attribute of the original Organization class defined in http://schema.org/Organization.

$additionalType

An additionalType for the item.

public array<string|int, mixed>|string|null|object $additionalType

$address

Physical address of the item (PostalAddress or any object to describe it).

public null|string|PostalAddress $address = null

$agentInteractionStatistic

The number of completed interactions for this entity, in a particular role (the 'agent'), in a particular action (indicated in the statistic), and in a particular context (i.e. interactionService).

public InteractionCounter|array<string|int, mixed>|null $agentInteractionStatistic

$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

$alumni

Alumni of an organization.

public array<string|int, mixed>|Person|null $alumni

$ape

The ape identifier of the organization.

public string|null $ape

$areaServed

The geographic area where a service or offered item is provided.

public null|string|Place|GeoShape $areaServed

$award

An award won by or for this item.

public array<string|int, mixed>|string|null $award

$brand

The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.

public null|Brand|Organization $brand

$contactPoint

A contact point for a person or organization.

public null|ContactPoint|array<string|int, mixed> $contactPoint

$created

Date of creation of the resource.

public null|string|DateTime $created

$department

A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours).

public null|Organization|array<string|int, mixed> $department

For example: a store with a pharmacy, or a bakery with a cafe.

$description

A short description of the item.

public string|null $description

$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

$dissolutionDate

The date that this organization was dissolved.

public string|null $dissolutionDate

$duns

The Dun & Bradstreet DUNS number for identifying an organization or business person.

public string|null $duns

$employees

The employees of the organization

public null|array<string|int, mixed>|Person $employees

$event

Upcoming or past events associated with this organization (legacy spelling; see singular form, event).

public null|array<string|int, mixed>|Event $event

$foundingDate

The date that this organization was founded.

public string|null $foundingDate

$foundingLocation

The place where the Organization was founded.

public Place|string|null $foundingLocation

$hasCertification

Certification information about a product, organization, service, place, or person.

public array<string|int, mixed>|Certification|null $hasCertification

$hasOfferCatalog

Indicates an OfferCatalog listing for this Organization, Person, or Service.

public array<string|int, mixed>|OfferCatalog|null $hasOfferCatalog

$hasPart

Indicates an item that this part of this item.

public string|Thing|array<string|int, mixed>|null $hasPart

$hasPOS

Points-of-Sales operated by the organization or person.

public array<string|int, mixed>|Place|null $hasPOS

$hasShippingService

Specification of a shipping service offered by the organization.

public array<string|int, mixed>|object|null $hasShippingService

$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

$images

Photographs of this organization (legacy spelling; see singular form, photo).

public array<string|int, mixed>|null $images

$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.

$iso6523Code

An organization identifier as defined in ISO 6523(-1). The identifier should be in the XXXX:YYYYYY:ZZZ or XXXX:YYYYYYformat.

public string|null $iso6523Code

$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

$legalForm

Legal form of the organization.

public string|object|null $legalForm

$legalName

The legal name of the organization

public string|null $legalName

$leiCode

An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.

public string|null $leiCode

$license

A legal document giving official permission to do something with the resource.

public string|object|null $license

$makesOffer

A pointer to products or services offered by the organization or person.

public array<string|int, mixed>|Offer|null $makesOffer

Inverse property: offeredBy

$member

A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.

public null|array<string|int, mixed>|Person|Organization $member

$modified

Date on which the resource was changed.

public null|string|DateTime $modified

$naics

The North American Industry Classification System (NAICS) code for a particular organization or business person.

public string|null $naics

$name

The name of the item.

public int|string|null $name

$parentOrganization

The larger organization that this organization is a subOrganization of, if any.

public array<string|int, mixed>|Organization|null $parentOrganization

Inverse property: subOrganization

$photos

Photographs of this organization (legacy spelling; see singular form, photo).

public array<string|int, mixed>|null $photos

$providers

The providers of the organization

public array<string|int, mixed>|null $providers

$publishingPrinciples

The publishingPrinciples property indicates (typically via URL) a document describing the editorial principles of an Organization (or individual, e.g. a Person writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies.

public string|CreativeWork $publishingPrinciples

$seeks

A pointer to products or services sought by the organization or person (demand).

public array<string|int, mixed>|Demand|null $seeks

$slogan

A slogan or motto associated with the item.

public string|object|null $slogan

$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>|Person|Organization|null $sponsor

$subOrganization

A relationship between two organizations where the first includes the second, e.g., as a subsidiary.

public Organization|array<string|int, mixed>|null $subOrganization

$taxID

The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US, the SIRET/SIREN in France or the CIF/NIF in Spain.

public string|null $taxID

$url

URL of the item.

public int|string|null $url

$vatID

The Value-added Tax ID of the organization or person.

public string|null $vatID

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
example
use org\schema\Person;
use org\schema\constants\Prop;

$person = new Person
([
    Prop::NAME => 'Jane Doe',
    Prop::URL  => 'https://example.com/janedoe'
]);

echo $person->name; // Outputs: Jane Doe

jsonSerialize()

Serializes the current object into a JSON-LD array.

public jsonSerialize() : array<string|int, mixed>

This method will include all public properties, the schema.org @context, and the inferred @type based on the class name.

Null values will be automatically removed using compress().

Tags
throws
ReflectionException

If reflection fails when accessing properties.

example
use org\schema\Person;
use org\schema\constants\Prop;

$person = new Person([
    Prop::NAME => 'John Smith',
    Prop::ID   => 'jsmith-001'
]);

echo json_encode($person, JSON_PRETTY_PRINT);

Output:

{
  "@type": "Person",
  "@context": "https://schema.org",
  "id": "jsmith-001",
  "name": "John Smith"
}
Return values
array<string|int, mixed>

A JSON-LD array representation of the object.


        
On this page

Search results