blog.pckt.mini.post

pckt.blog

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

facets array of ref #facet Optional

No description available.

langs array of string language Optional

No description available.

maxLength: 3 items
publication string at-uri Optional

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

reply ref #replyRef Optional

No description available.

subject string at-uri Optional

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

tags array of string Optional

No description available.

maxLength: 8 items
text string Required

No description available.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "text",
      "createdAt"
    ],
    "properties": {
      "tags": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 640,
          "maxGraphemes": 64
        },
        "maxLength": 8
      },
      "text": {
        "type": "string",
        "maxLength": 3000,
        "maxGraphemes": 300
      },
      "embed": {
        "refs": [
          "#images",
          "#external",
          "#record",
          "#recordWithMedia"
        ],
        "type": "union"
      },
      "langs": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "language"
        },
        "maxLength": 3
      },
      "reply": {
        "ref": "#replyRef",
        "type": "ref"
      },
      "facets": {
        "type": "array",
        "items": {
          "ref": "#facet",
          "type": "ref"
        }
      },
      "labels": {
        "refs": [
          "com.atproto.label.defs#selfLabels"
        ],
        "type": "union"
      },
      "subject": {
        "type": "string",
        "format": "at-uri"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "publication": {
        "type": "string",
        "format": "at-uri"
      }
    }
  }
}
aspectRatio object

No description available.

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
    }
  }
}
byteSlice object

No description available.

Properties

byteEnd integer Required

No description available.

minimum: 0
byteStart integer Required

No description available.

minimum: 0
View raw schema
{
  "type": "object",
  "required": [
    "byteStart",
    "byteEnd"
  ],
  "properties": {
    "byteEnd": {
      "type": "integer",
      "minimum": 0
    },
    "byteStart": {
      "type": "integer",
      "minimum": 0
    }
  }
}
external object

No description available.

Properties

description string Required

No description available.

thumb blob Optional

No description available.

maxSize: 1.0 MB
title string Required

No description available.

uri string uri Required

A valid URI.

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "title",
    "description"
  ],
  "properties": {
    "uri": {
      "type": "string",
      "format": "uri"
    },
    "thumb": {
      "type": "blob",
      "accept": [
        "image/*"
      ],
      "maxSize": 1000000
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    }
  }
}
facet object

No description available.

Properties

features array of union Required

No description available.

Known types:
index ref #byteSlice Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "index",
    "features"
  ],
  "properties": {
    "index": {
      "ref": "#byteSlice",
      "type": "ref"
    },
    "features": {
      "type": "array",
      "items": {
        "refs": [
          "#mention",
          "#link",
          "#tag"
        ],
        "type": "union"
      }
    }
  }
}
image object

No description available.

Properties

alt string Required

No description available.

aspectRatio ref #aspectRatio Optional

No description available.

image blob Required

No description available.

maxSize: 1.0 MB
View raw schema
{
  "type": "object",
  "required": [
    "image",
    "alt"
  ],
  "properties": {
    "alt": {
      "type": "string"
    },
    "image": {
      "type": "blob",
      "accept": [
        "image/*"
      ],
      "maxSize": 1000000
    },
    "aspectRatio": {
      "ref": "#aspectRatio",
      "type": "ref"
    }
  }
}
images object

No description available.

Properties

images array of ref#image Required

No description available.

maxLength: 4 items
View raw schema
{
  "type": "object",
  "required": [
    "images"
  ],
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "ref": "#image",
        "type": "ref"
      },
      "maxLength": 4
    }
  }
}
link object

No description available.

Properties

uri string uri Required

A valid URI.

View raw schema
{
  "type": "object",
  "required": [
    "uri"
  ],
  "properties": {
    "uri": {
      "type": "string",
      "format": "uri"
    }
  }
}
mention object

No description available.

Properties

did string did Required

A decentralized identifier (DID).

View raw schema
{
  "type": "object",
  "required": [
    "did"
  ],
  "properties": {
    "did": {
      "type": "string",
      "format": "did"
    }
  }
}
record object

A quoted record, optionally narrowed to a passage of it.

Properties

end integer Optional

Character offset one past the end of the quoted passage.

minimum: 0
hash string Optional

sha256 of the quoted passage's text, with whitespace collapsed.

maxLength: 64 bytes
start integer Optional

Character offset of the quoted passage in the quoted record's plain text.

minimum: 0
View raw schema
{
  "type": "object",
  "required": [
    "record"
  ],
  "properties": {
    "end": {
      "type": "integer",
      "minimum": 0,
      "description": "Character offset one past the end of the quoted passage."
    },
    "hash": {
      "type": "string",
      "maxLength": 64,
      "description": "sha256 of the quoted passage's text, with whitespace collapsed."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "description": "Character offset of the quoted passage in the quoted record's plain text."
    },
    "record": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  },
  "description": "A quoted record, optionally narrowed to a passage of it."
}
recordWithMedia object

No description available.

Properties

record ref #record Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "record",
    "media"
  ],
  "properties": {
    "media": {
      "refs": [
        "#images",
        "#external"
      ],
      "type": "union"
    },
    "record": {
      "ref": "#record",
      "type": "ref"
    }
  }
}
replyRef object

No description available.

Properties

View raw schema
{
  "type": "object",
  "required": [
    "root",
    "parent"
  ],
  "properties": {
    "root": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    },
    "parent": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  }
}
tag object

No description available.

Properties

tag string Required

No description available.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "tag"
  ],
  "properties": {
    "tag": {
      "type": "string",
      "maxLength": 640,
      "maxGraphemes": 64
    }
  }
}

Lexicon Garden

@