app.didpic.feed.post

lexicons.didpic.app

Documentation

A single-image photo post with optional caption.

main record

A single-image photo post with optional caption.

Record Key tid Timestamp-based ID

Properties

alt string Optional

Alt text for accessibility.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
aspectRatio ref #aspectRatio Optional

No description available.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

image blob Required

No description available.

maxSize: 5.0 MB
labels ref #selfLabels Optional

Self-applied content labels.

text string Optional

Caption text.

maxLength: 22000 bytesmaxGraphemes: 2200 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "image",
      "createdAt"
    ],
    "properties": {
      "alt": {
        "type": "string",
        "maxLength": 10000,
        "description": "Alt text for accessibility.",
        "maxGraphemes": 1000
      },
      "text": {
        "type": "string",
        "maxLength": 22000,
        "description": "Caption text.",
        "maxGraphemes": 2200
      },
      "image": {
        "type": "blob",
        "accept": [
          "image/png",
          "image/jpeg",
          "image/webp"
        ],
        "maxSize": 5000000
      },
      "facets": {
        "type": "array",
        "items": {
          "ref": "app.didpic.richtext.facet",
          "type": "ref"
        }
      },
      "labels": {
        "ref": "#selfLabels",
        "type": "ref",
        "description": "Self-applied content labels."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "aspectRatio": {
        "ref": "#aspectRatio",
        "type": "ref"
      }
    }
  },
  "description": "A single-image photo post with optional caption."
}
aspectRatio object

Image width:height in pixels.

Properties

height integer Required

No description available.

minimum: 1
width integer Required

No description available.

minimum: 1
View raw schema
{
  "type": "object",
  "required": [
    "width",
    "height"
  ],
  "properties": {
    "width": {
      "type": "integer",
      "minimum": 1
    },
    "height": {
      "type": "integer",
      "minimum": 1
    }
  },
  "description": "Image width:height in pixels."
}
selfLabel object

No description available.

Properties

val string Required

No description available.

maxLength: 128 bytes
View raw schema
{
  "type": "object",
  "required": [
    "val"
  ],
  "properties": {
    "val": {
      "type": "string",
      "maxLength": 128
    }
  }
}
selfLabels object

Self-applied label set.

Properties

values array of ref#selfLabel Optional

No description available.

View raw schema
{
  "type": "object",
  "properties": {
    "values": {
      "type": "array",
      "items": {
        "ref": "#selfLabel",
        "type": "ref"
      }
    }
  },
  "description": "Self-applied label set."
}

Lexicon Garden

@