{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/substructure/main/json-schema/substructure-post-api-machine-sessions-submit-request-schema.json",
  "title": "PostApiMachineSessionsSubmitRequest",
  "x-generated": "2026-10-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/substructure-openapi-generated.yml#/components/schemas/PostApiMachineSessionsSubmitRequest",
  "type": "object",
  "properties": {
    "agent_id": {
      "type": "string"
    },
    "identity": {
      "type": "object",
      "description": "identity.id is required, metadata optional"
    },
    "session_id": {
      "type": "string"
    },
    "payload": {
      "type": "object"
    },
    "state": {
      "type": "object"
    },
    "queue": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    }
  },
  "required": [
    "agent_id",
    "identity",
    "payload"
  ]
}