ai.newnal.illi.family.mediaItem

illi-service.newnal.id

Documentation

One original photo or video in the home's content bank. The original and its derivatives (thumb, display, poster) are blobs on the author's PDN.

main record

One original photo or video in the home's content bank. The original and its derivatives (thumb, display, poster) are blobs on the author's PDN.

Record Key tid Timestamp-based ID

Properties

albumHidden boolean Optional

No description available.

Default: false
caption string Optional

No description available.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
contentHash string Optional

sha256 hex of the original bytes.

maxLength: 128 bytes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

display blob Optional

1600 px display rendition for the device. Present only when the original's longest side exceeds 1600 px; clients show the original otherwise.

maxSize: 2.0 MB
durationMs integer Optional

No description available.

minimum: 0
excludeFromDelivery boolean Optional

No description available.

Default: false
height integer Optional

No description available.

minimum: 1
kind string Required

No description available.

Known values: photo, video
media blob Required

No description available.

maxSize: 314.6 MB
poster blob Optional

Video poster frame.

maxSize: 2.0 MB
reviewState string Optional

No description available.

Known values: notRequired, pending, approved, rejected
takenAt string datetime Optional

An RFC 3339 formatted timestamp.

takenAtSource string Optional

No description available.

Known values: exif, upload, manual
thumb blob Optional

320 px thumbnail, generated by the Service Node and uploaded to the author's PDN.

maxSize: 200.0 KB
width integer Optional

No description available.

minimum: 1
View raw schema
{
  "description": "One original photo or video in the home's content bank. The original and its derivatives (thumb, display, poster) are blobs on the author's PDN.",
  "key": "tid",
  "record": {
    "properties": {
      "albumHidden": {
        "default": false,
        "type": "boolean"
      },
      "caption": {
        "maxGraphemes": 300,
        "maxLength": 3000,
        "type": "string"
      },
      "contentHash": {
        "description": "sha256 hex of the original bytes.",
        "maxLength": 128,
        "type": "string"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "display": {
        "accept": [
          "image/jpeg"
        ],
        "description": "1600 px display rendition for the device. Present only when the original's longest side exceeds 1600 px; clients show the original otherwise.",
        "maxSize": 2000000,
        "type": "blob"
      },
      "durationMs": {
        "minimum": 0,
        "type": "integer"
      },
      "excludeFromDelivery": {
        "default": false,
        "type": "boolean"
      },
      "height": {
        "minimum": 1,
        "type": "integer"
      },
      "kind": {
        "knownValues": [
          "photo",
          "video"
        ],
        "type": "string"
      },
      "media": {
        "accept": [
          "image/jpeg",
          "image/png",
          "image/webp",
          "image/heic",
          "video/mp4",
          "video/quicktime"
        ],
        "maxSize": 314572800,
        "type": "blob"
      },
      "poster": {
        "accept": [
          "image/jpeg"
        ],
        "description": "Video poster frame.",
        "maxSize": 2000000,
        "type": "blob"
      },
      "reviewState": {
        "knownValues": [
          "notRequired",
          "pending",
          "approved",
          "rejected"
        ],
        "type": "string"
      },
      "takenAt": {
        "format": "datetime",
        "type": "string"
      },
      "takenAtSource": {
        "knownValues": [
          "exif",
          "upload",
          "manual"
        ],
        "type": "string"
      },
      "thumb": {
        "accept": [
          "image/jpeg"
        ],
        "description": "320 px thumbnail, generated by the Service Node and uploaded to the author's PDN.",
        "maxSize": 200000,
        "type": "blob"
      },
      "width": {
        "minimum": 1,
        "type": "integer"
      }
    },
    "required": [
      "kind",
      "media",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@