{
  "lexicon": 1,
  "id": "space.polymodel.graph.deleteTag",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Delete a specific tag assertion record for the authenticated actor, then eagerly project viewer/count state. Tag delete requires a concrete tag record URI because tags are rkey-idempotent, not unique by subject+tag.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["uri"],
          "properties": {
            "uri": { "type": "string", "format": "at-uri" }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["deleted"],
          "properties": {
            "deleted": { "type": "boolean" },
            "uri": { "type": "string", "format": "at-uri" }
          }
        }
      }
    }
  }
}
