VenHub · Schema

HubEvent

RetailRoboticsAutomated StoresSmart Lockers24/7 RetailHospitalityEducationHealthcare

Properties

Name Type Description
message_type object
message_content object
View JSON Schema on GitHub

JSON Schema

autonomous-solutions-hub-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autonomous-solutions/json-schema/autonomous-solutions-hub-event-schema.json",
  "title": "HubEvent",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autonomous-solutions-vensmart-api-openapi.yml#/components/schemas/HubEvent",
  "properties": {
    "message_type": {
      "$ref": "#/$defs/HubMessageType"
    },
    "message_content": {
      "$ref": "#/$defs/MessageContent"
    }
  },
  "type": "object",
  "required": [
    "message_type",
    "message_content"
  ],
  "$defs": {
    "BinStatus": {
      "properties": {
        "bin_num": {
          "type": "integer",
          "title": "Bin Num"
        },
        "occurrence": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Occurrence"
        },
        "status_code": {
          "type": "integer",
          "title": "Status Code"
        },
        "is_ready": {
          "type": "boolean",
          "title": "Is Ready",
          "default": false
        },
        "is_dropped": {
          "type": "boolean",
          "title": "Is Dropped",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "bin_num",
        "status_code"
      ],
      "title": "BinStatus",
      "description": "Status information for an individual bin.\n\nAttributes:\n    bin_num: The bin number\n    occurrence: The occurrence count for this bin (for handling multiple bins with the same number)\n    status_code: VensmartStatusCode indicating the bin's current state\n    is_ready: Whether the bin is ready to be opened\n    is_dropped: Whether all items in this bin were dropped"
    },
    "DroppedItem": {
      "properties": {
        "quantity": {
          "type": "integer",
          "title": "Quantity"
        },
        "product_detail_id": {
          "type": "integer",
          "title": "Product Detail Id"
        }
      },
      "type": "object",
      "required": [
        "quantity",
        "product_detail_id"
      ],
      "title": "DroppedItem"
    },
    "HubMessageType": {
      "type": "string",
      "enum": [
        "info",
        "warning",
        "error",
        "update",
        "heartbeat",
        "notification",
        "order_completed",
        "order_update",
        "order_started",
        "door_opened"
      ],
      "title": "HubMessageType"
    },
    "MessageContent": {
      "properties": {
        "user_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "User Id"
        },
        "order_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Order Id"
        },
        "status_code": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status Code"
        },
        "current_bin": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Current Bin"
        },
        "bin_num": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bin Num"
        },
        "bins_status": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/BinStatus"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bins Status"
        },
        "dropped_items": {
          "additionalProperties": {
            "$ref": "#/$defs/DroppedItem"
          },
          "type": "object",
          "title": "Dropped Items",
          "default": {}
        },
        "bin_nums": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Bin Nums",
          "default": []
        },
        "message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Message"
        },
        "hub_response_status_code": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Hub Response Status Code"
        }
      },
      "type": "object",
      "title": "MessageContent"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/autonomous-solutions-hub-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.