# Lot Report v1

An open format for publishing laboratory test results by production lot.

| | |
|---|---|
| **Version** | 1.0.0 (stable) |
| **Published** | 2 December 2026 |
| **This version** | https://lodgepeptides.com/lot-report/ |
| **Schema** | https://lodgepeptides.com/lot-report/v1/schema.json |
| **Editor** | Lodge Peptides |
| **Feedback** | info@lodgepeptides.com |
| **Licence** | CC0 1.0: the specification, schema, examples and validators are in the public domain |

## 1. Why this exists {#why}

Sellers usually publish lab results as PDFs or images on product pages. People can read them, but software can't. Nobody can compare lots across sellers, and when a file is quietly edited or swapped, no one can tell.

A Lot Report is one small JSON file listing every lot a publisher sells or has sold, each lab test on that lot, and the three things that let anyone check a result without trusting the publisher:

1. the laboratory's **report ID**,
2. the laboratory's own **verification link or code**, and
3. a **SHA-256 hash** of the original report document, so any later edit to the file shows up.

The format is deliberately small. It indexes lab reports and doesn't replace them. The signed report from the laboratory stays the authoritative record.

## 2. Principles {#principles}

- **The lab report is the record.** Every value in a Lot Report is copied from a laboratory report that is linked from the same entry. Where a laboratory doesn't allow its figures to be copied, a publisher can list the test as a reference and send readers to the laboratory's own page (section 6.5).
- **Copy, don't improve.** Values are recorded as the laboratory reported them. Don't round them further, convert units, or average replicates.
- **Say what a percentage is a fraction of.** Purity without its basis is ambiguous.
- **Keep the qualifier.** "< 12.5" is not 12.5 and it isn't zero.
- **Publish the unflattering results too.** A lot that measured below its label claim stays in the file.
- **Nothing to sell.** A Lot Report carries no prices, no claims about use or effect, and no marketing copy.

## 3. Conformance {#conformance}

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 (RFC 2119, RFC 8174) when, and only when, they appear in all capitals, as shown here.

A **conforming document**:

