{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infinihash-com/json-schema/infinihash-com-legal-hold-status-schema.json",
  "title": "LegalHoldStatus",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infinihash-com-audit-api-openapi.yml#/components/schemas/LegalHoldStatus",
  "type": "object",
  "required": [
    "submissionId",
    "onHold",
    "reason",
    "setBy",
    "setAt"
  ],
  "properties": {
    "submissionId": {
      "type": "string"
    },
    "onHold": {
      "type": "boolean",
      "description": "false once released."
    },
    "reason": {
      "type": "string"
    },
    "setBy": {
      "type": "string"
    },
    "setAt": {
      "type": "string",
      "format": "date-time"
    },
    "releasedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "releasedBy": {
      "type": [
        "string",
        "null"
      ]
    },
    "releaseReason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}