Adyen · JSON Structure

Terminal Output Content Structure

This is a sequence of elements if they have different formats. Content to display or print.

Type: object Properties: 5 Required: 1
PaymentsFinancial ServicesFintech

OutputContent is a JSON Structure definition published by Adyen, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

OutputFormat PredefinedContent OutputText OutputXHTML OutputBarcode

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/terminal-output-content-structure.json",
  "description": "This is a sequence of elements if they have different formats. Content to display or print.",
  "type": "object",
  "properties": {
    "OutputFormat": {
      "$ref": "#/components/schemas/OutputFormat"
    },
    "PredefinedContent": {
      "$ref": "#/components/schemas/PredefinedContent"
    },
    "OutputText": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OutputText"
      }
    },
    "OutputXHTML": {
      "type": "string",
      "format": "byte",
      "pattern": "^.{0,262144}$",
      "description": "Mandatory, if OutputFormat is XHTML, not allowed otherwise."
    },
    "OutputBarcode": {
      "$ref": "#/components/schemas/OutputBarcode"
    }
  },
  "required": [
    "OutputFormat"
  ],
  "name": "OutputContent"
}