{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"Products","product_name":"Treasure Insights","type":"markdown"},"seo":{"title":"Yaml Example","description":"Learn how to structure a YAML configuration for a data model in Treasure Insights, including API key, shared users, datasets, tables, and column definitions.","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"yaml-example","__idx":0},"children":["Yaml Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"name: sample_datamodel\napikey: xxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ntype: elasticube\nshared_users:\n  - user1@treasure-data.com\n  - user2@treasure-data.com\ndatamodel:\n  datasets:\n    sample_datasets:\n      type: presto\n      database: sample_datasets\n      tables:\n        nasdaq:\n          columns:\n            symbol:\n              type: text\n              indexed: true\n            volume:\n              type: int\n        www_access:\n          columns:\n            host:\n              type: text\n            code:\n              type: int\n  relations:\n    - - dataset: sample_datasets\n        table: nasdaq\n        column: symbol\n      - dataset: sample_datasets\n        table: www_access\n        column: host\n","lang":"yaml"},"children":[]}]},"headings":[{"value":"Yaml Example","id":"yaml-example","depth":1}],"frontmatter":{"seo":{"title":"Yaml Example","description":"Learn how to structure a YAML configuration for a data model in Treasure Insights, including API key, shared users, datasets, tables, and column definitions."}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/customer-data-platform/treasure-insights/yaml-example-1","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}