schema

PropertyValue

A property-value pair.

This type is an extension of schema:PropertyValue.

Properties

Name @id Type Description Inherited from
value schema:value boolean or integer or number or string The value of the property. See note 3. PropertyValue
alternateNames schema:alternateName Array of string Alternate names (aliases) for the item. Thing
description schema:description Array of BlockContent or Array of InlineContent or string A description of the item. See note 2. Thing
id schema:id string The identifier for this item. Entity
identifiers schema:identifier Array of (PropertyValue or string) Any kind of identifier for any kind of Thing. See note 4. Thing
images schema:image Array of (ImageObject or Format β€˜uri’) Images of the item. Thing
meta stencila:meta object Metadata associated with this item. Entity
name schema:name string The name of the item. Thing
propertyID schema:propertyID string A commonly used identifier for the characteristic represented by the property. PropertyValue
url schema:url Format β€˜uri’ The URL of the item. Thing

Notes

  1. Always use specific properties when they exist and you can populate them. Using PropertyValue as a substitute will typically not convey as much semantic information as using the specific property.
  2. description : Allows for the description to be an array of nodes (e.g. an array of inline content, or a couple of paragraphs), or a string. The minItems restriction avoids a string being coerced into an array with a single string item.
  3. value : This follows the expected types of https://schema.org/value except for StructuredValue, which at the time of writing was not implemented in this schema.
  4. identifiers : Some identifiers have specific properties e.g the issn property for the Periodical type. These should be used in preference to this property which is intended for identifiers that do not yet have a specific property. Identifiers can be represented as strings, but using a PropertyValue will usually be better because it allows for propertyID (i.e. the type of identifier).

Available as

Source

This documentation was generated from PropertyValue.schema.yaml.