{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infinihash-com/json-schema/infinihash-com-consent-record-schema.json",
  "title": "ConsentRecord",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infinihash-com-liveness-biometrics-api-openapi.yml#/components/schemas/ConsentRecord",
  "type": "object",
  "required": [
    "id",
    "submissionId",
    "purpose",
    "policyVersion",
    "retentionPeriod",
    "method",
    "createdAt",
    "consentText"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "submissionId": {
      "type": "string"
    },
    "purpose": {
      "type": "string"
    },
    "policyVersion": {
      "type": "string"
    },
    "retentionPeriod": {
      "type": "string"
    },
    "method": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "consentText": {
      "type": "string",
      "description": "Snapshot of the exact consent text recorded."
    }
  }
}