Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
frictionless_data_util.h File Reference
#include "grassroots_frictionless_data_library.h"
#include "jansson.h"
#include "bson/bson.h"
Include dependency graph for frictionless_data_util.h:

Go to the source code of this file.

Functions

const FD_UTIL_PREFIX char *const FD_PROFILE_S FD_UTIL_VAL ("profile")
 
const FD_UTIL_PREFIX char *const FD_PROFILE_DATA_PACKAGE_S FD_UTIL_VAL ("data-package")
 
const FD_UTIL_PREFIX char *const FD_PROFILE_TABULAR_PACKAGE_S FD_UTIL_VAL ("tabular-data-package")
 
const FD_UTIL_PREFIX char *const FD_PROFILE_TABULAR_RESOURCE_S FD_UTIL_VAL ("tabular-data-resource")
 
const FD_UTIL_PREFIX char *const FD_PROFILE_PROPERTY_ORDER_S FD_UTIL_VAL ("propertyOrder")
 
const FD_UTIL_PREFIX char *const FD_NAME_S FD_UTIL_VAL ("name")
 
const FD_UTIL_PREFIX char *const FD_TITLE_S FD_UTIL_VAL ("title")
 
const FD_UTIL_PREFIX char *const FD_ID_S FD_UTIL_VAL ("id")
 
const FD_UTIL_PREFIX char *const FD_LICENSES_S FD_UTIL_VAL ("licenses")
 
const FD_UTIL_PREFIX char *const FD_DESCRIPTION_S FD_UTIL_VAL ("description")
 
const FD_UTIL_PREFIX char *const FD_URL_S FD_UTIL_VAL ("homepage")
 
const FD_UTIL_PREFIX char *const FD_RESOURCES_S FD_UTIL_VAL ("resources")
 
const FD_UTIL_PREFIX char *const FD_SCHEMA_S FD_UTIL_VAL ("schema")
 
const FD_UTIL_PREFIX char *const FD_TABLE_FIELDS_S FD_UTIL_VAL ("fields")
 
const FD_UTIL_PREFIX char *const FD_DATA_S FD_UTIL_VAL ("data")
 
const FD_UTIL_PREFIX char *const FD_ITEMS_S FD_UTIL_VAL ("items")
 
const FD_UTIL_PREFIX char *const FD_REF_S FD_UTIL_VAL ("$ref")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_TYPE FD_UTIL_VAL ("type")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_FORMAT FD_UTIL_VAL ("format")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_CONSTRAINTS FD_UTIL_VAL ("constraints")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_RDF_TYPE FD_UTIL_VAL ("rdfType")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_NULL_VALUE FD_UTIL_VAL ("missingValues")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_CONSTRAINT_REQUIRED FD_UTIL_VAL ("required")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_CONSTRAINT_UNIQUE FD_UTIL_VAL ("unique")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_CONSTRAINT_MIN_LENGTH FD_UTIL_VAL ("minLength")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_CONSTRAINT_MAX_LENGTH FD_UTIL_VAL ("maxLength")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_CONSTRAINT_MIN FD_UTIL_VAL ("minimum")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_CONSTRAINT_MAX FD_UTIL_VAL ("maximum")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_CONSTRAINT_PATTERN FD_UTIL_VAL ("pattern")
 
const FD_UTIL_PREFIX char *FD_TABLE_FIELD_CONSTRAINT_ENUM FD_UTIL_VAL ("enum")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT FD_UTIL_VAL ("dialect")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_DELIMITER FD_UTIL_VAL ("delimiter")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_LINE_TERMINATOR FD_UTIL_VAL ("lineTerminator")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_QUOTE_CHAR FD_UTIL_VAL ("quoteChar")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_DOUBLE_QUOTE FD_UTIL_VAL ("doubleQuote")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_ESCAPE_CHAR FD_UTIL_VAL ("escapeChar")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_NULL_VALUE FD_UTIL_VAL ("nullSequence")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_SKIP_INITIAL_SPACE FD_UTIL_VAL ("skipInitialSpace")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_HEADER_ROW FD_UTIL_VAL ("header")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_COMMENT_CHAR FD_UTIL_VAL ("commentChar")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_CASE_SENSITIVE_HEADER FD_UTIL_VAL ("caseSensitiveHeader")
 
