type: hub name: Hub displayname: Hub namespace: model schema: # GeneratorEntity 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 # Specific key: type: string key_treatment: type: dict schema: trim: type: string allowed: ['left', 'right', 'both'] case: type: string allowed: ['upper', 'lower', 'keep'] roleof: type: string caseSesitive: type: integer allowed: [0,1] # Attributes: attributes: attributes boilerplate: | name: {unique_name} type: hub key: primary_key_name # Hashkey description: 'optional description' attributes: - {name: 'businesskey1', type: 'nvarchar(200)'}