brotkrueml / schema

TYPO3 extension providing an API and view helpers for schema.org markup

Home Page:https://extensions.typo3.org/extension/schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

educationRequirements in JobPosting missing

kimchristiansen opened this issue · comments

First of all thanks alot for the awesome extension!

educationRequirements (https://schema.org/educationRequirements) is missing in JobPosting (https://schema.org/JobPosting).
Is the missing attribute added automatically after the schema.org terms update (#3) ?

Thanks for the compliment :-)

"educationRequirement" is currently a pending property (recognisable by the blue colour). I don't add pending properties (or types) to the schema definition because they can change or vanish again - which would introduce unwanted breaking changes. When they are moved to the official specification (brown colour) they are added with the next update.

With the upcoming schema version 1.6 you have the possibility to use a slot or PSR-14 event listener to register additional properties to existing types, see #36 and have a look at the documentation:
https://docs.typo3.org/p/brotkrueml/schema/master/en-us/Developer/Events.html#register-additional-properties-for-a-type

I'm using in the schema extension a slot/event listener to add properties moved from official to pending (because of reasons) and to avoid BC:
https://github.com/brotkrueml/schema/blob/master/Classes/EventListener/RegisterTypePropertiesMovedFromOfficialToPending.php

I don't know yet when to release version 1.6, I want to have additional features in it. But you can give the master branch or 1.6.x-dev branch alias a try. Feedback is welcome :-)

Thanks for the fast answer!
seeing forward fo version 1.6