> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# VerifyStringResult (JSON)

> VerifyStringResult (JSON)

# VerifyStringResult (JSON)

[/system/strings/validate](/ja-jp/reference/live/rest/uri/stringserver/uri-systemstringsvalidate) に送信された各文字列に対応する結果コードです。

## VerifyStringResult

VerifyStringResult オブジェクトの仕様は次のとおりです。

| メンバー | 型 | 説明 |
| - | - | - |
| resultCode | 32 ビット符号なし整数 | 必須。送信された文字列に対応する HResult コード。 |
| offendingString | string | 必須。文字列が拒否される原因となった文字列値。 |

## サンプル JSON 構文

```json theme={null}
{
    "verifyStringResult":
    [
        {"resultCode": "1", "offendingString": "badword"},
        {"resultCode": "0", "offendingString": ""},
        {"resultCode": "0", "offendingString": ""},
        {"resultCode": "0", "offendingString": ""},
    ]
}

```

#### 一般的な HResult の値

\| 値| エラー名|
\| --- | --- | --- | --- | --- |
\| 0| Success|
\| 1| Offensive string|
\| 2| String too long|
\| 3| Unknown error|

## 関連項目

##### 親

[JavaScript Object Notation (JSON) オブジェクト リファレンス](/ja-jp/reference/live/rest/json/atoc-xboxlivews-reference-json)

##### リファレンス

[POST (/system/strings/validate)](/ja-jp/reference/live/rest/uri/stringserver/uri-systemstringsvalidatepost)


## Related topics

- [XblStringVerifyStringsResult](/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringsresult.md)
- [XblStringVerifyStringResult](/es/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresult.md)
