# Validating schema on Dgraph Cloud instance

**URL:** <https://discuss.dgraph.io/t/validating-schema-on-dgraph-cloud-instance/18402>\
**Category:** Dgraph Cloud\
**Tags:** kind:question\
**Created:** [March 19, 2023, 11:33am UTC](https://discuss.dgraph.io/t/validating-schema-on-dgraph-cloud-instance/18402 "2023-03-19T11:33:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreiborisov](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/andreiborisov/32/8268_2.png) [@andreiborisov](https://discuss.dgraph.io/u/andreiborisov)\
**Post date:** [March 19, 2023, 11:33am UTC](https://discuss.dgraph.io/t/validating-schema-on-dgraph-cloud-instance/18402/1 "2023-03-19T11:33:57Z")

</div>

It would be nice if Dgraph Cloud would expose the `/admin/schema/validate` endpoint.

I’m building a CD pipeline for Dgraph, and it’s necessary to validate schema independently of applying it.

Is there another solution I’m missing perhaps?

---

<div class="post-metadata">

**Author:** ![pshaddel](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/pshaddel/32/11584_2.png) [@pshaddel](https://discuss.dgraph.io/u/pshaddel)\
**Post date:** [March 19, 2023, 1:17pm UTC](https://discuss.dgraph.io/t/validating-schema-on-dgraph-cloud-instance/18402/2 "2023-03-19T13:17:22Z")

</div>

Hey,  
You can run a dgraph container locally to validate the schema before sending it to the cloud.  
In this repo you can find an example in CI:

> <https://github.com/pshaddel/dgraph-dev/blob/main/.github/workflows/cicd.yml>

---

<div class="post-metadata">

**Author:** ![Raphael](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/raphael/32/10075_2.png) [@Raphael](https://discuss.dgraph.io/u/Raphael)\
**Post date:** [March 23, 2023, 10:29pm UTC](https://discuss.dgraph.io/t/validating-schema-on-dgraph-cloud-instance/18402/3 "2023-03-23T22:29:15Z")

</div>

@andreiborisov could log an issue at [Sign in to GitHub · GitHub](https://github.com/dgraph-io/dgraph/issues/new/choose)  
this is a good one.
