{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mri-software/json-schema/mri-software-notification-response-schema.json",
  "title": "NotificationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mri-software-notifications-api-openapi.yml#/components/schemas/NotificationResponse",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "created": {
      "type": "string",
      "format": "date-time"
    },
    "modified": {
      "type": "string",
      "format": "date-time"
    },
    "location_id": {
      "type": "integer",
      "format": "int32"
    },
    "visitor_id": {
      "type": "integer",
      "format": "int32"
    },
    "for_staff_id": {
      "type": "integer",
      "format": "int32"
    },
    "to_staff_id": {
      "type": "integer",
      "format": "int32"
    },
    "method": {
      "type": "string",
      "format": "string"
    },
    "type": {
      "type": "string",
      "format": "string"
    },
    "recipient": {
      "type": "string",
      "format": "string"
    },
    "messageid": {
      "type": "string",
      "format": "string"
    },
    "to_staff_name": {
      "type": "string",
      "format": "string"
    },
    "for_staff_name": {
      "type": "string",
      "format": "string"
    },
    "status": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VisitorPersonResponse"
      }
    }
  },
  "type": "object",
  "$defs": {
    "VisitorPersonResponse": {
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "modified": {
          "type": "string",
          "format": "date-time"
        },
        "location_id": {
          "type": "integer",
          "format": "int32"
        },
        "created_staff_id": {
          "type": "integer",
          "format": "int32"
        },
        "staff_id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": "string",
          "format": "string"
        },
        "email": {
          "type": "string",
          "format": "string"
        },
        "from": {
          "type": "string",
          "format": "string"
        },
        "phone": {
          "type": "string",
          "format": "string"
        },
        "mobile": {
          "type": "string",
          "format": "string"
        },
        "title": {
          "type": "string",
          "format": "string"
        },
        "assistance": {
          "type": "boolean",
          "format": "bool"
        },
        "type": {
          "type": "string",
          "format": "string"
        },
        "groups": {
          "description": "Group IDs",
          "type": "array",
          "items": {
            "format": "int32"
          }
        }
      },
      "type": "object"
    }
  }
}