{
  "$schema": "https://json.schemastore.org/sarif-2.1.0.json",
  "version": "2.1.0",
  "runs": [
    {
      "tool": {
        "driver": {
          "name": "MojiGuard",
          "version": "1.0.0",
          "semanticVersion": "1.0.0",
          "organization": "CairnKit",
          "rules": [
            {
              "id": "MG001",
              "name": "MissingGlyph",
              "shortDescription": {
                "text": "Missing glyph in TMP_FontAsset static/dynamic fallback chain"
              },
              "defaultConfiguration": {
                "level": "error"
              }
            },
            {
              "id": "MG002",
              "name": "OverflowClippingAndKinsoku",
              "shortDescription": {
                "text": "Text bounds overflow, clipping, or CJK kinsoku line-break violation"
              },
              "defaultConfiguration": {
                "level": "warning"
              }
            },
            {
              "id": "MG003",
              "name": "AutoSizeCollapse",
              "shortDescription": {
                "text": "TextMeshPro AutoSize shrank to fontSizeMin readability floor"
              },
              "defaultConfiguration": {
                "level": "warning"
              }
            },
            {
              "id": "MG004",
              "name": "MissingFontReference",
              "shortDescription": {
                "text": "Null or missing font asset or broken TMP fallback chain entry"
              },
              "defaultConfiguration": {
                "level": "error"
              }
            }
          ]
        }
      },
      "invocations": [
        {
          "executionSuccessful": true,
          "startTimeUtc": "2026-12-05T00:00:00Z",
          "endTimeUtc": "2026-12-05T00:00:02Z",
          "workingDirectory": {
            "uri": "Assets/"
          }
        }
      ],
      "results": [
        {
          "ruleId": "MG001",
          "level": "error",
          "message": {
            "text": "Missing glyph U+20BB7 ('𠮷', UTF-32 CJK Extension B surrogate pair) in locale ja-JP. Static atlas NotoSansJP-Regular SDF and 2 fallback fonts do not contain this code point."
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "Assets/UI/Prefabs/NPC_DialogueModal.prefab"
                },
                "region": {
                  "startLine": 1
                }
              },
              "logicalLocations": [
                {
                  "fullyQualifiedName": "NPC_DialogueModal/Panel/SpeakerName (TextMeshProUGUI)",
                  "kind": "member"
                }
              ]
            }
          ],
          "properties": {
            "locale": "ja-JP",
            "codePoint": "U+20BB7",
            "glyph": "𠮷",
            "fontAsset": "NotoSansJP-Regular SDF",
            "category": "Missing Japanese Glyph (Surrogate Pair)"
          }
        },
        {
          "ruleId": "MG001",
          "level": "error",
          "message": {
            "text": "Missing Simplified Chinese glyphs U+9F99 ('龙') and U+95E8 ('门') in locale zh-Hans. Primary font NotoSansJP-Regular SDF lacks SC simplified forms and no zh-Hans fallback atlas is attached."
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "Assets/UI/Prefabs/QuestLog_Card.prefab"
                },
                "region": {
                  "startLine": 1
                }
              },
              "logicalLocations": [
                {
                  "fullyQualifiedName": "QuestLog_Card/Header/QuestTitle (TextMeshProUGUI)",
                  "kind": "member"
                }
              ]
            }
          ],
          "properties": {
            "locale": "zh-Hans",
            "codePoint": "U+9F99, U+95E8",
            "glyph": "龙, 门",
            "fontAsset": "NotoSansJP-Regular SDF",
            "category": "TMP Fallback Atlas Gap (Simplified Chinese)"
          }
        },
        {
          "ruleId": "MG001",
          "level": "error",
          "message": {
            "text": "Missing Korean Hangul syllables U+B300 ('대') and U+D55C ('한') in locale ko-KR. Static atlas covers KS X 1001 partial subset only; dynamic population disabled on NotoSansKR-Subset SDF."
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "Assets/Scenes/MainMenu.unity"
                },
                "region": {
                  "startLine": 1
                }
              },
              "logicalLocations": [
                {
                  "fullyQualifiedName": "Canvas/MainMenu/ServerRegionBadge (TextMeshProUGUI)",
                  "kind": "member"
                }
              ]
            }
          ],
          "properties": {
            "locale": "ko-KR",
            "codePoint": "U+B300, U+D55C",
            "glyph": "대, 한",
            "fontAsset": "NotoSansKR-Subset SDF",
            "category": "Missing Korean Glyph & Static Atlas Cap"
          }
        },
        {
          "ruleId": "MG004",
          "level": "error",
          "message": {
            "text": "Null fallback font reference at fallbackFontAssetTable[1] on TMP_FontAsset 'HUD_PixelCJK SDF'. Causes silent tofu rendering when CJK punctuation or rare kanji are requested."
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "Assets/Fonts/HUD_PixelCJK SDF.asset"
                },
                "region": {
                  "startLine": 1
                }
              },
              "logicalLocations": [
                {
                  "fullyQualifiedName": "HUD_PixelCJK SDF.fallbackFontAssetTable[1]",
                  "kind": "member"
                }
              ]
            }
          ],
          "properties": {
            "locale": "ja-JP, ko-KR, zh-Hans",
            "fontAsset": "HUD_PixelCJK SDF",
            "category": "Broken TMP Fallback Atlas Chain"
          }
        },
        {
          "ruleId": "MG002",
          "level": "warning",
          "message": {
            "text": "Japanese kinsoku line-break violation in locale ja-JP: closing punctuation '。」' wraps to column 1 of line 2 because TMP line-breaking rules (leading/following characters) are empty."
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "Assets/UI/Prefabs/NPC_DialogueModal.prefab"
                },
                "region": {
                  "startLine": 1
                }
              },
              "logicalLocations": [
                {
                  "fullyQualifiedName": "NPC_DialogueModal/Panel/BodyCopy (TextMeshProUGUI)",
                  "kind": "member"
                }
              ]
            }
          ],
          "properties": {
            "locale": "ja-JP",
            "violationType": "kinsoku-line-start-punctuation",
            "offendingChars": "。」",
            "category": "CJK Line-Break / Kinsoku Violation"
          }
        },
        {
          "ruleId": "MG002",
          "level": "warning",
          "message": {
            "text": "Horizontal overflow (+38 px) in locale de-DE (+35% expansion): 'Einstellungen speichern' exceeds fixed 164 px RectTransform button bounds with OverflowMode=Truncate."
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "Assets/UI/Prefabs/Settings_Footer.prefab"
                },
                "region": {
                  "startLine": 1
                }
              },
              "logicalLocations": [
                {
                  "fullyQualifiedName": "Settings_Footer/SaveButton/Label (TextMeshProUGUI)",
                  "kind": "member"
                }
              ]
            }
          ],
          "properties": {
            "locale": "de-DE",
            "overflowDeltaPx": 38,
            "category": "Locale Expansion Overflow & Clipping"
          }
        },
        {
          "ruleId": "MG003",
          "level": "warning",
          "message": {
            "text": "AutoSize collapsed to fontSizeMin (10 pt) in locale ko-KR on 1080p reference canvas; Korean Hangul strokes blur below 14 pt on SDF atlas."
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "Assets/UI/Prefabs/Inventory_Tooltip.prefab"
                },
                "region": {
                  "startLine": 1
                }
              },
              "logicalLocations": [
                {
                  "fullyQualifiedName": "Inventory_Tooltip/StatSummary (TextMeshProUGUI)",
                  "kind": "member"
                }
              ]
            }
          ],
          "properties": {
            "locale": "ko-KR",
            "fontSizeMin": 10,
            "recommendedMinPt": 14,
            "category": "AutoSize Readability Collapse"
          }
        },
        {
          "ruleId": "MG002",
          "level": "note",
          "message": {
            "text": "Advisory: Simplified Chinese opening quote '「' appears at line-end of line 1 in tutorial banner; add '「『（【' to TMP following-character kinsoku list for cleaner wrapping."
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "Assets/Scenes/Tutorial.unity"
                },
                "region": {
                  "startLine": 1
                }
              },
              "logicalLocations": [
                {
                  "fullyQualifiedName": "Canvas/TutorialBanner/HintText (TextMeshProUGUI)",
                  "kind": "member"
                }
              ]
            }
          ],
          "properties": {
            "locale": "zh-Hans",
            "violationType": "kinsoku-line-end-punctuation",
            "offendingChars": "「",
            "category": "CJK Line-Break / Kinsoku Advisory"
          }
        }
      ]
    }
  ]
}
