@opendatasoft/api-client
Version:
Opendatasoft's API Client.
71 lines (70 loc) • 2.09 kB
TypeScript
export declare const ODS_DATASET_FIELD_TYPE: {
readonly TEXT: "text";
readonly INT: "int";
readonly DOUBLE: "double";
readonly BOOLEAN: "boolean";
readonly GEO_SHAPE: "geo_shape";
readonly GEO_POINT_2D: "geo_point_2d";
readonly DATETIME: "datetime";
readonly DATE: "date";
readonly FILE: "file";
readonly JSON_BlOB: "json_blob";
};
export declare const ODS_DATASET_FIELD_SEMANTIC_TYPE: {
readonly IP_ADDRESS: "ip_address";
readonly MONITORING_IP_ADDRESS: "monitoring_ip_address";
};
export declare const ODS_METADATA_TEMPLATE_FIELD_TYPE: {
TEXT: string;
ENUM: string;
ENUM_LIST: string;
URI_ENUM: string;
URI_ENUM_LIST: string;
LIST: string;
DATE: string;
DATE_TIME: string;
BOOLEAN: string;
INTEGER: string;
DECIMAL: string;
HTML: string;
LONG_STRING: string;
/** It stores a value that references a polygon, a linear ring, multiple polygons, multiple lines, or multiple points */
GEO_SHAPE: string;
JSON: string;
IMAGE: string;
};
export declare const EXPORT_DATASET_FORMAT: {
readonly JSON: "json";
readonly GEOJSON: "geojson";
readonly SHP: "shp";
readonly CSV: "csv";
readonly XLSX: "xlsx";
readonly KML: "kml";
readonly JSONLD: "jsonld";
readonly JSONL: "jsonl";
readonly RDFXML: "rdfxml";
readonly TURTLE: "turtle";
readonly N3: "n3";
readonly MVT: "mvt";
readonly PARQUET: "parquet";
readonly FGB: "fgb";
readonly GPX: "gpx";
readonly ICAL: "ical";
};
export declare const EXPORT_CATALOG_FORMAT: {
readonly CSV: "csv";
readonly JSON: "json";
readonly XLSX: "xlsx";
readonly RDF: "rdf";
readonly TTL: "ttl";
readonly DATA_JSON: "data.json";
readonly RSS: "rss";
readonly DCAT: "dcat";
readonly DCAT_AP_CH: "dcat-ap-ch";
readonly DCAT_AP_IT: "dcat-ap-it";
readonly DCAT_AP_DE: "dcat-ap-de";
readonly DCAT_AP_SE: "dcat-ap-se";
readonly DCAT_AP_SP: "dcat-ap-sp";
readonly DCAT_AP_V1: "dcat-ap-v1";
readonly DCAT_AP_BENAP: "dcat_ap_benap";
};