com.emdashcms.experimental.aggregator.defs
Shared definitions for the EmDash plugin registry aggregator XRPC endpoints. EXPERIMENTAL: shape may change before stabilisation.
Details · defs
| Kind | defs |
|---|---|
| Authority | aggregator.experimental.emdashcms.com |
| Indexed |
#packageView
objectAn 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 of the profile record content the aggregator indexed. Lets clients confirm they're working with the same bytes the aggregator did.
Publisher DID. Denormalised convenience; equivalent to the DID portion of `uri`.
handle
string · handlePublisher's current handle, if known. Best-effort: handles are mutable and may be stale at the moment of read.
historicalReleaseCount
integerNumber of package release versions retained in the aggregator's history, including releases the publisher later deleted.
minimum: 0
When the aggregator first indexed this package.
labels
arrayHydrated trusted label state attached by the aggregator's configured policy.
maxLength: 64
latestVersion
stringConvenience: 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
The signed profile record verbatim, passed through from the publisher's repo (carrying its $type, all required fields, etc.).
releaseHistoryComplete
booleanWhether 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.
Package slug (the rkey of the profile record). Denormalised convenience.
minLength: 1maxLength: 64
AT URI of the profile record the aggregator indexed. Pins exactly which record version this view describes.
#recordScopedBlobCache
objectA 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
HTTPS origin of the record-scoped blob cache.
maxLength: 2048
#releaseView
objectAn aggregator's view of a release: the signed record verbatim, record-scoped blob cache services, and any hydrated labels.
Properties
artifactCaches
arrayBlob cache services the aggregator advertises for this release. Clients ignore unrecognised service variants and derive artifact URLs only for public blob refs.
maxLength: 4
CID of the release record content the aggregator indexed.
Publisher DID. Denormalised convenience; equivalent to the DID portion of `uri`.
When the aggregator first indexed this release.
labels
arrayHydrated trusted label state attached by the aggregator's configured policy.
maxLength: 64
Parent package slug. Denormalised convenience.
minLength: 1maxLength: 64
The signed release record verbatim from the publisher's repo (carrying its $type and all fields).
AT URI of the release record the aggregator indexed. Pins exactly which record version this view describes.
Release version, matching the post-':' portion of the rkey.
minLength: 1maxLength: 64
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
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.
-
at.happyproto.plugin.release
recordOne 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.
-
Get the latest release for a package: the highest semver version among non-tombstoned, non-yanked releases. EXPERIMENTAL.
-
Get a single package by its canonical (did, slug) identity. EXPERIMENTAL.