SMML Elements: Presentation Table
The SMML presentation table element corresponds to the presentation table schema in the presentation layer of a semantic model. The presentation table schema contains presentation table objects and their elements.
Presentation Table Elements
-
name
(required property) — The name of the presentation table. -
description
— The description of the presentation table. -
tags
— Keywords assigned to this object. This element corresponds to the Tags field. -
alternateNames
— Alternate names assigned to this object. This element corresponds to the Alternate Names field. -
hideIfTrue
— Contains the expression specified to control the visibility of this object. This element corresponds to the Hide If check box. See Expression Elements. -
presentationColumns
— References the presentation columns that belong to this presentation table. -
hierarchies
— References the hierarchies for this presentation table. -
permissions
— Permissions defined for this object. See Permission Elements. -
dataFilters
— Data filters defined for this object. See DataFilter Elements. -
localization
— Localized names for presentation layer tables and their descriptions. See Localization Elements.
PresentationColumn Elements
-
name
(required property) — The name of this presentation column. -
description
— The description of the presentation column. -
tags
— Keywords assigned to this object. This element corresponds to the Tags field. -
sourceLogicalColumn
— References the logical column sources. -
alternateNames
— Alternate names assigned to this object. This element corresponds to the Alternate Names field. -
hideIfTrue
— Contains the expression specified to control the visibility of this object. This element corresponds to the Hide If check box. See Expression Elements. -
permissions
— Permissions defined for this object. See Permission Elements. -
dataFilters
— Data filters defined for this object. See DataFilter Elements. -
localization
— Localized names for presentation layer columns and their descriptions. See Localization Elements.
Hierarchy Elements
-
name
(required property) — The name of this hierarchy. -
description
— The description of this hierarchy. -
tags
— Keywords assigned to this object. This element corresponds to the Tags field. -
displayColumn
— This element references the columns designated to be used for display for this hierarchy. -
sourceLogicalTable
— References the logical table sources. -
alternateNames
— Alternate names assigned to this object. This element corresponds to the Alternate Names field. -
hideIfTrue
— Contains the expression specified to control the visibility of this object. This element corresponds to the Hide If check box. See Expression Elements. -
permissions
— Permissions defined for this object. See Permission Elements. -
dataFilters
— Data filters defined for this object. See DataFilter Elements. -
localization
— Localized names for presentation layer hierarchies and their descriptions. See Localization Elements. -
levels
— References the child levels that have been defined.
HierarchyLevel Elements
-
name
(required property) — The name of this hierarchy level. -
description
— The description of this hierarchy level. -
tags
— Keywords assigned to this object. This element corresponds to the Tags field. -
sourceLogicalLevel
— References the logical levels. -
displayColumn
— This element references the columns designated to be used for display for this hierarchy. -
alternateNames
— Alternate names assigned to this object. This element corresponds to the Alternate Names field. -
permissions
— Permissions defined for this object. See Permission Elements. -
datafilters
— Data filters defined for this object. See DataFilter Elements. -
localization
— Localized names for presentation layer hierarchies and their descriptions. See Localization Elements.
Syntax
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/presentationTable",
"definitions": {
"presentationTable": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"alternateNames": {
"type": "array",
"items": {
"type": "string"
}
},
"hideIfTrue": {
"$ref": "common_schemas#/definitions/Expression"
},
"presentationColumns": {
"type": "array",
"items": {
"$ref": "#/definitions/PresentationColumn"
}
},
"hierarchies": {
"type": "array",
"items": {
"$ref": "#/definitions/Hierarchy"
}
},
"permissions": {
"type": "array",
"items": {
"$ref": "common_schemas#/definitions/Permission"
}
},
"dataFilters": {
"type": "array",
"items": {
"$ref": "common_schemas#/definitions/DataFilter"
}
},
"localization": {
"$ref": "common_schemas#/definitions/Localization"
}
},
"required": [
"name"
],
"title": "PresentationTable"
},
"PresentationColumn": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLogicalColumn": {
"type": "string"
},
"alternateNames": {
"type": "array",
"items": {
"type": "string"
}
},
"hideIfTrue": {
"$ref": "common_schemas#/definitions/Expression"
},
"permissions": {
"type": "array",
"items": {
"$ref": "common_schemas#/definitions/Permission"
}
},
"dataFilters": {
"type": "array",
"items": {
"$ref": "common_schemas#/definitions/DataFilter"
}
},
"localization": {
"$ref": "common_schemas#/definitions/Localization"
}
},
"required": [
"name"
],
"title": "PresentationColumn"
},
"Hierarchy": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"displayColumn": {
"type": "string"
},
"sourceLogicalTable": {
"type": "string"
},
"alternateNames": {
"type": "array",
"items": {
"type": "string"
}
},
"hideIfTrue": {
"$ref": "common_schemas#/definitions/Expression"
},
"permissions": {
"type": "array",
"items": {
"$ref": "common_schemas#/definitions/Permission"
}
},
"dataFilters": {
"type": "array",
"items": {
"$ref": "common_schemas#/definitions/DataFilter"
}
},
"localization": {
"$ref": "common_schemas#/definitions/Localization"
},
"levels": {
"type": "array",
"items": {
"$ref": "#/definitions/HierarchyLevel"
}
}
},
"required": [
"name"
],
"title": "Hierarchy"
},
"HierarchyLevel": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceLogicalLevel": {
"type": "string"
},
"displayColumn": {
"type": "string"
},
"alternateNames": {
"type": "array",
"items": {
"type": "string"
}
},
"permissions": {
"type": "array",
"items": {
"$ref": "common_schemas#/definitions/Permission"
}
},
"dataFilters": {
"type": "array",
"items": {
"$ref": "common_schemas#/definitions/DataFilter"
}
},
"localization": {
"$ref": "common_schemas#/definitions/Localization"
}
},
"required": [
"name"
],
"title": "HierarchyLevel"
}
}
}