{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/calypsoai-com/json-schema/calypsoai-com-post-generation-response-schema.json",
  "title": "PostGenerationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/calypsoai-com-generations-api-openapi.yml#/components/schemas/PostGenerationResponse",
  "properties": {
    "output": {
      "anyOf": [
        {
          "$ref": "#/$defs/ScannerDescriptionGenerationOutput"
        },
        {
          "$ref": "#/$defs/CustomIntentGenerationOutput"
        },
        {
          "$ref": "#/$defs/SystemIntentsGenerationOutput"
        }
      ],
      "title": "Output"
    }
  },
  "required": [
    "output"
  ],
  "type": "object",
  "$defs": {
    "CustomIntentGenerationOutput": {
      "properties": {
        "intent": {
          "title": "Intent",
          "type": "string"
        }
      },
      "required": [
        "intent"
      ],
      "title": "CustomIntentGenerationOutput",
      "type": "object"
    },
    "ScannerDescriptionGenerationOutput": {
      "properties": {
        "description": {
          "title": "Description",
          "type": "string"
        }
      },
      "required": [
        "description"
      ],
      "title": "ScannerDescriptionGenerationOutput",
      "type": "object"
    },
    "SystemIntentsGenerationOutput": {
      "properties": {
        "intents": {
          "items": {
            "type": "string"
          },
          "title": "Intents",
          "type": "array"
        }
      },
      "required": [
        "intents"
      ],
      "title": "SystemIntentsGenerationOutput",
      "type": "object"
    }
  }
}