{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/Molecule.json",
  "title": "Molecule",
  "additionalProperties": false,
  "properties": {
    "aliases": {
      "description": "Array of aliases.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "apiURL": {
      "description": "The canonical url of the Molecule in the API.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "archiveRecord": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArchiveRecord"
        }
      ],
      "nullable": true
    },
    "authors": {
      "items": {
        "$ref": "#/components/schemas/UserSummary"
      },
      "type": "array"
    },
    "canonicalizedSmiles": {
      "description": "The canonicalized chemical structure in SMILES format.",
      "example": "Nc1nc(=O)n([H])cc1C1CC1",
      "type": "string"
    },
    "createdAt": {
      "description": "DateTime the Molecule was created.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "creator": {
      "$ref": "#/components/schemas/UserSummary"
    },
    "customFields": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CustomFields"
        }
      ],
      "description": "Custom fields set on the Molecule."
    },
    "entityRegistryId": {
      "description": "Registry ID of the Molecule if registered.",
      "nullable": true,
      "type": "string"
    },
    "fields": {
      "$ref": "#/components/schemas/Fields"
    },
    "folderId": {
      "description": "ID of the folder that contains the Molecule.",
      "nullable": true,
      "type": "string"
    },
    "id": {
      "description": "ID of the Molecule.",
      "example": "mol_bhuDUw9D",
      "type": "string"
    },
    "modifiedAt": {
      "description": "DateTime the Molecule was last modified.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "name": {
      "description": "Name of the Molecule.",
      "type": "string"
    },
    "originalSmiles": {
      "description": "The original chemical structure supplied by the user in SMILES format. Null if the user did not originally supply SMILES.",
      "example": "Nc1nc(=O)n([H])cc1C1CC1",
      "nullable": true,
      "type": "string"
    },
    "registrationOrigin": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RegistrationOrigin"
        }
      ],
      "nullable": true,
      "readOnly": true
    },
    "registryId": {
      "description": "Registry the Molecule is registered in.",
      "nullable": true,
      "type": "string"
    },
    "schema": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SchemaSummary"
        }
      ],
      "nullable": true
    },
    "webURL": {
      "description": "URL of the Molecule.",
      "example": "https://benchling.com/benchling/f/lib_R8KcsjhW-molecules/mol_xCUXNVyG-molecule1/edit",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object"
}