Schema
Defined in: core/build/schema/Schema.d.ts:8
Table Schema definition Based on the specification at https://datapackage.org/standard/table-schema/
Extends
Section titled “Extends”Indexable
Section titled “Indexable”[key: `${string}:${string}`]: any
Properties
Section titled “Properties”$schema?
Section titled “$schema?”
optional$schema:string
Defined in: core/build/schema/Schema.d.ts:12
URL of profile (optional)
description?
Section titled “description?”
optionaldescription:string
Defined in: core/build/schema/Schema.d.ts:24
Description of schema (optional)
fields
Section titled “fields”fields:
Field[]
Defined in: core/build/schema/Schema.d.ts:28
Fields in this schema (required)
fieldsMatch?
Section titled “fieldsMatch?”
optionalfieldsMatch:"exact"|"equal"|"subset"|"superset"|"partial"
Defined in: core/build/schema/Schema.d.ts:33
Field matching rule (optional) Default: “exact”
foreignKeys?
Section titled “foreignKeys?”
optionalforeignKeys:ForeignKey[]
Defined in: core/build/schema/Schema.d.ts:55
Foreign key relationships (optional)
missingValues?
Section titled “missingValues?”
optionalmissingValues: (string| {label:string;value:string; })[]
Defined in: core/build/schema/Schema.d.ts:40
Values representing missing data (optional) Default: [""] Can be a simple array of strings or an array of {value, label} objects where label provides context for why the data is missing
optionalname:string
Defined in: core/build/schema/Schema.d.ts:16
Name of schema (optional)
primaryKey?
Section titled “primaryKey?”
optionalprimaryKey:string[]
Defined in: core/build/schema/Schema.d.ts:47
Fields uniquely identifying each row (optional)
title?
Section titled “title?”
optionaltitle:string
Defined in: core/build/schema/Schema.d.ts:20
Title of schema (optional)
uniqueKeys?
Section titled “uniqueKeys?”
optionaluniqueKeys:string[][]
Defined in: core/build/schema/Schema.d.ts:51
Field combinations that must be unique (optional)