{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://weverlabs.com/schemas/sample-return-package.schema.json",
  "title": "Wever Labs Sample Return Package",
  "type": "object",
  "required": [
    "schema_version",
    "sample_id",
    "rail",
    "sample_type",
    "sample_state",
    "return_package",
    "operator_review"
  ],
  "properties": {
    "schema_version": {
      "const": "sample_return_package.v1"
    },
    "sample_id": {
      "type": "string"
    },
    "rail": {
      "type": "string",
      "enum": [
        "packetops",
        "diligenceops",
        "scout",
        "loop_review"
      ]
    },
    "rail_label": {
      "type": "string"
    },
    "sample_type": {
      "type": "string"
    },
    "sample_state": {
      "type": "string"
    },
    "customer_question": {
      "type": "string"
    },
    "input_summary": {
      "type": "object"
    },
    "return_package": {
      "type": "object"
    },
    "operator_boundary": {
      "type": "string"
    }
  },
  "additionalProperties": true
}
