The Text type represents a string of Unicode characters. It is the most basic textual data type.
Type URL | https://rustybeam.net/schema/Text |
---|---|
Base Type | text |
Default Pattern | .* (matches any string) |
When defining a property with Text type:
<tr itemscope itemtype="https://rustybeam.net/schema/Property">
<td><span itemprop="name">username</span></td>
<td><span itemprop="type">Text</span></td>
<td><span itemprop="cardinality">1</span></td>
<td><span itemprop="description">The user's name</span></td>
</tr>
When using a Text property in actual data:
<span itemprop="username">John Doe</span>
By default, any string value is valid. Validation software should:
.*
)