Skip to content

Commit

Permalink
[TASK] Update schema definition to version 6.0
Browse files Browse the repository at this point in the history
Related: #3
  • Loading branch information
brotkrueml committed Jan 22, 2020
1 parent 8269668 commit b4983b9
Show file tree
Hide file tree
Showing 10 changed files with 2,248 additions and 2,090 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
- Add Signal/PSR-14 event to decide about embedding of markup (#29)
- Update schema definition to version 6.0 (#3)

## [1.4.2] - 2019-12-13

Expand Down
25 changes: 25 additions & 0 deletions Classes/Model/Type/MediaGallery.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);

namespace Brotkrueml\Schema\Model\Type;

/*
* This file is part of the "schema" extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*/

use Brotkrueml\Schema\Core\Model\AbstractType;
use Brotkrueml\Schema\Core\Model\WebPageTypeInterface;
use Brotkrueml\Schema\Model\TypeTrait;

/**
* Web page type: Media gallery page. A mixed-media page that can contains media such as images, videos, and other multimedia.
*/
final class MediaGallery extends AbstractType implements WebPageTypeInterface
{
use TypeTrait\CreativeWorkTrait;
use TypeTrait\ThingTrait;
use TypeTrait\WebPageTrait;
}
1 change: 1 addition & 0 deletions Classes/Model/TypeTrait/BroadcastServiceTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ trait BroadcastServiceTrait
protected $broadcastTimezone;
protected $broadcaster;
protected $hasBroadcastChannel;
protected $inLanguage;
protected $parentService;
protected $videoFormat;
}
1 change: 1 addition & 0 deletions Classes/Model/TypeTrait/OrganizationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ trait OrganizationTrait
protected $globalLocationNumber;
protected $hasOfferCatalog;
protected $hasPOS;
protected $interactionStatistic;
protected $isicV4;
protected $legalName;
protected $leiCode;
Expand Down
1 change: 1 addition & 0 deletions Classes/Model/TypeTrait/PersonTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ trait PersonTrait
protected $homeLocation;
protected $honorificPrefix;
protected $honorificSuffix;
protected $interactionStatistic;
protected $isicV4;
protected $jobTitle;
protected $knows;
Expand Down
2 changes: 2 additions & 0 deletions Classes/Provider/TypesProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ public function getTypes(): array
'MapCategoryType',
'MarryAction',
'Mass',
'MediaGallery',
'MediaObject',
'MediaSubscription',
'MedicalOrganization',
Expand Down Expand Up @@ -643,6 +644,7 @@ public function getWebPageTypes(): array
'FAQPage',
'ImageGallery',
'ItemPage',
'MediaGallery',
'ProfilePage',
'QAPage',
'SearchResultsPage',
Expand Down
20 changes: 20 additions & 0 deletions Classes/ViewHelpers/Type/MediaGalleryViewHelper.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);

namespace Brotkrueml\Schema\ViewHelpers\Type;

/*
* This file is part of the "schema" extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*/

use Brotkrueml\Schema\Core\ViewHelpers\AbstractTypeViewHelper;

/**
* Web page type: Media gallery page. A mixed-media page that can contains media such as images, videos, and other multimedia.
*/
final class MediaGalleryViewHelper extends AbstractTypeViewHelper
{
}
3 changes: 3 additions & 0 deletions Documentation/Editor/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ ImageGallery Page with an image gallery as the most valuable content
------------------ ----------------------------------------------------------------------------------
ItemPage Page about a single item, e.g. a blog posting, a photograph, a product
------------------ ----------------------------------------------------------------------------------
MediaGallery A mixed-media page that can contains media such as images, videos, and other
multimedia
------------------ ----------------------------------------------------------------------------------
ProfilePage Page for user profiles
------------------ ----------------------------------------------------------------------------------
QAPage A page with a question and one or more answers to this question
Expand Down
Loading

0 comments on commit b4983b9

Please sign in to comment.