{
  "data": {
    "data": {
      "fields": {
        "album$caption": {
          "aggregatable": false,
          "fieldName": "album$caption",
          "filterType": "dimension",
          "filterable": true,
          "measure": false,
          "meta": "维度名称 | 文本 | 专辑主键",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "track_album$caption | 专辑的显示名称 | 专辑主键",
              "usage": "用于展示、模糊查询"
            }
          },
          "name": "专辑(名称)",
          "type": "TEXT"
        },
        "album$id": {
          "aggregatable": false,
          "fieldName": "album$id",
          "filterType": "dimension",
          "filterable": true,
          "measure": false,
          "meta": "维度ID | 数值/文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "track_album$id | 专辑的ID/值",
              "usage": "用于精确查询、作为外键关联、排序"
            }
          },
          "name": "专辑(ID)",
          "sourceColumn": "AlbumId",
          "type": "TEXT"
        },
        "artist$caption": {
          "aggregatable": false,
          "fieldName": "artist$caption",
          "filterType": "dimension",
          "filterable": true,
          "measure": false,
          "meta": "维度名称 | 文本 | 艺术家主键",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "track_album_artist$caption | 艺术家的显示名称 | 艺术家主键",
              "usage": "用于展示、模糊查询"
            }
          },
          "name": "艺术家(名称)",
          "type": "TEXT"
        },
        "artist$id": {
          "aggregatable": false,
          "fieldName": "artist$id",
          "filterType": "dimension",
          "filterable": true,
          "measure": false,
          "meta": "维度ID | 数值/文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "track_album_artist$id | 艺术家的ID/值",
              "usage": "用于精确查询、作为外键关联、排序"
            }
          },
          "name": "艺术家(ID)",
          "sourceColumn": "ArtistId",
          "type": "TEXT"
        },
        "invoice$billingCountry": {
          "aggregatable": false,
          "fieldName": "invoice$billingCountry",
          "filterType": "text",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "账单国家"
            }
          },
          "name": "账单国家",
          "sourceColumn": "BillingCountry",
          "type": "STRING"
        },
        "invoice$customerId": {
          "aggregatable": false,
          "fieldName": "invoice$customerId",
          "filterType": "number",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "客户 ID"
            }
          },
          "name": "客户 ID",
          "sourceColumn": "CustomerId",
          "type": "INTEGER"
        },
        "invoice$invoiceDate": {
          "aggregatable": false,
          "fieldName": "invoice$invoiceDate",
          "filterType": "date",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 日期时间",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "按账单记录日期统计，不自行做时区转换。"
            }
          },
          "name": "账单日期",
          "sourceColumn": "InvoiceDate",
          "timeRole": "business_date",
          "type": "DATETIME"
        },
        "invoiceId": {
          "aggregatable": false,
          "fieldName": "invoiceId",
          "filterType": "number",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "账单 ID"
            }
          },
          "name": "账单 ID",
          "sourceColumn": "InvoiceId",
          "type": "INTEGER"
        },
        "invoiceLineId": {
          "aggregatable": false,
          "fieldName": "invoiceLineId",
          "filterType": "number",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "明细 ID"
            }
          },
          "name": "明细 ID",
          "sourceColumn": "InvoiceLineId",
          "type": "INTEGER"
        },
        "invoice_customer$fullName": {
          "aggregatable": false,
          "fieldName": "invoice_customer$fullName",
          "filterType": "text",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "FirstName 与 LastName 拼接；与客户 ID 一起使用。"
            }
          },
          "name": "客户姓名",
          "sourceColumn": "FirstName",
          "type": "STRING"
        },
        "lineAmount": {
          "aggregatable": true,
          "aggregation": "SUM",
          "fieldName": "lineAmount",
          "filterType": "number",
          "filterable": true,
          "measure": true,
          "meta": "度量 | 数值 | 默认聚合:SUM",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "明细金额 (聚合方式: SUM)"
            }
          },
          "name": "明细金额",
          "sourceColumn": "UnitPrice",
          "type": "MONEY"
        },
        "salesQuantity": {
          "aggregatable": true,
          "aggregation": "SUM",
          "fieldName": "salesQuantity",
          "filterType": "number",
          "filterable": true,
          "measure": true,
          "meta": "度量 | 数值 | 默认聚合:SUM",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "销售数量 (聚合方式: SUM)"
            }
          },
          "name": "销售数量",
          "sourceColumn": "Quantity",
          "type": "INTEGER"
        },
        "track$title": {
          "aggregatable": false,
          "fieldName": "track$title",
          "filterType": "text",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "曲目或媒体名称"
            }
          },
          "name": "曲目或媒体名称",
          "sourceColumn": "Name",
          "type": "STRING"
        },
        "trackId": {
          "aggregatable": false,
          "fieldName": "trackId",
          "filterType": "number",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "曲目或媒体 ID"
            }
          },
          "name": "曲目或媒体 ID",
          "sourceColumn": "TrackId",
          "type": "INTEGER"
        },
        "track_genre$genreId": {
          "aggregatable": false,
          "fieldName": "track_genre$genreId",
          "filterType": "number",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "分类 ID"
            }
          },
          "name": "分类 ID",
          "sourceColumn": "GenreId",
          "type": "INTEGER"
        },
        "track_genre$genreName": {
          "aggregatable": false,
          "fieldName": "track_genre$genreName",
          "filterType": "text",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 文本",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "内容分类名称"
            }
          },
          "name": "内容分类名称",
          "sourceColumn": "Name",
          "type": "STRING"
        },
        "unitPrice": {
          "aggregatable": false,
          "fieldName": "unitPrice",
          "filterType": "number",
          "filterable": true,
          "measure": false,
          "meta": "属性 | 金额",
          "models": {
            "ChinookInvoiceLineQueryModel": {
              "description": "账单明细上的交易单价，不是 Track 目录单价。样例原始单位，币种未指定。"
            }
          },
          "name": "交易单价",
          "sourceColumn": "UnitPrice",
          "type": "MONEY"
        }
      },
      "modelSource": {
        "bundleName": "chinook-0129-control",
        "known": true,
        "namespace": "chinook",
        "resourceIdentity": "练习目录\\lab\\releases\\launcher-0.1.29\\control-models\\query\\ChinookInvoiceLineQueryModel.qm"
      },
      "models": {
        "ChinookInvoiceLineQueryModel": {
          "description": "按账单日期、客户、曲目或媒体、内容分类、专辑及其所属艺术家分析明细金额和销售数量。每行是一条明细，不提供可累计的账单总金额。艺术家按 Album.ArtistId 归属，不使用 Track.Composer。金额沿用样例原始单位，不指定币种、不做分元换算，不代表利润、回款或退款。",
          "factTable": "InvoiceLine",
          "name": "Chinook 明细分析",
          "purpose": "数据查询和分析",
          "scenarios": [
            "数据查询",
            "统计分析",
            "报表生成"
          ]
        }
      },
      "physicalTables": [
        {
          "role": "fact",
          "table": "InvoiceLine"
        }
      ],
      "prompt": "## 使用说明 (V3版本)\n- 格式约定：字段类型 | 数据类型 | 格式说明\n",
      "version": "v3"
    },
    "format": "json"
  },
  "diagnostics": {
    "attributes": {},
    "warnings": []
  },
  "engine": "java",
  "runtimeApiVersion": "foggy-runtime-api/v1",
  "success": true
}
