Public request, response, error, mutation, operation, pagination, mail, and proxy contracts shared across deployment boundaries.
These schemas define data crossing application and service boundaries. Domain schemas validate the records inside a request; transport schemas add actor, revision, idempotency, status, and response semantics.
| Schema | Responsibility |
|---|---|
EditorPullRequestStatusSchema | Pull-request and checks state exposed to editors. |
PublicProfileKindSchema | Editable public profile variant. |
StudentPlacementResponseSchema | Locked canonical placement for undergraduate or postgraduate students. |
PublicProfileSchemaResponseSchema | Profile editor permissions, identity, locked fields, and guidance. |
PublicProfilePrSchema | Profile pull-request state and editable draft metadata. |
PublicProfileResponseSchema | Current profile record and owning data paths. |
PublicProjectSchemaResponseSchema | Project editor permissions, identity, and locked fields. |
PublicProjectPrSchema | Project pull-request state, revisions, paths, and draft. |
PublicProjectResponseSchema | Current project record, revision, and owning paths. |
PublicCourseSchemaResponseSchema | Course editor permission and identity response. |
PublicAcademicPrSchema | Course or offering pull-request state, revision, paths, and draft. |
| Schema | Responsibility |
|---|---|
ApiErrorCodeSchema | Stable machine-readable error code. |
CorrelationIdSchema | Opaque identifier connecting client and service diagnostics. |
ConflictDetailsSchema | Resource and expected/actual revisions for optimistic conflicts. |
ApiErrorSchema | Bounded error message, code, correlation id, and optional conflict. |
ApiErrorEnvelopeSchema | Versioned error response envelope. |
| Schema | Responsibility |
|---|---|
getPublicProfileQuerySchema | Query for one public profile by username. |
getPublicProjectQuerySchema | Query for one public project by slug. |
getPublicAcademicRecordQuerySchema | Query for one course or offering by registry id. |
updateStudentPlacementMetadataRequestSchema | Replace canonical placement, alumni, postgraduate, and stream configuration. |
discardStudentPlacementMetadataRequestSchema | Discard a placement metadata draft. |
updatePublicProfileRequestSchema | Upsert one validated profile and its exact aggregate paths. |
submitPublicProfileOperationRequestSchema | Profile mutation plus actor, idempotency, and correlation context. |
discardPublicProfilePrRequestSchema | Close a profile pull request at an expected head revision. |
updatePublicProjectRequestSchema | Upsert a project and verify its canonical record paths. |
deletePublicProjectRequestSchema | Delete a project using canonical paths and expected revision. |
submitPublicProjectOperationRequestSchema | Discriminated project upsert/delete operation envelope. |
updatePublicCourseRequestSchema | Upsert a course at its canonical registry path. |
deletePublicCourseRequestSchema | Delete a course at its canonical registry path. |
updatePublicCourseOfferingRequestSchema | Upsert an offering at its canonical registry path. |
deletePublicCourseOfferingRequestSchema | Delete an offering at its canonical registry path. |
submitPublicAcademicOperationRequestSchema | Discriminated course/offering upsert/delete operation envelope. |
| Schema | Responsibility |
|---|---|
MailerSendRequestSchema | Raw HTML/text mail or the named portal sign-in OTP template. |
MailerSendResponseSchema | Success or bounded mailer failure response. |
IdempotencyKeySchema | Client key for safely retried mutations. |
EntityRevisionSchema | Opaque resource revision used by optimistic concurrency. |
MutationControlSchema | Idempotency key and optional expected revision. |
MutationAcceptedSchema | Versioned asynchronous-operation acceptance response. |
OperationIdSchema | Durable operation identifier. |
OperationResourceTypeSchema | Resource kinds handled by durable operations. |
OperationResourceSchema | Operation target type and identity. |
OperationActorSchema | User or service actor reference. |
OperationStatusSchema | Queued, running, or terminal operation state. |
OperationOutcomeSchema | Success, failure, conflict, or cancellation outcome. |
OperationStatusResponseSchema | Complete status response with lifecycle timestamps and terminal outcome. |
| Schema | Responsibility |
|---|---|
OpaqueCursorSchema | Bounded opaque pagination cursor. |
PageLimitSchema | Coerced list limit from 1 through 100. |
PaginationRequestSchema | Optional cursor and defaulted page limit. |
PageInfoSchema | Next cursor, hasMore, and optional total with consistency validation. |
createPageSchema | Factory for versioned item arrays and page metadata. |
ProxyUrlSchema | Valid HTTP(S) proxy URL without embedded credentials. |
ProxyUpdateRequestSchema | Strict proxy activation and target configuration request. |
Provider SDK objects, Worker bindings, and Durable Object storage records are service-private and are not part of this shared transport surface.