{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chemaxon/json-schema/chemaxon-hydrogenizer-request-schema.json",
  "title": "HydrogenizerRequest",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chemaxon-structure-manipulation-openapi.yml#/components/schemas/HydrogenizerRequest",
  "properties": {
    "atoms": {
      "type": "array",
      "description": "In case of hydrogenization, these should be the indices of the heavy atoms so only their hydrogen atoms will be converted to explicit hydrogen atoms; in case of dehydrogenization, these are the indices of the hydrogen atoms that should be converted to implicit hydrogen atoms - in both cases, empty means all",
      "items": {
        "type": "integer",
        "format": "int32"
      }
    },
    "inputFormat": {
      "type": "string",
      "description": "the input format and options"
    },
    "method": {
      "type": "string",
      "default": "dehydrogenize",
      "description": "specifies if hydrogenation or dehydrogenation is required",
      "enum": [
        "hydrogenize",
        "dehydrogenize"
      ]
    },
    "outputFormat": {
      "type": "string",
      "default": "mrv",
      "description": "the output format and options"
    },
    "structures": {
      "type": "array",
      "description": "The list of molecule strings.",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "structures"
  ]
}