Class: SchemaDotOrg::PropertyValue

Inherits:
SchemaType show all
Defined in:
app/models/schema_dot_org/property_value.rb

Overview

Constant Summary

Constants inherited from SchemaType

SchemaType::ROOT_ATTR, SchemaType::UNQUALIFIED_CLASS_NAME_REGEX

Instance Attribute Summary

Attributes inherited from SchemaType

#id_iri

Instance Method Summary collapse

Methods inherited from SchemaType

#_to_json_struct, attribute, #initialize, #to_json, #to_json_ld, #to_json_struct, #to_s, #un_namespaced_classname

Constructor Details

This class inherits a constructor from SchemaDotOrg::SchemaType

Instance Method Details

#nameString

Returns:

  • (String)

Validations:



9
# File 'app/models/schema_dot_org/property_value.rb', line 9

attribute :name, String

#unitTextString

Returns:

  • (String)


13
# File 'app/models/schema_dot_org/property_value.rb', line 13

attribute :unitText, String

#valueString

Returns:

  • (String)

Validations:



11
# File 'app/models/schema_dot_org/property_value.rb', line 11

attribute :value, String