RelationTypeCreate
Payload used to create Relation Type. Required fields are name, collection_id, source, target.
nameName (string)필수
lower_snake_case identifier from 1 to 63 characters. It must start with a lowercase letter or underscore and may contain lowercase letters, digits, and underscores.
Possible values: Value must match regular expression ^[a-z_][a-z0-9_]{0,62}$
alias object
하나 이상(anyOf)
- string
- null
string
type object
하나 이상(anyOf)
- string
- null
string
collection_idCollection Id (string)필수
Parent collection ID (required)
Possible values: non-empty
folder_id object
하나 이상(anyOf)
- string
- null
string
tags object
하나 이상(anyOf)
- string[]
- null
Array [
string
]
description object
하나 이상(anyOf)
- string
- null
string
sourceSource (string)필수
Source entity type ID
targetTarget (string)필수
Target entity type ID
schema object
Relation attribute schema (Arrow JSON)
- object
- null
object
RelationTypeCreate
{
"name": "string",
"alias": "string",
"type": "string",
"collection_id": "string",
"folder_id": "string",
"tags": [
"string"
],
"description": "string",
"source": "string",
"target": "string",
"schema": {}
}