Docs OpenAPI

Docs / Types

All 35 types

Every named schema in the customer API, generated from the Rust wire types.

View as Markdown
  • A temperature in degrees Celsius, from absolute zero to 5000.

  • How sure a chemist is that something will work.

  • A customer's credits, as one of its keys sees them.

  • English text, such as a translated procedure or a review's summary: not empty, not all spaces, and with no NUL or CJK character (U+4E00 to U+9FFF).

  • 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.

  • A job and where it is.

  • A job's ID: job_ and then the job's UUID in 26 characters of base32, as a TypeID (github.com/jetify-com/typeid).

  • A page of jobs, newest first.

  • What a customer asks the lab to do.

  • Where a job is.

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

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

  • NonEmpty_PlannedMaterial (array of PlannedMaterial, at least 1)

  • NonEmpty_Reaction (array of Reaction, at least 1)

  • An amount of zero or more, up to 1012.

  • What a complete job hands back: its files, its rewards and, for a route review, the chemist's review.

  • One file of a package.

  • A percentage, from 0 to 100.

  • A material a reaction is planned with.

  • An amount greater than zero, up to 1012.

  • What jobs cost now.

  • What went wrong, as RFC 9457 describes.

  • What one reaction of a kind of job costs, in credits.

  • One reaction the customer asks for.

  • A chemist's judgment of one reaction of a route.

  • At least one reaction, with unique IDs, so that a reward can name one.

  • A chemist's judgment of a route: how sure they are that it gives its target, and what they advise.

  • What the lab measured and how, and the chain from that number to the raw file, chemist, site and time.

  • Where a measurement came from.

  • What a material that goes into a reaction does in it.

  • A file's SHA-256 hash, as 64 lowercase hexadecimal characters.

  • A molecule as SMILES.

  • Text that says something, such as a procedure: not empty, not all spaces, and with no NUL character.

  • Which of the four jobs this is, and what it needs.

  • A kind of job, as Work's kind names it.