{
  "version": "2.0.0",
  "description": "Allowed dynamic namespaces for controlled tag discovery (Spec Section 2.3)",
  "strict_mode": false,
  "namespaces": {
    "topic": {
      "allowed": true,
      "dynamic": true,
      "description": "General Subject Matter",
      "purpose": "Organize by Topic",
      "examples": ["topic:billing", "topic:oauth", "topic:authentication", "topic:database", "topic:専門管理加算"],
      "validation": {
        "min_length": 2,
        "max_length": 50,
        "canonical_language": "any",
        "allow_non_ascii": true
      },
      "user_intent": "Categorize content by domain topics for filtering and search",
      "note": "Supports multilingual tags including Japanese, Chinese, and other Unicode scripts"
    },
    "entity": {
      "allowed": true,
      "dynamic": true,
      "description": "Named Entities (People, Organizations, Products)",
      "purpose": "Who/What is mentioned?",
      "examples": ["entity:aws_s3", "entity:google", "entity:stripe", "entity:react"],
      "validation": {
        "min_length": 2,
        "max_length": 100,
        "pattern": "^[a-zA-Z0-9_\\-\\.]+$",
        "canonical_language": "any",
        "allow_non_ascii": true
      },
      "user_intent": "Track mentions of specific entities, vendors, or technologies",
      "note": "Exception to canonical English rule - proper nouns allowed in native script"
    },
    "tech": {
      "allowed": true,
      "dynamic": true,
      "description": "Technology Stack / Tools",
      "purpose": "What tech is used?",
      "examples": ["tech:postgres", "tech:react", "tech:kubernetes", "tech:redis"],
      "validation": {
        "min_length": 2,
        "max_length": 50,
        "pattern": "^[a-z0-9_\\-\\.]+$",
        "canonical_language": "en"
      },
      "user_intent": "Identify technology dependencies and stack components"
    },
    "domain": {
      "allowed": true,
      "dynamic": true,
      "description": "Specific Industry Terms",
      "purpose": "Industry specific jargon",
      "examples": ["domain:oncology", "domain:derivatives", "domain:underwriting", "domain:loan_origination", "domain:介護", "domain:訪問看護"],
      "validation": {
        "min_length": 2,
        "max_length": 50,
        "canonical_language": "any",
        "allow_non_ascii": true
      },
      "user_intent": "Capture domain-specific terminology for specialized industries",
      "note": "Supports multilingual domain terms to properly capture industry-specific terminology in native languages"
    }
  },
  "forbidden_namespaces": [
    "about",
    "misc",
    "general",
    "info",
    "tag",
    "label",
    "category",
    "keyword",
    "subject",
    "focus"
  ],
  "validation_rules": {
    "canonical_english_policy": {
      "enabled": true,
      "description": "All tags must be in English except entity namespace",
      "exceptions": ["entity"],
      "enforce_ascii": true,
      "reject_non_ascii_except": ["entity"]
    },
    "discovery_mode": {
      "enabled": true,
      "description": "Allow unknown namespaces with 'pending' status for admin review",
      "flag_unknown": true,
      "auto_reject_forbidden": true
    }
  }
}
