{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fusio/main/json-schema/fusio-backend-test-schema.json",
  "title": "Backend_Test",
  "description": "This object represents a test. A test helps to verify that all operations work as expected",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fusio-test-api-openapi.yml#/components/schemas/Backend_Test",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier for the object",
      "type": "integer"
    },
    "status": {
      "description": "Status of the object either 1 = pending, 2 = success, 3 = warning, 4 = error, 5 = skipped or 6 = disabled",
      "type": "integer"
    },
    "operationName": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "response": {
      "type": "string"
    },
    "config": {
      "$ref": "#/$defs/Backend_TestConfig"
    }
  },
  "$defs": {
    "Backend_ActionExecuteRequest": {
      "description": "Represents a request to execute an action",
      "type": "object",
      "properties": {
        "method": {
          "description": "HTTP method i.e. GET, POST",
          "type": "string"
        },
        "uriFragments": {
          "description": "URL-encoded uri fragments i.e. foo=bar&bar=foo",
          "type": "string"
        },
        "parameters": {
          "description": "URL-encoded query parameters i.e. foo=bar&bar=foo",
          "type": "string"
        },
        "headers": {
          "description": "URL-encoded headers i.e. foo=bar&bar=foo",
          "type": "string"
        },
        "body": {
          "$ref": "#/$defs/Backend_ActionExecuteRequestBody"
        }
      }
    },
    "Backend_ActionExecuteRequestBody": {
      "description": "Represents a request body",
      "type": "object",
      "additionalProperties": {}
    },
    "Backend_TestConfig": {
      "$ref": "#/$defs/Backend_ActionExecuteRequest"
    }
  }
}