{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/avetta/json-schema/avetta-3-29-14-logpoint-action-resource-schema.json",
  "title": "3.29.14_LogpointActionResource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/avetta-pegasuslogpoint-logpoint-controller-api-openapi.yml#/components/schemas/3.29.14_LogpointActionResource",
  "required": [
    "actionDateTime",
    "logpointAction",
    "logpointMethod",
    "personId"
  ],
  "type": "object",
  "properties": {
    "actionDateTime": {
      "type": "string"
    },
    "personId": {
      "type": "integer",
      "format": "int32"
    },
    "companyId": {
      "type": "integer",
      "format": "int32"
    },
    "logpointAction": {
      "type": "string",
      "enum": [
        "ACTION_UNKNOWN",
        "ACTION_LOGIN",
        "ACTION_LOGOUT",
        "ACTION_RLU",
        "ACTION_BOOMGATE",
        "ACTION_MOVE_HERE",
        "ACTION_FINISH_HERE",
        "ACTION_TOGGLE"
      ]
    },
    "logpointMethod": {
      "type": "string",
      "enum": [
        "METHOD_UNKNOWN",
        "METHOD_ONSITE_MAGSTRIPE",
        "METHOD_PASSWORD",
        "METHOD_OFFLINE",
        "METHOD_MANUAL",
        "METHOD_FORCED",
        "METHOD_LEGACY",
        "METHOD_AUTO_GENERATED",
        "METHOD_ONSITE_PROX",
        "METHOD_ONSITE_BARCODE",
        "METHOD_RLU",
        "METHOD_QR",
        "METHOD_DESFIRE",
        "MOBILE_KIOSK",
        "METHOD_SITE_AUTO_LOGOUT",
        "METHOD_MOBILE_REMOTE_LOGIN"
      ]
    },
    "activityId": {
      "type": "integer",
      "format": "int32"
    },
    "siteContactId": {
      "type": "integer",
      "format": "int32"
    },
    "seenMessageResources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/3.29.14_MessageResource"
      }
    },
    "inductionId": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "3.29.14_KeyedIntegerResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "3.29.14_MessageResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "message": {
          "type": "string"
        },
        "start": {
          "type": "string"
        },
        "finish": {
          "type": "string"
        },
        "createdBy": {
          "$ref": "#/$defs/3.29.14_KeyedIntegerResource"
        }
      }
    }
  }
}