{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tensorflow/json-schema/tensorflow-predict-response-schema.json",
  "title": "PredictResponse",
  "description": "Response from prediction inference. Returns predictions in row format or outputs in column format depending on the request.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tensorflow-inference-api-openapi.yml#/components/schemas/PredictResponse",
  "type": "object",
  "properties": {
    "predictions": {
      "description": "Row format predictions - one prediction per input instance",
      "oneOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "outputs": {
      "type": "object",
      "description": "Column format outputs - a map of output tensor names to value arrays",
      "additionalProperties": true
    }
  }
}