Class: RDF::Tabular::Datatype

Inherits:
Metadata show all
Includes:
UAX35
Defined in:
vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/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

Constants included from Util::Logger

Util::Logger::IOWrapper

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=, #default_value, #describes_file?, #dialect, #dialect=, #each, #each_row, for_input, #has_annotations?, #initialize, #inspect, #normalize!, #normalize_jsonld, open, #root, #set_array_value, #set_nl, #set_property, site_wide_config, #tableSchema=, #tables=, #to_json, #transformations=, #type, #valid?, #valid_natural_language_property?, #validate, #validate!, #verify_compatible!

Methods included from Util::Logger

#log_debug, #log_depth, #log_error, #log_fatal, #log_info, #log_recover, #log_recovering?, #log_statistics, #log_warn, #logger

Constructor Details

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

Instance Method Details

#baseObject

Override base in Metadata



1915
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/metadata.rb', line 1915

def base; object[:base]; end