{
  "openapi": "3.1.0",
  "info": {
    "title": "Counterlure Agent Exchange",
    "version": "2.1.0",
    "summary": "Check whether a job offer, recruiter, repository, message or person is a targeted approach, and share anonymous indicators.",
    "description": "For AI agents acting for a person who is weighing an approach: a recruiter, a take-home repository, a message, someone they met. Send only indicators (domains, URLs, handles, email domains, wallets, packages, repositories, file SHA-256 hashes), warning-sign ids from the rubric, and face fingerprints computed on the device (never a photo). Names, emails, phone numbers, message text and photos are refused. Answers are no_known_signal, caution, warning or high. no_known_signal is not a clearance. Shared indicators stay in quarantine, invisible to every lookup, until independent installs corroborate them and a Counterlure reviewer registers them. Also available as an MCP server: https://mcp.counterlure.com/mcp (hosted) or `npx -y counterlure-mcp` (local).",
    "termsOfService": "https://www.counterlure.com/terms#agent-exchange",
    "contact": {
      "url": "https://www.counterlure.com/"
    },
    "license": {
      "name": "Data: use for protecting people only, see terms",
      "url": "https://www.counterlure.com/terms#agent-exchange"
    }
  },
  "servers": [
    {
      "url": "https://www.counterlure.com"
    }
  ],
  "externalDocs": {
    "url": "https://mcp.counterlure.com/",
    "description": "MCP server and setup"
  },
  "tags": [
    {
      "name": "check",
      "description": "Ask about an approach."
    },
    {
      "name": "share",
      "description": "Share what was seen, with consent."
    },
    {
      "name": "feeds",
      "description": "Public, aggregate data."
    },
    {
      "name": "setup",
      "description": "Anonymous install keys and face fingerprints."
    }
  ],
  "paths": {
    "/api/agents": {
      "get": {
        "operationId": "about",
        "tags": [
          "setup"
        ],
        "summary": "Protocol, limits, quorum rules and proof-of-work difficulty.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/agents/rubric": {
      "get": {
        "operationId": "get_rubric",
        "tags": [
          "check"
        ],
        "summary": "The warning-sign rubric: feature ids to evaluate on your side.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/agents/check": {
      "post": {
        "operationId": "check",
        "tags": [
          "check"
        ],
        "summary": "Ask about a job offer, contact, repository or message.",
        "description": "Set `tool` to check_job_offer, check_contact, check_repo or check_message. Faceprints are only read by check_contact.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "tool": {
                        "type": "string",
                        "const": "check_job_offer"
                      },
                      "indicators": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "domain",
                                "url",
                                "handle",
                                "email_domain",
                                "wallet",
                                "package",
                                "repo",
                                "sig_hash"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "description": "The indicator. Emails are reduced to their domain; phone numbers and names are refused."
                            },
                            "platform": {
                              "type": "string",
                              "description": "For handle: linkedin, x, github, gitlab, telegram, discord, instagram, facebook, reddit, tiktok, youtube, medium, substack, huggingface, wellfound, upwork, fiverr, calendly or other. Not needed when value is a profile URL."
                            },
                            "ecosystem": {
                              "type": "string",
                              "enum": [
                                "npm",
                                "pypi",
                                "crates",
                                "go",
                                "rubygems",
                                "nuget",
                                "packagist",
                                "maven"
                              ],
                              "description": "For package."
                            }
                          },
                          "required": [
                            "type",
                            "value"
                          ]
                        },
                        "maxItems": 25
                      },
                      "features": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Ids from the rubric (resource counterlure://rubric/messages or tool get_rubric) that you found on your side. Never send the text itself."
                      },
                      "install_key": {
                        "type": "string",
                        "description": "Optional clk_ key returned by an earlier report_indicators call. Keep it and send it back."
                      },
                      "org_token": {
                        "type": "string",
                        "description": "Optional organization device token (org_...) if the person is enrolled in a Counterlure Enterprise account."
                      }
                    },
                    "required": [
                      "tool"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "tool": {
                        "type": "string",
                        "const": "check_contact"
                      },
                      "indicators": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "domain",
                                "url",
                                "handle",
                                "email_domain",
                                "wallet",
                                "package",
                                "repo",
                                "sig_hash"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "description": "The indicator. Emails are reduced to their domain; phone numbers and names are refused."
                            },
                            "platform": {
                              "type": "string",
                              "description": "For handle: linkedin, x, github, gitlab, telegram, discord, instagram, facebook, reddit, tiktok, youtube, medium, substack, huggingface, wellfound, upwork, fiverr, calendly or other. Not needed when value is a profile URL."
                            },
                            "ecosystem": {
                              "type": "string",
                              "enum": [
                                "npm",
                                "pypi",
                                "crates",
                                "go",
                                "rubygems",
                                "nuget",
                                "packagist",
                                "maven"
                              ],
                              "description": "For package."
                            }
                          },
                          "required": [
                            "type",
                            "value"
                          ]
                        },
                        "maxItems": 25
                      },
                      "features": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Ids from the rubric (resource counterlure://rubric/messages or tool get_rubric) that you found on your side. Never send the text itself."
                      },
                      "install_key": {
                        "type": "string",
                        "description": "Optional clk_ key returned by an earlier report_indicators call. Keep it and send it back."
                      },
                      "org_token": {
                        "type": "string",
                        "description": "Optional organization device token (org_...) if the person is enrolled in a Counterlure Enterprise account."
                      },
                      "faceprints": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "description": "A face fingerprint computed on the device, never a photo: either fp_token from https://www.counterlure.com/fp, or the 128-number vector from `counterlure fingerprint IMAGE --json`.",
                          "properties": {
                            "fp_token": {
                              "type": "string"
                            },
                            "vector": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              },
                              "minItems": 128,
                              "maxItems": 128
                            },
                            "model": {
                              "type": "string"
                            },
                            "cover_name": {
                              "type": "string",
                              "description": "Optional: the name the person used. Stored only as a keyed hash, to tell independent sightings apart."
                            }
                          }
                        },
                        "maxItems": 3
                      }
                    },
                    "required": [
                      "tool"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "tool": {
                        "type": "string",
                        "const": "check_repo"
                      },
                      "indicators": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "domain",
                                "url",
                                "handle",
                                "email_domain",
                                "wallet",
                                "package",
                                "repo",
                                "sig_hash"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "description": "The indicator. Emails are reduced to their domain; phone numbers and names are refused."
                            },
                            "platform": {
                              "type": "string",
                              "description": "For handle: linkedin, x, github, gitlab, telegram, discord, instagram, facebook, reddit, tiktok, youtube, medium, substack, huggingface, wellfound, upwork, fiverr, calendly or other. Not needed when value is a profile URL."
                            },
                            "ecosystem": {
                              "type": "string",
                              "enum": [
                                "npm",
                                "pypi",
                                "crates",
                                "go",
                                "rubygems",
                                "nuget",
                                "packagist",
                                "maven"
                              ],
                              "description": "For package."
                            }
                          },
                          "required": [
                            "type",
                            "value"
                          ]
                        },
                        "maxItems": 25
                      },
                      "features": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Ids from the rubric (resource counterlure://rubric/messages or tool get_rubric) that you found on your side. Never send the text itself."
                      },
                      "install_key": {
                        "type": "string",
                        "description": "Optional clk_ key returned by an earlier report_indicators call. Keep it and send it back."
                      },
                      "org_token": {
                        "type": "string",
                        "description": "Optional organization device token (org_...) if the person is enrolled in a Counterlure Enterprise account."
                      }
                    },
                    "required": [
                      "tool"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "tool": {
                        "type": "string",
                        "const": "check_message"
                      },
                      "indicators": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "domain",
                                "url",
                                "handle",
                                "email_domain",
                                "wallet",
                                "package",
                                "repo",
                                "sig_hash"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "description": "The indicator. Emails are reduced to their domain; phone numbers and names are refused."
                            },
                            "platform": {
                              "type": "string",
                              "description": "For handle: linkedin, x, github, gitlab, telegram, discord, instagram, facebook, reddit, tiktok, youtube, medium, substack, huggingface, wellfound, upwork, fiverr, calendly or other. Not needed when value is a profile URL."
                            },
                            "ecosystem": {
                              "type": "string",
                              "enum": [
                                "npm",
                                "pypi",
                                "crates",
                                "go",
                                "rubygems",
                                "nuget",
                                "packagist",
                                "maven"
                              ],
                              "description": "For package."
                            }
                          },
                          "required": [
                            "type",
                            "value"
                          ]
                        },
                        "maxItems": 25
                      },
                      "features": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Ids from the rubric (resource counterlure://rubric/messages or tool get_rubric) that you found on your side. Never send the text itself."
                      },
                      "install_key": {
                        "type": "string",
                        "description": "Optional clk_ key returned by an earlier report_indicators call. Keep it and send it back."
                      },
                      "org_token": {
                        "type": "string",
                        "description": "Optional organization device token (org_...) if the person is enrolled in a Counterlure Enterprise account."
                      }
                    },
                    "required": [
                      "tool"
                    ]
                  }
                ],
                "discriminator": {
                  "propertyName": "tool"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckResult"
                }
              }
            }
          },
          "400": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/agents/report": {
      "post": {
        "operationId": "report_indicators",
        "tags": [
          "share"
        ],
        "summary": "Share indicators anonymously. Needs consent.terms; faces also need consent.biometric.",
        "description": "Share what you saw, anonymously, so the next agent is warned. Requires consent.terms = true (the person you act for agrees to https://www.counterlure.com/terms#agent-exchange); faceprints also need consent.biometric = true. Shared indicators stay invisible to every lookup until independent sources corroborate them and a Counterlure reviewer approves them. Returns a receipt (to withdraw), a watch_token (to follow progress with check_watch) and, the first time, an install_key to keep. Never send names, emails, phone numbers, message text, photos, or anything about the person you work for.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "consent": {
                    "type": "object",
                    "properties": {
                      "terms": {
                        "type": "boolean"
                      },
                      "biometric": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "terms"
                    ]
                  },
                  "context": {
                    "type": "string",
                    "enum": [
                      "job_offer",
                      "contact",
                      "repo",
                      "message",
                      "other"
                    ]
                  },
                  "indicators": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "domain",
                            "url",
                            "handle",
                            "email_domain",
                            "wallet",
                            "package",
                            "repo",
                            "sig_hash"
                          ]
                        },
                        "value": {
                          "type": "string",
                          "description": "The indicator. Emails are reduced to their domain; phone numbers and names are refused."
                        },
                        "platform": {
                          "type": "string",
                          "description": "For handle: linkedin, x, github, gitlab, telegram, discord, instagram, facebook, reddit, tiktok, youtube, medium, substack, huggingface, wellfound, upwork, fiverr, calendly or other. Not needed when value is a profile URL."
                        },
                        "ecosystem": {
                          "type": "string",
                          "enum": [
                            "npm",
                            "pypi",
                            "crates",
                            "go",
                            "rubygems",
                            "nuget",
                            "packagist",
                            "maven"
                          ],
                          "description": "For package."
                        }
                      },
                      "required": [
                        "type",
                        "value"
                      ]
                    },
                    "maxItems": 25
                  },
                  "features": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Ids from the rubric (resource counterlure://rubric/messages or tool get_rubric) that you found on your side. Never send the text itself."
                  },
                  "install_key": {
                    "type": "string",
                    "description": "Optional clk_ key returned by an earlier report_indicators call. Keep it and send it back."
                  },
                  "org_token": {
                    "type": "string",
                    "description": "Optional organization device token (org_...) if the person is enrolled in a Counterlure Enterprise account."
                  },
                  "faceprints": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "description": "A face fingerprint computed on the device, never a photo: either fp_token from https://www.counterlure.com/fp, or the 128-number vector from `counterlure fingerprint IMAGE --json`.",
                      "properties": {
                        "fp_token": {
                          "type": "string"
                        },
                        "vector": {
                          "type": "array",
                          "items": {
                            "type": "number"
                          },
                          "minItems": 128,
                          "maxItems": 128
                        },
                        "model": {
                          "type": "string"
                        },
                        "cover_name": {
                          "type": "string",
                          "description": "Optional: the name the person used. Stored only as a keyed hash, to tell independent sightings apart."
                        }
                      }
                    },
                    "maxItems": 3
                  }
                },
                "required": [
                  "consent",
                  "context"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportReceipt"
                }
              }
            }
          },
          "400": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/agents/watch": {
      "post": {
        "operationId": "check_watch",
        "tags": [
          "share"
        ],
        "summary": "What became of indicators you shared.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "watch_token": {
                    "type": "string"
                  }
                },
                "required": [
                  "watch_token"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "shared_on": {
                      "type": "string",
                      "format": "date"
                    },
                    "context": {
                      "type": "string"
                    },
                    "indicators": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "pending",
                              "registered",
                              "closed"
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/agents/withdraw": {
      "post": {
        "operationId": "withdraw_report",
        "tags": [
          "share"
        ],
        "summary": "Withdraw a shared report by its CLX- receipt.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "receipt": {
                    "type": "string"
                  }
                },
                "required": [
                  "receipt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "withdrawn": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/agents/install": {
      "post": {
        "operationId": "install",
        "tags": [
          "setup"
        ],
        "summary": "Mint an anonymous install key. A proof of work makes it count sooner.",
        "description": "pow: sha256(\"counterlure-agent/1|pow|\" + nonce + \"|\" + ts + \"|\" + counter) must start with pow_bits zero bits (see GET /api/agents). nonce: 16-64 of [A-Za-z0-9_-], used once; ts: milliseconds, within 10 minutes; counter: up to 32 characters.",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "pow": {
                    "type": "object",
                    "properties": {
                      "nonce": {
                        "type": "string"
                      },
                      "ts": {
                        "type": "integer"
                      },
                      "counter": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "nonce",
                      "ts",
                      "counter"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "install_key": {
                      "type": "string",
                      "pattern": "^clk_"
                    },
                    "proof_of_work": {
                      "type": "boolean"
                    },
                    "note": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/agents/fp": {
      "post": {
        "operationId": "fingerprint_token",
        "tags": [
          "setup"
        ],
        "summary": "Exchange a 128-number face vector, computed on the device, for a short-lived fp_ token.",
        "description": "Used by https://www.counterlure.com/fp and `counterlure fingerprint --token`. The vector must come from model yunet2023mar+sface2021dec/v1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "vector": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "minItems": 128,
                    "maxItems": 128
                  },
                  "model": {
                    "type": "string"
                  }
                },
                "required": [
                  "vector",
                  "model"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "fp_token": {
                      "type": "string"
                    },
                    "expires_in_seconds": {
                      "type": "integer"
                    },
                    "model": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Refused or invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/agents/feed/patterns": {
      "get": {
        "operationId": "patterns",
        "tags": [
          "feeds"
        ],
        "summary": "Warning signs agents reported in the last 30 days (shown past five reports).",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/agents/feed/iocs": {
      "get": {
        "operationId": "iocs",
        "tags": [
          "feeds"
        ],
        "summary": "Registered (reviewed) indicators. Faces are never published.",
        "parameters": [
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "stix"
              ]
            },
            "description": "stix for a STIX 2.1 bundle."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              },
              "application/stix+json;version=2.1": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          }
        },
        "required": [
          "error"
        ]
      },
      "CheckResult": {
        "type": "object",
        "properties": {
          "tool": {
            "type": "string"
          },
          "level": {
            "type": "string",
            "enum": [
              "no_known_signal",
              "caution",
              "warning",
              "high"
            ]
          },
          "findings": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "heuristics": {
            "type": "object",
            "properties": {
              "score": {
                "type": "number"
              },
              "features": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "advice": {
            "type": "string"
          },
          "next_step": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "label": {
                "type": "string"
              }
            }
          },
          "rejected": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "rubric_version": {
            "type": "string"
          },
          "as_of": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "level",
          "advice"
        ]
      },
      "ReportReceipt": {
        "type": "object",
        "properties": {
          "receipt": {
            "type": "string",
            "pattern": "^CLX-"
          },
          "watch_token": {
            "type": "string",
            "pattern": "^clw_"
          },
          "install_key": {
            "type": "string",
            "pattern": "^clk_"
          },
          "accepted": {
            "type": "integer"
          },
          "features_recorded": {
            "type": "integer"
          },
          "rejected": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "status": {
            "type": "string",
            "const": "pending"
          },
          "note": {
            "type": "string"
          }
        },
        "required": [
          "receipt",
          "watch_token",
          "status"
        ]
      }
    }
  }
}
