Skip to content

Commit 63a4bd3

Browse files
authored
Merge pull request #212 from spatie/schema-23
upgrade to schema.org v23
2 parents d364392 + dc85f9c commit 63a4bd3

File tree

1,059 files changed

+4950
-1555
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,059 files changed

+4950
-1555
lines changed

generator/Console/GenerateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
3131
$generator = new PackageGenerator();
3232

3333
$definitions = new Definitions([
34-
'core' => 'https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/22.0/schemaorg-all-https.jsonld',
34+
'core' => 'https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/23.0/schemaorg-all-https.jsonld',
3535
]);
3636

3737
if (! $input->getOption('local')) {

src/AMRadioChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AMRadioChannel extends BaseType implements AMRadioChannelContract, Broadca
2727
* where useful information can be added without their being an appropriate
2828
* schema to reference. In the case of text values, the class label should
2929
* follow the schema.org [style
30-
* guide](https://schema.org/docs/styleguide.html)
30+
* guide](https://schema.org/docs/styleguide.html).
3131
*
3232
* @param string|string[] $additionalType
3333
*

src/APIReference.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function accessibilityHazard($accessibilityHazard)
154154
* deficiencies, consistent with the other accessibility metadata but
155155
* expressing subtleties such as "short descriptions are present but long
156156
* descriptions will be needed for non-visual users" or "short descriptions
157-
* are present and no long descriptions are needed."
157+
* are present and no long descriptions are needed".
158158
*
159159
* @param string|string[] $accessibilitySummary
160160
*
@@ -209,7 +209,7 @@ public function acquireLicensePage($acquireLicensePage)
209209
* where useful information can be added without their being an appropriate
210210
* schema to reference. In the case of text values, the class label should
211211
* follow the schema.org [style
212-
* guide](https://schema.org/docs/styleguide.html)
212+
* guide](https://schema.org/docs/styleguide.html).
213213
*
214214
* @param string|string[] $additionalType
215215
*
@@ -1838,7 +1838,7 @@ public function schemaVersion($schemaVersion)
18381838

18391839
/**
18401840
* Indicates the date on which the current structured data was generated /
1841-
* published. Typically used alongside [[sdPublisher]]
1841+
* published. Typically used alongside [[sdPublisher]].
18421842
*
18431843
* @param \DateTimeInterface|\DateTimeInterface[] $sdDatePublished
18441844
*

src/AboutPage.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function accessibilityHazard($accessibilityHazard)
153153
* deficiencies, consistent with the other accessibility metadata but
154154
* expressing subtleties such as "short descriptions are present but long
155155
* descriptions will be needed for non-visual users" or "short descriptions
156-
* are present and no long descriptions are needed."
156+
* are present and no long descriptions are needed".
157157
*
158158
* @param string|string[] $accessibilitySummary
159159
*
@@ -208,7 +208,7 @@ public function acquireLicensePage($acquireLicensePage)
208208
* where useful information can be added without their being an appropriate
209209
* schema to reference. In the case of text values, the class label should
210210
* follow the schema.org [style
211-
* guide](https://schema.org/docs/styleguide.html)
211+
* guide](https://schema.org/docs/styleguide.html).
212212
*
213213
* @param string|string[] $additionalType
214214
*
@@ -1747,7 +1747,7 @@ public function schemaVersion($schemaVersion)
17471747

17481748
/**
17491749
* Indicates the date on which the current structured data was generated /
1750-
* published. Typically used alongside [[sdPublisher]]
1750+
* published. Typically used alongside [[sdPublisher]].
17511751
*
17521752
* @param \DateTimeInterface|\DateTimeInterface[] $sdDatePublished
17531753
*

src/AcceptAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function actionStatus($actionStatus)
4444
* where useful information can be added without their being an appropriate
4545
* schema to reference. In the case of text values, the class label should
4646
* follow the schema.org [style
47-
* guide](https://schema.org/docs/styleguide.html)
47+
* guide](https://schema.org/docs/styleguide.html).
4848
*
4949
* @param string|string[] $additionalType
5050
*

src/Accommodation.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function additionalProperty($additionalProperty)
9090
* where useful information can be added without their being an appropriate
9191
* schema to reference. In the case of text values, the class label should
9292
* follow the schema.org [style
93-
* guide](https://schema.org/docs/styleguide.html)
93+
* guide](https://schema.org/docs/styleguide.html).
9494
*
9595
* @param string|string[] $additionalType
9696
*
@@ -341,7 +341,7 @@ public function floorLevel($floorLevel)
341341
/**
342342
* The size of the accommodation, e.g. in square meter or squarefoot.
343343
* Typical unit code(s): MTK for square meter, FTK for square foot, or YDK
344-
* for square yard
344+
* for square yard.
345345
*
346346
* @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $floorSize
347347
*
@@ -899,7 +899,7 @@ public function numberOfRooms($numberOfRooms)
899899
* infants etc). For individual accommodations, this is not necessarily the
900900
* legal maximum but defines the permitted usage as per the contractual
901901
* agreement (e.g. a double room used by a single person).
902-
* Typical unit code(s): C62 for person
902+
* Typical unit code(s): C62 for person.
903903
*
904904
* @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $occupancy
905905
*
@@ -1000,7 +1000,7 @@ public function potentialAction($potentialAction)
10001000

10011001
/**
10021002
* A flag to signal that the [[Place]] is open to public visitors. If this
1003-
* property is omitted there is no assumed default boolean value
1003+
* property is omitted there is no assumed default boolean value.
10041004
*
10051005
* @param bool|bool[] $publicAccess
10061006
*

src/AccountingService.php

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function additionalProperty($additionalProperty)
7171
* where useful information can be added without their being an appropriate
7272
* schema to reference. In the case of text values, the class label should
7373
* follow the schema.org [style
74-
* guide](https://schema.org/docs/styleguide.html)
74+
* guide](https://schema.org/docs/styleguide.html).
7575
*
7676
* @param string|string[] $additionalType
7777
*
@@ -98,6 +98,24 @@ public function address($address)
9898
return $this->setProperty('address', $address);
9999
}
100100

101+
/**
102+
* The number of completed interactions for this entity, in a particular
103+
* role (the 'agent'), in a particular action (indicated in the statistic),
104+
* and in a particular context (i.e. interactionService).
105+
*
106+
* @param \Spatie\SchemaOrg\Contracts\InteractionCounterContract|\Spatie\SchemaOrg\Contracts\InteractionCounterContract[] $agentInteractionStatistic
107+
*
108+
* @return static
109+
*
110+
* @see https://schema.org/agentInteractionStatistic
111+
* @see https://pending.schema.org
112+
* @link https://github.com/schemaorg/schemaorg/issues/2858
113+
*/
114+
public function agentInteractionStatistic($agentInteractionStatistic)
115+
{
116+
return $this->setProperty('agentInteractionStatistic', $agentInteractionStatistic);
117+
}
118+
101119
/**
102120
* The overall rating, based on a collection of reviews or ratings, of the
103121
* item.
@@ -1582,7 +1600,7 @@ public function priceRange($priceRange)
15821600

15831601
/**
15841602
* A flag to signal that the [[Place]] is open to public visitors. If this
1585-
* property is omitted there is no assumed default boolean value
1603+
* property is omitted there is no assumed default boolean value.
15861604
*
15871605
* @param bool|bool[] $publicAccess
15881606
*

src/AchieveAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function actionStatus($actionStatus)
3939
* where useful information can be added without their being an appropriate
4040
* schema to reference. In the case of text values, the class label should
4141
* follow the schema.org [style
42-
* guide](https://schema.org/docs/styleguide.html)
42+
* guide](https://schema.org/docs/styleguide.html).
4343
*
4444
* @param string|string[] $additionalType
4545
*

src/Action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function actionStatus($actionStatus)
4444
* where useful information can be added without their being an appropriate
4545
* schema to reference. In the case of text values, the class label should
4646
* follow the schema.org [style
47-
* guide](https://schema.org/docs/styleguide.html)
47+
* guide](https://schema.org/docs/styleguide.html).
4848
*
4949
* @param string|string[] $additionalType
5050
*

src/ActionAccessSpecification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ActionAccessSpecification extends BaseType implements ActionAccessSpecific
2525
* where useful information can be added without their being an appropriate
2626
* schema to reference. In the case of text values, the class label should
2727
* follow the schema.org [style
28-
* guide](https://schema.org/docs/styleguide.html)
28+
* guide](https://schema.org/docs/styleguide.html).
2929
*
3030
* @param string|string[] $additionalType
3131
*

0 commit comments

Comments
 (0)