UNPKG

@stencila/schema

Version:

Stencila schema and other specifications

92 lines (91 loc) 2.23 kB
{ "title": "DatatableColumn", "@id": "stencila:DatatableColumn", "role": "secondary", "status": "experimental", "properties": { "type": { "description": "The name of the type and all descendant types.", "type": "string", "enum": [ "DatatableColumn" ], "default": "DatatableColumn", "from": "Thing" }, "id": { "description": "The identifier for this item.", "type": "string", "from": "Thing" }, "alternateNames": { "@id": "schema:alternateName", "description": "Alternate names (aliases) for the item.", "type": "array", "items": { "type": "string" }, "from": "Thing", "aliases": [ "alternateName" ] }, "description": { "@id": "schema:description", "description": "A description of the item.", "type": "string", "from": "Thing" }, "meta": { "description": "Metadata for the column.", "type": "object", "from": "DatatableColumn" }, "name": { "@id": "schema:name", "description": "The name of the item.", "type": "string", "from": "Thing" }, "url": { "@id": "schema:url", "description": "The URL of the item.", "type": "string", "format": "uri", "from": "Thing" }, "schema": { "description": "The schema to use to validate data in the column.", "type": "object", "allOf": [ { "$ref": "DatatableColumnSchema.schema.json" } ], "from": "DatatableColumn" }, "values": { "description": "The values of the column.", "type": "array", "from": "DatatableColumn", "aliases": [ "value" ] } }, "required": [ "type", "name", "values" ], "source": "https://github.com/stencila/schema/blob/master/schema/data/DatatableColumn.schema.yaml", "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://stencila.github.com/schema/DatatableColumn.schema.json", "category": "data", "children": [], "descendants": [], "type": "object", "aliases": true, "additionalProperties": false, "parent": "Thing" }