ffs, i should have committed wayyy earlier

This commit is contained in:
Max Richter
2025-08-16 20:38:40 +02:00
commit 43644c4f40
25 changed files with 865 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schema.org/ImageObject",
"title": "ImageObject",
"description": "Minimal subset of schema.org/ImageObject for use in Recipe image property",
"type": "object",
"required": [
"@type",
"url"
],
"properties": {
"@type": {
"const": "ImageObject"
},
"url": {
"$ref": "url.json"
},
"caption": {
"type": "string",
"description": "A caption for the image."
},
"width": {
"type": [
"integer",
"string"
],
"description": "Width of the image in pixels or as a string with unit."
},
"height": {
"type": [
"integer",
"string"
],
"description": "Height of the image in pixels or as a string with unit."
}
},
"additionalProperties": true
}