const FD_UTIL_PREFIX char *FD_CSV_DIALECT_VERSION FD_UTIL_VAL ("csvddfVersion")
 
const FD_UTIL_PREFIX char *FD_TYPE_STRING FD_UTIL_VAL ("string")
 The field contains strings, that is, sequences of characters. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_STRING_FORMAT_DEFAULT FD_UTIL_VAL ("default")
 Any valid string. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_STRING_FORMAT_EMAIL FD_UTIL_VAL ("email")
 A valid email address. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_STRING_FORMAT_URI FD_UTIL_VAL ("uri")
 A valid URI. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_STRING_FORMAT_BINARY FD_UTIL_VAL ("binary")
 A base64 encoded string representing binary data. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_STRING_FORMAT_UUID FD_UTIL_VAL ("uuid")
 A string that is a uuid. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_NUMBER FD_UTIL_VAL ("number")
 The field contains numbers of any kind including decimals. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_INTEGER FD_UTIL_VAL ("integer")
 The field contains integers - that is whole numbers. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_BOOLEAN FD_UTIL_VAL ("boolean")
 The field contains boolean (true/false) data. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_DATE FD_UTIL_VAL ("date")
 A date without a time. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_TIME FD_UTIL_VAL ("time")
 A time without a date. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_DATETIME FD_UTIL_VAL ("datetime")
 A date with a time. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_GEOJSON FD_UTIL_VAL ("geojson")
 The field contains a JSON object according to GeoJSON or TopoJSON spec. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_JSON_OBJECT FD_UTIL_VAL ("object")
 The field contains JSON objects. More...
 
const FD_UTIL_PREFIX char *FD_TYPE_JSON_ARRAY FD_UTIL_VAL ("array")
 The field contains JSON arrays. More...
 
GRASSROOTS_FRICTIONLESS_DATA_API json_t * AddTableField (json_t *fields_p, const char *name_s, const char *title_s, const char *type_s, const char *format_s, const char *description_s, const char *rdf_type_s)
 
GRASSROOTS_FRICTIONLESS_DATA_API json_t * AddIntegerField (json_t *fields_p, const char *name_s, const char *title_s, const char *format_s, const char *description_s, const char *rdf_type_s, const int *min_value_p)
 
GRASSROOTS_FRICTIONLESS_DATA_API json_t * AddNumberField (json_t *fields_p, const char *name_s, const char *title_s, const char *format_s, const char *description_s, const char *rdf_type_s, const double *min_value_p)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetFDTableReal (json_t *row_p, const char *const key_s, const double64 *value_p, const char *const null_sequence_s)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetFDTableString (json_t *row_p, const char *const key_s, const char *const value_s, const char *const null_sequence_s)
 
GRASSROOTS_FRICTIONLESS_DATA_API json_t * GetCSVDialect (const char *delimter_s, const char *line_terminator_s, const char *comment_char_p, const char *escape_char_p, const char *null_seqeunce_s, const bool has_header_row_flag, const bool case_sensitive_header_flag, const bool double_quote_flag, const bool skip_initial_space_flag, const char *quote_p, const uint32 major_version, const uint32 minor_version)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldRequired (json_t *field_p)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldUnique (json_t *field_p)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldMinimumInteger (json_t *field_p, const json_int_t value)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldMinimumNumber (json_t *field_p, const double value)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldMaximumInteger (json_t *field_p, const json_int_t value)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldMaximumNumber (json_t *field_p, const double value)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldPattern (json_t *field_p, const char *const pattern_s)
 
GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldEnum (json_t *field_p, json_t *enum_p)
 
GRASSROOTS_FRICTIONLESS_DATA_API json_t * GetDataPackage (const char *name_s, const char *description_s, const char *id_s)
 
const GRASSROOTS_FRICTIONLESS_DATA_API char * GetRefSchemaURI (const json_t *field_p)
 

Function Documentation

◆ FD_UTIL_VAL() [1/57]

const FD_UTIL_PREFIX char* const FD_PROFILE_S FD_UTIL_VAL ( "profile"  )

◆ FD_UTIL_VAL() [2/57]

