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

Map boolean property values to http://schema.org/[True|False]

brotkrueml opened this issue · comments

Currently, the API doesn't allow the setting of a boolean value to a property. But it would be nice, if this is possible and the values of such properties are mapped on http://schema.org/True or http://schema.org/False when embedding markup on the page.

  • Boolean values for properties are allowed.
  • They are mapped on the according schema.org types http://schema.org/True or http://schema.org/False
  • If in a view helper the property value "true" or "false" is used, they are casted to a Boolean.
  • The documentation is adjusted.