A single entry in the dream diary: a real dream, written down, paired with an image generated from it.
Record Key
any
Any valid record key
Properties
alt
string
Required
Alt text for the image, written the way the diary would describe it.
maxLength: 5120 bytesaspectHeight
integer
Required
Height component of the image aspect ratio.
minimum: 1aspectWidth
integer
Required
Width component of the image aspect ratio.
minimum: 1createdAt
string
datetime
Required
When this entry was logged.
date
string
Required
The date the dream was dreamed, as YYYY-MM-DD.
maxLength: 10 bytesminLength: 10 bytesfragment
string
Required
One line the dream said, shown in the serif voice.
maxLength: 2560 bytesmaxGraphemes: 256 graphemesimage
blob
Required
The generated dream image.
maxSize: 5.0 MBstory
array
of
string
Required
The whole story, one item per paragraph.
title
string
Required
The dream's title.
maxLength: 1280 bytesmaxGraphemes: 128 graphemesView raw schema
{
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"title",
"date",
"image",
"aspectWidth",
"aspectHeight",
"fragment",
"alt",
"story",
"createdAt"
],
"properties": {
"alt": {
"type": "string",
"maxLength": 5120,
"description": "Alt text for the image, written the way the diary would describe it."
},
"date": {
"type": "string",
"maxLength": 10,
"minLength": 10,
"description": "The date the dream was dreamed, as YYYY-MM-DD."
},
"image": {
"type": "blob",
"accept": [
"image/*"
],
"maxSize": 5000000,
"description": "The generated dream image."
},
"story": {
"type": "array",
"items": {
"type": "string",
"maxLength": 20480
},
"description": "The whole story, one item per paragraph."
},
"title": {
"type": "string",
"maxLength": 1280,
"description": "The dream's title.",
"maxGraphemes": 128
},
"fragment": {
"type": "string",
"maxLength": 2560,
"description": "One line the dream said, shown in the serif voice.",
"maxGraphemes": 256
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When this entry was logged."
},
"aspectWidth": {
"type": "integer",
"minimum": 1,
"description": "Width component of the image aspect ratio."
},
"aspectHeight": {
"type": "integer",
"minimum": 1,
"description": "Height component of the image aspect ratio."
}
}
},
"description": "A single entry in the dream diary: a real dream, written down, paired with an image generated from it."
}