The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version v0.0.3

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:

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

max_value

maxValue

The upper value of some characteristic or property.

A max_value should be one of the following types:

Num

min_value

minValue

The lower value of some characteristic or property.

A min_value should be one of the following types:

Num

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

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

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

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

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

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

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

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

SEE ALSO

SemanticWeb::Schema::Intangible

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)