Text
A value here may be written two ways, and both conform. A reader has to handle either.
- string, number, boolean — text, written bare rather than as a value object
- object — A literal that still knows its language and datatype.
Resource intended to be perceived visually and understood through the use of language in written or spoken form
BIBFRAME's definition of
bf:Text.
Examples
"A short history of Sanskrit literature"{
"@value": "Труды Института Общц̳еи Физики",
"@language": "ru-cyrl"
}Trimmed from a real record rather than written for the occasion, and checked against this definition by tests/test_examples.py. A wrong example is worse than none, because it is the first thing anyone copies.
Properties
This definition names no properties of its own. Every property a record carries is still required to be an array, whatever it is called.
Every property here holds an array, and a property this definition does not name is still checked: it must be an array too. Naming a property buys a check on what its values look like, and nothing else.
The schema
https://bibframe-json.org/schema/linked/Text.json is this definition on its own, and https://bibframe-json.org/schema/linked.json is the whole shape with every definition inlined. They are checked against each other over the conformance corpus, so either is safe to depend on.