const FD_UTIL_PREFIX char* const FD_PROFILE_DATA_PACKAGE_S FD_UTIL_VAL ( "data-package"  )

◆ FD_UTIL_VAL() [3/57]

const FD_UTIL_PREFIX char* const FD_PROFILE_TABULAR_PACKAGE_S FD_UTIL_VAL ( "tabular-data-package"  )

◆ FD_UTIL_VAL() [4/57]

const FD_UTIL_PREFIX char* const FD_PROFILE_TABULAR_RESOURCE_S FD_UTIL_VAL ( "tabular-data-resource"  )

◆ FD_UTIL_VAL() [5/57]

const FD_UTIL_PREFIX char* const FD_PROFILE_PROPERTY_ORDER_S FD_UTIL_VAL ( "propertyOrder"  )

◆ FD_UTIL_VAL() [6/57]

const FD_UTIL_PREFIX char *FD_TABLE_FIELD_NAME FD_UTIL_VAL ( "name"  )

◆ FD_UTIL_VAL() [7/57]

const FD_UTIL_PREFIX char *FD_TABLE_FIELD_TITLE FD_UTIL_VAL ( "title"  )

◆ FD_UTIL_VAL() [8/57]

const FD_UTIL_PREFIX char* const FD_ID_S FD_UTIL_VAL ( "id"  )

◆ FD_UTIL_VAL() [9/57]

const FD_UTIL_PREFIX char* const FD_LICENSES_S FD_UTIL_VAL ( "licenses"  )

◆ FD_UTIL_VAL() [10/57]

const FD_UTIL_PREFIX char *FD_TABLE_FIELD_DESCRIPTION FD_UTIL_VAL ( "description"  )

◆ FD_UTIL_VAL() [11/57]

const FD_UTIL_PREFIX char* const FD_URL_S FD_UTIL_VAL ( "homepage"  )

◆ FD_UTIL_VAL() [12/57]

const FD_UTIL_PREFIX char* const FD_RESOURCES_S FD_UTIL_VAL ( "resources"  )

◆ FD_UTIL_VAL() [13/57]

const FD_UTIL_PREFIX char* const FD_SCHEMA_S FD_UTIL_VAL ( "schema"  )

◆ FD_UTIL_VAL() [14/57]

const FD_UTIL_PREFIX char* const FD_TABLE_FIELDS_S FD_UTIL_VAL ( "fields"  )

◆ FD_UTIL_VAL() [15/57]

const FD_UTIL_PREFIX char* const FD_DATA_S FD_UTIL_VAL ( "data"  )

◆ FD_UTIL_VAL() [16/57]

const FD_UTIL_PREFIX char* const FD_ITEMS_S FD_UTIL_VAL ( "items"  )

◆ FD_UTIL_VAL() [17/57]

const FD_UTIL_PREFIX char* const FD_REF_S FD_UTIL_VAL ( "$ref"  )

