{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://dumpthis.sh/schemas/handshake-response.json",
  "title": "SYNACK Handshake Response",
  "type": "object",
  "required": ["node", "synack_id", "management_token"],
  "properties": {
    "node": { "type": "string" },
    "operator": { "type": "string" },
    "universe": { "type": "string" },
    "protocol_version": { "type": "string" },
    "supported_versions": { "type": "array", "items": { "type": "string" } },
    "synack_id": { "type": "integer" },
    "contact_number": { "type": "integer" },
    "is_new": { "type": "boolean" },
    "deduplicated": { "type": "boolean" },
    "management_token": { "type": "string", "description": "Private token for self-service lifecycle" },
    "side_effect": { "type": "string" },
    "endpoints": { "type": "object" },
    "rules": { "type": "array", "items": { "type": "string" } }
  }
}
