Docs OpenAPI

Docs / Types

Package

What a complete job hands back: its files, its rewards and, for a route review, the chemist's review. A job the lab reopens and finishes again gets a new version, and every earlier version stays readable.

View as Markdown

Fields

  • filesarray of PackageFilerequired#

    The job's data in the lab's release format: a folder for each product, holding <product ID>.json, a record for each experiment under experiments/ and the instrument files under raw/, with provenance.jsonl at the top. A route review has none.

    Show 4 fields of PackageFile
    • media_typeName (string, at most 200 chars, pattern)required#

      A short name, such as a reaction's ID or a chemist's: 1 to 200 printable characters, not all spaces.

    • pathFilePath (string, pattern)required#

      A file's path within a record or a package, such as notebook/page-1.jpg: relative, with no empty or .. part and no control characters.

    • sha256Sha256 (string, pattern ^[0-9a-f]{64}$)required#

      A file's SHA-256 hash, as 64 lowercase hexadecimal characters. The API names every file by it.

    • size_bytesinteger, at least 0required#
  • rewardsarray of Rewardrequired#
    Show 5 fields of Reward
    • measureMeasure (one of "yield_pct", "conversion_pct", "purity_pct")required#

      What can be measured of a reaction's product, each as a percentage.

    • measuredNonNegative (number, 0 to 1012)required#

      What the lab measured.

    • methodText (string, pattern)required#

      How the lab measured it, such as "isolated mass" or "HPLC area at 254 nm".

    • sourceRewardSourcerequired#
    • reactionName (string, at most 200 chars, pattern) or null#

      The ID of the request's reaction this is for. It is null for a synthesis's final product.

  • versioninteger, at least 0required#

    1 for the job's first package.

  • written_atstring, RFC 3339required#
  • reasonName (string, at most 200 chars, pattern) or null#

    Why the lab reopened the job before this version, in its words. It is null for the first.

  • reviewReview or null#

    What the chemist made of the route. It is null for any job but a route review.

    Show 6 fields of Review
    • chemistName (string, at most 200 chars, pattern)required#

      A pseudonym for the chemist who reviewed it.

    • confidenceConfidence (one of "high", "medium", "low")required#

      How sure the chemist is that the route as a whole gives its target.

    • reactionsarray of ReactionReviewrequired#

      One for each of the route's reactions the chemist judged. It may be empty.

    • reviewed_atstring, RFC 3339required#
    • siteName (string, at most 200 chars, pattern)required#

      A short name, such as a reaction's ID or a chemist's: 1 to 200 printable characters, not all spaces.

    • summaryEnglishText (string, pattern)required#

      What the chemist advises, in English.

Used by