{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/opentofu/opentofu/main/internal/encryption/keyprovider/externalcommand/protocol/output.schema.json",
  "title": "OpenTofu External Encryption Method Output",
  "description": "Output schema for the OpenTofu external encryption method protocol. The external provider must read the input from stdin and write the output to stdout. It may write to stderr to provide more error details.",
  "type": "object",
  "properties": {
    "payload": {
      "title": "Payload",
      "description": "The encrypted/decrypted data.",
      "type": "string",
      "contentEncoding": "base64",
      "contentMediaType": "application/octet-stream"
    }
  },
  "required": ["payload"],
  "additionalProperties": false
}