# Is there a public schema for the SHAPR file format?

**URL:** https://discourse.shapr3d.com/t/is-there-a-public-schema-for-the-shapr-file-format/18022
**Category:** Modeling Questions
**Created:** [March 14, 2022, 9:23pm UTC](https://discourse.shapr3d.com/t/is-there-a-public-schema-for-the-shapr-file-format/18022 "2022-03-14T21:23:29Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Berci](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@Berci](https://discourse.shapr3d.com/u/Berci)
#### Post date: [March 14, 2022, 9:23pm UTC](https://discourse.shapr3d.com/t/is-there-a-public-schema-for-the-shapr-file-format/18022/1 "2022-03-14T21:23:29Z")

</div>

I’m wondering if there exists a schema for the shapr file format, it would be nice if I could analyze and maybe transform my exported files with some kind of scripting.

---

<div class="post-metadata">

### Author: ![Istvan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/istvan/32/23668_2.png) [@Istvan](https://discourse.shapr3d.com/u/Istvan)
#### Post date: [March 14, 2022, 9:27pm UTC](https://discourse.shapr3d.com/t/is-there-a-public-schema-for-the-shapr-file-format/18022/2 "2022-03-14T21:27:27Z")

</div>

Hi @Berci, No there isn’t. It’s a zipped SQLite database and a separate file for drawings, but the SQL schema changes over time, and it’s not publicly documented. In the SQLite database you’d find Parasolid files and some other stuff. What do you want to build? 🙂

---

<div class="post-metadata">

### Author: ![Berci](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@Berci](https://discourse.shapr3d.com/u/Berci)
#### Post date: [March 14, 2022, 9:37pm UTC](https://discourse.shapr3d.com/t/is-there-a-public-schema-for-the-shapr-file-format/18022/3 "2022-03-14T21:37:29Z")

</div>

Thanks for the quick answer! I was thinking about being able to programmatically query exported files about the items they contain, maybe export it into Excel to create some sort of bill of materials. This was just a quick idea and I’m just trying to look up how feasible it is

---

<div class="post-metadata">

### Author: ![Istvan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/istvan/32/23668_2.png) [@Istvan](https://discourse.shapr3d.com/u/Istvan)
#### Post date: [March 14, 2022, 9:39pm UTC](https://discourse.shapr3d.com/t/is-there-a-public-schema-for-the-shapr-file-format/18022/4 "2022-03-14T21:39:31Z")

</div>

Not impossible at all. Check out the format, the SQLite schema is straightforward to read.

---

<div class="post-metadata">

### Author: ![Berci](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@Berci](https://discourse.shapr3d.com/u/Berci)
#### Post date: [March 14, 2022, 9:42pm UTC](https://discourse.shapr3d.com/t/is-there-a-public-schema-for-the-shapr-file-format/18022/5 "2022-03-14T21:42:35Z")

</div>

Thank you! No promises 😃

---

<div class="post-metadata">

### Author: ![Istvan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/istvan/32/23668_2.png) [@Istvan](https://discourse.shapr3d.com/u/Istvan)
#### Post date: [March 14, 2022, 10:22pm UTC](https://discourse.shapr3d.com/t/is-there-a-public-schema-for-the-shapr-file-format/18022/6 "2022-03-14T22:22:35Z")

</div>

If you manage to build something, definitely let us know 🙂

---

<div class="post-metadata">

### Author: ![Istvan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/istvan/32/23668_2.png) [@Istvan](https://discourse.shapr3d.com/u/Istvan)
#### Post date: [March 15, 2022, 1:46pm UTC](https://discourse.shapr3d.com/t/is-there-a-public-schema-for-the-shapr-file-format/18022/8 "2022-03-15T13:46:21Z")

</div>

Those are simply Parasolid bodies, in Parasolid format. But please note that this structure might completely change in the future, it’s not guaranteed that it will stay like this.
