Skip to content

Latest commit

 

History

History
81 lines (52 loc) · 2.15 KB

context.schema.md

File metadata and controls

81 lines (52 loc) · 2.15 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

Schema Hierarchy

  • Context https://ns.adobe.com/helix/pipeline/context
    • Request https://ns.adobe.com/helix/pipeline/request
    • Content https://ns.adobe.com/helix/pipeline/content
    • Response https://ns.adobe.com/helix/pipeline/response

Context Properties

Property Type Required Nullable Defined by
content Content Optional No Context (this schema)
error multiple Optional No Context (this schema)
request Request Optional No Context (this schema)
response Response Optional No Context (this schema)

content

content

  • is optional
  • type: Content
  • defined in this schema

content Type

  • Contenthttps://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

  • Requesthttps://ns.adobe.com/helix/pipeline/request

response

response

  • is optional
  • type: Response
  • defined in this schema

response Type

  • Responsehttps://ns.adobe.com/helix/pipeline/response