---
title: Metadata Persistence
description: Metadata Persistence protocol schemas
---

{/* ⚠️  AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs go in content/docs/guides/. */}

<Callout type="info">
**Source:** `packages/spec/src/shared/metadata-persistence.zod.ts`
</Callout>

## TypeScript Usage

```typescript
import { MetadataFormat } from '@objectstack/spec/shared';
import type { MetadataFormat } from '@objectstack/spec/shared';

// Validate data
const result = MetadataFormat.parse(data);
```

---

## MetadataFormat

Metadata file format

### Allowed Values

* `yaml`
* `json`
* `typescript`
* `javascript`


---

