Viewconfig JSON Schema

This page describes the JSON format of the i·views viewconfig.

View: object

View is the base class for all displayable views.

viewId: string

View configuration id

label: string

View label

elementType: string

Element type

builtInActions: object

Contains all actions associated with the current view. The action is displayed, if they are visible. A Boolean value represents the response from the rights system.

viewType: string

Type determining the view kind

actionGroups: object[]

Array of menus

searchType: string

Search type

elementLabel: string

Element label

elementId: string

Element id

additionalConfig: object

Add configured elements to json

actionResponse: object

notification: object

Notification of an action

type: string

Type of an action notification

message: string

Message of an action notification

customVariables: object

Contains the custom variables of a session

defaultViewContexts: object[]

Contains optional default values for views

followup: string

Contains the followup string of the action response

data: object

Contains the data of the action response

session: object

Contains session data of the action response

globalContext: object[]

Contains the global context of the action response

alternative:

An alternative represents a view with different tabs.

alternatives: object[]

Array of alternatives

subView: object , x ∈ { KEditors.KAlternativeEditor , KEditors.KGroupingEditor , KEditors.KHierarchyEditor , KEditors.KConfigurablePropertyListEditor , KEditors.KStaticTextEditor , KEditors.KTableEditor }

Attach the child object

application:

Representation of an application

viewType: string

Type determining the view kind

attribute:

Attribute

blob:

Blob attribute

fileId: string

File ID of blob value

storeId: string

Store ID of blob value

fileName: string

File name of blob attribute

blobLocator: string

Blob locator

mimeType: string , x ∈ { text/html , text/plain }

Mime type

fileSize: string

File size of blob attribute

translations: object

Object with language and value

boolean:

Boolean attribute

cause-composite: object

Hit cause with hit type

cause-custom: object

Hit cause with hit type

cause-direct: object

Hit cause with hit type

cause-external: object

Hit cause with hit type

cause-folder: object

Hit cause with hit type

cause-semantic: object

Hit cause with hit type

choice:

Choice attribute

choiceId: integer

Internal representation of choice

options: object

Show all options

viewType: string

Type determining the view kind

choiceValue: integer

Display string of choice

collection-ref:

Collection reference attribute

color:

Color attribute

container:

Container attribute

date:

Date attribute

dateTime:

Date and time attribute

dateTime-interval:

An interval with value range for dates and times

min: dateTime

Min value of an interval

max: dateTime

Max value of an interval

edit:

A group view can contain several views displayed in a grouped view.

editCustomButtons: boolean

If true show only custom actions

extension: object

Instance or extension

extensionRelation:

Extension Relation attribute

flexTime:

Flex time attribute

hours: integer

Flex time hours value

year: integer

Flex time year value

formats: object[]

Array of allowed formats

day: integer

Flex time day value

minutes: integer

Flex time minutes value

allowsFuture: boolean

If the flex time value in the future? Default is true.

month: integer

Flex time month value

flexTime-interval:

An interval with value range for flex time values

min: flexTime

Min value of an interval

max: flexTime

Max value of an interval

float:

Float attribute

viewType: string

Type determining the view kind

float-interval:

An interval with value range for floats

min: float

Min value of an interval

max: float

Max value of an interval

folder: object

Folder

folder-ref:

Folder reference attribute

geo:

Geo attribute

graph:

Representation of an graph

group:

A group view can contain several views displayed in a grouped view.

hierarchy:

Hierarchical structure containing nodes and leafs. It also contains a view which represents the selected node is data.

builtInActions: object

Contains all actions associated with the current view. The action is displayed, if they are visible. A Boolean value represents the response from the rights system.

nodes: object[]

Array of nodes

subView: object , x ∈ { KEditors.KAlternativeEditor , KEditors.KGroupingEditor , KEditors.KHierarchyEditor , KEditors.KConfigurablePropertyListEditor , KEditors.KStaticTextEditor , KEditors.KTableEditor }

Attach the child object

html:

A generated by a script HTML description appears.

viewType: string

Type determining the view kind

mimeType: string , x ∈ { text/html , text/plain }

Mime type

value: string

Value as string

instance: object

Instance or extension

integer:

Integer attribute

integer-interval:

An interval with value range for integer

min: integer

Min value of an interval

max: integer

Max value of an interval

layout: object

A layout panel consists of sub-panels and layout panels.

layoutPanel: object

A layout panel consists of sub-panels and layout panels.

list:

List of properties

mapping-ref:

Mapping reference attribute

markup: object

A markup view

menu:

View containing static menu.

node: object

selectAction: object[]

Array of actions

label: string

View label

elementType: string

Element type

searchType: string

Search type

hasChildren: boolean

Node has children

nodes: object[]

Array of nodes

elementId: string

Element id

nodeId: string

Node id

obsolete: object

Instance or extension

panel:

A panel may contain a sub-view.

viewType: string

Type determining the view kind

parameters: object

