com.emdashcms.experimental.aggregator.defs

Shared definitions for the EmDash plugin registry aggregator XRPC endpoints. EXPERIMENTAL: shape may change before stabilisation.

Repository @emdashcms.com did:plc:ilznslhspsvk6naatedr66pi not from the namespace authority
Details · defs
Kinddefs
Authorityaggregator.experimental.emdashcms.com
Indexed

#packageView

object

An aggregator's view of a package, hydrating a profile record with denormalised metadata and any labels applied by trusted labellers the aggregator hydrates.

Properties

cid

requiredstring · cid

CID of the profile record content the aggregator indexed. Lets clients confirm they're working with the same bytes the aggregator did.

did

requiredstring · did

Publisher DID. Denormalised convenience; equivalent to the DID portion of `uri`.

handle

string · handle

Publisher's current handle, if known. Best-effort: handles are mutable and may be stale at the moment of read.

Number of package release versions retained in the aggregator's history, including releases the publisher later deleted.

  • minimum: 0

indexedAt

requiredstring · datetime

When the aggregator first indexed this package.

labels

array

Hydrated trusted label state attached by the aggregator's configured policy.

  • maxLength: 64
itemsref

Convenience: the highest semver version among non-tombstoned, non-yanked releases the aggregator has indexed for this package. Clients SHOULD verify this against their own selection from listReleases when the difference matters.

  • maxLength: 64

profile

requiredunknown

The signed profile record verbatim, passed through from the publisher's repo (carrying its $type, all required fields, etc.).

Whether the aggregator continuously observed this package from its first live profile creation. When false or absent, clients must not infer that historicalReleaseCount represents the package's complete registry history.

slug

requiredstring

Package slug (the rkey of the profile record). Denormalised convenience.

  • minLength: 1
  • maxLength: 64

uri

requiredstring · at-uri

AT URI of the profile record the aggregator indexed. Pins exactly which record version this view describes.

#recordScopedBlobCache

object

A cache that admits a blob only when an exact repository record revision references its CID. Raw URLs use /r/{did}/{collection}/{rkey}/{recordCid}/{blobCid}; image representations use /img/{preset}/r/{did}/{collection}/{rkey}/{recordCid}/{blobCid}.

Properties

serviceEndpoint

requiredstring · uri

HTTPS origin of the record-scoped blob cache.

  • maxLength: 2048

#releaseView

object

An aggregator's view of a release: the signed record verbatim, record-scoped blob cache services, and any hydrated labels.

Properties

Blob cache services the aggregator advertises for this release. Clients ignore unrecognised service variants and derive artifact URLs only for public blob refs.

  • maxLength: 4
itemsunion

cid

requiredstring · cid

CID of the release record content the aggregator indexed.

did

requiredstring · did

Publisher DID. Denormalised convenience; equivalent to the DID portion of `uri`.

indexedAt

requiredstring · datetime

When the aggregator first indexed this release.

labels

array

Hydrated trusted label state attached by the aggregator's configured policy.

  • maxLength: 64
itemsref

package

requiredstring

Parent package slug. Denormalised convenience.

  • minLength: 1
  • maxLength: 64

release

requiredunknown

The signed release record verbatim from the publisher's repo (carrying its $type and all fields).

uri

requiredstring · at-uri

AT URI of the release record the aggregator indexed. Pins exactly which record version this view describes.

version

requiredstring

Release version, matching the post-':' portion of the rkey.

  • minLength: 1
  • maxLength: 64

Similar lexicons

semantic match

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

  • com.emdashcms.experimental.package.release

    record not from the namespace authority

    Plugin package release record. EXPERIMENTAL: this NSID is part of the experimental phase of the EmDash plugin registry. The stable namespace target is com.emdashcms.package.release.

  • One version of a package. The record key is '<slug>:<version>'. A release at a given version is never modified: a registry that later sees a different CID at this key keeps the first and flags the conflict.

  • The version's changelog, from the registry's copy of its site.standard.document.

  • com.emdashcms.experimental.aggregator.getLatestRelease

    query not from the namespace authority

    Get the latest release for a package: the highest semver version among non-tombstoned, non-yanked releases. EXPERIMENTAL.

  • com.emdashcms.experimental.aggregator.getPackage

    query not from the namespace authority

    Get a single package by its canonical (did, slug) identity. EXPERIMENTAL.