OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Retrieve a data dictionary entry for a schema field.
Goal
Provide semantic context for schema fields and PII handling.
Context
Used by agents to interpret data before retrieval or export.
Source Definition
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
import { docRef } from '../../docs/registry';
import type { DocBlock } from '../../docs/types';
import { defineQuery } from '../../operations';
import {
DATABASE_DOMAIN,
DATABASE_OWNERS,
DATABASE_STABILITY,
DATABASE_TAGS,
} from '../constants';
export const DatabaseDictionaryGetQuery = defineQuery({
meta: {
key: 'database.dictionary.get',
title: 'Get Data Dictionary Entry',
version: '1.0.0',
description: 'Retrieve a data dictionary entry for a schema field.',
goal: 'Provide semantic context for schema fields and PII handling.',
context: 'Used by agents to interpret data before retrieval or export.',
domain: DATABASE_DOMAIN,
owners: DATABASE_OWNERS,
tags: [...DATABASE_TAGS, 'dictionary'],
stability: DATABASE_STABILITY,
docId: [docRef(DatabaseDictionaryGetDocBlock.id)],
},
capability: {
key: 'database.context',
version: '1.0.0',
},
io: {
input: DatabaseDictionaryGetInput,
output: DatabaseDictionaryGetOutput,
},
policy: {
auth: 'admin',
pii: [],
},
});