SMML Elements: Schema

The SMML schema element corresponds to the schema object in the physical layer of a semantic model.

Schema Elements

  • name (required property) — The name of the schema.

  • description — The description of the schema.

  • tags — The keywords assigned to this object. This element corresponds to the Tags field.

  • dynamicName — If a session variable is being used to specify the name of this physical schema, this element references that session variable.

Syntax

{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "$ref": "#/definitions/schema",
    "definitions": {
        "schema": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "name": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "tags": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "dynamicName": {
                    "type": "string"
                }
            },
            "required": [
                "name"
            ],
            "title": "PhysicalSchema"
        }
    }
}