{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "title": "Reg Event",
  "description": "Registration event specific structure",
  "extends": {
    "$comment": "Extends common event structure",
    "$ref": "event.json"
  },
  "properties": {
    "requestId": {
      "title": "Request ID",
      "description": "Registration request identifier",
      "type": "string"
    },
    "enrollmentId": {
      "title": "Enrollment ID",
      "description": "Enrollment identifier",
      "type": "string"
    },
    "policy": {
      "title": "Policy",
      "description": "Policy if any involved in action initiated this event",
      "$ref": "event.json#/$defs/event-policy"
    },
    "workflow": {
      "title": "Workflow",
      "description": "Workflow if any involved in action initiated this event",
      "$ref": "event.json#/$defs/event-workflow"
    },
    "faceScores": {
      "title": "Face Scores",
      "description": "Scores for facial recognition",
      "$ref": "event.json#/$defs/face-scores"
    }
  }
}
