{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/coactive/main/json-schema/coactive-create-concept-request-schema.json",
  "title": "CreateConceptRequest",
  "description": "An object used to create a concept in Coactive's system",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coactive-concept-api-openapi.yml#/components/schemas/CreateConceptRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the concept, which will become available as the column name in SQL"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "A description for the concept"
    },
    "threshold": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "default": 0.8,
      "description": "Threshold above which classification is positive"
    },
    "regularization": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "default": 0.0625,
      "description": "How strongly the model adapts to the training labels. Regularization strength. Lower value means the model fits more heavily to the training data"
    },
    "datasetId": {
      "type": "string",
      "format": "uuid4",
      "description": "The id of the dataset"
    }
  },
  "required": [
    "name",
    "datasetId"
  ]
}