{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-monomer-create-schema.json", "title": "MonomerCreate", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/benchling-monomers-api-openapi.yml#/components/schemas/MonomerCreate", "additionalProperties": false, "allOf": [ { "$ref": "#/$defs/MonomerBaseRequest" }, { "properties": { "naturalAnalog": { "description": "Symbol for the natural equivalent of the monomer. Acceptable natural analog values include IUPAC bases, r, and p.", "type": "string" } } }, { "required": [ "smiles", "name", "naturalAnalog", "symbol" ] } ], "$defs": { "MonomerBaseRequest": { "properties": { "color": { "description": "The hex color code of the monomer visual symbol", "type": [ "string", "null" ] }, "customMolecularWeight": { "description": "Optional molecular weight value that the user can provide to override the calculated molecular weight", "type": [ "number", "null" ] }, "name": { "description": "Name of the monomer", "type": "string" }, "smiles": { "description": "The chemical structure in SMILES format.", "type": "string" }, "symbol": { "description": "User-defined identifier of the monomer, unique on the monomer type.", "type": "string" }, "visualSymbol": { "allOf": [ { "$ref": "#/$defs/MonomerVisualSymbol" } ] } }, "type": "object" }, "MonomerVisualSymbol": { "description": "The shape of the monomer visual symbol.", "enum": [ "DIAMOND_FILLED", "DIAMOND_HOLLOW", "DIAMOND_DASHED", "STAR_FILLED", "STAR_HOLLOW", "TRIANGLE_FILLED", "TRIANGLE_HOLLOW", "DYAD_FILLED", "DYAD_HOLLOW", "CLOVER_FILLED", "CLOVER_HOLLOW", "TRIAD_FILLED", "TRIAD_HOLLOW", "RECTANGLE_FILLED", "RECTANGLE_HOLLOW", "LETTERS_P", "LETTERS_PS" ], "type": "string" } } }