Skip to content

Importer

Severino edited this page Nov 13, 2024 · 7 revisions

The importer is used to batch create entities using a .csv file. This page describes the setup of said file.

Parent Path

You must specify the path of the entity in the entity tree divided with \\

Attribute Type Formats

Symbolism

  • ... - is a placeholder for various content
  • [...] - Stand for optional syntax, the squared brackets should be ignored
  • [... ⟳] - Stands for an expression that can be repeated indefinetly

Boolean

FORMAT: TEXT

name description
TEXT Represents true if the text is either 'true' or 't' or it can be parsed to an integer i; i > 0 else it's false

Date

FORMAT: DATE

name description
DATE ?

Dimensions

FORMAT: (WIDTH|LENGTH|HEIGHT|UNIT)

name description
WIDTH Floating point number
LENGTH Floating point number
HEIGHT Floating point number
UNIT Text

Dropdown (Single)

FORMAT: TEXT

name description
TEXT Content URL of the Thesaurus concept, e.g. https://spacialist.escience.uni-tuebingen.de/spacialist/description#20240126125421

Dropdown (Multiple)

FORMAT: TEXT[;TEXT ⟳]

name description
TEXT Content URL of the Thesaurus concept, e.g. https://spacialist.escience.uni-tuebingen.de/spacialist/description#20240126125421

Entity(Single)

FORMAT: TEXT

name description
TEXT Path to entity separated with \\ in the format of TEXT[\\TEXT ⟳]

Entity(Multiple)

FORMAT: TEXT[;TEXT ⟳]

name description
TEXT Path to entity separated with \\ in the format of TEXT[\\TEXT ⟳]

Epoch

FORMAT: (START;END;CONCEPT)

name description
START the starttime as integer (can be negative for bc)
END the endtime as integer (can be negative for bc) needs to be bigger than start
CONCEPT the string of the concept uri

Floating Point Number (Double)

FORMAT: TEXT

name description
TEXT Floating point number

Geometry

FORMAT: TEXT

name description
TEXT A text string as valid WKT

Integer

FORMAT: Number

name description
Number A whole number

List

FORMAT: TEXT[;TEXT ⟳]

name description
TEXT Any text

Percentage

FORMAT: Number

name description
Number A whole number

Richtext

FORMAT: TEXT

name description
TEXT Any text (can contain markdown syntax)

RISM

FORMAT: TEXT

name description
TEXT Any text

String

FORMAT: TEXT

name description
TEXT Any text

String Field

FORMAT: TEXT

name description
TEXT Any text

Table

Cannot be imported via importer

Time Period

FORMAT: (START;END)

name description
START the starttime as integer (can be negative for bc)
END the endtime as integer (can be negative for bc) needs to be bigger than start

User List

FORMAT: USER_ARRAY

name description
USER_ARRAY JSON encoded array containing a list of USER_OBJECTS
USER_OBJECT ? ]