PropertyValueSpecification
유형 이름: PropertyValueSpecification
Intangible 확장
이름 |
유형 |
설명 |
기본값 |
Text 또는 Thing |
입력의 기본값입니다. 리터럴을 예상하는 속성의 경우 기본값은 리터럴 값이고, 객체를 예상하는 속성의 경우 현재 값 중 하나의 ID 참조입니다. |
maxValue |
Number |
일부 특성 또는 속성의 상한 값입니다. |
minValue |
Number |
일부 특성 또는 속성의 하위 값입니다. |
여러 값 |
Boolean |
속성에 여러 값이 허용되는지 여부입니다. 기본값은 false입니다. |
읽기 전용 값 |
Boolean |
속성의 변경 가능 여부입니다. 기본값은 false입니다. 값을 갖는 속성에 이 값을 지정하면 HTML 양식의 '숨겨진' 입력과 유사하게 작동합니다. |
단계 값 |
Number |
stepValue 속성은 PropertyValueSpecification에서 값의 예상 (및 필수)을 나타냅니다. |
값최대 길이 |
Number |
리터럴 값의 문자 수에 허용되는 범위를 지정합니다. |
valueMinLength |
Number |
리터럴 값의 문자 수에 허용되는 최소 범위를 지정합니다. |
값 이름 |
텍스트 |
HTML 템플릿 및 양식 인코딩에 사용되는 PropertyValueSpecification의 이름을 HTML의 input@name과 유사한 방식으로 나타냅니다. |
값 패턴 |
텍스트 |
HTML 사양에 따라 리터럴 값을 테스트하기 위한 정규 표현식을 지정합니다. |
value필수 |
Boolean |
작업을 완료하기 위해 속성을 입력해야 하는지 여부입니다. 기본값은 false입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]