YearField
Defined in: core/build/field/types/Year.d.ts:5
Year field type
Extends
Section titled “Extends”BaseField<YearConstraints>
Indexable
Section titled “Indexable”[key: `${string}:${string}`]: any
Properties
Section titled “Properties”constraints?
Section titled “constraints?”
optionalconstraints:YearConstraints
Defined in: core/build/field/types/Base.d.ts:42
Validation constraints applied to values
Inherited from
Section titled “Inherited from”BaseField.constraints
description?
Section titled “description?”
optionaldescription:string
Defined in: core/build/field/types/Base.d.ts:17
Human-readable description
Inherited from
Section titled “Inherited from”BaseField.description
example?
Section titled “example?”
optionalexample:any
Defined in: core/build/field/types/Base.d.ts:21
Example value for this field
Inherited from
Section titled “Inherited from”BaseField.example
examples?
Section titled “examples?”
optionalexamples:any[]
Defined in: core/build/field/types/Base.d.ts:25
Examples for this field
Inherited from
Section titled “Inherited from”BaseField.examples
missingValues?
Section titled “missingValues?”
optionalmissingValues: (string| {label:string;value:string; })[]
Defined in: core/build/field/types/Base.d.ts:35
Values representing missing data for this field Can be a simple array of strings or an array of {value, label} objects where label provides context for why the data is missing
Inherited from
Section titled “Inherited from”BaseField.missingValues
name:
string
Defined in: core/build/field/types/Base.d.ts:9
Name of the field matching the column name
Inherited from
Section titled “Inherited from”BaseField.name
rdfType?
Section titled “rdfType?”
optionalrdfType:string
Defined in: core/build/field/types/Base.d.ts:29
URI for semantic type (RDF)
Inherited from
Section titled “Inherited from”BaseField.rdfType
title?
Section titled “title?”
optionaltitle:string
Defined in: core/build/field/types/Base.d.ts:13
Human-readable title
Inherited from
Section titled “Inherited from”BaseField.title
type:
"year"
Defined in: core/build/field/types/Year.d.ts:9
Field type - discriminator property