UNPKG

@adobe/helix-pipeline

Version:

(formerly known as Hypermedia Pipeline)

82 lines (52 loc) 2.21 kB
# Context Schema ``` https://ns.adobe.com/helix/pipeline/context ``` The context thingie. | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In | | ------------------- | ---------- | ----------- | ------------ | ----------------- | --------------------- | ------------------------------------------ | | Can be instantiated | No | Stabilizing | No | Forbidden | Forbidden | [context.schema.json](context.schema.json) | ## Schema Hierarchy - Context `https://ns.adobe.com/helix/pipeline/context` - [Request](request.schema.md) `https://ns.adobe.com/helix/pipeline/request` - [Content](content.schema.md) `https://ns.adobe.com/helix/pipeline/content` - [Response](response.schema.md) `https://ns.adobe.com/helix/pipeline/response` # Context Properties | Property | Type | Required | Nullable | Defined by | | --------------------- | -------- | -------- | -------- | --------------------- | | [content](#content) | Content | Optional | No | Context (this schema) | | [error](#error) | multiple | Optional | No | Context (this schema) | | [request](#request) | Request | Optional | No | Context (this schema) | | [response](#response) | Response | Optional | No | Context (this schema) | ## content `content` - is optional - type: Content - defined in this schema ### content Type - [Content](content.schema.md) – `https://ns.adobe.com/helix/pipeline/content` ## error An error message that has been generated during pipeline processing. When this property is present, all other values can be ignored. `error` - is optional - type: multiple - defined in this schema ### error Type Either one of: - `string` - `object` ## request `request` - is optional - type: Request - defined in this schema ### request Type - [Request](request.schema.md) – `https://ns.adobe.com/helix/pipeline/request` ## response `response` - is optional - type: Response - defined in this schema ### response Type - [Response](response.schema.md) – `https://ns.adobe.com/helix/pipeline/response`