Class: RDF::Tabular::Datatype

Inherits:
Metadata
  • Object
show all
Includes:
UAX35
Defined in:
lib/rdf/tabular/metadata.rb

Constant Summary collapse

PROPERTIES =
{
  :@id       => :link,
  :@type     => :atomic,
  base:         :atomic,
  format:       :atomic,
  length:       :atomic,
  minLength:    :atomic,
  maxLength:    :atomic,
  minimum:      :atomic,
  maximum:      :atomic,
  minInclusive: :atomic,
  maxInclusive: :atomic,
  minExclusive: :atomic,
  maxExclusive: :atomic,
}.freeze
REQUIRED =
[].freeze
DEFAULTS =
{
  base: "string"
}.freeze

Constants inherited from Metadata

Metadata::DATATYPES, Metadata::INHERITED_DEFAULTS, Metadata::INHERITED_PROPERTIES, Metadata::LOCAL_CONTEXT, Metadata::NAME_SYNTAX

Instance Attribute Summary

Attributes inherited from Metadata

#filenames, #id, #object, #parent, #url

Instance Method Summary collapse

Methods included from UAX35

#build_number_re, #parse_uax35_date, #parse_uax35_number

Methods inherited from Metadata

#==, #[], #[]=, #common_properties, #context, #datatype=, #describes_file?, #dialect, #dialect=, #each, #each_row, for_input, #has_annotations?, #initialize, #inspect, new, #normalize!, #normalize_jsonld, open, site_wide_config, #tableSchema=, #tables=, #to_json, #transformations=, #type, #valid?, #valid_natural_language_property?, #validate, #validate!, #verify_compatible!

Constructor Details

This class inherits a constructor from RDF::Tabular::Metadata

Instance Method Details

#baseObject

Override ‘base` in Metadata



1913
# File 'lib/rdf/tabular/metadata.rb', line 1913

def base; object[:base]; end