{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/coactive/main/json-schema/coactive-concept-prediction-response-schema.json",
  "title": "ConceptPredictionResponse",
  "description": "Base model for all schema",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coactive-concept-api-openapi.yml#/components/schemas/ConceptPredictionResponse",
  "type": "object",
  "properties": {
    "probabilityRanges": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "format": "double"
        }
      },
      "description": "Each tuple represents the bounds of a bin we estimated number of assets for"
    },
    "estimates": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "Number of assets belonging to each probability range"
    },
    "confidenceIntervals": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "array",
        "items": {
          "type": "integer"
        }
      },
      "description": "Lower/upper bounds representing respective ranges that the actual number of assets is in"
    }
  },
  "required": [
    "probabilityRanges",
    "estimates"
  ]
}