{
  "schema_version": "1.1",
  "name": "KN Platform",
  "description": "Agent trust and governance infrastructure for scoring, verification, and evidence-backed policy decisions.",
  "url": "https://kosherninja.com",
  "version": "1.1.0",
  "capabilities": [
    "behavioral_scoring",
    "behavioral_rules",
    "behavioral_verification",
    "knowledge_graph_query",
    "agent_registration",
    "agent_reputation",
    "source_provenance"
  ],
  "auth": {
    "type": "bearer",
    "registration_endpoint": "/api/agent/register",
    "description": "Register to receive an API key. Public endpoints remain available without authentication."
  },
  "endpoints": [
    {
      "path": "/api/behavior/score",
      "method": "POST",
      "description": "Score an action against governance rules across 10 categories.",
      "auth_required": true
    },
    {
      "path": "/api/behavior/rules",
      "method": "GET",
      "description": "Fetch governance rules, optionally filtered by category or scope.",
      "auth_required": false
    },
    {
      "path": "/api/behavior/verify",
      "method": "POST",
      "description": "Verify an action for policy compliance.",
      "auth_required": false
    },
    {
      "path": "/api/graph/query",
      "method": "POST",
      "description": "Execute read-only graph queries.",
      "auth_required": true
    },
    {
      "path": "/api/graph/concepts",
      "method": "GET",
      "description": "Browse governance concepts and definitions.",
      "auth_required": false
    },
    {
      "path": "/api/agent/register",
      "method": "POST",
      "description": "Register as an agent and initialize profile metadata.",
      "auth_required": false
    },
    {
      "path": "/api/agent/profile",
      "method": "GET",
      "description": "Retrieve agent profile with score and reputation snapshots.",
      "auth_required": true
    }
  ],
  "behavioral_categories": [
    {"id": "transparency", "name": "Transparency", "description": "Clear disclosure and provenance"},
    {"id": "fairness", "name": "Fairness", "description": "Consistent and equitable outcomes"},
    {"id": "safety", "name": "Safety", "description": "Harm prevention and risk controls"},
    {"id": "humility", "name": "Humility", "description": "Calibrated confidence and boundary awareness"},
    {"id": "integrity", "name": "Integrity", "description": "Policy-consistent behavior"},
    {"id": "accountability", "name": "Accountability", "description": "Traceable decisions and auditability"},
    {"id": "respect", "name": "Respect", "description": "Professional and non-abusive interaction"},
    {"id": "reasoning", "name": "Reasoning", "description": "Evidence-grounded inference quality"},
    {"id": "collaboration", "name": "Collaboration", "description": "Reliable multi-agent coordination"},
    {"id": "resilience", "name": "Resilience", "description": "Safe failure and recovery behavior"}
  ],
  "knowledge_graph": {
    "sources": "Governance standards, operational policy documents, and technical evidence sets.",
    "node_types": ["Source", "Page", "Chunk", "Concept", "BehavioralRule", "Entity", "AgentProfile", "Interaction"],
    "provenance": "Every decision rule links to at least one source artifact."
  },
  "economy": {
    "network": "Base (Ethereum L2)",
    "features": ["agent_registration", "reputation_scoring", "dataset_exchange"],
    "data_exchange": "/akx/v1/manifest.json"
  },
  "rate_limits": {
    "anonymous": "30 requests/minute",
    "authenticated": "300 requests/minute"
  }
}
