{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/MoleculeBaseRequest.json",
  "title": "MoleculeBaseRequest",
  "additionalProperties": false,
  "properties": {
    "aliases": {
      "description": "Aliases to add to the Molecule.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "authorIds": {
      "description": "IDs of users to set as the Molecule's authors.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "chemicalStructure": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MoleculeStructure"
        }
      ],
      "description": "Chemical structure of the Molecule.\n"
    },
    "customFields": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CustomFields"
        }
      ],
      "description": "Custom fields to add to the Molecule. Every field should have its name as a key, mapping to an object with information about the value of the field.\n"
    },
    "fields": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Fields"
        }
      ],
      "description": "Fields to set on the Molecule. Must correspond with the schema's field definitions. Every field should have its name as a key, mapping to an object with information about the value of the field.\n"
    },
    "folderId": {
      "description": "ID of the folder containing the Molecule.\n",
      "type": "string"
    },
    "name": {
      "description": "Name of the Molecule.\n",
      "type": "string"
    },
    "schemaId": {
      "description": "ID of the Molecule's schema.\n",
      "type": "string"
    }
  },
  "type": "object"
}