{
  "title": "FutoIn response schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 1,
  "maxProperties": 3,
  "properties": {
    "r": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-z][a-z0-9_]*$": {}
      },
      "description": "Result key-value pairs"
    },
    "e": {
      "type": "string",
      "description": "Exception/error name. Either r or e must be present"
    },
    "edesc": {
      "type": "string",
      "description": "Optional. Error description, if e is present"
    },
    "rid": {
      "type": "string",
      "pattern": "^(C|S)[0-9]+$",
      "description": "Optional request ID for multiplexing"
    },
    "sec": {
      "type": "object",
      "description": "Security-defined extension"
    }
  }
}