{
  "schemaVersion": "1.0",
  "sourceSelection": {
    "sheet": "CSV data",
    "plateFormat": "96-well",
    "startRow": 6,
    "startColumn": 2,
    "endRow": 13,
    "endColumn": 13,
    "rows": 8,
    "columns": 12
  },
  "samples": [
    {
      "id": "reference",
      "name": "Reference standard",
      "type": "reference",
      "color": "#245cdf"
    },
    {
      "id": "test",
      "name": "Test sample 01",
      "type": "sample",
      "color": "#176b4d"
    }
  ],
  "concentrationUnits": "ng/mL",
  "dilutions": [
    {
      "sampleId": "reference",
      "initialConcentration": 100.0,
      "dilutionFactor": 2.0,
      "levels": 8
    },
    {
      "sampleId": "test",
      "initialConcentration": 100.0,
      "dilutionFactor": 2.0,
      "levels": 8
    }
  ],
  "mappings": [
    {
      "well": "A1",
      "sampleId": "reference",
      "replicate": 1,
      "dilutionLevel": 1,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "A2",
      "sampleId": "reference",
      "replicate": 2,
      "dilutionLevel": 1,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "A3",
      "sampleId": "reference",
      "replicate": 3,
      "dilutionLevel": 1,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "A4",
      "sampleId": "test",
      "replicate": 1,
      "dilutionLevel": 1,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "A5",
      "sampleId": "test",
      "replicate": 2,
      "dilutionLevel": 1,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "A6",
      "sampleId": "test",
      "replicate": 3,
      "dilutionLevel": 1,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "B1",
      "sampleId": "reference",
      "replicate": 1,
      "dilutionLevel": 2,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "B2",
      "sampleId": "reference",
      "replicate": 2,
      "dilutionLevel": 2,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "B3",
      "sampleId": "reference",
      "replicate": 3,
      "dilutionLevel": 2,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "B4",
      "sampleId": "test",
      "replicate": 1,
      "dilutionLevel": 2,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "B5",
      "sampleId": "test",
      "replicate": 2,
      "dilutionLevel": 2,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "B6",
      "sampleId": "test",
      "replicate": 3,
      "dilutionLevel": 2,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "C1",
      "sampleId": "reference",
      "replicate": 1,
      "dilutionLevel": 3,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "C2",
      "sampleId": "reference",
      "replicate": 2,
      "dilutionLevel": 3,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "C3",
      "sampleId": "reference",
      "replicate": 3,
      "dilutionLevel": 3,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "C4",
      "sampleId": "test",
      "replicate": 1,
      "dilutionLevel": 3,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "C5",
      "sampleId": "test",
      "replicate": 2,
      "dilutionLevel": 3,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "C6",
      "sampleId": "test",
      "replicate": 3,
      "dilutionLevel": 3,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "D1",
      "sampleId": "reference",
      "replicate": 1,
      "dilutionLevel": 4,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "D2",
      "sampleId": "reference",
      "replicate": 2,
      "dilutionLevel": 4,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "D3",
      "sampleId": "reference",
      "replicate": 3,
      "dilutionLevel": 4,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "D4",
      "sampleId": "test",
      "replicate": 1,
      "dilutionLevel": 4,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "D5",
      "sampleId": "test",
      "replicate": 2,
      "dilutionLevel": 4,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "D6",
      "sampleId": "test",
      "replicate": 3,
      "dilutionLevel": 4,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "E1",
      "sampleId": "reference",
      "replicate": 1,
      "dilutionLevel": 5,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "E2",
      "sampleId": "reference",
      "replicate": 2,
      "dilutionLevel": 5,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "E3",
      "sampleId": "reference",
      "replicate": 3,
      "dilutionLevel": 5,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "E4",
      "sampleId": "test",
      "replicate": 1,
      "dilutionLevel": 5,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "E5",
      "sampleId": "test",
      "replicate": 2,
      "dilutionLevel": 5,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "E6",
      "sampleId": "test",
      "replicate": 3,
      "dilutionLevel": 5,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "F1",
      "sampleId": "reference",
      "replicate": 1,
      "dilutionLevel": 6,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "F2",
      "sampleId": "reference",
      "replicate": 2,
      "dilutionLevel": 6,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "F3",
      "sampleId": "reference",
      "replicate": 3,
      "dilutionLevel": 6,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "F4",
      "sampleId": "test",
      "replicate": 1,
      "dilutionLevel": 6,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "F5",
      "sampleId": "test",
      "replicate": 2,
      "dilutionLevel": 6,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "F6",
      "sampleId": "test",
      "replicate": 3,
      "dilutionLevel": 6,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "G1",
      "sampleId": "reference",
      "replicate": 1,
      "dilutionLevel": 7,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "G2",
      "sampleId": "reference",
      "replicate": 2,
      "dilutionLevel": 7,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "G3",
      "sampleId": "reference",
      "replicate": 3,
      "dilutionLevel": 7,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "G4",
      "sampleId": "test",
      "replicate": 1,
      "dilutionLevel": 7,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "G5",
      "sampleId": "test",
      "replicate": 2,
      "dilutionLevel": 7,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "G6",
      "sampleId": "test",
      "replicate": 3,
      "dilutionLevel": 7,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "H1",
      "sampleId": "reference",
      "replicate": 1,
      "dilutionLevel": 8,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "H2",
      "sampleId": "reference",
      "replicate": 2,
      "dilutionLevel": 8,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "H3",
      "sampleId": "reference",
      "replicate": 3,
      "dilutionLevel": 8,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "H4",
      "sampleId": "test",
      "replicate": 1,
      "dilutionLevel": 8,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "H5",
      "sampleId": "test",
      "replicate": 2,
      "dilutionLevel": 8,
      "excluded": false,
      "exclusionReason": ""
    },
    {
      "well": "H6",
      "sampleId": "test",
      "replicate": 3,
      "dilutionLevel": 8,
      "excluded": false,
      "exclusionReason": ""
    }
  ],
  "model": {
    "model": "4pl",
    "fit_mode": "restricted",
    "weighting": "none",
    "concentration_transform": "log10",
    "response_transform": "identity",
    "max_iterations": 20000
  },
  "sst": {
    "minimum_r_squared": 0.98,
    "maximum_replicate_cv": 20.0,
    "minimum_relative_potency": 50.0,
    "maximum_relative_potency": 200.0,
    "minimum_slope_ratio": 0.8,
    "maximum_slope_ratio": 1.25
  },
  "modules": [
    {
      "id": "replicate-statistics",
      "version": "1.0.0",
      "enabled": true,
      "config": {
        "includeExcluded": false,
        "responseDigits": 3,
        "concentrationDigits": 4,
        "cvDigits": 2,
        "caption": "Replicate statistics by sample and dilution level.",
        "artifactId": "replicate-statistics"
      }
    },
    {
      "id": "residual-diagnostics",
      "version": "1.0.0",
      "enabled": true,
      "config": {
        "digits": 4,
        "caption": "Residual diagnostics by sample.",
        "artifactId": "residual-diagnostics"
      }
    }
  ],
  "criteria": [],
  "report": {
    "title": "Worked relative potency analysis",
    "subtitle": "Example 4PL restricted fit \u2014 educational regression fixture",
    "valueStyles": {
      "ec50": {
        "digits": 3,
        "bold": false,
        "italic": false,
        "superscript": false,
        "fontFamily": "Helvetica",
        "fontSize": 8,
        "color": "#121915",
        "alignment": "right"
      },
      "relativePotency": {
        "digits": 1,
        "bold": true,
        "italic": false,
        "superscript": false,
        "fontFamily": "Helvetica",
        "fontSize": 8,
        "color": "#121915",
        "alignment": "right"
      },
      "rSquared": {
        "digits": 4,
        "bold": false,
        "italic": false,
        "superscript": false,
        "fontFamily": "Helvetica",
        "fontSize": 8,
        "color": "#121915",
        "alignment": "right"
      }
    },
    "conditionalStyles": {
      "sst.pass": {
        "bold": true,
        "italic": false,
        "color": "#176b4d",
        "backgroundColor": "#e7f4eb"
      },
      "sst.fail": {
        "bold": true,
        "italic": false,
        "color": "#a33b3b",
        "backgroundColor": "#fff1f1"
      },
      "sst.warning": {
        "bold": true,
        "italic": false,
        "color": "#8a5a12",
        "backgroundColor": "#fff7e6"
      },
      "sst.information": {
        "bold": true,
        "italic": false,
        "color": "#245cdf",
        "backgroundColor": "#edf3ff"
      }
    },
    "sections": [
      {
        "id": "summary",
        "kind": "builtin",
        "enabled": true,
        "title": "Analysis summary",
        "caption": "Analyst, date, model, disposition, and transformations."
      },
      {
        "id": "potency-summary",
        "kind": "builtin",
        "enabled": true,
        "title": "Relative potency results",
        "caption": "Relative potency, EC50, and fit quality by sample."
      },
      {
        "id": "dose-response",
        "kind": "builtin",
        "enabled": true,
        "title": "Dose-response fit",
        "caption": "Reference and test responses with fitted 4PL curves."
      },
      {
        "id": "model-parameters",
        "kind": "builtin",
        "enabled": true,
        "title": "Fitted model parameters",
        "caption": "Parameter estimates for each sample."
      },
      {
        "id": "system-suitability",
        "kind": "builtin",
        "enabled": true,
        "title": "System suitability",
        "caption": "Configured criteria, observed values, and outcomes."
      },
      {
        "id": "data-exclusions",
        "kind": "builtin",
        "enabled": true,
        "title": "Data exclusions",
        "caption": "Excluded wells and the scientific reason for each exclusion."
      },
      {
        "id": "source-details",
        "kind": "builtin",
        "enabled": true,
        "title": "Source file",
        "caption": "Uploaded filename, worksheet, plate size, and selected range."
      },
      {
        "id": "dilution-settings",
        "kind": "builtin",
        "enabled": true,
        "title": "Dilution settings",
        "caption": "Initial concentrations, units, factors, and levels."
      },
      {
        "id": "plate-layout",
        "kind": "builtin",
        "enabled": true,
        "title": "Plate layout",
        "caption": "Sample, replicate, dilution-level, and exclusion assignments by well."
      },
      {
        "id": "plate-data",
        "kind": "builtin",
        "enabled": true,
        "title": "Uploaded plate data",
        "caption": "Measurements read from the selected plate range."
      },
      {
        "id": "provenance",
        "kind": "builtin",
        "enabled": true,
        "title": "Analysis record",
        "caption": "Run details, software versions, and fingerprints that identify the source data file and analysis configuration."
      }
    ],
    "theme": {
      "primaryColor": "#133f31",
      "softColor": "#e7f4eb",
      "textColor": "#121915",
      "mutedColor": "#65736b",
      "lineColor": "#d9e0db",
      "alternateRowColor": "#f7f8f6",
      "headerTextColor": "#ffffff",
      "chartPalette": [
        "#245cdf",
        "#176b4d",
        "#b26b16",
        "#7457b8"
      ]
    },
    "document": {
      "pageSize": "letter",
      "orientation": "portrait",
      "leftMargin": 0.65,
      "rightMargin": 0.65,
      "topMargin": 0.62,
      "bottomMargin": 0.72,
      "titleFontSize": 23,
      "sectionFontSize": 13,
      "footerText": "Provenarium worked example \u00b7 not validation evidence",
      "showPageNumbers": true
    },
    "regulatoryContext": {},
    "artifacts": {
      "tables": [],
      "plots": []
    }
  }
}
