Skip to content

Commit

Permalink
Merge pull request #208 from spatie/schema-19
Browse files Browse the repository at this point in the history
upgrade to schema.org v19
  • Loading branch information
Gummibeer authored Jan 11, 2024
2 parents ed07bb6 + 57efe63 commit 40f7e80
Show file tree
Hide file tree
Showing 895 changed files with 3,654 additions and 919 deletions.
2 changes: 1 addition & 1 deletion generator/Console/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$generator = new PackageGenerator();

$definitions = new Definitions([
'core' => 'https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/18.0/schemaorg-all-https.jsonld',
'core' => 'https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/19.0/schemaorg-all-https.jsonld',
]);

if (! $input->getOption('local')) {
Expand Down
2 changes: 1 addition & 1 deletion src/AMRadioChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function broadcastServiceTier($broadcastServiceTier)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/APIReference.php
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ public function dependencies($dependencies)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AboutPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ public function datePublished($datePublished)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AcceptAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/Accommodation.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public function containsPlace($containsPlace)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AccountingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public function department($department)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AchieveAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ActionAccessSpecification.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function category($category)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ActionStatusType.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ActivateAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AddAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function collection($collection)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AdministrativeArea.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function containsPlace($containsPlace)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AdultEntertainment.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public function department($department)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AdultOrientedEnumeration.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AdvertiserContentArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ public function datePublished($datePublished)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AggregateOffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public function deliveryLeadTime($deliveryLeadTime)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AggregateRating.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function bestRating($bestRating)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AgreeAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/Airline.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function department($department)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/Airport.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function containsPlace($containsPlace)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AlignmentObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AllocateAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AmpStory.php
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ public function datePublished($datePublished)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AmusementPark.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public function department($department)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AnalysisNewsArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ public function dateline($dateline)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AnatomicalStructure.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function connectedTo($connectedTo)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AnatomicalSystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function comprisedOf($comprisedOf)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AnimalShelter.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function department($department)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/Answer.php
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ public function datePublished($datePublished)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/Apartment.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function containsPlace($containsPlace)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ApartmentComplex.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function containsPlace($containsPlace)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AppendAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function collection($collection)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ApplyAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ApprovedIndication.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function code($code)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/Aquarium.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function containsPlace($containsPlace)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ArchiveComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ public function datePublished($datePublished)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ArchiveOrganization.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public function department($department)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ArriveAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/ArtGallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public function department($department)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/Artery.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function connectedTo($connectedTo)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/Article.php
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ public function datePublished($datePublished)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
2 changes: 1 addition & 1 deletion src/AskAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function alternateName($alternateName)
/**
* A description of the item.
*
* @param string|string[] $description
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
Expand Down
Loading

0 comments on commit 40f7e80

Please sign in to comment.