Microdata that describes a property in a schema.
Inherits from Schema
| Property Name | Type | Cardinality | Description |
|---|---|---|---|
| name | Text | 1 | A name for the property |
| type | Text | 1..n | The type the of the property |
| cardinality | Cardinal | 1 | The cardinality of the property |
| description | Text | 1 | A description of the property |
| default | 0..1 | A default value for the property. It can either be a plan text value, or a Sessel expression | |
| unique | Boolean | 0..1 | Is this value unique across all items of this type? Used to indicate to validators that no other item of this type should have the same value for this property. |
| references | URL | 0..1 | The references property indicates there is a relationship between this property and another schema. This is used to indicate to validators that the value of this property should exist as a property of the referenced type. Formatted as the URL with the schema name and the url fragment set to the property being referenced |
| cascade | Text | 0..1 | Indicates what should happen when a referenced document is deleted or its referenced value changes. Requires the references property to be set. When set to 'true', the cascade action is inferred from the cardinality of the property: required properties cause the referencing document to be deleted, optional properties are cleared. When set to restrict, deletion or modification of the referenced value is blocked if references exist. |