class CreateRelationTemplateInput(val relationConditions: List<RelationConditionInput>, val markerType: MarkerType, val stroke: OptionalInput<StrokeStyleInput>) : CreateTemplateInput

Input for the createRelationTemplate mutation

Constructors

Link copied to clipboard
constructor(relationConditions: List<RelationConditionInput>, markerType: MarkerType, stroke: OptionalInput<StrokeStyleInput>)

Properties

Link copied to clipboard

The description of the NamedNode

Link copied to clipboard
var extends: OptionalInput<List<ID>>

IDs of Templates the created template extends. Must be templates of the same type.

Link copied to clipboard

If true, this template is abstract and cannot be used for new entities.

Link copied to clipboard
Link copied to clipboard

The name of the NamedNode, must not be blank

Link copied to clipboard
val stroke: OptionalInput<StrokeStyleInput>
Link copied to clipboard

Additional initial templateFieldSpecifications, should be a JSON schema JSON. Must be disjoint with templateFieldSpecifications of templates this template extends.

Functions

Link copied to clipboard
open override fun validate()

Validates this input

Link copied to clipboard
open fun validateJsonSchema(schema: Schema, name: String)

Can be overridden to further validate the schema