{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Jev Operation-Target Decision Log",
  "type": "object",
  "required": [
    "decision_id",
    "site_version",
    "operation_family",
    "state_family",
    "top_probability",
    "second_probability",
    "normalized_entropy",
    "selected_target_id",
    "expected_target_id",
    "correct",
    "ood_score",
    "state_freshness"
  ],
  "properties": {
    "decision_id": {
      "type": "string"
    },
    "site_version": {
      "type": "string"
    },
    "operation_family": {
      "type": "string"
    },
    "state_family": {
      "type": "string"
    },
    "top_probability": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "second_probability": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "normalized_entropy": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "selected_target_id": {
      "type": [
        "string",
        "integer"
      ]
    },
    "expected_target_id": {
      "type": [
        "string",
        "integer"
      ]
    },
    "correct": {
      "type": "boolean"
    },
    "ood_score": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "state_freshness": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    }
  }
}