diff --git a/schema.md b/schema.md index 0c45d99..59556df 100644 --- a/schema.md +++ b/schema.md @@ -283,17 +283,17 @@ field 级字段元数据, 用于描述 `value` 的类型, 采样间隔, 单位, `data_type` 用于描述 `value` 的类型, 其类型为 `DataType` -```typescript +```haskell type DataType = | ScalarType | ArrayType ScalarType | IrregularType ScalarType ``` -所有合法的 `data_type` 如下: +所有合法的 `data_type` 的值如下: ```typescript -type DataType = +type DataTypeLiteral = | "string" | "number" | "boolean"