Module: TableSchema

Defined in:
lib/tableschema.rb,
lib/tableschema/field.rb,
lib/tableschema/infer.rb,
lib/tableschema/table.rb,
lib/tableschema/schema.rb,
lib/tableschema/helpers.rb,
lib/tableschema/version.rb,
lib/tableschema/defaults.rb,
lib/tableschema/types/any.rb,
lib/tableschema/exceptions.rb,
lib/tableschema/types/base.rb,
lib/tableschema/types/date.rb,
lib/tableschema/types/time.rb,
lib/tableschema/types/year.rb,
lib/tableschema/types/array.rb,
lib/tableschema/types/number.rb,
lib/tableschema/types/object.rb,
lib/tableschema/types/string.rb,
lib/tableschema/types/boolean.rb,
lib/tableschema/types/geojson.rb,
lib/tableschema/types/integer.rb,
lib/tableschema/types/datetime.rb,
lib/tableschema/types/duration.rb,
lib/tableschema/types/geopoint.rb,
lib/tableschema/types/yearmonth.rb,
lib/tableschema/constraints/enum.rb,
lib/tableschema/constraints/unique.rb,
lib/tableschema/constraints/maximum.rb,
lib/tableschema/constraints/minimum.rb,
lib/tableschema/constraints/pattern.rb,
lib/tableschema/constraints/required.rb,
lib/tableschema/constraints/max_length.rb,
lib/tableschema/constraints/min_length.rb,
lib/tableschema/constraints/constraints.rb

Defined Under Namespace

Modules: Helpers, Types Classes: ConstraintError, ConstraintNotSupported, Constraints, ConversionError, Exception, Field, Infer, InvalidArrayType, InvalidBinary, InvalidCast, InvalidDateTimeType, InvalidDateType, InvalidDurationType, InvalidEmail, InvalidFormat, InvalidGeoJSONType, InvalidGeoPointType, InvalidObjectType, InvalidTimeType, InvalidTopoJSONType, InvalidURI, InvalidUUID, InvalidYearMonthType, InvalidYearType, MultipleInvalid, Schema, SchemaException, Table

Constant Summary collapse

VERSION =
"1.0.1".freeze
DEFAULTS =
{
  format: 'default',
  type: 'string',
  missing_values: [''],
  group_char: ',',
  decimal_char: '.',
  true_values: ['true', 'True', 'TRUE', '1'],
  false_values: ['false', 'False', 'FALSE', '0'],
  bare_number: true,
}.freeze