app.thesocialwire.articleDraft.defs

Repository @samclemente.me did:plc:qy5pluw2bsuq2x6albsgkvx3 namespace authority
Details · defs
Kinddefs
AuthorityarticleDraft.thesocialwire.app
Commit rev3n2umvjc4oe2h
Indexed

#attachmentBinding

object

Ready owner-private photo only; asset kind must be photo, byteLength at most 1000000, with name and MIME matching the local asset descriptor.

Properties

localAssetId

requiredstring

Canonical lowercase UUID. This private identifier is not a PDS record.

  • minLength: 36
  • maxLength: 36

#attachmentRef

object

Properties

assetId

requiredstring

Canonical lowercase UUID. This private identifier is not a PDS record.

  • minLength: 36
  • maxLength: 36

localAssetId

requiredstring

Canonical lowercase UUID. This private identifier is not a PDS record.

  • minLength: 36
  • maxLength: 36

#document

object

Owner-private snapshot. Live results contain draft with matching id; deletion tombstones omit draft and contain no attachments. Tombstones cannot be overwritten to resurrect a draft.

Properties

attachments

requiredarray
  • maxLength: 200

deleted

requiredboolean

draftId

requiredstring

Canonical lowercase UUID. This private identifier is not a PDS record.

  • minLength: 36
  • maxLength: 36

mutationId

requiredstring

Canonical lowercase UUID. This private identifier is not a PDS record.

  • minLength: 36
  • maxLength: 36

revision

requiredinteger
  • minimum: 1

updatedAt

requiredstring · datetime

#localAsset

object

Original image metadata. Byte length is bounded to 1000000 by the service, with a ready owner-private photo binding required for every asset.

Properties

alt

requiredstring

height

requiredinteger
  • minimum: 1
  • maximum: 100000

id

requiredstring

Canonical lowercase UUID. This private identifier is not a PDS record.

  • minLength: 36
  • maxLength: 36

mimeType

requiredstring
  • enum: image/jpeg | image/png | image/gif | image/webp

name

requiredstring
  • minLength: 1
  • maxLength: 1024

width

requiredinteger
  • minimum: 1
  • maximum: 100000

#payload

object

Private article content, at most 524288 UTF-8 JSON bytes in total; title/body/excerpt/path/publication identifiers reject NUL. String limits are enforced in UTF-8 bytes by the service. No local cache or sync revisions are included. Publication/scheduling fields only describe explicit user actions, never cause them.

Properties

assets

requiredarray
  • maxLength: 200

Canonical lowercase UUID. This private identifier is not a PDS record.

  • minLength: 36
  • maxLength: 36

createdAt

requiredstring · datetime

excerpt

requiredstring

id

requiredstring

Canonical lowercase UUID. This private identifier is not a PDS record.

  • minLength: 36
  • maxLength: 36

markdown

requiredstring

path

requiredstring

Canonical lowercase UUID. This private identifier is not a PDS record.

  • minLength: 36
  • maxLength: 36

publicationUri

requiredstring
  • minLength: 1
  • maxLength: 4096

Private pending explicit Publish lock. Requires publicationClaimId; never copied into a PDS record.

  • minLength: 1
  • maxLength: 4096
  • minLength: 1
  • maxLength: 4096
  • minLength: 1
  • maxLength: 4096

tags

requiredarray
  • maxLength: 100
itemsstring
  • maxLength: 256

title

requiredstring

updatedAt

requiredstring · datetime

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A draft containing an array of draft posts.

  • An unpublished or in-progress article, stored in the publication's private staff space and written by the publication's DID. On publish, the CMS writes a public site.standard.document; when space is set, it writes the full document into that space and a public net.wireservice.gatedContent stub instead.

  • Owner-only encrypted server-private article drafts. Authentication required; owner comes only from the authenticated DID. Never publishes drafts or images to the PDS. Responses use private, no-store and nosniff. Storage unavailable returns Unavailable. Saves use expectedRevision CAS and durable mutationId idempotency; tombstones never resurrect. Explicit Publish/Schedule remain separate actions. Create uses expectedRevision 0; replaying an identical mutation returns the acknowledged snapshot, wh

  • A draft containing an array of draft posts.