◆ FD_UTIL_VAL() [18/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_TYPE FD_UTIL_VAL ( "type"  )

◆ FD_UTIL_VAL() [19/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_FORMAT FD_UTIL_VAL ( "format"  )

◆ FD_UTIL_VAL() [20/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_CONSTRAINTS FD_UTIL_VAL ( "constraints"  )

◆ FD_UTIL_VAL() [21/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_RDF_TYPE FD_UTIL_VAL ( "rdfType"  )

◆ FD_UTIL_VAL() [22/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_NULL_VALUE FD_UTIL_VAL ( "missingValues"  )

◆ FD_UTIL_VAL() [23/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_CONSTRAINT_REQUIRED FD_UTIL_VAL ( "required"  )

◆ FD_UTIL_VAL() [24/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_CONSTRAINT_UNIQUE FD_UTIL_VAL ( "unique"  )

◆ FD_UTIL_VAL() [25/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_CONSTRAINT_MIN_LENGTH FD_UTIL_VAL ( "minLength"  )

◆ FD_UTIL_VAL() [26/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_CONSTRAINT_MAX_LENGTH FD_UTIL_VAL ( "maxLength"  )

◆ FD_UTIL_VAL() [27/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_CONSTRAINT_MIN FD_UTIL_VAL ( "minimum"  )

◆ FD_UTIL_VAL() [28/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_CONSTRAINT_MAX FD_UTIL_VAL ( "maximum"  )

◆ FD_UTIL_VAL() [29/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_CONSTRAINT_PATTERN FD_UTIL_VAL ( "pattern"  )

◆ FD_UTIL_VAL() [30/57]

const FD_UTIL_PREFIX char* FD_TABLE_FIELD_CONSTRAINT_ENUM FD_UTIL_VAL ( "enum"  )

◆ FD_UTIL_VAL() [31/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT FD_UTIL_VAL ( "dialect"  )

◆ FD_UTIL_VAL() [32/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_DELIMITER FD_UTIL_VAL ( "delimiter"  )

◆ FD_UTIL_VAL() [33/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_LINE_TERMINATOR FD_UTIL_VAL ( "lineTerminator"  )

◆ FD_UTIL_VAL() [34/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_QUOTE_CHAR FD_UTIL_VAL ( "quoteChar"  )

◆ FD_UTIL_VAL() [35/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_DOUBLE_QUOTE FD_UTIL_VAL ( "doubleQuote"  )

◆ FD_UTIL_VAL() [36/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_ESCAPE_CHAR FD_UTIL_VAL ( "escapeChar"  )

◆ FD_UTIL_VAL() [37/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_NULL_VALUE FD_UTIL_VAL ( "nullSequence"  )

◆ FD_UTIL_VAL() [38/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_SKIP_INITIAL_SPACE FD_UTIL_VAL ( "skipInitialSpace"  )

◆ FD_UTIL_VAL() [39/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_HEADER_ROW FD_UTIL_VAL ( "header"  )

◆ FD_UTIL_VAL() [40/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_COMMENT_CHAR FD_UTIL_VAL ( "commentChar"  )

◆ FD_UTIL_VAL() [41/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_CASE_SENSITIVE_HEADER FD_UTIL_VAL ( "caseSensitiveHeader"  )

◆ FD_UTIL_VAL() [42/57]

const FD_UTIL_PREFIX char* FD_CSV_DIALECT_VERSION FD_UTIL_VAL ( "csvddfVersion"  )

◆ FD_UTIL_VAL() [43/57]

const FD_UTIL_PREFIX char* FD_TYPE_STRING FD_UTIL_VAL ( "string"  )

The field contains strings, that is, sequences of characters.

◆ FD_UTIL_VAL() [44/57]

const FD_UTIL_PREFIX char* FD_TYPE_STRING_FORMAT_DEFAULT FD_UTIL_VAL ( "default"  )

Any valid string.

◆ FD_UTIL_VAL() [45/57]

const FD_UTIL_PREFIX char* FD_TYPE_STRING_FORMAT_EMAIL FD_UTIL_VAL ( "email"  )

A valid email address.

◆ FD_UTIL_VAL() [46/57]

const FD_UTIL_PREFIX char* FD_TYPE_STRING_FORMAT_URI FD_UTIL_VAL ( "uri"  )

A valid URI.

◆ FD_UTIL_VAL() [47/57]

const FD_UTIL_PREFIX char* FD_TYPE_STRING_FORMAT_BINARY FD_UTIL_VAL ( "binary"  )

A base64 encoded string representing binary data.

◆ FD_UTIL_VAL() [48/57]

const FD_UTIL_PREFIX char* FD_TYPE_STRING_FORMAT_UUID FD_UTIL_VAL ( "uuid"  )

A string that is a uuid.

◆ FD_UTIL_VAL() [49/57]

const FD_UTIL_PREFIX char* FD_TYPE_NUMBER FD_UTIL_VAL ( "number"  )

The field contains numbers of any kind including decimals.

◆ FD_UTIL_VAL() [50/57]

const FD_UTIL_PREFIX char* FD_TYPE_INTEGER FD_UTIL_VAL ( "integer"  )

The field contains integers - that is whole numbers.

Integer values are indicated in the standard way for any valid integer.

◆ FD_UTIL_VAL() [51/57]

const FD_UTIL_PREFIX char* FD_TYPE_BOOLEAN FD_UTIL_VAL ( "boolean"  )

The field contains boolean (true/false) data.

◆ FD_UTIL_VAL() [52/57]

const FD_UTIL_PREFIX char* FD_TYPE_DATE FD_UTIL_VAL ( "date"  )

A date without a time.

◆ FD_UTIL_VAL() [53/57]

const FD_UTIL_PREFIX char* FD_TYPE_TIME FD_UTIL_VAL ( "time"  )

A time without a date.

◆ FD_UTIL_VAL() [54/57]

const FD_UTIL_PREFIX char* FD_TYPE_DATETIME FD_UTIL_VAL ( "datetime"  )

A date with a time.

◆ FD_UTIL_VAL() [55/57]

const FD_UTIL_PREFIX char* FD_TYPE_GEOJSON FD_UTIL_VAL ( "geojson"  )

The field contains a JSON object according to GeoJSON or TopoJSON spec.

◆ FD_UTIL_VAL() [56/57]

const FD_UTIL_PREFIX char* FD_TYPE_JSON_OBJECT FD_UTIL_VAL ( "object"  )

The field contains JSON objects.

◆ FD_UTIL_VAL() [57/57]

const FD_UTIL_PREFIX char* FD_TYPE_JSON_ARRAY FD_UTIL_VAL ( "array"  )

The field contains JSON arrays.

◆ AddTableField()

GRASSROOTS_FRICTIONLESS_DATA_API json_t* AddTableField ( json_t *  fields_p,
const char *  name_s,
const char *  title_s,
const char *  type_s,
const char *  format_s,
const char *  description_s,
const char *  rdf_type_s 
)

◆ AddIntegerField()

GRASSROOTS_FRICTIONLESS_DATA_API json_t* AddIntegerField ( json_t *  fields_p,
const char *  name_s,
const char *  title_s,
const char *  format_s,
const char *  description_s,
const char *  rdf_type_s,
const int *  min_value_p 
)

◆ AddNumberField()

GRASSROOTS_FRICTIONLESS_DATA_API json_t* AddNumberField ( json_t *  fields_p,
const char *  name_s,
const char *  title_s,
const char *  format_s,
const char *  description_s,
const char *  rdf_type_s,
const double *  min_value_p 
)

◆ SetFDTableReal()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetFDTableReal ( json_t *  row_p,
const char *const  key_s,
const double64 *  value_p,
const char *const  null_sequence_s 
)

◆ SetFDTableString()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetFDTableString ( json_t *  row_p,
const char *const  key_s,
const char *const  value_s,
const char *const  null_sequence_s 
)

◆ GetCSVDialect()

GRASSROOTS_FRICTIONLESS_DATA_API json_t* GetCSVDialect ( const char *  delimter_s,
const char *  line_terminator_s,
const char *  comment_char_p,
const char *  escape_char_p,
const char *  null_seqeunce_s,
const bool  has_header_row_flag,
const bool  case_sensitive_header_flag,
const bool  double_quote_flag,
const bool  skip_initial_space_flag,
const char *  quote_p,
const uint32  major_version,
const uint32  minor_version 
)

◆ SetTableFieldRequired()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldRequired ( json_t *  field_p)

◆ SetTableFieldUnique()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldUnique ( json_t *  field_p)

◆ SetTableFieldMinimumInteger()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldMinimumInteger ( json_t *  field_p,
const json_int_t  value 
)

◆ SetTableFieldMinimumNumber()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldMinimumNumber ( json_t *  field_p,
const double  value 
)

◆ SetTableFieldMaximumInteger()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldMaximumInteger ( json_t *  field_p,
const json_int_t  value 
)

◆ SetTableFieldMaximumNumber()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldMaximumNumber ( json_t *  field_p,
const double  value 
)

◆ SetTableFieldPattern()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldPattern ( json_t *  field_p,
const char *const  pattern_s 
)

◆ SetTableFieldEnum()

GRASSROOTS_FRICTIONLESS_DATA_API bool SetTableFieldEnum ( json_t *  field_p,
json_t *  enum_p 
)

◆ GetDataPackage()

GRASSROOTS_FRICTIONLESS_DATA_API json_t* GetDataPackage ( const char *  name_s,
const char *  description_s,
const char *  id_s 
)

◆ GetRefSchemaURI()

const GRASSROOTS_FRICTIONLESS_DATA_API char* GetRefSchemaURI ( const json_t *  field_p)