{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/looot/json-schema/looot-quarantine-review-schema.json",
  "title": "QuarantineReview",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/looot-quarantine-reviews-api-openapi.yml#/components/schemas/QuarantineReview",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "reviewId",
    "fileId",
    "contentDigest",
    "status",
    "decisionReason",
    "reviewerPrincipalId",
    "createdAt",
    "decidedAt"
  ],
  "properties": {
    "reviewId": {
      "type": "string"
    },
    "fileId": {
      "type": "string"
    },
    "contentDigest": {
      "type": "string",
      "pattern": "^sha256:[a-f0-9]{64}$"
    },
    "status": {
      "enum": [
        "pending",
        "approved",
        "rejected"
      ]
    },
    "decisionReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "reviewerPrincipalId": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "decidedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}