- Issue created by @wim leers
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
@lauriii, do you agree that does not make sense to support, and the 3 remaining missing
$ref
s in the issue summary would address all needs?
XB already has
json-schema-definitions://experience_builder.module/image
, which allows rendering an imagejson-schema-definitions://experience_builder.module/image-uri
, which allows linking an imageThe 3 missing $ref
s to use in SDCs' schemas:
Note that in core, the:
txt rtf doc docx ppt pptx xls xlsx pdf odf odg odp ods odt fodt fods fodp fodg key numbers pages
mp4
For the 3 missing concepts:
.mp4
, .webm
… URL, but you'd link to YouTube or Vimeo or …. How do we express that? 🤔 Seems like we'd need to draw inspiration from core's \Drupal\media\OEmbed\Resource
, which has ::TYPE_LINK
, ::TYPE_PHOTO
, ::TYPE_RICH
and ::TYPE_VIDEO
. "document-uri": {
"title": "Document URL",
"type": "string",
"format": "uri-reference",
"pattern": "^(/|https?://)?.*\\.(txt|rtf|doc|docx|ppt|pptx|xls|xlsx|pdf|odf|odg|odp|ods|odt|fodt|fods|fodp|fodg|key|numbers|pages)(\\?.*)?(#.*)?$"
},
TBD
Active
0.0
Shape matching
@lauriii, do you agree that does not make sense to support, and the 3 remaining missing $ref
s in the issue summary would address all needs?