---
title: "ShEx guides"
description: "Keep the four assertions in every shape constraint from dying in a hand copy."
slug: "shex"
type: guide
locale: en-US
canonical: "https://www.coremodels.io/guides/shex"
---

# ShEx guides

Keep the four assertions in every shape constraint from dying in a hand copy.

## Guides

- [ShEx in Ten Lines: Your First CoreModels Transform](https://www.coremodels.io/connector/shex/t1-quickstart): Quickstart · The shortest useful thing you can do with CoreModels and ShEx takes one HTTP call, writes nothing to your project, and hands back three things: the converted schema, a replayable plan, and an honest ledger of everything the conversion could not carry across. This walkthrough runs that call twice — once into JSON Schema, once into Postgres DDL — and shows you how to read all three parts of the answer.
- [The ShEx HTTP Surface: Import, Export, Map, and Replay](https://www.coremodels.io/connector/shex/t2-api): API · Five HTTP endpoints carry ShEx through CoreModels, and they are the same five that carry every other schema format we support — nothing about ShEx is a special case on the wire. What changes is one string: the format key shex. This article is the contract reference for that surface: exact routes, request and response bodies, roles, options, and the honest statement of what each direction can and cannot do.
- [Agent-Driven ShEx Conversion with the transform_schema MCP Tool](https://www.coremodels.io/connector/shex/t3-mcp): MCP · "The ontology team published ShEx shapes for the product catalog. Give me the JSON Schema our validation service needs, and tell me exactly what didn't survive the trip."
- [ShEx in the Pipeline: Deterministic Transforms, Replayable Plans, Batch Conversion](https://www.coremodels.io/connector/shex/t4-automation): Automation · A schema conversion you cannot reproduce is a liability with a timestamp on it. If your ShEx shapes are converted to JSON Schema by hand, or by a script whose behavior depends on who runs it and when, then the day the outputs disagree you have no way to say *which* conversion was right. We built the CoreModels transform surface so that conversion can live in a pipeline like any other build step: deterministic outputs, a reviewable plan artifact you can commit next to your shapes, and a change report you can gate a build on. This article shows the working patterns for ShEx (format key shex).
- [Inside the ShEx Coder: The IR Map, the Extras Ledger, and What Round-Trips](https://www.coremodels.io/connector/shex/t5-deep-dive): Deep dive · Most schema formats name things locally: a SQL column is full_name, an Avro field is full_name, and any connection to the wider world has to be bolted on with annotations. ShEx arrives different. Its predicates and shape names are IRIs — schema:name *is* https://schema.org/name — which means a ShEx document carries its cross-standard identity in its bones. Our ShEx coder in CoreModels, by ARAMAI, is built around that fact, and this article is the full technical account of it: exactly what maps into our intermediate representation (IR), what rides in the preserved-extras ledger, every lossiness record the coder can emit, and precisely what survives a round trip.

[ShEx connector](https://www.coremodels.io/connector/shex)

## Sitemap

- [Sitemap in markdown](https://www.coremodels.io/sitemap.md)
