Dataset Schemas
Getting the Schema
from foundry import Foundry
f = Foundry()
dataset = f.search("band gap", limit=1).iloc[0].FoundryDataset
schema = dataset.get_schema()Schema Structure
{
'name': 'foundry_oqmd_band_gaps_v1.1',
'title': 'OQMD Band Gaps Dataset',
'doi': '10.18126/abc123',
'description': 'Band gaps calculated using DFT...',
'data_type': 'tabular',
'fields': [...],
'splits': [...]
}Fields
Splits
Data Types
Type
Description
Using Schema Information
Filter by Field Role
Check Units
Include Schema with Data
CLI Schema
Best Practices
Always Check Schema First
Validate Data Against Schema
Document Your Usage
Last updated
Was this helpful?