Remove brick/schema

This commit is contained in:
Jay 2021-11-15 14:38:23 +01:00
parent da5f0e45f7
commit 20b1399e2c
649 changed files with 2 additions and 48557 deletions

2
.gitignore vendored
View file

@ -1,6 +1,4 @@
/vendor/* /vendor/*
!/vendor/brick
!/vendor/brick/schema
!/vendor/embed !/vendor/embed
!/vendor/embed/embed !/vendor/embed/embed
!/vendor/laminas !/vendor/laminas

View file

@ -4,7 +4,6 @@
}, },
"require": { "require": {
"embed/embed": "^4.3", "embed/embed": "^4.3",
"laminas/laminas-diactoros": "^2.8", "laminas/laminas-diactoros": "^2.8"
"brick/schema": "^0.1.1"
} }
} }

157
composer.lock generated
View file

@ -4,106 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "a2fac064dd2bd1fd05cdcfa6f8f66ec9", "content-hash": "72ca4d25f90c6bffc18b886e1ef67acb",
"packages": [ "packages": [
{
"name": "brick/schema",
"version": "0.1.1",
"source": {
"type": "git",
"url": "https://github.com/brick/schema.git",
"reference": "935362907ef1b6e3706dac3d799be42f3c754f93"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/brick/schema/zipball/935362907ef1b6e3706dac3d799be42f3c754f93",
"reference": "935362907ef1b6e3706dac3d799be42f3c754f93",
"shasum": ""
},
"require": {
"brick/structured-data": "^0.1.0",
"ext-dom": "*",
"php": ">=7.2"
},
"require-dev": {
"brick/varexporter": "^0.2.1 || ^0.3.0",
"phpunit/phpunit": "^8.1"
},
"type": "library",
"autoload": {
"psr-4": {
"Brick\\Schema\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Schema.org library for PHP",
"keywords": [
"JSON-LD",
"brick",
"microdata",
"rdfa lite",
"schema",
"schema.org",
"structured data"
],
"support": {
"issues": "https://github.com/brick/schema/issues",
"source": "https://github.com/brick/schema/tree/0.1.1"
},
"time": "2020-03-27T14:36:17+00:00"
},
{
"name": "brick/structured-data",
"version": "0.1.1",
"source": {
"type": "git",
"url": "https://github.com/brick/structured-data.git",
"reference": "1e1e1c8c87c392e65bb9c91e0f3cd732b4574fe9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/brick/structured-data/zipball/1e1e1c8c87c392e65bb9c91e0f3cd732b4574fe9",
"reference": "1e1e1c8c87c392e65bb9c91e0f3cd732b4574fe9",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"php": "^7.2 || ^8.0",
"sabre/uri": "^2.1"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Brick\\StructuredData\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Microdata, RDFa Lite & JSON-LD structured data reader",
"keywords": [
"JSON-LD",
"brick",
"microdata",
"rdfa",
"structured data"
],
"support": {
"issues": "https://github.com/brick/structured-data/issues",
"source": "https://github.com/brick/structured-data/tree/0.1.1"
},
"time": "2020-12-06T00:36:03+00:00"
},
{ {
"name": "composer/ca-bundle", "name": "composer/ca-bundle",
"version": "1.3.1", "version": "1.3.1",
@ -670,63 +572,6 @@
"source": "https://github.com/php-fig/http-message/tree/master" "source": "https://github.com/php-fig/http-message/tree/master"
}, },
"time": "2016-08-06T14:39:51+00:00" "time": "2016-08-06T14:39:51+00:00"
},
{
"name": "sabre/uri",
"version": "2.2.2",
"source": {
"type": "git",
"url": "https://github.com/sabre-io/uri.git",
"reference": "7cb0f489578afad5006e85cd60f18ff33f2d440d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sabre-io/uri/zipball/7cb0f489578afad5006e85cd60f18ff33f2d440d",
"reference": "7cb0f489578afad5006e85cd60f18ff33f2d440d",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~2.17.1",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.0"
},
"type": "library",
"autoload": {
"files": [
"lib/functions.php"
],
"psr-4": {
"Sabre\\Uri\\": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Evert Pot",
"email": "me@evertpot.com",
"homepage": "http://evertpot.com/",
"role": "Developer"
}
],
"description": "Functions for making sense out of URIs.",
"homepage": "http://sabre.io/uri/",
"keywords": [
"rfc3986",
"uri",
"url"
],
"support": {
"forum": "https://groups.google.com/group/sabredav-discuss",
"issues": "https://github.com/sabre-io/uri/issues",
"source": "https://github.com/fruux/sabre-uri"
},
"time": "2021-11-04T09:29:58+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [

View file

@ -1,20 +0,0 @@
The MIT License (MIT)
Copyright (c) 2019-present Benjamin Morel
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -1,35 +0,0 @@
{
"name": "brick/schema",
"description": "Schema.org library for PHP",
"type": "library",
"keywords": [
"Brick",
"Schema",
"Schema.org",
"Structured data",
"Microdata",
"RDFa Lite",
"JSON-LD"
],
"license": "MIT",
"require": {
"php": ">=7.2",
"ext-dom": "*",
"brick/structured-data": "^0.1.0"
},
"autoload": {
"psr-4": {
"Brick\\Schema\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Brick\\Schema\\Meta\\": "meta/",
"Brick\\Schema\\Tests\\": "tests/"
}
},
"require-dev": {
"brick/varexporter": "^0.2.1 || ^0.3.0",
"phpunit/phpunit": "^8.1"
}
}

View file

@ -1,55 +0,0 @@
<?php return [
'http://schema.org/actionableFeedbackPolicy',
'http://schema.org/additionalType',
'http://schema.org/afterMedia',
'http://schema.org/beforeMedia',
'http://schema.org/benefitsSummaryUrl',
'http://schema.org/codeRepository',
'http://schema.org/colleague',
'http://schema.org/contentUrl',
'http://schema.org/correctionsPolicy',
'http://schema.org/discussionUrl',
'http://schema.org/diversityPolicy',
'http://schema.org/diversityStaffingReport',
'http://schema.org/documentation',
'http://schema.org/downloadUrl',
'http://schema.org/duringMedia',
'http://schema.org/embedUrl',
'http://schema.org/ethicsPolicy',
'http://schema.org/gameLocation',
'http://schema.org/hasMap',
'http://schema.org/healthPlanMarketingUrl',
'http://schema.org/image',
'http://schema.org/inCodeSet',
'http://schema.org/inDefinedTermSet',
'http://schema.org/installUrl',
'http://schema.org/isBasedOn',
'http://schema.org/isBasedOnUrl',
'http://schema.org/labelDetails',
'http://schema.org/license',
'http://schema.org/logo',
'http://schema.org/mainEntityOfPage',
'http://schema.org/map',
'http://schema.org/maps',
'http://schema.org/masthead',
'http://schema.org/missionCoveragePrioritiesPolicy',
'http://schema.org/noBylinesPolicy',
'http://schema.org/paymentUrl',
'http://schema.org/prescribingInfo',
'http://schema.org/publishingPrinciples',
'http://schema.org/relatedLink',
'http://schema.org/replyToUrl',
'http://schema.org/sameAs',
'http://schema.org/screenshot',
'http://schema.org/sdLicense',
'http://schema.org/serviceUrl',
'http://schema.org/significantLink',
'http://schema.org/significantLinks',
'http://schema.org/speakable',
'http://schema.org/targetUrl',
'http://schema.org/thumbnailUrl',
'http://schema.org/trackingUrl',
'http://schema.org/unnamedSourcesPolicy',
'http://schema.org/url',
'http://schema.org/verificationFactCheckingPolicy'
];

File diff suppressed because it is too large Load diff

View file

@ -1,126 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema;
use LogicException;
use OutOfRangeException;
/**
* The base class that dynamically created objects will extend.
*
* This is an implementation detail that may change at any time and should not be relied on.
* You should only type-hint things against the interfaces.
*
* @internal
*/
abstract class Base
{
/**
* The list of schema.org types this object implements.
*
* Each property is the short name, without the schema.org prefix, e.g. 'Product' or 'Offer'.
* This list will always contain at least one type.
*
* @var string[]
*/
private $types;
/**
* The list of schema.org properties supported by this instance.
*
* Each property is the short name, without the schema.org prefix, e.g. 'name' or 'description'.
* This list will contain the combination of all properties supported by the types the object implements.
*
* @var string[]
*/
private $properties;
/**
* The values of each property, indexed by property name.
*
* These values are initialized just-in-time, when a property is first accessed.
*
* @var SchemaTypeList[]
*/
private $values = [];
/**
* Base constructor.
*
* @param string[] $types The list of schema.org types this class implements.
* @param string[] $properties The list of schema.org properties supported by this instance.
*/
public function __construct(array $types, array $properties)
{
$this->types = $types;
$this->properties = $properties;
}
/**
* Checks if a property is set.
*
* All supported properties will be initialized when first accessed, and are therefore considered set.
*
* @param string $name
*
* @return bool
*/
public function __isset(string $name) : bool
{
return in_array($name, $this->properties, true);
}
/**
* Retrieves a property value.
*
* @param string $name The property name, e.g. 'name' or 'description'.
*
* @return SchemaTypeList
*
* @throws OutOfRangeException
*/
public function __get(string $name) : SchemaTypeList
{
if (isset($this->values[$name])) {
return $this->values[$name];
}
if (! in_array($name, $this->properties, true)) {
throw new OutOfRangeException(sprintf(
'Property "%s" is not available in object of type%s %s',
$name,
count($this->types) > 1 ? 's' : '',
implode(', ', $this->types)
));
}
return $this->values[$name] = new SchemaTypeList();
}
/**
* @param string $name
* @param mixed $value
*
* @return void
*
* @throws LogicException
*/
public function __set(string $name, $value) : void
{
throw new LogicException('This object does not support writable properties.');
}
/**
* @param string $name
*
* @return void
*
* @throws LogicException
*/
public function __unset(string $name) : void
{
throw new LogicException('This object does not support unsetting properties.');
}
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\DataType;
/**
* http://schema.org/Boolean
*/
class Boolean extends DataType
{
}

View file

@ -1,53 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\DataType;
use Brick\Schema\SchemaType;
use Brick\Schema\SchemaTypeList;
/**
* http://schema.org/DataType
*/
class DataType implements SchemaType
{
/**
* @var string
*/
private $number;
/**
* DataType constructor.
*
* @param string $number
*/
public function __construct(string $number)
{
$this->number = $number;
}
/**
* @return string
*/
public function __toString() : string
{
return $this->number;
}
/**
* @inheritDoc
*/
public function includesProperty(string $name) : bool
{
return false;
}
/**
* @inheritDoc
*/
public function getProperty(string $name) : SchemaTypeList
{
return new SchemaTypeList([]);
}
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\DataType;
/**
* http://schema.org/Date
*/
class Date extends DataType
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\DataType;
/**
* http://schema.org/DateTime
*/
class DateTime extends DataType
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\DataType;
/**
* http://schema.org/Number
*/
class Number extends DataType
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\DataType;
/**
* http://schema.org/Text
*/
class Text extends DataType
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\DataType;
/**
* http://schema.org/Time
*/
class Time extends DataType
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AMRadioChannel
*/
interface AMRadioChannel extends RadioChannel
{
}

View file

@ -1,21 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/APIReference
*
* @property-read SchemaTypeList<Text> $executableLibraryName Library file name e.g., mscorlib.dll, system.web.dll.
* @property-read SchemaTypeList<Text> $assemblyVersion Associated product/technology version. e.g., .NET Framework 4.5.
* @property-read SchemaTypeList<Text> $programmingModel Indicates whether API is managed or unmanaged.
* @property-read SchemaTypeList<Text> $assembly Library file name e.g., mscorlib.dll, system.web.dll.
* @property-read SchemaTypeList<Text> $targetPlatform Type of app development: phone, Metro style, desktop, XBox, etc.
*/
interface APIReference extends TechArticle
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AboutPage
*/
interface AboutPage extends WebPage
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AcceptAction
*/
interface AcceptAction extends AllocateAction
{
}

View file

@ -1,23 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Boolean;
use Brick\Schema\DataType\Text;
use Brick\Schema\DataType\Number;
/**
* http://schema.org/Accommodation
*
* @property-read SchemaTypeList<QuantitativeValue> $floorSize The size of the accommodation, e.g. in square meter or squarefoot.
* @property-read SchemaTypeList<Boolean|Text> $petsAllowed Indicates whether pets are allowed to enter the accommodation or lodging business. More detailed information can be put in a text value.
* @property-read SchemaTypeList<LocationFeatureSpecification> $amenityFeature An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.
* @property-read SchemaTypeList<Number|QuantitativeValue> $numberOfRooms The number of rooms (excluding bathrooms and closets) of the accommodation or lodging business.
* @property-read SchemaTypeList<Text> $permittedUsage Indications regarding the permitted usage of the accommodation.
*/
interface Accommodation extends Place
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AccountingService
*/
interface AccountingService extends FinancialService
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AchieveAction
*/
interface AchieveAction extends Action
{
}

View file

@ -1,28 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\DateTime;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/Action
*
* @property-read SchemaTypeList<Thing> $result The result produced in the action. e.g. John wrote a book.
* @property-read SchemaTypeList<DateTime> $startTime The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.
* @property-read SchemaTypeList<ActionStatusType> $actionStatus Indicates the current disposition of the Action.
* @property-read SchemaTypeList<EntryPoint> $target Indicates a target EntryPoint for an Action.
* @property-read SchemaTypeList<Person|Organization> $agent The direct performer or driver of the action (animate or inanimate). e.g. John wrote a book.
* @property-read SchemaTypeList<DateTime> $endTime The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. For media, including audio and video, it's the time offset of the end of a clip within a larger file.
* @property-read SchemaTypeList<Thing> $instrument The object that helped the agent perform the action. e.g. John wrote a book with a pen.
* @property-read SchemaTypeList<Organization|Person> $participant Other co-agents that participated in the action indirectly. e.g. John wrote a book with Steve.
* @property-read SchemaTypeList<Thing> $object The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read a book.
* @property-read SchemaTypeList<Thing> $error For failed actions, more information on the cause of the failure.
* @property-read SchemaTypeList<Text|Place|PostalAddress> $location The location of for example where the event is happening, an organization is located, or where an action takes place.
*/
interface Action extends Thing
{
}

View file

@ -1,24 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\DateTime;
use Brick\Schema\DataType\Boolean;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/ActionAccessSpecification
*
* @property-read SchemaTypeList<DateTime> $availabilityStarts The beginning of the availability of the product or service included in the offer.
* @property-read SchemaTypeList<MediaSubscription|Boolean> $requiresSubscription Indicates if use of the media require a subscription (either paid or free). Allowed values are true or false (note that an earlier version had 'yes', 'no').
* @property-read SchemaTypeList<Text|Thing> $category A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.
* @property-read SchemaTypeList<DateTime> $availabilityEnds The end of the availability of the product or service included in the offer.
* @property-read SchemaTypeList<Offer> $expectsAcceptanceOf An Offer which must be accepted before the user can perform the Action. For example, the user may need to buy a movie before being able to watch it.
* @property-read SchemaTypeList<Place|GeoShape|Text> $eligibleRegion The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is valid.
*/
interface ActionAccessSpecification extends Intangible
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/ActionStatusType
*/
interface ActionStatusType extends Enumeration
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/ActivateAction
*/
interface ActivateAction extends ControlAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AddAction
*/
interface AddAction extends UpdateAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AdministrativeArea
*/
interface AdministrativeArea extends Place
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AdultEntertainment
*/
interface AdultEntertainment extends EntertainmentBusiness
{
}

View file

@ -1,21 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
use Brick\Schema\DataType\Number;
/**
* http://schema.org/AggregateOffer
*
* @property-read SchemaTypeList<Offer> $offers An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event.
* @property-read SchemaTypeList<Integer> $offerCount The number of offers for the product.
* @property-read SchemaTypeList<Text|Number> $lowPrice The lowest price of all offers available.
* @property-read SchemaTypeList<Number|Text> $highPrice The highest price of all offers available.
*/
interface AggregateOffer extends Offer
{
}

View file

@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
/**
* http://schema.org/AggregateRating
*
* @property-read SchemaTypeList<Thing> $itemReviewed The item that is being reviewed/rated.
* @property-read SchemaTypeList<Integer> $reviewCount The count of total number of reviews.
* @property-read SchemaTypeList<Integer> $ratingCount The count of total number of ratings.
*/
interface AggregateRating extends Rating
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AgreeAction
*/
interface AgreeAction extends ReactAction
{
}

View file

@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/Airline
*
* @property-read SchemaTypeList<Text> $iataCode IATA identifier for an airline or airport.
* @property-read SchemaTypeList<BoardingPolicyType> $boardingPolicy The type of boarding policy used by the airline (e.g. zone-based or group-based).
*/
interface Airline extends Organization
{
}

View file

@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/Airport
*
* @property-read SchemaTypeList<Text> $iataCode IATA identifier for an airline or airport.
* @property-read SchemaTypeList<Text> $icaoCode ICAO identifier for an airport.
*/
interface Airport extends CivicStructure
{
}

View file

@ -1,21 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/AlignmentObject
*
* @property-read SchemaTypeList<Text> $targetDescription The description of a node in an established educational framework.
* @property-read SchemaTypeList<Text> $alignmentType A category of alignment between the learning resource and the framework node. Recommended values include: 'assesses', 'teaches', 'requires', 'textComplexity', 'readingLevel', 'educationalSubject', and 'educationalLevel'.
* @property-read SchemaTypeList<URL> $targetUrl The URL of a node in an established educational framework.
* @property-read SchemaTypeList<Text> $targetName The name of a node in an established educational framework.
* @property-read SchemaTypeList<Text> $educationalFramework The framework to which the resource being described is aligned.
*/
interface AlignmentObject extends Intangible
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AllocateAction
*/
interface AllocateAction extends OrganizeAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AmusementPark
*/
interface AmusementPark extends EntertainmentBusiness
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AnimalShelter
*/
interface AnimalShelter extends LocalBusiness
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/Answer
*/
interface Answer extends Comment
{
}

View file

@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Number;
/**
* http://schema.org/Apartment
*
* @property-read SchemaTypeList<QuantitativeValue> $occupancy The allowed total occupancy for the accommodation in persons (including infants etc). For individual accommodations, this is not necessarily the legal maximum but defines the permitted usage as per the contractual agreement (e.g. a double room used by a single person).
* @property-read SchemaTypeList<Number|QuantitativeValue> $numberOfRooms The number of rooms (excluding bathrooms and closets) of the accommodation or lodging business.
*/
interface Apartment extends Accommodation
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/ApartmentComplex
*/
interface ApartmentComplex extends Residence
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AppendAction
*/
interface AppendAction extends InsertAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/ApplyAction
*/
interface ApplyAction extends OrganizeAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/Aquarium
*/
interface Aquarium extends CivicStructure
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/ArriveAction
*/
interface ArriveAction extends MoveAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/ArtGallery
*/
interface ArtGallery extends EntertainmentBusiness
{
}

View file

@ -1,23 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/Article
*
* @property-read SchemaTypeList<Text> $pagination Any description of pages that is not separated into pageStart and pageEnd; for example, "1-6, 9, 55" or "10-12, 46-49".
* @property-read SchemaTypeList<URL|SpeakableSpecification> $speakable Indicates sections of a Web page that are particularly 'speakable' in the sense of being highlighted as being especially appropriate for text-to-speech conversion. Other sections of a page may also be usefully spoken in particular circumstances; the 'speakable' property serves to indicate the parts most likely to be generally useful for speech.
* @property-read SchemaTypeList<Integer|Text> $pageEnd The page on which the work ends; for example "138" or "xvi".
* @property-read SchemaTypeList<Text> $articleSection Articles may belong to one or more 'sections' in a magazine or newspaper, such as Sports, Lifestyle, etc.
* @property-read SchemaTypeList<Text> $articleBody The actual body of the article.
* @property-read SchemaTypeList<Text|Integer> $pageStart The page on which the work starts; for example "135" or "xiii".
* @property-read SchemaTypeList<Integer> $wordCount The number of words in the text of the Article.
*/
interface Article extends CreativeWork
{
}

View file

@ -1,16 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
/**
* http://schema.org/AskAction
*
* @property-read SchemaTypeList<Question> $question A sub property of object. A question.
*/
interface AskAction extends CommunicateAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AssessAction
*/
interface AssessAction extends Action
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AssignAction
*/
interface AssignAction extends AllocateAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/Attorney
*/
interface Attorney extends LegalService
{
}

View file

@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/Audience
*
* @property-read SchemaTypeList<Text> $audienceType The target group associated with a given audience (e.g. veterans, car owners, musicians, etc.).
* @property-read SchemaTypeList<AdministrativeArea> $geographicArea The geographic area associated with the audience.
*/
interface Audience extends Intangible
{
}

View file

@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/AudioObject
*
* @property-read SchemaTypeList<Text> $transcript If this MediaObject is an AudioObject or VideoObject, the transcript of that object.
* @property-read SchemaTypeList<MediaObject|Text> $caption The caption for this object. For downloadable machine formats (closed caption, subtitles etc.) use MediaObject and indicate the encodingFormat.
*/
interface AudioObject extends MediaObject
{
}

View file

@ -1,16 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
/**
* http://schema.org/AuthorizeAction
*
* @property-read SchemaTypeList<Audience|Person|Organization|ContactPoint> $recipient A sub property of participant. The participant who is at the receiving end of the action.
*/
interface AuthorizeAction extends AllocateAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AutoBodyShop
*/
interface AutoBodyShop extends AutomotiveBusiness
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AutoDealer
*/
interface AutoDealer extends AutomotiveBusiness
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AutoPartsStore
*/
interface AutoPartsStore extends AutomotiveBusiness, Store
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AutoRental
*/
interface AutoRental extends AutomotiveBusiness
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AutoRepair
*/
interface AutoRepair extends AutomotiveBusiness
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AutoWash
*/
interface AutoWash extends AutomotiveBusiness
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AutomatedTeller
*/
interface AutomatedTeller extends FinancialService
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/AutomotiveBusiness
*/
interface AutomotiveBusiness extends LocalBusiness
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/Bakery
*/
interface Bakery extends FoodEstablishment
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BankAccount
*/
interface BankAccount extends FinancialProduct
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BankOrCreditUnion
*/
interface BankOrCreditUnion extends FinancialService
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BarOrPub
*/
interface BarOrPub extends FoodEstablishment
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/Barcode
*/
interface Barcode extends ImageObject
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/Beach
*/
interface Beach extends CivicStructure
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BeautySalon
*/
interface BeautySalon extends HealthAndBeautyBusiness
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BedAndBreakfast
*/
interface BedAndBreakfast extends LodgingBusiness
{
}

View file

@ -1,19 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
use Brick\Schema\DataType\Number;
/**
* http://schema.org/BedDetails
*
* @property-read SchemaTypeList<Text|BedType> $typeOfBed The type of bed to which the BedDetail refers, i.e. the type of bed available in the quantity indicated by quantity.
* @property-read SchemaTypeList<Number> $numberOfBeds The quantity of the given bed type available in the HotelRoom, Suite, House, or Apartment.
*/
interface BedDetails extends Intangible
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BedType
*/
interface BedType extends QualitativeValue
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BefriendAction
*/
interface BefriendAction extends InteractAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BikeStore
*/
interface BikeStore extends Store
{
}

View file

@ -1,19 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/Blog
*
* @property-read SchemaTypeList<BlogPosting> $blogPosts The postings that are part of this blog.
* @property-read SchemaTypeList<BlogPosting> $blogPost A posting that is part of this blog.
* @property-read SchemaTypeList<Text> $issn The International Standard Serial Number (ISSN) that identifies this serial publication. You can repeat this property to identify different formats of, or the linking ISSN (ISSN-L) for, this serial publication.
*/
interface Blog extends CreativeWork
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BlogPosting
*/
interface BlogPosting extends SocialMediaPosting
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BoardingPolicyType
*/
interface BoardingPolicyType extends Enumeration
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BodyOfWater
*/
interface BodyOfWater extends Landform
{
}

View file

@ -1,21 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/Book
*
* @property-read SchemaTypeList<Text> $isbn The ISBN of the book.
* @property-read SchemaTypeList<Text> $bookEdition The edition of the book.
* @property-read SchemaTypeList<BookFormatType> $bookFormat The format of the book.
* @property-read SchemaTypeList<Integer> $numberOfPages The number of pages in the book.
* @property-read SchemaTypeList<Person> $illustrator The illustrator of the book.
*/
interface Book extends CreativeWork
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BookFormatType
*/
interface BookFormatType extends Enumeration
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BookSeries
*/
interface BookSeries extends CreativeWorkSeries
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BookStore
*/
interface BookStore extends Store
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BookmarkAction
*/
interface BookmarkAction extends OrganizeAction
{
}

View file

@ -1,16 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
/**
* http://schema.org/BorrowAction
*
* @property-read SchemaTypeList<Organization|Person> $lender A sub property of participant. The person that lends the object being borrowed.
*/
interface BorrowAction extends TransferAction
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BowlingAlley
*/
interface BowlingAlley extends SportsActivityLocation
{
}

View file

@ -1,20 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/Brand
*
* @property-read SchemaTypeList<AggregateRating> $aggregateRating The overall rating, based on a collection of reviews or ratings, of the item.
* @property-read SchemaTypeList<URL|ImageObject> $logo An associated logo.
* @property-read SchemaTypeList<Review> $review A review of the item.
* @property-read SchemaTypeList<Text> $slogan A slogan or motto associated with the item.
*/
interface Brand extends Intangible
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BreadcrumbList
*/
interface BreadcrumbList extends ItemList
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/Brewery
*/
interface Brewery extends FoodEstablishment
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/Bridge
*/
interface Bridge extends CivicStructure
{
}

View file

@ -1,22 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/BroadcastChannel
*
* @property-read SchemaTypeList<Text|BroadcastFrequencySpecification> $broadcastFrequency The frequency used for over-the-air broadcasts. Numeric values or simple ranges e.g. 87-99. In addition a shortcut idiom is supported for frequences of AM and FM radio channels, e.g. "87 FM".
* @property-read SchemaTypeList<Text> $broadcastChannelId The unique address by which the BroadcastService can be identified in a provider lineup. In US, this is typically a number.
* @property-read SchemaTypeList<Text> $broadcastServiceTier The type of service required to have access to the channel (e.g. Standard or Premium).
* @property-read SchemaTypeList<CableOrSatelliteService> $inBroadcastLineup The CableOrSatelliteService offering the channel.
* @property-read SchemaTypeList<BroadcastService> $providesBroadcastService The BroadcastService offered on this channel.
* @property-read SchemaTypeList<Text|URL> $genre Genre of the creative work, broadcast channel or group.
*/
interface BroadcastChannel extends Intangible
{
}

View file

@ -1,20 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
use Brick\Schema\DataType\Boolean;
/**
* http://schema.org/BroadcastEvent
*
* @property-read SchemaTypeList<Text> $videoFormat The type of screening or video broadcast used (e.g. IMAX, 3D, SD, HD, etc.).
* @property-read SchemaTypeList<Boolean> $isLiveBroadcast True is the broadcast is of a live event.
* @property-read SchemaTypeList<Event> $broadcastOfEvent The event being broadcast such as a sporting event or awards ceremony.
*/
interface BroadcastEvent extends PublicationEvent
{
}

View file

@ -1,17 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Number;
/**
* http://schema.org/BroadcastFrequencySpecification
*
* @property-read SchemaTypeList<QuantitativeValue|Number> $broadcastFrequencyValue The frequency in MHz for a particular broadcast.
*/
interface BroadcastFrequencySpecification extends Intangible
{
}

View file

@ -1,25 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/BroadcastService
*
* @property-read SchemaTypeList<Text|BroadcastFrequencySpecification> $broadcastFrequency The frequency used for over-the-air broadcasts. Numeric values or simple ranges e.g. 87-99. In addition a shortcut idiom is supported for frequences of AM and FM radio channels, e.g. "87 FM".
* @property-read SchemaTypeList<Text> $broadcastTimezone The timezone in ISO 8601 format for which the service bases its broadcasts
* @property-read SchemaTypeList<Text> $videoFormat The type of screening or video broadcast used (e.g. IMAX, 3D, SD, HD, etc.).
* @property-read SchemaTypeList<BroadcastService> $parentService A broadcast service to which the broadcast service may belong to such as regional variations of a national channel.
* @property-read SchemaTypeList<Text> $broadcastDisplayName The name displayed in the channel guide. For many US affiliates, it is the network name.
* @property-read SchemaTypeList<Organization> $broadcastAffiliateOf The media network(s) whose content is broadcast on this station.
* @property-read SchemaTypeList<Place> $area The area within which users can expect to reach the broadcast service.
* @property-read SchemaTypeList<BroadcastChannel> $hasBroadcastChannel A broadcast channel of a broadcast service.
* @property-read SchemaTypeList<Organization> $broadcaster The organization owning or operating the broadcast service.
*/
interface BroadcastService extends Service
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BuddhistTemple
*/
interface BuddhistTemple extends PlaceOfWorship
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BusReservation
*/
interface BusReservation extends Reservation
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BusStation
*/
interface BusStation extends CivicStructure
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BusStop
*/
interface BusStop extends CivicStructure
{
}

View file

@ -1,20 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
use Brick\Schema\DataType\Text;
/**
* http://schema.org/BusTrip
*
* @property-read SchemaTypeList<Text> $busName The name of the bus (e.g. Bolt Express).
* @property-read SchemaTypeList<BusStation|BusStop> $departureBusStop The stop or station from which the bus departs.
* @property-read SchemaTypeList<BusStop|BusStation> $arrivalBusStop The stop or station from which the bus arrives.
* @property-read SchemaTypeList<Text> $busNumber The unique identifier for the bus.
*/
interface BusTrip extends Trip
{
}

View file

@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
use Brick\Schema\SchemaTypeList;
/**
* http://schema.org/BusinessAudience
*
* @property-read SchemaTypeList<QuantitativeValue> $yearsInOperation The age of the business.
* @property-read SchemaTypeList<QuantitativeValue> $yearlyRevenue The size of the business in annual revenue.
* @property-read SchemaTypeList<QuantitativeValue> $numberOfEmployees The number of employees in an organization e.g. business.
*/
interface BusinessAudience extends Audience
{
}

View file

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace Brick\Schema\Interfaces;
/**
* http://schema.org/BusinessEntityType
*/
interface BusinessEntityType extends Enumeration
{
}

Some files were not shown because too many files have changed in this diff Show more