Semantic Protocol

The formal JSON contract for structured semantic integration.

Observe Request

</> Text
{
  "mode": "observe",
  "world_id": "worldX",
  "events": [
    {
      "process": "directional_transfer",
      "participants": [
        { "entity": "John", "role": "sender" },
        { "entity": "Mary", "role": "receiver" },
        { "entity": "book", "role": "object" }
      ]
    }
  ]
}

Retrieve Request

</> Text
{
  "mode": "retrieve",
  "world_id": "worldX",
  "query": {
    "process": "directional_transfer",
    "roles": {
      "receiver": ["Mary"]
    },
    "target_role": "object"
  }
}