{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chemaxon/json-schema/chemaxon-stateless-similarity-search-request-schema.json",
  "title": "StatelessSimilaritySearchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chemaxon-standardized-molecule-search-api-openapi.yml#/components/schemas/StatelessSimilaritySearchRequest",
  "properties": {
    "inputFormat": {
      "type": "string",
      "description": "the input format and options"
    },
    "moleculeType": {
      "type": "string",
      "description": "the molecule type that determines the search logic"
    },
    "query": {
      "type": "string",
      "description": "the query structure"
    },
    "similarityThreshold": {
      "type": "number",
      "format": "double",
      "description": "similarity threshold"
    },
    "targets": {
      "type": "array",
      "description": "the target structures and their corresponding ids",
      "items": {
        "$ref": "#/$defs/StructureIdPair"
      }
    }
  },
  "required": [
    "moleculeType",
    "query",
    "targets"
  ],
  "$defs": {
    "StructureIdPair": {
      "description": "A pair of structure and id",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64",
          "description": "Id of the structure"
        },
        "structure": {
          "type": "string"
        }
      },
      "required": [
        "structure"
      ]
    }
  }
}