{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/programmes-net/json-schema/programmes-net-saml-decoder-decode-schema.json",
  "title": "saml-decoder.decode",
  "description": "Decode a SAML message and return its issuer, status, NameID, audience, conditions, validity window, attributes and pretty-printed XML. Signatures are reported, never verified.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/programmes-net-encoders-decoders-api-openapi.yml#/components/schemas/saml-decoder.decode",
  "type": "object",
  "properties": {
    "operation": {
      "const": "decode"
    },
    "input": {
      "type": "string",
      "description": "The SAMLRequest/SAMLResponse value (Base64 for HTTP-POST, deflate + Base64 for HTTP-Redirect), a URL or form body containing it, or the XML.",
      "maxLength": 16384
    },
    "options": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "operation"
  ]
}