{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "workstream": {
      "const": "pxr-curve-quality-review"
    },
    "source_keys": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "environment": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "python": {
          "type": "string",
          "minLength": 1
        },
        "packages": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "hardware": {
          "type": "string",
          "minLength": 1
        },
        "command": {
          "type": "string",
          "minLength": 1
        },
        "seed_policy": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "python",
        "packages",
        "hardware",
        "command",
        "seed_policy"
      ]
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "selection_count": {
      "type": "integer",
      "minimum": 16,
      "maximum": 16
    },
    "curve_row_count": {
      "type": "integer",
      "minimum": 0
    },
    "compound_reviews": {
      "type": "array",
      "minItems": 16,
      "maxItems": 16,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "molecule_name": {
            "type": "string",
            "minLength": 1
          },
          "source_curve_rows": {
            "type": "array",
            "minItems": 1,
            "uniqueItems": true,
            "items": {
              "type": "integer",
              "minimum": 0
            }
          },
          "disposition": {
            "enum": [
              "no_material_issue_observed",
              "review_recommended",
              "unresolved"
            ]
          },
          "flags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "quantitative_evidence": {
            "type": "string",
            "minLength": 1
          },
          "assay_assignment": {
            "enum": [
              "unknown",
              "supported_inference",
              "explicit_source_label"
            ]
          },
          "assignment_basis": {
            "type": "string",
            "minLength": 1
          },
          "plot_paths": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "recommendation": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "molecule_name",
          "source_curve_rows",
          "disposition",
          "flags",
          "quantitative_evidence",
          "assay_assignment",
          "assignment_basis",
          "plot_paths",
          "recommendation"
        ]
      }
    },
    "cross_cutting_findings": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "selection_bias": {
      "type": "string",
      "minLength": 1
    },
    "reproduction_command": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "workstream",
    "source_keys",
    "environment",
    "limitations",
    "selection_count",
    "curve_row_count",
    "compound_reviews",
    "cross_cutting_findings",
    "selection_bias",
    "reproduction_command"
  ]
}
