{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infinihash-com/json-schema/infinihash-com-rekyc-review-schedule-schema.json",
  "title": "RekycReviewSchedule",
  "description": "Periodic-review schedule for a submission (one row per submission).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infinihash-com-periodic-review-api-openapi.yml#/components/schemas/RekycReviewSchedule",
  "type": "object",
  "required": [
    "id",
    "submissionId",
    "apiKeyId",
    "riskTier",
    "reviewFrequencyDays",
    "nextReviewDate",
    "status",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "submissionId": {
      "type": "string"
    },
    "apiKeyId": {
      "type": "string"
    },
    "riskTier": {
      "type": "string",
      "description": "Submission risk tier at scheduling time (default low)."
    },
    "reviewFrequencyDays": {
      "type": "integer",
      "description": "Review interval derived from the tier: low 365, medium 180, high 90, critical 30 (unknown tiers 365)."
    },
    "nextReviewDate": {
      "type": "string",
      "format": "date-time"
    },
    "lastReviewDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "status": {
      "type": "string",
      "description": "scheduled | completed | superseded."
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}