Get the currently defined model.
GET/graph/:graph_id/model
Get the currently defined model.
Request​
Path Parameters
The identifier of the graph
Query Parameters
If true, the hierarchy of complex kinds is flattened, holding all properties and all merged metadata.
Possible values: [schema
, simple
]
The format of the returned json
Only return information about the defined kinds. Comma separated list.
Only return information about kinds that include given string. Comma separated list.
Only return aggregate roots.
Include base classes and render the base section
Render types of property values. Only together with kind or filter
Default value: true
Render the properties of complex kinds
Default value: true
Include information about relationships to other kinds.
Include metadata information.
Responses​
- 200
The list of all kinds.
- application/json
- Schema
- Example (from schema)
Schema
Array [
- StringKind
- NumberKind
- BooleanKind
- DateTimeKind
- ArrayKind
- DateKind
- ComplexKind
- StringDictKind
- string
- int32
- int64
- float
- double
- boolean
- date
- datetime
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- string
- int32
- int64
- float
- double
- boolean
- date
- datetime
- string
- int32
- int64
- float
- double
- boolean
- date
- datetime
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- string
- int32
- int64
- float
- double
- boolean
- date
- datetime
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- string
- int32
- int64
- float
- double
- boolean
- date
- datetime
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
Array [
]
Array [
]
]
oneOf
The minimal length of this string
The maximal length of this string
The regexp pattern, that this string has to adhere to
The allowed values of this string enumerated here
runtime_kind
string
Possible values: [string
, int32
, int64
, float
, double
, boolean
, date
, datetime
]
The runtime kind of this kind
circular(StringKind)
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
circular(SimpleKind)
circular(SimpleKind)
circular(SimpleKind)
The fully qualified name of the kind
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
runtime_kind
string
Possible values: [string
, int32
, int64
, float
, double
, boolean
, date
, datetime
]
The runtime kind of this kind
The minimal length of this string
The maximal length of this string
The regexp pattern, that this string has to adhere to
The allowed values of this string enumerated here
circular(NumberKind)
circular(NumberKind)
circular(NumberKind)
circular(NumberKind)
circular(SimpleKind)
circular(SimpleKind)
circular(SimpleKind)
The fully qualified name of the kind
runtime_kind
string
Possible values: [string
, int32
, int64
, float
, double
, boolean
, date
, datetime
]
The runtime kind of this kind
The minimal length of this string
The maximal length of this string
The regexp pattern, that this string has to adhere to
The allowed values of this string enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
circular(BooleanKind)
circular(SimpleKind)
circular(SimpleKind)
The fully qualified name of the kind
runtime_kind
string
Possible values: [string
, int32
, int64
, float
, double
, boolean
, date
, datetime
]
The runtime kind of this kind
The minimal length of this string
The maximal length of this string
The regexp pattern, that this string has to adhere to
The allowed values of this string enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
circular(SimpleKind)
circular(SimpleKind)
circular(DateTimeKind)
The fully qualified name of the kind
inner
object
The fully qualified name of the kind
The fully qualified name of the kind
runtime_kind
string
Possible values: [string
, int32
, int64
, float
, double
, boolean
, date
, datetime
]
The runtime kind of this kind
The minimal length of this string
The maximal length of this string
The regexp pattern, that this string has to adhere to
The allowed values of this string enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
minimum
object
The minimal value of this number
oneOf
integer
number
maximum
object
The maximum value of this number
oneOf
integer
number
The allowed values of this number enumerated here
circular(SimpleKind)
circular(DateKind)
circular(SimpleKind)
The fully qualified name of the kind
In case of inheritance, this defines the base kinds.
properties
object[]
Defines all properties of this complex kind
The name of this property
The fully qualified kind of this property
Defines if this property is required or not
Some human readable description of this property
In case properties are accepted, that are not listed in the model
successor_kinds
object
Dictionary of successor kinds.
property name*
string[]
string
The fully qualified name of the kind
The fully qualified name of the kind
[
{
"fqn": "test.dice",
"runtime_kind": "int32",
"description": "A dice has 6 sides.",
"minimum": 1,
"maximum": 6
},
{
"fqn": "test.social_security_number",
"runtime_kind": "string",
"description": "A dice has 6 sides.",
"pattern": "^(?!666|000|9\\d{2})\\d{3}-(?!00)\\d{2}-(?!0{4})\\d{4}$"
},
{
"fqn": "test.base",
"properties": [
{
"name": "kind",
"kind": "string",
"required": true,
"description": "The kind of this compound type."
},
{
"name": "name",
"kind": "string",
"description": "The name of the resource.",
"required": true
},
{
"name": "tags",
"kind": "dictionary[string, string]",
"description": "Tags that describe the resource.",
"required": false
}
]
},
{
"fqn": "test.person",
"bases": [
"test.base"
],
"properties": [
{
"name": "fortune",
"kind": "test.dice",
"description": "The current dice value.",
"required": true
},
{
"name": "ssn",
"kind": "test.social_security_number",
"description": "The social security number of this person.",
"required": true
}
]
}
]