{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/antfly/json-schema/antfly-inference-predictors-response-schema.json",
  "title": "InferencePredictorsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/antfly-ml-api-openapi.yml#/components/schemas/InferencePredictorsResponse",
  "type": "object",
  "required": [
    "object",
    "predictors"
  ],
  "properties": {
    "public_inference_enabled": {
      "x-go-type-skip-optional-pointer": false,
      "type": "boolean",
      "description": "Whether public inference execution is enabled on this deployment."
    },
    "object": {
      "type": "string",
      "enum": [
        "list"
      ],
      "description": "Response object type."
    },
    "predictors": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/InferencePredictorInfo"
      },
      "description": "Traditional ML predictors keyed by predictor name."
    }
  },
  "$defs": {
    "InferencePredictorInfo": {
      "type": "object",
      "description": "Traditional ML predictor metadata.",
      "required": [
        "task",
        "num_features",
        "num_outputs"
      ],
      "properties": {
        "task": {
          "$ref": "#/$defs/InferencePredictorTask"
        },
        "num_features": {
          "type": "integer",
          "minimum": 1,
          "description": "Number of feature columns expected by the predictor."
        },
        "num_outputs": {
          "type": "integer",
          "minimum": 1,
          "description": "Number of output values emitted per input row."
        },
        "feature_names": {
          "type": "array",
          "description": "Optional feature names in input order.",
          "items": {
            "type": "string"
          }
        },
        "source_framework": {
          "type": "string",
          "description": "Source framework used to produce the predictor IR."
        }
      }
    },
    "InferencePredictorTask": {
      "type": "string",
      "description": "Task type for tabular predictors.",
      "enum": [
        "regression",
        "binary_classification",
        "multiclass",
        "ranking"
      ]
    }
  }
}