Template Registry API: schemas

The request and response bodies of the operations in this API.

AuthoredContentDraftResponseDto

PropertyTypeRequiredDescription
baseRevisionIdobject or nullno
contentobjectyes
contentHashstringyes
draftIdstringyes
resourceIdstringyes
restoredFromRevisionIdobject or nullno
updatedAtstringyes
updatedByobjectyes

AuthoredContentDraftResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of AuthoredContentDraftResponseDtoyes

AuthoredContentDraftResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataAuthoredContentDraftResponseDtoyes

AuthoredContentEvaluationResponseDto

PropertyTypeRequiredDescription
createdAtstring (date-time)yes
createdBystringyes
draftContentHashstringyes
draftIdstringyes
evaluatorsarray of objectyes
findingsarray of EvaluationFindingDtoyes
idstringyes
identityIdstringyes
verdictone of "pass", "fail"yes

AuthoredContentEvaluationResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of AuthoredContentEvaluationResponseDtoyes

AuthoredContentEvaluationResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataAuthoredContentEvaluationResponseDtoyes

AuthoredContentIdentityResponseDto

PropertyTypeRequiredDescription
bindableSelectorobject or nullnoThe selector a consumer must bind this resource with, or null when it is not bindable yet. See AuthoredContentIdentityRecord.bindableSelector for why the registry answers this rather than each consumer guessing. type: Object matches how every other structural field on these DTOs is declared here (ownerSpaceRef, createdBy); the shape is the kernel's RevisionTarget['selector'] union and is enforced there, not restated.
createdAtstringyes
createdByobjectyes
draftIdobject or nullno
ownerSpaceRefobjectyes
resourceIdstringyes
resourceKindone of "template", "design-system"yes
slugstringyes
updatedAtstringyes

AuthoredContentIdentityResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of AuthoredContentIdentityResponseDtoyes

AuthoredContentIdentityResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataAuthoredContentIdentityResponseDtoyes

AuthoredContentPreviewResponseDto

PropertyTypeRequiredDescription
createdAtstring (date-time)yes
createdBystringyes
draftContentHashstringyes
draftIdstringyes
evaluationIdobject or nullno
expiresAtstring (date-time)yes
idstringyes
identityIdstringyes
outputsarray of objectyes
variablesHashstringyes

AuthoredContentPreviewResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of AuthoredContentPreviewResponseDtoyes

AuthoredContentPreviewResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataAuthoredContentPreviewResponseDtoyes

AuthoredContentRevisionResponseDto

PropertyTypeRequiredDescription
contentobjectyes
contentHashstringyes
createdAtstringyes
createdByobjectyes
idempotencyKeystringyes
resourceIdstringyes
restoredFromRevisionIdobject or nullno
revisionIdstringyes
sequencenumberyes

AuthoredContentRevisionResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of AuthoredContentRevisionResponseDtoyes

CreateAuthoredContentDto

PropertyTypeRequiredDescription
contentobjectyes
slugstringyes

CreateAuthoredContentResponseDto

PropertyTypeRequiredDescription
draftAuthoredContentDraftResponseDtoyes
identityAuthoredContentIdentityResponseDtoyes

CreateAuthoredContentResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataCreateAuthoredContentResponseDtoyes

CreateRevisionCandidateDto

PropertyTypeRequiredDescription
expectedDraftIdstringyes
idempotencyKeystringyesIdempotency key scoped to the resource identity.

CreateRevisionCandidateResponseDto

PropertyTypeRequiredDescription
reusedbooleanyes
revisionAuthoredContentRevisionResponseDtoyes

CreateRevisionCandidateResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataCreateRevisionCandidateResponseDtoyes

EvaluationFindingDto

PropertyTypeRequiredDescription
codestringyes
messagestringyes
nodeIdobject or nullno

ProblemActionableBy

Who can act on this refusal: user (correct the input, sign in), org-admin (an administrator of the organisation), platform (the operators of this installation), none (nobody — it cannot succeed). ABSENT when not known; never guessed.

Type: one of "user", "org-admin", "platform", "none"

ProblemDetailsDto

RFC 9457 problem document. The declared members are the reserved core; extension members are TOP-LEVEL and OPEN, owned by the refusing plane.

