Completed
Push — master ( fd0635...f2796c )
by Tom
06:08
created

CreativeWork::spatial()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
/**
6
 * The most generic kind of creative work, including books, movies, photographs,
7
 * software programs, etc.
8
 *
9
 * @see http://schema.org/CreativeWork
10
 *
11
 * @mixin \Spatie\SchemaOrg\Thing
12
 */
13
class CreativeWork extends BaseType
14
{
15
    /**
16
     * The subject matter of the content.
17
     *
18
     * @param Thing|Thing[] $about
19
     *
20
     * @return static
21
     *
22
     * @see http://schema.org/about
23
     */
24
    public function about($about)
25
    {
26
        return $this->setProperty('about', $about);
27
    }
28
29
    /**
30
     * The human sensory perceptual system or cognitive faculty through which a
31
     * person may process or perceive information. Expected values include:
32
     * auditory, tactile, textual, visual, colorDependent, chartOnVisual,
33
     * chemOnVisual, diagramOnVisual, mathOnVisual, musicOnVisual, textOnVisual.
34
     *
35
     * @param string|string[] $accessMode
36
     *
37
     * @return static
38
     *
39
     * @see http://schema.org/accessMode
40
     */
41
    public function accessMode($accessMode)
42
    {
43
        return $this->setProperty('accessMode', $accessMode);
44
    }
45
46
    /**
47
     * A list of single or combined accessModes that are sufficient to
48
     * understand all the intellectual content of a resource. Expected values
49
     * include:  auditory, tactile, textual, visual.
50
     *
51
     * @param string|string[] $accessModeSufficient
52
     *
53
     * @return static
54
     *
55
     * @see http://schema.org/accessModeSufficient
56
     */
57
    public function accessModeSufficient($accessModeSufficient)
58
    {
59
        return $this->setProperty('accessModeSufficient', $accessModeSufficient);
60
    }
61
62
    /**
63
     * Indicates that the resource is compatible with the referenced
64
     * accessibility API ([WebSchemas wiki lists possible
65
     * values](http://www.w3.org/wiki/WebSchemas/Accessibility)).
66
     *
67
     * @param string|string[] $accessibilityAPI
68
     *
69
     * @return static
70
     *
71
     * @see http://schema.org/accessibilityAPI
72
     */
73
    public function accessibilityAPI($accessibilityAPI)
74
    {
75
        return $this->setProperty('accessibilityAPI', $accessibilityAPI);
76
    }
77
78
    /**
79
     * Identifies input methods that are sufficient to fully control the
80
     * described resource ([WebSchemas wiki lists possible
81
     * values](http://www.w3.org/wiki/WebSchemas/Accessibility)).
82
     *
83
     * @param string|string[] $accessibilityControl
84
     *
85
     * @return static
86
     *
87
     * @see http://schema.org/accessibilityControl
88
     */
89
    public function accessibilityControl($accessibilityControl)
90
    {
91
        return $this->setProperty('accessibilityControl', $accessibilityControl);
92
    }
93
94
    /**
95
     * Content features of the resource, such as accessible media, alternatives
96
     * and supported enhancements for accessibility ([WebSchemas wiki lists
97
     * possible values](http://www.w3.org/wiki/WebSchemas/Accessibility)).
98
     *
99
     * @param string|string[] $accessibilityFeature
100
     *
101
     * @return static
102
     *
103
     * @see http://schema.org/accessibilityFeature
104
     */
105
    public function accessibilityFeature($accessibilityFeature)
106
    {
107
        return $this->setProperty('accessibilityFeature', $accessibilityFeature);
108
    }
109
110
    /**
111
     * A characteristic of the described resource that is physiologically
112
     * dangerous to some users. Related to WCAG 2.0 guideline 2.3 ([WebSchemas
113
     * wiki lists possible
114
     * values](http://www.w3.org/wiki/WebSchemas/Accessibility)).
115
     *
116
     * @param string|string[] $accessibilityHazard
117
     *
118
     * @return static
119
     *
120
     * @see http://schema.org/accessibilityHazard
121
     */
122
    public function accessibilityHazard($accessibilityHazard)
123
    {
124
        return $this->setProperty('accessibilityHazard', $accessibilityHazard);
125
    }
126
127
    /**
128
     * A human-readable summary of specific accessibility features or
129
     * deficiencies, consistent with the other accessibility metadata but
130
     * expressing subtleties such as "short descriptions are present but long
131
     * descriptions will be needed for non-visual users" or "short descriptions
132
     * are present and no long descriptions are needed."
133
     *
134
     * @param string|string[] $accessibilitySummary
135
     *
136
     * @return static
137
     *
138
     * @see http://schema.org/accessibilitySummary
139
     */
140
    public function accessibilitySummary($accessibilitySummary)
141
    {
142
        return $this->setProperty('accessibilitySummary', $accessibilitySummary);
143
    }
144
145
    /**
146
     * Specifies the Person that is legally accountable for the CreativeWork.
147
     *
148
     * @param Person|Person[] $accountablePerson
149
     *
150
     * @return static
151
     *
152
     * @see http://schema.org/accountablePerson
153
     */
154
    public function accountablePerson($accountablePerson)
155
    {
156
        return $this->setProperty('accountablePerson', $accountablePerson);
157
    }
158
159
    /**
160
     * The overall rating, based on a collection of reviews or ratings, of the
161
     * item.
162
     *
163
     * @param AggregateRating|AggregateRating[] $aggregateRating
164
     *
165
     * @return static
166
     *
167
     * @see http://schema.org/aggregateRating
168
     */
169
    public function aggregateRating($aggregateRating)
170
    {
171
        return $this->setProperty('aggregateRating', $aggregateRating);
172
    }
173
174
    /**
175
     * A secondary title of the CreativeWork.
176
     *
177
     * @param string|string[] $alternativeHeadline
178
     *
179
     * @return static
180
     *
181
     * @see http://schema.org/alternativeHeadline
182
     */
183
    public function alternativeHeadline($alternativeHeadline)
184
    {
185
        return $this->setProperty('alternativeHeadline', $alternativeHeadline);
186
    }
187
188
    /**
189
     * A media object that encodes this CreativeWork. This property is a synonym
190
     * for encoding.
191
     *
192
     * @param MediaObject|MediaObject[] $associatedMedia
193
     *
194
     * @return static
195
     *
196
     * @see http://schema.org/associatedMedia
197
     */
198
    public function associatedMedia($associatedMedia)
199
    {
200
        return $this->setProperty('associatedMedia', $associatedMedia);
201
    }
202
203
    /**
204
     * An intended audience, i.e. a group for whom something was created.
205
     *
206
     * @param Audience|Audience[] $audience
207
     *
208
     * @return static
209
     *
210
     * @see http://schema.org/audience
211
     */
212
    public function audience($audience)
213
    {
214
        return $this->setProperty('audience', $audience);
215
    }
216
217
    /**
218
     * An embedded audio object.
219
     *
220
     * @param AudioObject|AudioObject[]|Clip|Clip[] $audio
221
     *
222
     * @return static
223
     *
224
     * @see http://schema.org/audio
225
     */
226
    public function audio($audio)
227
    {
228
        return $this->setProperty('audio', $audio);
229
    }
230
231
    /**
232
     * The author of this content or rating. Please note that author is special
233
     * in that HTML 5 provides a special mechanism for indicating authorship via
234
     * the rel tag. That is equivalent to this and may be used interchangeably.
235
     *
236
     * @param Organization|Organization[]|Person|Person[] $author
237
     *
238
     * @return static
239
     *
240
     * @see http://schema.org/author
241
     */
242
    public function author($author)
243
    {
244
        return $this->setProperty('author', $author);
245
    }
246
247
    /**
248
     * An award won by or for this item.
249
     *
250
     * @param string|string[] $award
251
     *
252
     * @return static
253
     *
254
     * @see http://schema.org/award
255
     */
256
    public function award($award)
257
    {
258
        return $this->setProperty('award', $award);
259
    }
260
261
    /**
262
     * Awards won by or for this item.
263
     *
264
     * @param string|string[] $awards
265
     *
266
     * @return static
267
     *
268
     * @see http://schema.org/awards
269
     */
270
    public function awards($awards)
271
    {
272
        return $this->setProperty('awards', $awards);
273
    }
274
275
    /**
276
     * Fictional person connected with a creative work.
277
     *
278
     * @param Person|Person[] $character
279
     *
280
     * @return static
281
     *
282
     * @see http://schema.org/character
283
     */
284
    public function character($character)
285
    {
286
        return $this->setProperty('character', $character);
287
    }
288
289
    /**
290
     * A citation or reference to another creative work, such as another
291
     * publication, web page, scholarly article, etc.
292
     *
293
     * @param CreativeWork|CreativeWork[]|string|string[] $citation
294
     *
295
     * @return static
296
     *
297
     * @see http://schema.org/citation
298
     */
299
    public function citation($citation)
300
    {
301
        return $this->setProperty('citation', $citation);
302
    }
303
304
    /**
305
     * Comments, typically from users.
306
     *
307
     * @param Comment|Comment[] $comment
308
     *
309
     * @return static
310
     *
311
     * @see http://schema.org/comment
312
     */
313
    public function comment($comment)
314
    {
315
        return $this->setProperty('comment', $comment);
316
    }
317
318
    /**
319
     * The number of comments this CreativeWork (e.g. Article, Question or
320
     * Answer) has received. This is most applicable to works published in Web
321
     * sites with commenting system; additional comments may exist elsewhere.
322
     *
323
     * @param int|int[] $commentCount
324
     *
325
     * @return static
326
     *
327
     * @see http://schema.org/commentCount
328
     */
329
    public function commentCount($commentCount)
330
    {
331
        return $this->setProperty('commentCount', $commentCount);
332
    }
333
334
    /**
335
     * The location depicted or described in the content. For example, the
336
     * location in a photograph or painting.
337
     *
338
     * @param Place|Place[] $contentLocation
339
     *
340
     * @return static
341
     *
342
     * @see http://schema.org/contentLocation
343
     */
344
    public function contentLocation($contentLocation)
345
    {
346
        return $this->setProperty('contentLocation', $contentLocation);
347
    }
348
349
    /**
350
     * Official rating of a piece of content&#x2014;for example,'MPAA PG-13'.
351
     *
352
     * @param Rating|Rating[]|string|string[] $contentRating
353
     *
354
     * @return static
355
     *
356
     * @see http://schema.org/contentRating
357
     */
358
    public function contentRating($contentRating)
359
    {
360
        return $this->setProperty('contentRating', $contentRating);
361
    }
362
363
    /**
364
     * A secondary contributor to the CreativeWork or Event.
365
     *
366
     * @param Organization|Organization[]|Person|Person[] $contributor
367
     *
368
     * @return static
369
     *
370
     * @see http://schema.org/contributor
371
     */
372
    public function contributor($contributor)
373
    {
374
        return $this->setProperty('contributor', $contributor);
375
    }
376
377
    /**
378
     * The party holding the legal copyright to the CreativeWork.
379
     *
380
     * @param Organization|Organization[]|Person|Person[] $copyrightHolder
381
     *
382
     * @return static
383
     *
384
     * @see http://schema.org/copyrightHolder
385
     */
386
    public function copyrightHolder($copyrightHolder)
387
    {
388
        return $this->setProperty('copyrightHolder', $copyrightHolder);
389
    }
390
391
    /**
392
     * The year during which the claimed copyright for the CreativeWork was
393
     * first asserted.
394
     *
395
     * @param float|float[]|int|int[] $copyrightYear
396
     *
397
     * @return static
398
     *
399
     * @see http://schema.org/copyrightYear
400
     */
401
    public function copyrightYear($copyrightYear)
402
    {
403
        return $this->setProperty('copyrightYear', $copyrightYear);
404
    }
405
406
    /**
407
     * The creator/author of this CreativeWork. This is the same as the Author
408
     * property for CreativeWork.
409
     *
410
     * @param Organization|Organization[]|Person|Person[] $creator
411
     *
412
     * @return static
413
     *
414
     * @see http://schema.org/creator
415
     */
416
    public function creator($creator)
417
    {
418
        return $this->setProperty('creator', $creator);
419
    }
420
421
    /**
422
     * The date on which the CreativeWork was created or the item was added to a
423
     * DataFeed.
424
     *
425
     * @param \DateTimeInterface|\DateTimeInterface[] $dateCreated
426
     *
427
     * @return static
428
     *
429
     * @see http://schema.org/dateCreated
430
     */
431
    public function dateCreated($dateCreated)
432
    {
433
        return $this->setProperty('dateCreated', $dateCreated);
434
    }
435
436
    /**
437
     * The date on which the CreativeWork was most recently modified or when the
438
     * item's entry was modified within a DataFeed.
439
     *
440
     * @param \DateTimeInterface|\DateTimeInterface[] $dateModified
441
     *
442
     * @return static
443
     *
444
     * @see http://schema.org/dateModified
445
     */
446
    public function dateModified($dateModified)
447
    {
448
        return $this->setProperty('dateModified', $dateModified);
449
    }
450
451
    /**
452
     * Date of first broadcast/publication.
453
     *
454
     * @param \DateTimeInterface|\DateTimeInterface[] $datePublished
455
     *
456
     * @return static
457
     *
458
     * @see http://schema.org/datePublished
459
     */
460
    public function datePublished($datePublished)
461
    {
462
        return $this->setProperty('datePublished', $datePublished);
463
    }
464
465
    /**
466
     * A link to the page containing the comments of the CreativeWork.
467
     *
468
     * @param string|string[] $discussionUrl
469
     *
470
     * @return static
471
     *
472
     * @see http://schema.org/discussionUrl
473
     */
474
    public function discussionUrl($discussionUrl)
475
    {
476
        return $this->setProperty('discussionUrl', $discussionUrl);
477
    }
478
479
    /**
480
     * Specifies the Person who edited the CreativeWork.
481
     *
482
     * @param Person|Person[] $editor
483
     *
484
     * @return static
485
     *
486
     * @see http://schema.org/editor
487
     */
488
    public function editor($editor)
489
    {
490
        return $this->setProperty('editor', $editor);
491
    }
492
493
    /**
494
     * An alignment to an established educational framework.
495
     *
496
     * @param AlignmentObject|AlignmentObject[] $educationalAlignment
497
     *
498
     * @return static
499
     *
500
     * @see http://schema.org/educationalAlignment
501
     */
502
    public function educationalAlignment($educationalAlignment)
503
    {
504
        return $this->setProperty('educationalAlignment', $educationalAlignment);
505
    }
506
507
    /**
508
     * The purpose of a work in the context of education; for example,
509
     * 'assignment', 'group work'.
510
     *
511
     * @param string|string[] $educationalUse
512
     *
513
     * @return static
514
     *
515
     * @see http://schema.org/educationalUse
516
     */
517
    public function educationalUse($educationalUse)
518
    {
519
        return $this->setProperty('educationalUse', $educationalUse);
520
    }
521
522
    /**
523
     * A media object that encodes this CreativeWork. This property is a synonym
524
     * for associatedMedia.
525
     *
526
     * @param MediaObject|MediaObject[] $encoding
527
     *
528
     * @return static
529
     *
530
     * @see http://schema.org/encoding
531
     */
532
    public function encoding($encoding)
533
    {
534
        return $this->setProperty('encoding', $encoding);
535
    }
536
537
    /**
538
     * Media type typically expressed using a MIME format (see [IANA
539
     * site](http://www.iana.org/assignments/media-types/media-types.xhtml) and
540
     * [MDN
541
     * reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types))
542
     * e.g. application/zip for a SoftwareApplication binary, audio/mpeg for
543
     * .mp3 etc.).
544
     * 
545
     * In cases where a [[CreativeWork]] has several media type representations,
546
     * [[encoding]] can be used to indicate each [[MediaObject]] alongside
547
     * particular [[encodingFormat]] information.
548
     * 
549
     * Unregistered or niche encoding and file formats can be indicated instead
550
     * via the most appropriate URL, e.g. defining Web page or a
551
     * Wikipedia/Wikidata entry.
552
     *
553
     * @param string|string[] $encodingFormat
554
     *
555
     * @return static
556
     *
557
     * @see http://schema.org/encodingFormat
558
     */
559
    public function encodingFormat($encodingFormat)
560
    {
561
        return $this->setProperty('encodingFormat', $encodingFormat);
562
    }
563
564
    /**
565
     * A media object that encodes this CreativeWork.
566
     *
567
     * @param MediaObject|MediaObject[] $encodings
568
     *
569
     * @return static
570
     *
571
     * @see http://schema.org/encodings
572
     */
573
    public function encodings($encodings)
574
    {
575
        return $this->setProperty('encodings', $encodings);
576
    }
577
578
    /**
579
     * A creative work that this work is an
580
     * example/instance/realization/derivation of.
581
     *
582
     * @param CreativeWork|CreativeWork[] $exampleOfWork
583
     *
584
     * @return static
585
     *
586
     * @see http://schema.org/exampleOfWork
587
     */
588
    public function exampleOfWork($exampleOfWork)
589
    {
590
        return $this->setProperty('exampleOfWork', $exampleOfWork);
591
    }
592
593
    /**
594
     * Date the content expires and is no longer useful or available. For
595
     * example a [[VideoObject]] or [[NewsArticle]] whose availability or
596
     * relevance is time-limited, or a [[ClaimReview]] fact check whose
597
     * publisher wants to indicate that it may no longer be relevant (or helpful
598
     * to highlight) after some date.
599
     *
600
     * @param \DateTimeInterface|\DateTimeInterface[] $expires
601
     *
602
     * @return static
603
     *
604
     * @see http://schema.org/expires
605
     */
606
    public function expires($expires)
607
    {
608
        return $this->setProperty('expires', $expires);
609
    }
610
611
    /**
612
     * Media type, typically MIME format (see [IANA
613
     * site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of
614
     * the content e.g. application/zip of a SoftwareApplication binary. In
615
     * cases where a CreativeWork has several media type representations,
616
     * 'encoding' can be used to indicate each MediaObject alongside particular
617
     * fileFormat information. Unregistered or niche file formats can be
618
     * indicated instead via the most appropriate URL, e.g. defining Web page or
619
     * a Wikipedia entry.
620
     *
621
     * @param string|string[] $fileFormat
622
     *
623
     * @return static
624
     *
625
     * @see http://schema.org/fileFormat
626
     */
627
    public function fileFormat($fileFormat)
628
    {
629
        return $this->setProperty('fileFormat', $fileFormat);
630
    }
631
632
    /**
633
     * A person or organization that supports (sponsors) something through some
634
     * kind of financial contribution.
635
     *
636
     * @param Organization|Organization[]|Person|Person[] $funder
637
     *
638
     * @return static
639
     *
640
     * @see http://schema.org/funder
641
     */
642
    public function funder($funder)
643
    {
644
        return $this->setProperty('funder', $funder);
645
    }
646
647
    /**
648
     * Genre of the creative work, broadcast channel or group.
649
     *
650
     * @param string|string[] $genre
651
     *
652
     * @return static
653
     *
654
     * @see http://schema.org/genre
655
     */
656
    public function genre($genre)
657
    {
658
        return $this->setProperty('genre', $genre);
659
    }
660
661
    /**
662
     * Indicates an item or CreativeWork that is part of this item, or
663
     * CreativeWork (in some sense).
664
     *
665
     * @param CreativeWork|CreativeWork[] $hasPart
666
     *
667
     * @return static
668
     *
669
     * @see http://schema.org/hasPart
670
     */
671
    public function hasPart($hasPart)
672
    {
673
        return $this->setProperty('hasPart', $hasPart);
674
    }
675
676
    /**
677
     * Headline of the article.
678
     *
679
     * @param string|string[] $headline
680
     *
681
     * @return static
682
     *
683
     * @see http://schema.org/headline
684
     */
685
    public function headline($headline)
686
    {
687
        return $this->setProperty('headline', $headline);
688
    }
689
690
    /**
691
     * The language of the content or performance or used in an action. Please
692
     * use one of the language codes from the [IETF BCP 47
693
     * standard](http://tools.ietf.org/html/bcp47). See also
694
     * [[availableLanguage]].
695
     *
696
     * @param Language|Language[]|string|string[] $inLanguage
697
     *
698
     * @return static
699
     *
700
     * @see http://schema.org/inLanguage
701
     */
702
    public function inLanguage($inLanguage)
703
    {
704
        return $this->setProperty('inLanguage', $inLanguage);
705
    }
706
707
    /**
708
     * The number of interactions for the CreativeWork using the WebSite or
709
     * SoftwareApplication. The most specific child type of InteractionCounter
710
     * should be used.
711
     *
712
     * @param InteractionCounter|InteractionCounter[] $interactionStatistic
713
     *
714
     * @return static
715
     *
716
     * @see http://schema.org/interactionStatistic
717
     */
718
    public function interactionStatistic($interactionStatistic)
719
    {
720
        return $this->setProperty('interactionStatistic', $interactionStatistic);
721
    }
722
723
    /**
724
     * The predominant mode of learning supported by the learning resource.
725
     * Acceptable values are 'active', 'expositive', or 'mixed'.
726
     *
727
     * @param string|string[] $interactivityType
728
     *
729
     * @return static
730
     *
731
     * @see http://schema.org/interactivityType
732
     */
733
    public function interactivityType($interactivityType)
734
    {
735
        return $this->setProperty('interactivityType', $interactivityType);
736
    }
737
738
    /**
739
     * A flag to signal that the item, event, or place is accessible for free.
740
     *
741
     * @param bool|bool[] $isAccessibleForFree
742
     *
743
     * @return static
744
     *
745
     * @see http://schema.org/isAccessibleForFree
746
     */
747
    public function isAccessibleForFree($isAccessibleForFree)
748
    {
749
        return $this->setProperty('isAccessibleForFree', $isAccessibleForFree);
750
    }
751
752
    /**
753
     * A resource from which this work is derived or from which it is a
754
     * modification or adaption.
755
     *
756
     * @param CreativeWork|CreativeWork[]|Product|Product[]|string|string[] $isBasedOn
757
     *
758
     * @return static
759
     *
760
     * @see http://schema.org/isBasedOn
761
     */
762
    public function isBasedOn($isBasedOn)
763
    {
764
        return $this->setProperty('isBasedOn', $isBasedOn);
765
    }
766
767
    /**
768
     * A resource that was used in the creation of this resource. This term can
769
     * be repeated for multiple sources. For example,
770
     * http://example.com/great-multiplication-intro.html.
771
     *
772
     * @param CreativeWork|CreativeWork[]|Product|Product[]|string|string[] $isBasedOnUrl
773
     *
774
     * @return static
775
     *
776
     * @see http://schema.org/isBasedOnUrl
777
     */
778
    public function isBasedOnUrl($isBasedOnUrl)
779
    {
780
        return $this->setProperty('isBasedOnUrl', $isBasedOnUrl);
781
    }
782
783
    /**
784
     * Indicates whether this content is family friendly.
785
     *
786
     * @param bool|bool[] $isFamilyFriendly
787
     *
788
     * @return static
789
     *
790
     * @see http://schema.org/isFamilyFriendly
791
     */
792
    public function isFamilyFriendly($isFamilyFriendly)
793
    {
794
        return $this->setProperty('isFamilyFriendly', $isFamilyFriendly);
795
    }
796
797
    /**
798
     * Indicates an item or CreativeWork that this item, or CreativeWork (in
799
     * some sense), is part of.
800
     *
801
     * @param CreativeWork|CreativeWork[] $isPartOf
802
     *
803
     * @return static
804
     *
805
     * @see http://schema.org/isPartOf
806
     */
807
    public function isPartOf($isPartOf)
808
    {
809
        return $this->setProperty('isPartOf', $isPartOf);
810
    }
811
812
    /**
813
     * Keywords or tags used to describe this content. Multiple entries in a
814
     * keywords list are typically delimited by commas.
815
     *
816
     * @param string|string[] $keywords
817
     *
818
     * @return static
819
     *
820
     * @see http://schema.org/keywords
821
     */
822
    public function keywords($keywords)
823
    {
824
        return $this->setProperty('keywords', $keywords);
825
    }
826
827
    /**
828
     * The predominant type or kind characterizing the learning resource. For
829
     * example, 'presentation', 'handout'.
830
     *
831
     * @param string|string[] $learningResourceType
832
     *
833
     * @return static
834
     *
835
     * @see http://schema.org/learningResourceType
836
     */
837
    public function learningResourceType($learningResourceType)
838
    {
839
        return $this->setProperty('learningResourceType', $learningResourceType);
840
    }
841
842
    /**
843
     * A license document that applies to this content, typically indicated by
844
     * URL.
845
     *
846
     * @param CreativeWork|CreativeWork[]|string|string[] $license
847
     *
848
     * @return static
849
     *
850
     * @see http://schema.org/license
851
     */
852
    public function license($license)
853
    {
854
        return $this->setProperty('license', $license);
855
    }
856
857
    /**
858
     * The location where the CreativeWork was created, which may not be the
859
     * same as the location depicted in the CreativeWork.
860
     *
861
     * @param Place|Place[] $locationCreated
862
     *
863
     * @return static
864
     *
865
     * @see http://schema.org/locationCreated
866
     */
867
    public function locationCreated($locationCreated)
868
    {
869
        return $this->setProperty('locationCreated', $locationCreated);
870
    }
871
872
    /**
873
     * Indicates the primary entity described in some page or other
874
     * CreativeWork.
875
     *
876
     * @param Thing|Thing[] $mainEntity
877
     *
878
     * @return static
879
     *
880
     * @see http://schema.org/mainEntity
881
     */
882
    public function mainEntity($mainEntity)
883
    {
884
        return $this->setProperty('mainEntity', $mainEntity);
885
    }
886
887
    /**
888
     * A material that something is made from, e.g. leather, wool, cotton,
889
     * paper.
890
     *
891
     * @param Product|Product[]|string|string[] $material
892
     *
893
     * @return static
894
     *
895
     * @see http://schema.org/material
896
     */
897
    public function material($material)
898
    {
899
        return $this->setProperty('material', $material);
900
    }
901
902
    /**
903
     * Indicates that the CreativeWork contains a reference to, but is not
904
     * necessarily about a concept.
905
     *
906
     * @param Thing|Thing[] $mentions
907
     *
908
     * @return static
909
     *
910
     * @see http://schema.org/mentions
911
     */
912
    public function mentions($mentions)
913
    {
914
        return $this->setProperty('mentions', $mentions);
915
    }
916
917
    /**
918
     * An offer to provide this item&#x2014;for example, an offer to sell a
919
     * product, rent the DVD of a movie, perform a service, or give away tickets
920
     * to an event.
921
     *
922
     * @param Offer|Offer[] $offers
923
     *
924
     * @return static
925
     *
926
     * @see http://schema.org/offers
927
     */
928
    public function offers($offers)
929
    {
930
        return $this->setProperty('offers', $offers);
931
    }
932
933
    /**
934
     * The position of an item in a series or sequence of items.
935
     *
936
     * @param int|int[]|string|string[] $position
937
     *
938
     * @return static
939
     *
940
     * @see http://schema.org/position
941
     */
942
    public function position($position)
943
    {
944
        return $this->setProperty('position', $position);
945
    }
946
947
    /**
948
     * The person or organization who produced the work (e.g. music album,
949
     * movie, tv/radio series etc.).
950
     *
951
     * @param Organization|Organization[]|Person|Person[] $producer
952
     *
953
     * @return static
954
     *
955
     * @see http://schema.org/producer
956
     */
957
    public function producer($producer)
958
    {
959
        return $this->setProperty('producer', $producer);
960
    }
961
962
    /**
963
     * The service provider, service operator, or service performer; the goods
964
     * producer. Another party (a seller) may offer those services or goods on
965
     * behalf of the provider. A provider may also serve as the seller.
966
     *
967
     * @param Organization|Organization[]|Person|Person[] $provider
968
     *
969
     * @return static
970
     *
971
     * @see http://schema.org/provider
972
     */
973
    public function provider($provider)
974
    {
975
        return $this->setProperty('provider', $provider);
976
    }
977
978
    /**
979
     * A publication event associated with the item.
980
     *
981
     * @param PublicationEvent|PublicationEvent[] $publication
982
     *
983
     * @return static
984
     *
985
     * @see http://schema.org/publication
986
     */
987
    public function publication($publication)
988
    {
989
        return $this->setProperty('publication', $publication);
990
    }
991
992
    /**
993
     * The publisher of the creative work.
994
     *
995
     * @param Organization|Organization[]|Person|Person[] $publisher
996
     *
997
     * @return static
998
     *
999
     * @see http://schema.org/publisher
1000
     */
1001
    public function publisher($publisher)
1002
    {
1003
        return $this->setProperty('publisher', $publisher);
1004
    }
1005
1006
    /**
1007
     * The publishingPrinciples property indicates (typically via [[URL]]) a
1008
     * document describing the editorial principles of an [[Organization]] (or
1009
     * individual e.g. a [[Person]] writing a blog) that relate to their
1010
     * activities as a publisher, e.g. ethics or diversity policies. When
1011
     * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are
1012
     * those of the party primarily responsible for the creation of the
1013
     * [[CreativeWork]].
1014
     * 
1015
     * While such policies are most typically expressed in natural language,
1016
     * sometimes related information (e.g. indicating a [[funder]]) can be
1017
     * expressed using schema.org terminology.
1018
     *
1019
     * @param CreativeWork|CreativeWork[]|string|string[] $publishingPrinciples
1020
     *
1021
     * @return static
1022
     *
1023
     * @see http://schema.org/publishingPrinciples
1024
     */
1025
    public function publishingPrinciples($publishingPrinciples)
1026
    {
1027
        return $this->setProperty('publishingPrinciples', $publishingPrinciples);
1028
    }
1029
1030
    /**
1031
     * The Event where the CreativeWork was recorded. The CreativeWork may
1032
     * capture all or part of the event.
1033
     *
1034
     * @param Event|Event[] $recordedAt
1035
     *
1036
     * @return static
1037
     *
1038
     * @see http://schema.org/recordedAt
1039
     */
1040
    public function recordedAt($recordedAt)
1041
    {
1042
        return $this->setProperty('recordedAt', $recordedAt);
1043
    }
1044
1045
    /**
1046
     * The place and time the release was issued, expressed as a
1047
     * PublicationEvent.
1048
     *
1049
     * @param PublicationEvent|PublicationEvent[] $releasedEvent
1050
     *
1051
     * @return static
1052
     *
1053
     * @see http://schema.org/releasedEvent
1054
     */
1055
    public function releasedEvent($releasedEvent)
1056
    {
1057
        return $this->setProperty('releasedEvent', $releasedEvent);
1058
    }
1059
1060
    /**
1061
     * A review of the item.
1062
     *
1063
     * @param Review|Review[] $review
1064
     *
1065
     * @return static
1066
     *
1067
     * @see http://schema.org/review
1068
     */
1069
    public function review($review)
1070
    {
1071
        return $this->setProperty('review', $review);
1072
    }
1073
1074
    /**
1075
     * Review of the item.
1076
     *
1077
     * @param Review|Review[] $reviews
1078
     *
1079
     * @return static
1080
     *
1081
     * @see http://schema.org/reviews
1082
     */
1083
    public function reviews($reviews)
1084
    {
1085
        return $this->setProperty('reviews', $reviews);
1086
    }
1087
1088
    /**
1089
     * Indicates (by URL or string) a particular version of a schema used in
1090
     * some CreativeWork. For example, a document could declare a schemaVersion
1091
     * using an URL such as http://schema.org/version/2.0/ if precise indication
1092
     * of schema version was required by some application.
1093
     *
1094
     * @param string|string[] $schemaVersion
1095
     *
1096
     * @return static
1097
     *
1098
     * @see http://schema.org/schemaVersion
1099
     */
1100
    public function schemaVersion($schemaVersion)
1101
    {
1102
        return $this->setProperty('schemaVersion', $schemaVersion);
1103
    }
1104
1105
    /**
1106
     * The Organization on whose behalf the creator was working.
1107
     *
1108
     * @param Organization|Organization[] $sourceOrganization
1109
     *
1110
     * @return static
1111
     *
1112
     * @see http://schema.org/sourceOrganization
1113
     */
1114
    public function sourceOrganization($sourceOrganization)
1115
    {
1116
        return $this->setProperty('sourceOrganization', $sourceOrganization);
1117
    }
1118
1119
    /**
1120
     * The "spatial" property can be used in cases when more specific properties
1121
     * (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are
1122
     * not known to be appropriate.
1123
     *
1124
     * @param Place|Place[] $spatial
1125
     *
1126
     * @return static
1127
     *
1128
     * @see http://schema.org/spatial
1129
     */
1130
    public function spatial($spatial)
1131
    {
1132
        return $this->setProperty('spatial', $spatial);
1133
    }
1134
1135
    /**
1136
     * The spatialCoverage of a CreativeWork indicates the place(s) which are
1137
     * the focus of the content. It is a subproperty of
1138
     *       contentLocation intended primarily for more technical and detailed
1139
     * materials. For example with a Dataset, it indicates
1140
     *       areas that the dataset describes: a dataset of New York weather
1141
     * would have spatialCoverage which was the place: the state of New York.
1142
     *
1143
     * @param Place|Place[] $spatialCoverage
1144
     *
1145
     * @return static
1146
     *
1147
     * @see http://schema.org/spatialCoverage
1148
     */
1149
    public function spatialCoverage($spatialCoverage)
1150
    {
1151
        return $this->setProperty('spatialCoverage', $spatialCoverage);
1152
    }
1153
1154
    /**
1155
     * A person or organization that supports a thing through a pledge, promise,
1156
     * or financial contribution. e.g. a sponsor of a Medical Study or a
1157
     * corporate sponsor of an event.
1158
     *
1159
     * @param Organization|Organization[]|Person|Person[] $sponsor
1160
     *
1161
     * @return static
1162
     *
1163
     * @see http://schema.org/sponsor
1164
     */
1165
    public function sponsor($sponsor)
1166
    {
1167
        return $this->setProperty('sponsor', $sponsor);
1168
    }
1169
1170
    /**
1171
     * The "temporal" property can be used in cases where more specific
1172
     * properties
1173
     * (e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]],
1174
     * [[datePublished]]) are not known to be appropriate.
1175
     *
1176
     * @param \DateTimeInterface|\DateTimeInterface[]|string|string[] $temporal
1177
     *
1178
     * @return static
1179
     *
1180
     * @see http://schema.org/temporal
1181
     */
1182
    public function temporal($temporal)
1183
    {
1184
        return $this->setProperty('temporal', $temporal);
1185
    }
1186
1187
    /**
1188
     * The temporalCoverage of a CreativeWork indicates the period that the
1189
     * content applies to, i.e. that it describes, either as a DateTime or as a
1190
     * textual string indicating a time period in [ISO 8601 time interval
1191
     * format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In
1192
     *       the case of a Dataset it will typically indicate the relevant time
1193
     * period in a precise notation (e.g. for a 2011 census dataset, the year
1194
     * 2011 would be written "2011/2012"). Other forms of content e.g.
1195
     * ScholarlyArticle, Book, TVSeries or TVEpisode may indicate their
1196
     * temporalCoverage in broader terms - textually or via well-known URL.
1197
     *       Written works such as books may sometimes have precise temporal
1198
     * coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601
1199
     * interval format format via "1939/1945".
1200
     * 
1201
     * Open-ended date ranges can be written with ".." in place of the end date.
1202
     * For example, "2015-11/.." indicates a range beginning in November 2015
1203
     * and with no specified final date. This is tentative and might be updated
1204
     * in future when ISO 8601 is officially updated.
1205
     *
1206
     * @param \DateTimeInterface|\DateTimeInterface[]|string|string[] $temporalCoverage
1207
     *
1208
     * @return static
1209
     *
1210
     * @see http://schema.org/temporalCoverage
1211
     */
1212
    public function temporalCoverage($temporalCoverage)
1213
    {
1214
        return $this->setProperty('temporalCoverage', $temporalCoverage);
1215
    }
1216
1217
    /**
1218
     * The textual content of this CreativeWork.
1219
     *
1220
     * @param string|string[] $text
1221
     *
1222
     * @return static
1223
     *
1224
     * @see http://schema.org/text
1225
     */
1226
    public function text($text)
1227
    {
1228
        return $this->setProperty('text', $text);
1229
    }
1230
1231
    /**
1232
     * A thumbnail image relevant to the Thing.
1233
     *
1234
     * @param string|string[] $thumbnailUrl
1235
     *
1236
     * @return static
1237
     *
1238
     * @see http://schema.org/thumbnailUrl
1239
     */
1240
    public function thumbnailUrl($thumbnailUrl)
1241
    {
1242
        return $this->setProperty('thumbnailUrl', $thumbnailUrl);
1243
    }
1244
1245
    /**
1246
     * Approximate or typical time it takes to work with or through this
1247
     * learning resource for the typical intended target audience, e.g. 'PT30M',
1248
     * 'PT1H25M'.
1249
     *
1250
     * @param Duration|Duration[] $timeRequired
1251
     *
1252
     * @return static
1253
     *
1254
     * @see http://schema.org/timeRequired
1255
     */
1256
    public function timeRequired($timeRequired)
1257
    {
1258
        return $this->setProperty('timeRequired', $timeRequired);
1259
    }
1260
1261
    /**
1262
     * Organization or person who adapts a creative work to different languages,
1263
     * regional differences and technical requirements of a target market, or
1264
     * that translates during some event.
1265
     *
1266
     * @param Organization|Organization[]|Person|Person[] $translator
1267
     *
1268
     * @return static
1269
     *
1270
     * @see http://schema.org/translator
1271
     */
1272
    public function translator($translator)
1273
    {
1274
        return $this->setProperty('translator', $translator);
1275
    }
1276
1277
    /**
1278
     * The typical expected age range, e.g. '7-9', '11-'.
1279
     *
1280
     * @param string|string[] $typicalAgeRange
1281
     *
1282
     * @return static
1283
     *
1284
     * @see http://schema.org/typicalAgeRange
1285
     */
1286
    public function typicalAgeRange($typicalAgeRange)
1287
    {
1288
        return $this->setProperty('typicalAgeRange', $typicalAgeRange);
1289
    }
1290
1291
    /**
1292
     * The version of the CreativeWork embodied by a specified resource.
1293
     *
1294
     * @param float|float[]|int|int[]|string|string[] $version
1295
     *
1296
     * @return static
1297
     *
1298
     * @see http://schema.org/version
1299
     */
1300
    public function version($version)
1301
    {
1302
        return $this->setProperty('version', $version);
1303
    }
1304
1305
    /**
1306
     * An embedded video object.
1307
     *
1308
     * @param Clip|Clip[]|VideoObject|VideoObject[] $video
1309
     *
1310
     * @return static
1311
     *
1312
     * @see http://schema.org/video
1313
     */
1314
    public function video($video)
1315
    {
1316
        return $this->setProperty('video', $video);
1317
    }
1318
1319
    /**
1320
     * Example/instance/realization/derivation of the concept of this creative
1321
     * work. eg. The paperback edition, first edition, or eBook.
1322
     *
1323
     * @param CreativeWork|CreativeWork[] $workExample
1324
     *
1325
     * @return static
1326
     *
1327
     * @see http://schema.org/workExample
1328
     */
1329
    public function workExample($workExample)
1330
    {
1331
        return $this->setProperty('workExample', $workExample);
1332
    }
1333
1334
}
1335