<name>: object

Parameter name and values as object

parameterValueDisposition: string , x ∈ { parameterValueDispositionOptional , parameterValueDispositionMandatory }

Parameter value disposition

tooltip: string

Tooltip of an action or parameter

possibleOperators: object[] , x ∈ { containsPhrase , covers , distance , equal , equalBy , equalCardinality , equalGeo , equalMaxCardinality , equalMinCardinality , equalPresentTime , equalsTopicOneWay , fulltext , greater , greaterOrEqual , greaterOverlaps , greaterPresentTime , isCoveredBy , less , lessOrEqual , lessOverlaps , lessPresentTime , notEqual , overlaps , range , regexEqual , regexFulltext , unmodifiedEqual , words }

Possible operator of a table column

parameterTypeAhead: boolean , x ∈ { k:element , xsd:base64Binary , xsd:boolean , xsd:date , xsd:dateTime , xsd:decimal , xsd:duration , xsd:integer , xsd:language , xsd:string }

Parameter type

mandatory: boolean

Is parameter mandatory

parameterValueDetermination: string , x ∈ { parameterValueDeterminationScript , parameterValueDeterminationScriptRewritable , parameterValueDeterminationUserInput }

Parameter value determination

parameterType: string , x ∈ { k:element , xsd:base64Binary , xsd:boolean , xsd:date , xsd:dateTime , xsd:decimal , xsd:duration , xsd:integer , xsd:language , xsd:string }

Parameter type

parameterValues: object[] , x ∈ { string , locator , registeredUID }

Parameter values

parameterTypeAheadThreshold: string , x ∈ { k:element , xsd:base64Binary , xsd:boolean , xsd:date , xsd:dateTime , xsd:decimal , xsd:duration , xsd:integer , xsd:language , xsd:string }

Parameter type

parameterName: string

Parameter name

password:

Password attribute

oldPassword: string

Value of old password

newPassword: string

Value of new password

plain:

View containing plain content: text / image / image+text / nothing

viewType: string

Type determining the view kind

property: object

Property

viewId: string

View configuration id

label: string

View label

status: string , x ∈ { deleted , new }

Status

modNum: integer

Flag for version number. This is important for writing actions as this action is only performed if the backend modNum is not higher than the given one (meaning element data has already been altered).

elementType: string

Element type

minOccurrences: integer

This attribute reflects the schema setting "minOccurs guideline" for the attribute type. Empty if there is no such restriction.

searchType: string

Search type

schema: object

Schema for the current property. Only given if levelOfDetails is set to schema.

maxOccurrences: integer

This attribute is only set if the schema restricts the number of attribute values.

elementId: string

Element id

query:

Integration of a query. This configuration is used to configure the query and tabular view.

query-ref:

Query reference attribute

queryFacets:

Show the facets. Configured by sub configuration of a search.

queryParameters:

Show the search parameters. Configured by a search.

queryResults:

Show the search result. Configured by sub configuration of a search.

relation:

Relation

Schema: object

Schema

typeId: string

Type id

internalName: string

Internal Name of an type

typeName: string

Type name

rdf-id: string

RDF-Id

script-ref:

Script reference attribute

staticImage:

View containing static content.

staticText:

View containing static content.

string:

String attribute

translations: object

Object with language and value

string-interval:

An interval with value range for strings

min: string

Min value of an interval

max: string

Max value of an interval

switchingPanel:

A switching layout panel consists of sub-panels of which only one is active at a time.

viewType: string

Type determining the view kind

table:

View containing table data.

configuredProtos: object[]

Configured protos of a table

builtInActions: object

Contains all actions associated with the current view. The action is displayed, if they are visible. A Boolean value represents the response from the rights system.

totalCount: integer

Number of total found results

possibleTargets: object[]

Possible targets array

columnDescriptions: object

Column descriptions of a table

columnIndex: integer

Column id of a column

width: integer

Column width in percent

additionalConfig: object

Add configured elements to json

elementTypes: object[]

Element types

rows: object[]

Rows of a table

context: object

Table context of a table

tableContext: object

Table context of a table

withoutSorting: boolean

If true do without sorting. Default: false

filter: object

Filter of a table context

query: string

Name of the search that is used to determine search results.

parameters: object

Parameter object

parameter: object

Parameter object

maxResultsExceeded: boolean

The value is true if max results exceeded

startIndex: integer

Start value of the included elements

contents: object

Contents object of a table context

viewId: string

View configuration id

elementId: string

Element id

createHits: boolean

If true create hits instead of elements. Default: false

pageSize: integer

Page size of a table

stopIndex: integer

Stop value of the included elements

sortIndices: object[]

An Array of numbers that describe the sort order

searchString: object

Parameter object

tagging: object

A tagging editor

tagList: object

A tag list

time:

Time attribute

url:

Url attribute

translations: object

Object with language and value

varSizePanel: object

A layout panel consists of sub-panels and layout panels.