- MUST be JSON (RFC 8259) encoded as UTF-8;
- MUST be valid against the JSON Schema (draft 2020-12) at `https://lodgepeptides.com/lot-report/v1/schema.json`; and
- MUST satisfy every MUST rule in [section 7](#rules).

A **conforming consumer** MUST ignore properties whose names begin with `x-`, and MUST NOT reject a document because its minor or patch version is higher than the one it was written for.

## 4. Where to publish {#location}

Publishers SHOULD serve their Lot Report at:

```
https://<your-domain>/.well-known/lots.json
```

This follows the well-known URI convention of RFC 8615. The `lots.json` suffix is not registered with IANA. The file:

- MUST be served over HTTPS with `Content-Type: application/json`;
- SHOULD be served with `Access-Control-Allow-Origin: *` so browser-based tools can read it;
- SHOULD be linked from the publisher's lab-results pages:
  `<link rel="alternate" type="application/json" href="/.well-known/lots.json" title="Lot Report">`
- MUST have its `updated` value changed whenever any lot or test in it changes.

A publisher MAY also publish the same document at other URLs.

## 5. Document structure {#structure}

```
document
├── lot_report_version, updated, publisher, license
└── lots[]
    ├── lot, status, product, lot_url, label_details, notes
    └── tests[]
        ├── type, lab, sample_submitted_by, report_id, sample_id
        ├── method, method_detail, dates
        ├── results  (purity, content, fill accuracy, identity, endotoxin, components[]); omit for a reference test
        ├── document (url, sha256)
        └── verification (url, code); required for a reference test
```

## 6. Fields {#fields}

### 6.1 Document {#fields-document}

| Field | Type | Req. | Meaning |
|---|---|---|---|
| `$schema` | URL | | `https://lodgepeptides.com/lot-report/v1/schema.json` |
| `lot_report_version` | string | yes | Version of this specification the file follows, e.g. `"1.0.0"`. Major version MUST be 1. |
| `publisher.name` | string | yes | The organisation publishing the file. |
| `publisher.url` | URL | yes | Its website. |
| `publisher.contact` | string | | An email address or URL where corrections can be sent. RECOMMENDED. |
| `updated` | date-time | yes | When the file last changed (RFC 3339), e.g. `"2026-12-02T12:00:00-08:00"`. |
| `license` | string | | Licence for the data: an SPDX identifier such as `CC-BY-4.0`, or a URL. |
| `lots` | array | yes | One entry per lot. MAY be empty. |

### 6.2 Lot {#fields-lot}

| Field | Type | Req. | Meaning |
|---|---|---|---|
| `lot` | string | yes | Lot or batch number exactly as printed on the label (1 to 64 characters). |
| `status` | enum | yes | `current` (on sale now), `previous` (no longer sold), `withdrawn` (removed from sale by the publisher), `recalled`. |
| `product.name` | string | yes | Product name, including strength where it matters. |
| `product.url` | URL | | The product page. |
| `product.sku` | string | | The publisher's SKU. |
| `product.label_claim` | quantity | | Amount stated on the label, e.g. `{"value": 10, "unit": "mg"}`. |
| `product.form` | enum | | `lyophilized_powder`, `solution`, `capsule`, `tablet`, `other`. |
| `product.components[]` | array | | For blends (two or more): `name`, optional `label_claim`, optional `cas`. |
| `lot_url` | URL | | A page about this lot. |
| `label_details` | object | | Other identifying marks as text, e.g. `{"cap_colour": "pink"}`. |
| `tests` | array | yes | At least one test. |
| `notes` | string | | Plain-language notes. |

A **quantity** is `{"value": number ≥ 0, "unit": unit}` with unit one of `g`, `mg`, `mcg`, `ng`, `IU`, `mL`, `mg/mL`, `mcg/mL`, `%`.

### 6.3 Test {#fields-test}

| Field | Type | Req. | Meaning |
|---|---|---|---|
| `type` | enum | yes | `purity`, `content`, `purity_and_content`, `identity`, `endotoxin`, `sterility`, `heavy_metals`, `residual_solvents`, `water_content`, `counter_ion`, `other`. |
| `lab.name` | string | yes | The laboratory that issued the report. |
| `lab.url` | URL | | Its website. |
| `lab.performed_by` | string | | The laboratory that ran the analysis, if different from the issuer. |
| `lab.accreditation` | string | | Standard and certificate number, if any, e.g. `"ISO/IEC 17025:2017, cert. 1234.01"`. Leave it out rather than guess. |
| `sample_submitted_by` | enum | | Who sent the sample, relative to the publisher: `publisher`, `supplier`, `manufacturer`, `customer`, `independent`, `unknown`. |
| `report_id` | string | yes\* | The report number printed on the report. |
| `sample_id` | string | | The laboratory's sample ID. |
| `method` | string | yes\* | Short technique name, e.g. `"HPLC-UV"`, `"HPLC-MS/MS"`, `"Kinetic chromogenic LAL"`. |
| `method_detail` | string | | Wavelength, column, compendial chapter or other conditions. |
| `dates` | object | yes\* | Any of `received`, `analyzed`, `issued` as calendar dates (`YYYY-MM-DD`). At least one. |
| `results` | object | yes\* | See 6.4. Omit it to make a reference test (6.5). |
| `document.url` | URL | | The original report file. RECOMMENDED. |
| `document.sha256` | string | | Lowercase hex SHA-256 of the exact file at `document.url`. RECOMMENDED. |
| `document.media_type` | string | | e.g. `application/pdf`. |
| `verification.url` | URL | yes\*\* | The laboratory's own page for checking this report. |
| `verification.code` | string | | The code to enter there. |

\* Required when the test has `results`. \*\* Required when the test has no `results` (a reference test, 6.5).

### 6.4 Results {#fields-results}

| Field | Type | Meaning |
|---|---|---|
| `purity_percent` | number 0–100 | Purity as reported. |
| `purity_qualifier` | enum | `=` (default), `>=`, `<`. |
| `purity_basis` | string | What the percentage is a fraction of, e.g. `"HPLC peak area, 214 nm"`. RECOMMENDED whenever `purity_percent` is present. |
| `net_content` | quantity | Amount of the target measured in the container. |
| `fill_accuracy_percent` | number | `net_content ÷ label_claim × 100`, as reported. |
| `identity` | enum | `conforms`, `does_not_conform`, `not_tested`. |
| `identity_detail` | string | The evidence, e.g. retention time against a reference standard, or *m/z*. |
| `endotoxin` | object | `qualifier` (`=`, `<`, `>`), `value`, `unit` (`EU/mg`, `EU/vial`, `EU/mL`), `below_loq` (boolean). |
| `components[]` | array | Per-component results for blends: `name`, `purity_percent`, `net_content`, `fill_accuracy_percent`. |
| `summary` | string | A one-line plain-language summary. |

`results` MUST contain at least one field.

### 6.5 Reference tests {#fields-reference}

A test without `results` is a **reference test**. It says that the laboratory tested this lot and points to the laboratory's own record. It MUST have `type`, `lab.name` and `verification.url`. It MAY also carry `sample_submitted_by`, `sample_id`, `report_id`, `method`, `dates` and `document`, where the publisher is free to state them.

Use a reference test when a laboratory's terms allow links to its reports but not copying their figures. A consumer MUST NOT treat a reference test as passing or failing, and MUST NOT infer any result from it. A reference test carries no figures, so the rules in section 7 that compare figures have nothing to check for it.

## 7. Rules a schema can't check {#rules}

A conforming document MUST also satisfy these rules:

1. **Fill accuracy adds up.** Where `net_content` and `product.label_claim` share a unit, `fill_accuracy_percent` MUST be within 0.15 percentage points of `net_content ÷ label_claim × 100`. The same applies to each blend component that has its own label claim.
2. **Blend totals add up.** Where every entry in `results.components[]` has a `net_content` in the same unit as the total, their sum MUST equal the total `net_content` to within 0.02 of that unit plus 0.1% of the total.
3. **Dates run in order.** `received` ≤ `analyzed` ≤ `issued`, for whichever of them are present.
4. **No dates from the future.** No test date may be later than the document's `updated` date.
5. **One entry per lot.** The same `lot` MUST NOT appear twice for the same product name (compared without regard to case).
6. **Qualifiers agree.** If `endotoxin.below_loq` is `true`, `endotoxin.qualifier` MUST be `<`.
7. **Endotoxin tests carry an endotoxin result.** A test of `type` `endotoxin` that has `results` MUST include `results.endotoxin`.

It SHOULD also:

- give a `document` with `sha256` and a `verification` link or code for every test that has `results`;
- give `purity_basis` wherever `purity_percent` appears;
- use `https` for every URL;
- give `publisher.contact`.

The validators on this page report rule 1–7 failures as errors and the SHOULD items as warnings.

## 8. Value conventions {#conventions}

- **Numbers** are JSON numbers, not strings: `99.5`, not `"99.5%"`.
- **Lot numbers** are written exactly as printed on the label, including prefixes and punctuation.
- **A result below a reporting limit** is written with its qualifier and the limit: `{"qualifier": "<", "value": 12.5, "unit": "EU/vial", "below_loq": true}`.
- **Status** describes the lot, not the product. When a new lot replaces an old one, the old entry stays, with `status: "previous"`.
- **Corrections.** If a laboratory reissues a report, update the entry to the new report and its hash, and say so in `notes`. Don't delete the lot.
- **Extensions.** Add your own properties with an `x-` prefix (`"x-internal-id": 42`). Anything else that isn't in the schema is an error.

## 9. Example {#example}

The smallest useful document:

```json
{
  "$schema": "https://lodgepeptides.com/lot-report/v1/schema.json",
  "lot_report_version": "1.0.0",
  "publisher": {
    "name": "Example Supply Co.",
    "url": "https://example.com",
    "contact": "quality@example.com"
  },
  "updated": "2026-12-01T09:00:00Z",
  "lots": [
    {
      "lot": "EX-2026-001",
      "product": {
        "name": "Example peptide 5 mg",
        "label_claim": { "value": 5, "unit": "mg" }
      },
      "status": "current",
      "tests": [
        {
          "type": "purity",
          "lab": { "name": "Example Analytical Labs" },
          "report_id": "EAL-10001",
          "method": "HPLC-UV",
          "dates": { "issued": "2026-11-20" },
          "results": {
            "purity_percent": 98.7,
            "purity_basis": "HPLC peak area, 214 nm"
          },
          "document": {
            "url": "https://example.com/reports/EAL-10001.pdf",
            "sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
          },
          "verification": {
            "url": "https://lab.example.org/verify/EAL-10001"
          }
        }
      ]
    }
  ]
}
```

More examples: [single product with endotoxin](https://lodgepeptides.com/lot-report/v1/examples/full.json), [blend](https://lodgepeptides.com/lot-report/v1/examples/blend.json), [reference tests only](https://lodgepeptides.com/lot-report/v1/examples/reference.json), [minimal](https://lodgepeptides.com/lot-report/v1/examples/minimal.json). Every name, number and hash in the examples is invented.

## 10. Validators {#validators}

- **In the browser:** paste a document, or load one, in the validator on this page. Nothing you paste leaves your browser. The same code is an ES module you can import: `import { validate } from "https://lodgepeptides.com/lot-report/v1/validator.mjs"`, then `validate(doc)` returns `{ errors, warnings }`.
- **Command line:** [lot_report_validate.py](https://lodgepeptides.com/lot-report/v1/lot_report_validate.py) needs only Python 3.8 or later:

```
python3 lot_report_validate.py https://example.com/.well-known/lots.json
python3 lot_report_validate.py --check-documents lots.json
```

`--check-documents` downloads each linked report and compares its SHA-256 with the one in the file. Exit status is 0 when valid, 1 when there are errors, 2 when the input can't be read.

- **Any JSON Schema library:** validate against [schema.json](https://lodgepeptides.com/lot-report/v1/schema.json) (draft 2020-12), then apply the rules in section 7.

## 11. Checking a single report by hand {#checklist}

The same ideas work without any software. Before relying on a lab report, check that it has:

1. a unique report number and a lab you can identify, with an address;
2. the lot number, matching the label;
3. the method, and what purity is a fraction of;
4. measured content in mg, not only purity;
5. the dates received, analysed and issued, in order;
6. qualifiers and units kept (`<`, `±`, EU/vial);
7. a statement that results relate only to the item tested;
8. a verification code that you check on the lab's own website, typed in yourself.

Items 1 to 7 follow ISO/IEC 17025:2017, clause 7.8.2.1. The free [Teach the COA](https://lodgepeptides.ca/teach-the-coa/) kit turns this list into a class.

## 12. Versioning {#versioning}

Lot Report uses Semantic Versioning 2.0.0.

- **Patch** releases (1.0.x) fix wording and examples only.
- **Minor** releases (1.x.0) may add optional fields or enum values. They never remove a field or change what one means, so a file written for 1.0 stays valid.
- A **major** release would be published at a new schema URL (`/lot-report/v2/`). The v1 schema URL is permanent and won't change.

### Changelog {#changelog}

- **1.0.0** (2026-12-02): First release. It includes reference tests (6.5).

## 13. Implementations {#implementations}

- **Lodge Peptides:** [lodgepeptides.ca/.well-known/lots.json](https://lodgepeptides.ca/.well-known/lots.json) (16 lots, 17 tests).

Publishing a Lot Report, or reading them? Email info@lodgepeptides.com and we'll list it here. You don't need permission to use the format.

## 14. How to cite {#cite}

> Lodge Peptides. (2026). *Lot Report v1: An open format for publishing laboratory test results by lot* (Version 1.0.0). https://lodgepeptides.ca/lot-report/

```
@techreport{lotreport_v1,
  author      = {{Lodge Peptides}},
  title       = {Lot Report v1: An open format for publishing laboratory test results by lot},
  institution = {Lodge Peptides},
  year        = {2026},
  month       = dec,
  type        = {Specification},
  number      = {Version 1.0.0},
  url         = {https://lodgepeptides.ca/lot-report/}
}
```

## 15. Licence {#licence}

This specification, the JSON Schema, the examples and both validators are dedicated to the public domain under [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). You can copy, change and use them for any purpose without asking or giving credit. The browser validator includes code from Ajv and ajv-formats (MIT License).

Lodge Peptides' own `lots.json` is data, not part of the specification, and is published under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

## 16. About the editor {#about}

Lot Report was written by Lodge Peptides, which sells research peptides and publishes a third-party lab report for every lot. The format is vendor-neutral: nothing in it refers to a particular seller, laboratory or product, and it works for any product sold by lot. A valid Lot Report shows that results are published in a checkable way. It doesn't show that a product is safe, effective or of any particular quality.

## References {#references}

- Bradner, S. (1997). *Key words for use in RFCs to Indicate Requirement Levels*. RFC 2119. https://www.rfc-editor.org/rfc/rfc2119
- Leiba, B. (2017). *Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words*. RFC 8174. https://www.rfc-editor.org/rfc/rfc8174
- Nottingham, M. (2019). *Well-Known Uniform Resource Identifiers (URIs)*. RFC 8615. https://www.rfc-editor.org/rfc/rfc8615
- Bray, T. (Ed.) (2017). *The JavaScript Object Notation (JSON) Data Interchange Format*. RFC 8259. https://www.rfc-editor.org/rfc/rfc8259
- Klyne, G. & Newman, C. (2002). *Date and Time on the Internet: Timestamps*. RFC 3339. https://www.rfc-editor.org/rfc/rfc3339
- Wright, A., Andrews, H., Hutton, B. & Dennis, G. (2022). *JSON Schema: A Media Type for Describing JSON Documents* (draft 2020-12). https://json-schema.org/draft/2020-12
- Preston-Werner, T. *Semantic Versioning 2.0.0*. https://semver.org/
- National Institute of Standards and Technology (2015). *Secure Hash Standard (SHS)*. FIPS 180-4. https://doi.org/10.6028/NIST.FIPS.180-4
- ISO/IEC 17025:2017. *General requirements for the competence of testing and calibration laboratories*, clause 7.8.
- SPDX License List. https://spdx.org/licenses/
