PropertyValueSpecification
タイプ名: PropertyValueSpecification
Intangible を拡張する
氏名 |
型 |
説明 |
defaultValue |
テキスト、モノ |
入力のデフォルト値。リテラルを必要とするプロパティの場合、デフォルトはリテラル値で、オブジェクトを必要とするプロパティの場合は、現在の値のいずれかへの ID 参照です。 |
最大値 |
Number |
なんらかの特性またはプロパティの上限値。 |
最小値 |
Number |
なんらかの特性またはプロパティの下限値。 |
複数の値 |
ブール値 |
宿泊施設に複数の値を許可するかどうか。デフォルトは false です。 |
読み取り専用の値 |
ブール値 |
プロパティが可変かどうか。デフォルトは false です。プロパティにも値を指定すると、HTML フォームの「非表示」入力と同じように扱われます。 |
stepValue |
Number |
stepValue 属性は、PropertyValueSpecification の値の粒度を表します(必須)。 |
valueMaxLength |
Number |
リテラル値の文字数の許容範囲を指定します。 |
valueMinLength |
Number |
リテラル値の文字数の最小範囲を指定します。 |
値の名前 |
テキスト |
URL テンプレートとフォーム エンコードで使用される PropertyValueSpecification の名前を、HTML の input@name と同様に示します。 |
valuePattern |
テキスト |
HTML の仕様に従ってリテラル値をテストするための正規表現を指定します。 |
valueRequired |
ブール値 |
操作の完了に宿泊施設を入力する必要があるかどうか。デフォルトは false です。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-04 UTC。
[null,null,["最終更新日 2024-09-04 UTC。"],[[["`PropertyValueSpecification` extends `Intangible` and describes the metadata of a property's value like default, minimum, and maximum values."],["It specifies constraints on the property value such as allowed data types, length, and whether it's required or read-only."],["This type helps define how property values should be handled and validated within a given context, like a web form or structured data."],["Properties like `multipleValues`, `readonlyValue`, and `valueRequired` provide control over the behavior and presentation of the associated property."],["Developers can use attributes like `valueName` and `valuePattern` to manage URL templates, form encoding, and data validation according to specific requirements."]]],["`PropertyValueSpecification` defines properties for input values. It includes `defaultValue` (text or thing), `maxValue`, and `minValue` (numbers). `multipleValues`, `readonlyValue`, and `valueRequired` are booleans that manage input behavior. `stepValue`, `valueMaxLength`, and `valueMinLength` control numerical and textual granularity and length. The `valueName` identifies the specification and the `valuePattern` tests literal values using a regular expression. The content also specifies the type of each property.\n"]]