-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathtd-text-at-direction.json
More file actions
30 lines (30 loc) · 1.09 KB
/
td-text-at-direction.json
File metadata and controls
30 lines (30 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"title": "td-text-at-direction",
"description": "Given that the Thing Description format is based on JSON-LD 1.1 [[?json-ld11]], @direction with the string values ltr, rtl and null value null MAY be used inside the @context to indicate the default text direction for the human readable strings in the entire TD document.",
"is-complex": false,
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": ["@context"],
"properties": {
"@context": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"@direction": {
"oneOf": [
{
"type": "string",
"enum": ["ltr", "rtl"]
},
{
"type": "null"
}
]
}
},
"required": ["@direction"]
}
}
}
}