NAME

SemanticWeb::Schema::PropertyValueSpecification - A Property value specification.

VERSION

version v12.0.0

DESCRIPTION

A Property value specification.

ATTRIBUTES

default_value

defaultValue

The default value of the input. For properties that expect a literal, the default is a literal value, for properties that expect an object, it's an ID reference to one of the current values.

A default_value should be one of the following types:

InstanceOf['SemanticWeb::Schema::Thing']
Str

_has_default_value

A predicate for the "default_value" attribute.

max_value

maxValue

The upper value of some characteristic or property.

A max_value should be one of the following types:

Num

_has_max_value

A predicate for the "max_value" attribute.

min_value

minValue

The lower value of some characteristic or property.

A min_value should be one of the following types:

Num

_has_min_value

A predicate for the "min_value" attribute.

multiple_values

multipleValues

Whether multiple values are allowed for the property. Default is false.

A multiple_values should be one of the following types:

Bool

_has_multiple_values

A predicate for the "multiple_values" attribute.

readonly_value

readonlyValue

Whether or not a property is mutable. Default is false. Specifying this for a property that also has a value makes it act similar to a "hidden" input in an HTML form.

A readonly_value should be one of the following types:

Bool

_has_readonly_value

A predicate for the "readonly_value" attribute.

step_value

stepValue

The stepValue attribute indicates the granularity that is expected (and required) of the value in a PropertyValueSpecification.

A step_value should be one of the following types:

Num

_has_step_value

A predicate for the "step_value" attribute.

value_max_length

valueMaxLength

Specifies the allowed range for number of characters in a literal value.

A value_max_length should be one of the following types:

Num

_has_value_max_length

A predicate for the "value_max_length" attribute.

value_min_length

valueMinLength

Specifies the minimum allowed range for number of characters in a literal value.

A value_min_length should be one of the following types:

Num

_has_value_min_length

A predicate for the "value_min_length" attribute.

value_name

valueName

Indicates the name of the PropertyValueSpecification to be used in URL templates and form encoding in a manner analogous to HTML's input@name.

A value_name should be one of the following types:

Str

_has_value_name

A predicate for the "value_name" attribute.

value_pattern

valuePattern

Specifies a regular expression for testing literal values according to the HTML spec.

A value_pattern should be one of the following types:

Str

_has_value_pattern

A predicate for the "value_pattern" attribute.

value_required

valueRequired

Whether the property must be filled in to complete the action. Default is false.

A value_required should be one of the following types:

Bool

_has_value_required

A predicate for the "value_required" attribute.

SEE ALSO

SemanticWeb::Schema::Intangible

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/SemanticWeb-Schema/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2021 by Robert Rothenberg.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)