MonetDB importer¶
These schemas specify some artifacts used by the administration of the importer as well as a translation format for developer accounts.
Database schema update¶
update¶
type |
object |
|||
properties |
||||
|
Name of the database schema to work on. |
|||
|
Name of the table to perform an update action on. |
|||
|
Action to perform with regards to a table in the database. With create, a previously nonexistent table is to be created. With drop, a previously existent table is to be dropped. With alter, columns and keys are changed. |
|||
type |
string |
|||
enum |
create, drop, alter |
|||
default |
alter |
|||
|
type |
array |
||
items |
type |
object |
||
properties |
||||
|
Name of the column to update. |
|||
|
Action to perform with regards to a column. With add, a previously nonexistent column is to be created. With drop, a previously existent column is to be dropped. With alter, properties of the column are changed compared to a previous situation. |
|||
type |
string |
|||
enum |
add, drop, alter |
|||
|
Whether the altered column will be allowed to store NULL values. |
|||
type |
boolean |
|||
|
The default value that the column will store. |
|||
type |
string / boolean / number |
|||
|
type |
array |
||
items |
type |
object |
||
properties |
||||
|
Name of the key to update. |
|||
|
Action to perform with regards to a key. With create, a previously nonexistent key is to be created. With drop, a previously existent key is to be dropped. With alter, properties of the column are key compared to a previous situation. |
|||
type |
string |
|||
enum |
create, drop, alter |
|||
|
The columns to be used within the updated key. |
|||
type |
array |
|||
items |
||||
|
The storage type to be used for the updated key. |
|||
type |
string |
|||
enum |
Primary Key, Unique Key, Foreign Key, Hash, Join, Order preserving hash, No-index, Imprint, Ordered |
Update field name¶
type |
string |
pattern |
^[a-z_]+$ |
Table validation¶
validation¶
type |
object |
||
properties |
|||
|
type |
object |
|
patternProperties |
|||
|
|||
|
type |
object |
|
properties |
|||
|
|||
|
type |
string |
|
pattern |
^[0-9]+$ |
||
|
type |
object |
|
patternProperties |
|||
|
type |
array |
|
items |
Validation table¶
type |
object |
|||||
properties |
||||||
|
type |
object |
||||
patternProperties |
||||||
|
type |
object |
||||
properties |
||||||
|
||||||
|
type |
boolean |
||||
|
type |
boolean |
||||
|
type |
array |
||||
items |
oneOf |
|||||
type |
null |
|||||
minItems |
2 |
|||||
|
type |
array |
||||
items |
oneOf |
|||||
type |
null |
|||||
minItems |
2 |
Validation field name¶
type |
string |
pattern |
^[a-z_]+$ |
Validation field type¶
type |
string |
pattern |
^[A-Z]+(\\([A-Za-z0-9, ]+\\))?$ |
Version control system developer to Jira developer mapping¶
https://gros.liacs.nl/schema/monetdb-import/vcsdev_to_dev.json |
vcsdev_to_dev¶
type |
array |
|
items |
oneOf |
|
link_base¶
type |
object |
|
properties |
||
|
Name of the developer within a version control system to link to the same developer in Jira (whose name, account name and email address may have been written differently between systems). |
|
type |
string |
|
|
Email address of the developer within a version control system to link to the same developer in Jira. The email address does not need to be formatted as an email (link may be made when name, account name or email address have been written differently between systems). |
|
type |
string |
link_jira¶
properties |
||
|
Account name of the developer in Jira to link to. |
|
type |
string |
|
allOf |
link_id¶
properties |
||
|
Identifier of the developer in Jira to link to. When this is -1, the developer within a version control system is explicitly marked as not having a link with a Jira developer, such as a system account. |
|
type |
string |
|
format |
^-?d+$ |
|
allOf |
link_pattern¶
type |
object |
||
properties |
|||
|
Start of account names of developers within a version control name. May contain _ characters to indicate any other characters, exactly one, and % characters to indicate subsequences of any characters, zero or more. Only developers with matching account names are considered for linking. |
||
type |
string |
||
|
Pattern to match within account names of developers that start with prefix. By default, only the prefix is matched. |
||
type |
string |
||
format |
regex |
||
|
Pattern replacement to replace within account names of developers that start with prefix. May contain backreferences ($1, etc.) to groups within pattern. By default, only the prefix is removed from the replaced name. |
||
type |
string |
||
|
Operator to perform on the account names of developers that start with prefix, after pattern and replace are handled, to obtain a linkable name. This may be lower to turn the account name to lowercase. |
||
type |
string |
||
enum |
lower |
||
|
Projects to apply the link for. Can be used as a filter when providing the mapping to another system that pre-converts the username. This may be ignored during an import, when personal data from multiple projects or global encryption may be in use. |
||
type |
array |
||
items |
type |
string |
|
pattern |
^[A-Z]+$ |