{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "Chroma Cloud Splade Embedding Function Schema",
    "description": "Schema for the Chroma Cloud Splade sparse embedding function configuration",
    "version": "1.0.0",
    "type": "object",
    "properties": {
        "model": {
            "type": "string",
            "enum": [
                "prithivida/Splade_PP_en_v1"
            ],
            "description": "The specific Splade model to use for sparse embeddings"
        },
        "api_key_env_var": {
            "type": "string",
            "description": "Environment variable name that contains your API key for the Chroma Embedding API",
            "default": "CHROMA_API_KEY"
        },
        "include_tokens": {
            "type": "boolean",
            "description": "Whether to store token labels in the sparse vector output",
            "default": false
        }
    },
    "required": [
        "api_key_env_var",
        "model"
    ],
    "additionalProperties": false
}
