1 | {
|
2 | "title": "TableRow",
|
3 | "@id": "stencila:TableRow",
|
4 | "extends": "Entity",
|
5 | "role": "secondary",
|
6 | "status": "unstable",
|
7 | "category": "prose",
|
8 | "description": "A row within a Table.",
|
9 | "properties": {
|
10 | "type": {
|
11 | "@id": "schema:type",
|
12 | "description": "The name of the type.",
|
13 | "type": "string",
|
14 | "enum": [
|
15 | "TableRow"
|
16 | ],
|
17 | "default": "TableRow",
|
18 | "from": "Entity"
|
19 | },
|
20 | "id": {
|
21 | "@id": "schema:id",
|
22 | "description": "The identifier for this item.",
|
23 | "type": "string",
|
24 | "from": "Entity"
|
25 | },
|
26 | "meta": {
|
27 | "@id": "stencila:meta",
|
28 | "description": "Metadata associated with this item.",
|
29 | "type": "object",
|
30 | "from": "Entity"
|
31 | },
|
32 | "cells": {
|
33 | "@id": "stencila:cells",
|
34 | "description": "An array of cells in the row.",
|
35 | "type": "array",
|
36 | "items": {
|
37 | "$ref": "TableCell.schema.json"
|
38 | },
|
39 | "from": "TableRow",
|
40 | "isArray": true,
|
41 | "isPlural": true,
|
42 | "aliases": [
|
43 | "cell"
|
44 | ]
|
45 | },
|
46 | "rowType": {
|
47 | "@id": "stencila:rowType",
|
48 | "description": "If present, indicates that all cells in this row should be treated as header cells.\n",
|
49 | "type": "string",
|
50 | "enum": [
|
51 | "header",
|
52 | "footer"
|
53 | ],
|
54 | "from": "TableRow"
|
55 | }
|
56 | },
|
57 | "required": [
|
58 | "type",
|
59 | "cells"
|
60 | ],
|
61 | "file": "TableRow.schema.yaml",
|
62 | "children": [],
|
63 | "descendants": [],
|
64 | "$schema": "http://json-schema.org/draft-07/schema#",
|
65 | "$id": "https://schema.stenci.la/v0/TableRow.schema.json",
|
66 | "source": "https://github.com/stencila/schema/blob/master/TableRow.schema.yaml",
|
67 | "type": "object",
|
68 | "propertyAliases": {
|
69 | "cell": "cells"
|
70 | },
|
71 | "additionalProperties": false
|
72 | }
|