{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rrmacademy-org/json-schema/rrmacademy-org-sandbox-ask-response-schema.json",
  "title": "SandboxAskResponse",
  "description": "Returned by /api/ask when ?mode=sandbox is set. Canned response, does not consume rate-limit budget or invoke the upstream LLM.",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rrmacademy-org-openapi.json#/components/schemas/SandboxAskResponse",
  "type": "object",
  "required": [
    "answer",
    "citations",
    "sandbox"
  ],
  "properties": {
    "sandbox": {
      "type": "boolean",
      "const": true
    },
    "answer": {
      "type": "string"
    },
    "citations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Citation"
      }
    }
  },
  "$defs": {
    "Citation": {
      "type": "object",
      "required": [
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        }
      }
    }
  }
}