60 lines
987 B
YAML
60 lines
987 B
YAML
type: view
|
|
name: view
|
|
displayname: View
|
|
namespace: model
|
|
schema:
|
|
# Generator Entity:
|
|
name:
|
|
type: string
|
|
required: True
|
|
type:
|
|
type: string
|
|
required: True
|
|
subtype:
|
|
type: string
|
|
generate:
|
|
type: integer
|
|
allowed: [0,1]
|
|
extra:
|
|
type: [list, dict, string, integer]
|
|
description:
|
|
type: string
|
|
sql_pre_hook:
|
|
type: string
|
|
sql_post_hook:
|
|
type: string
|
|
# DataVaultEntity
|
|
layer:
|
|
type: string
|
|
dbentity:
|
|
schema: dbentity
|
|
exclude_commonattributes:
|
|
type: list
|
|
# Attributes:
|
|
attributes: attributes
|
|
# Specific:
|
|
query:
|
|
type: string
|
|
required: True
|
|
materialize:
|
|
type: integer
|
|
allowed: [0,1]
|
|
materialization:
|
|
type: dict
|
|
schema:
|
|
mode:
|
|
type: string
|
|
allowed: ['merge', 'full']
|
|
target:
|
|
type: string
|
|
layer:
|
|
type: string
|
|
mergekeys:
|
|
type: list
|
|
schema:
|
|
type: string
|
|
query:
|
|
type: string
|
|
|
|
|