{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stremai-com/json-schema/stremai-com-model-version-response-schema.json",
  "title": "ModelVersionResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stremai-com-openapi.json#/components/schemas/ModelVersionResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "gateway_model_id": {
      "type": "string",
      "title": "Gateway Model Id"
    },
    "provider_model_id": {
      "type": "string",
      "title": "Provider Model Id"
    },
    "provider": {
      "type": "string",
      "title": "Provider"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "sample_count": {
      "type": "integer",
      "title": "Sample Count"
    },
    "avg_quality_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Avg Quality Score"
    },
    "quality_pass_rate": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quality Pass Rate"
    },
    "latency_p50_ms": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Latency P50 Ms"
    },
    "latency_p99_ms": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Latency P99 Ms"
    },
    "notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Notes"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "evaluated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Evaluated At"
    },
    "promoted_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Promoted At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "gateway_model_id",
    "provider_model_id",
    "provider",
    "status",
    "sample_count",
    "avg_quality_score",
    "quality_pass_rate",
    "latency_p50_ms",
    "latency_p99_ms",
    "notes",
    "created_at",
    "evaluated_at",
    "promoted_at"
  ]
}