reifydb_core/interface/catalog/dictionary.rs
1// SPDX-License-Identifier: AGPL-3.0-or-later
2// Copyright (c) 2025 ReifyDB
3
4use reifydb_type::value::{dictionary::DictionaryId, r#type::Type};
5use serde::{Deserialize, Serialize};
6
7use crate::interface::catalog::id::NamespaceId;
8
9#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10pub struct DictionaryDef {
11 pub id: DictionaryId,
12 pub namespace: NamespaceId,
13 pub name: String,
14 pub value_type: Type,
15 pub id_type: Type,
16}