ContentFieldDefinition interface
構文のようなJSONスキーマを使ったフィールドの定義。
プロパティ
| description | フィールド説明。 |
| enum | 可能な場値の列挙。 |
| enum |
各列挙値の説明。 |
| estimate |
返すのはグラウンディングの源と自信です。 |
| examples | 場の価値の例。 |
| item |
各配列要素のフィールドタイプスキーマ(型が配列の場合)。 |
| method | 生成方法。 |
| properties | 型がオブジェクトの場合、名前付きサブフィールド。 |
| ref | 別の場の定義を参照。 |
| type | フィールド値のセマンティック データ型。 |
プロパティの詳細
description
フィールド説明。
description?: string
プロパティ値
string
enum
可能な場値の列挙。
enum?: string[]
プロパティ値
string[]
enumDescriptions
各列挙値の説明。
enumDescriptions?: Record<string, string>
プロパティ値
Record<string, string>
estimateSourceAndConfidence
返すのはグラウンディングの源と自信です。
estimateSourceAndConfidence?: boolean
プロパティ値
boolean
examples
場の価値の例。
examples?: string[]
プロパティ値
string[]
itemDefinition
method
properties
型がオブジェクトの場合、名前付きサブフィールド。
properties?: Record<string, ContentFieldDefinition>
プロパティ値
Record<string, ContentFieldDefinition>
ref
別の場の定義を参照。
ref?: string
プロパティ値
string