{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/avetta/json-schema/avetta-3-29-14-activity-resource-schema.json",
  "title": "3.29.14_ActivityResource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/avetta-pegasuslogpoint-activity-controller-api-openapi.yml#/components/schemas/3.29.14_ActivityResource",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "activityTypeId": {
      "type": "integer",
      "format": "int32"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "sequenceNumber": {
      "type": "integer",
      "format": "int32"
    },
    "personTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "SITE_CONTACT",
          "PERSONAL_CONTACT",
          "USER",
          "EMPLOYEE",
          "CONTRACTOR",
          "VISITOR",
          "SUPERUSER",
          "UNICORN_USER",
          "INVALID_PERSON",
          "MASTERKEY",
          "CARDHOLDER",
          "PAST_CARDHOLDER",
          "INVISIBLE",
          "IMPOSSIBLE"
        ]
      }
    },
    "start": {
      "type": "string"
    },
    "finish": {
      "type": "string"
    },
    "level": {
      "type": "integer",
      "format": "int32"
    },
    "topLevelId": {
      "type": "integer",
      "format": "int32"
    },
    "parentId": {
      "type": "integer",
      "format": "int32"
    },
    "displayedAtLogin": {
      "type": "boolean"
    }
  }
}