PropertyTypeRequiredDescription
actionableByProblemActionableBynoWho can act on this refusal: user (correct the input, sign in), org-admin (an administrator of the organisation), platform (the operators of this installation), none (nobody — it cannot succeed). ABSENT when not known; never guessed.
codestringyesSCREAMING_SNAKE_CASE. The machine-branchable refusal, and the value a policy rule, a retry predicate and a UI branch all name.
detailstringnoHuman-readable and specific to THIS occurrence.
errorsarray of ProblemFieldIssueDtonoField-level issues, when the refusal is about the request body.
instancestringnoURI reference identifying the occurrence — a request path, a run, a row.
paramsmap of string or number or booleannoSafe i18n interpolation values for the message keyed by code — typed and allowlisted per code by its declaration. Never server-authored copy, never internal diagnostics.
retryProblemRetrynoWhat a retry can achieve: transient (later, unchanged), after-change (only after someone changes something), never (a defect until a fixed version ships). ABSENT when not known.
statusnumberyesThe HTTP status code, repeated in the body so a logged document is self-contained.
titlestringyesShort, human-readable, and STABLE for a given type. Never per-occurrence — that is detail.
traceIdstringnoW3C trace-context trace-id, present when the caller sent a traceparent. Omitted rather than invented when it did not.
typestringyesAbsolute URI identifying the refusal TYPE. Derived one-to-one from code, so a caller may branch on either and can never be told two different things. Never about:blank.

ProblemFieldIssueDto

PropertyTypeRequiredDescription
codestringnoSCREAMING_SNAKE_CASE code of THIS issue, for a frontend i18n key. Present when the issue was minted by a declared problem.
detailstringyesProse for logs and developers. A frontend localises from code + params instead.
paramsmap of string or number or booleannoSafe i18n interpolation values for this issue's code.
pointerstringyesRFC 6901 JSON Pointer into the request body. Root is "/".

ProblemRetry

What a retry can achieve: transient (later, unchanged), after-change (only after someone changes something), never (a defect until a fixed version ships). ABSENT when not known.

Type: one of "transient", "after-change", "never"

ProposePublicationDto

PropertyTypeRequiredDescription
evaluationIdstringyes
expectedChannelVersionnumberyes
releaseChannelstringyes
revisionIdstringyes

PublicationIntentResponseDto

PropertyTypeRequiredDescription
attemptnumberyes
candidateRevisionIdstringyes
claimedAtobject or nullno
closureHashobject or nullno
createdAtstring (date-time)yes
createdBystringyes
decisionIdobject or nullno
denialReasonobject or nullno
evaluationIdobject or nullno
expectedChannelVersionnumberyes
failureCodeobject or nullno
governanceRequestIdobject or nullno
idstringyes
identityIdstringyes
releaseChannelstringyes
releaseSetIdobject or nullno
resolutionIdobject or nullno
statusone of "pending", "dispatching", "pending-decision", "promoted", "denied", "failed"yes
updatedAtstring (date-time)yes

PublicationIntentResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of PublicationIntentResponseDtoyes

PublicationIntentResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataPublicationIntentResponseDtoyes

RecordEvaluationDto

PropertyTypeRequiredDescription
draftContentHashstringyes
draftIdstringyes
evaluatorsarray of objectyesOwner-qualified exact evaluator revision targets.
findingsarray of EvaluationFindingDtoyes
verdictone of "pass", "fail"yes

RecordTemplatePreviewDto

PropertyTypeRequiredDescription
draftContentHashstringyes
draftIdstringyes
evaluationIdobject or nullno
expiresAtstringyesISO-8601 evidence retention deadline, no more than 30 days away.
outputsarray of objectyesContent-addressed artifact-store output refs.
variablesHashstringyes

ResolveAuthoredContentDto

PropertyTypeRequiredDescription
ownerSpaceRefobjectyes
targetobjectyes

ResolvedAuthoredContentResponseDto

PropertyTypeRequiredDescription
closurearray of objectyes
closureHashstringyes
contentobjectyes
edgesarray of objectyes
followedChannelsarray of objectyes
ownerSpaceRefobjectyes
releaseSetIdobject or nullno
resolutionIdstringyes
targetobjectyes

ResolvedAuthoredContentResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataResolvedAuthoredContentResponseDtoyes

SaveAuthoredContentDraftDto

PropertyTypeRequiredDescription
contentobjectyes
expectedDraftIdstringyes

TemplateKindDescriptorResponseDto

PropertyTypeRequiredDescription
contributingBiomeIdstringyes
contributionVersionstringyes
createdAtstring (date-time)yes
descriptorobjectyes
descriptorHashstringyes
kindRefstringyes
updatedAtstring (date-time)yes

TemplateKindDescriptorResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of TemplateKindDescriptorResponseDtoyes