{"_id":"@sanity-labs/schema-lint","_rev":"29-785bc4e8dab1c489b98bfefa67fbc037","name":"@sanity-labs/schema-lint","dist-tags":{"latest":"1.0.6"},"versions":{"0.1.0":{"name":"@sanity-labs/schema-lint","version":"0.1.0","keywords":["sanity","schema","lint","linter"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity-labs/schema-lint@0.1.0","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"}],"homepage":"https://github.com/sanity-labs/sanity-lint#readme","bugs":{"url":"https://github.com/sanity-labs/sanity-lint/issues"},"dist":{"shasum":"af8c8fb41afe442c3234dcc16035b7683ae0e7f9","tarball":"https://registry.npmjs.org/@sanity-labs/schema-lint/-/schema-lint-0.1.0.tgz","fileCount":21,"integrity":"sha512-0OqJUk4Gzm0Ft0AWzJv8ywOcdVd8XpjzT0ukSFRvmJJ1sfpHqgoGqofPjbjIP+PYHxPCbGo1EqNbF+e1nNg/MQ==","signatures":[{"sig":"MEQCIFkxNigsqwcCDWjWSUp6IXh1QVGXYbucGxodafjdBKyHAiAV2F2lWFyiQYGLQpk9MjrGWWOYCqe9NKyBwgdXbkqKbQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3702869},"main":"./dist/index.cjs","type":"module","_from":"file:sanity-labs-schema-lint-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./testing":{"types":"./dist/testing.d.ts","import":"./dist/testing.js","require":"./dist/testing.cjs"}},"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"kmelve","email":"knut.melvaer@gmail.com"},"_resolved":"/private/var/folders/2h/9cvwk5rn4mj9t43nt6q_tk_r0000gp/T/1dfdf1898a031217ed0853467a2d0402/sanity-labs-schema-lint-0.1.0.tgz","_integrity":"sha512-0OqJUk4Gzm0Ft0AWzJv8ywOcdVd8XpjzT0ukSFRvmJJ1sfpHqgoGqofPjbjIP+PYHxPCbGo1EqNbF+e1nNg/MQ==","repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"_npmVersion":"10.9.4","description":"Schema linting engine and rules for Sanity Lint","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@sanity-labs/lint-core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/schema-lint_0.1.0_1769044814156_0.699099446750999","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@sanity-labs/schema-lint","version":"0.2.0","keywords":["sanity","schema","lint","linter"],"author":"Sanity.io <hello@sanity.io>","license":"MIT","_id":"@sanity-labs/schema-lint@0.2.0","maintainers":[{"name":"simen.svale","email":"simen@sanity.io"},{"name":"joshbrand","email":"josh@homph.co"},{"name":"hermanw","email":"herman@sanity.io"},{"name":"colepeters-sanity","email":"cole.peters@sanity.io"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"laurenashpolesanity","email":"lauren.ashpole@sanity.io"},{"name":"robinpyon","email":"robin.pyon@gmail.com"},{"name":"samhem","email":"sam.hemingway@sanity.io"},{"name":"sergeisarviro","email":"sergei@sanity.io"},{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"}],"dist":{"shasum":"bc0156844e404c1cbd9573fd1ee16b021f4469f7","tarball":"https://registry.npmjs.org/@sanity-labs/schema-lint/-/schema-lint-0.2.0.tgz","fileCount":23,"integrity":"sha512-rcXQ4n/vru4sC5OaP/5RO1NgqE/NllxN2dTkKQuTzrtMYCFZ7TNPxF9Q2mFBng0EI1RywWIYdB1TUAImYKQdkw==","signatures":[{"sig":"MEUCIQDZlBv6lechhNP3v00ere7JcR99dXtx7OIgxWcZH7op+gIgCqhl6nmk3PwD67+GMdI52M7iKsyao4RsnxcFX8xosek=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@sanity-labs%2fschema-lint@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4084976},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./testing":{"types":"./dist/testing.d.ts","import":"./dist/testing.js","require":"./dist/testing.cjs"}},"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98394106-ac71-436a-b198-2c387d3da5f7"}},"repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"description":"Schema linting engine and rules for Sanity Lint","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@sanity-labs/lint-core":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^4.0.0","typescript":"^5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/schema-lint_0.2.0_1779143393346_0.6000916710888375","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@sanity-labs/schema-lint","version":"1.0.0","keywords":["sanity","schema","lint","linter"],"author":"Sanity.io <hello@sanity.io>","license":"MIT","_id":"@sanity-labs/schema-lint@1.0.0","maintainers":[{"name":"simen.svale","email":"simen@sanity.io"},{"name":"joshbrand","email":"josh@homph.co"},{"name":"hermanw","email":"herman@sanity.io"},{"name":"colepeters-sanity","email":"cole.peters@sanity.io"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"laurenashpolesanity","email":"lauren.ashpole@sanity.io"},{"name":"robinpyon","email":"robin.pyon@gmail.com"},{"name":"samhem","email":"sam.hemingway@sanity.io"},{"name":"sergeisarviro","email":"sergei@sanity.io"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"}],"dist":{"shasum":"a3a99895b4b30916231dda17ee5d6dc6c6905a6b","tarball":"https://registry.npmjs.org/@sanity-labs/schema-lint/-/schema-lint-1.0.0.tgz","fileCount":16,"integrity":"sha512-XutOFSYFNYqOQ69RBh0Mo18aPCTmGJYTBU437QqRe/JsRu8cOF+xix5kHgiQNW2GEW8v/iYKcHC4g9Juy/1OSQ==","signatures":[{"sig":"MEYCIQDEAi5xNVSyFf2wWwEU3e9ZQPGrnlRnBcsQr3QGAexwHQIhAPVcNs44s70Hkkee8g1cGkiYB9jUuGBKB98KPVwhNmGB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@sanity-labs%2fschema-lint@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2062060},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.3.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./testing":{"types":"./dist/testing.d.ts","default":"./dist/testing.js"}},"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98394106-ac71-436a-b198-2c387d3da5f7"}},"repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"description":"Schema linting engine and rules for Sanity Lint","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@sanity-labs/lint-core":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^4.0.0","typescript":"^5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/schema-lint_1.0.0_1779293737246_0.04756391495821677","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@sanity-labs/schema-lint","version":"1.0.1","keywords":["sanity","schema","lint","linter"],"author":"Sanity.io <hello@sanity.io>","license":"MIT","_id":"@sanity-labs/schema-lint@1.0.1","maintainers":[{"name":"simen.svale","email":"simen@sanity.io"},{"name":"mttdnt-sanity","email":"matthew.dent@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"joshbrand","email":"josh@homph.co"},{"name":"hermanw","email":"herman@sanity.io"},{"name":"colepeters-sanity","email":"cole.peters@sanity.io"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"laurenashpolesanity","email":"lauren.ashpole@sanity.io"},{"name":"robinpyon","email":"robin.pyon@gmail.com"},{"name":"samhem","email":"sam.hemingway@sanity.io"},{"name":"sergeisarviro","email":"sergei@sanity.io"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"nicholasklem","email":"nicholas@sanity.io"},{"name":"tbeseda","email":"tbeseda@gmail.com"},{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"},{"name":"jwoods-sanity","email":"james.woods@sanity.io"}],"dist":{"shasum":"7204ad12f4f1e2eec836992d29be9b76a9a84a5f","tarball":"https://registry.npmjs.org/@sanity-labs/schema-lint/-/schema-lint-1.0.1.tgz","fileCount":16,"integrity":"sha512-6NG+3uk14QaBhw78bxkvGF++QU/4TYlcGNfw+3BnLNw8gMzRQ3yrwqUqf3YWGejKsnDRthm8BZH9S+RmVIPQWw==","signatures":[{"sig":"MEYCIQDw4m3eYYYmPhqBfcyCK7uYVWUN2/IQX0rIu2/pdJpDxgIhAI0eeYBp29/EYvDIZDXqHERev53m9mzSLCwj4O2wvr/r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@sanity-labs%2fschema-lint@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2062517},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.3.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./testing":{"types":"./dist/testing.d.ts","default":"./dist/testing.js"}},"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98394106-ac71-436a-b198-2c387d3da5f7"}},"repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"description":"Schema linting engine and rules for Sanity Lint","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@sanity-labs/lint-core":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","sanity":"^5.1.0","vitest":"^4.0.0","typescript":"^5.7.2"},"peerDependencies":{"sanity":">=3.67.0"},"_npmOperationalInternal":{"tmp":"tmp/schema-lint_1.0.1_1789400805844_0.13521036283562293","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@sanity-labs/schema-lint","version":"1.0.2","keywords":["sanity","schema","lint","linter"],"author":"Sanity.io <hello@sanity.io>","license":"MIT","_id":"@sanity-labs/schema-lint@1.0.2","maintainers":[{"name":"simen.svale","email":"simen@sanity.io"},{"name":"mttdnt-sanity","email":"matthew.dent@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"joshbrand","email":"josh@homph.co"},{"name":"hermanw","email":"herman@sanity.io"},{"name":"colepeters-sanity","email":"cole.peters@sanity.io"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"laurenashpolesanity","email":"lauren.ashpole@sanity.io"},{"name":"robinpyon","email":"robin.pyon@gmail.com"},{"name":"samhem","email":"sam.hemingway@sanity.io"},{"name":"sergeisarviro","email":"sergei@sanity.io"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"nicholasklem","email":"nicholas@sanity.io"},{"name":"tbeseda","email":"tbeseda@gmail.com"},{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"},{"name":"sanitykev","email":"kevin.green@sanity.io"},{"name":"jwoods-sanity","email":"james.woods@sanity.io"}],"dist":{"shasum":"5e46070213f11bb7de57085074cbde5457dc6fd9","tarball":"https://registry.npmjs.org/@sanity-labs/schema-lint/-/schema-lint-1.0.2.tgz","fileCount":14,"integrity":"sha512-EVGQU1nzMsL6BqtM6hq3zscP0RgGd5izu7nzJFHtlzGdS1yh+PoM+hgv5QbjjN21PBXPIt3IIp+neGQaCn1c2g==","signatures":[{"sig":"MEYCIQDCDXdKaO617llrGlgZdX53wrAdZbavZf2hXSwRYIIjlQIhAJL8eUhibLXLEaYisz0e0SfIZzyWN6gtFEYx3wuAhQbC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGNfFZPwul/d/S3p4POoNwKk37fjnJRq8DPT9Z7GWQ60AiEAq3t625KwoeFxNyHziMO7P70pBnUWVe/sW3zKFP1kpto=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@sanity-labs%2fschema-lint@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2214215},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.3.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./testing":{"types":"./dist/testing.d.ts","default":"./dist/testing.js"}},"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"98394106-ac71-436a-b198-2c387d3da5f7"}},"repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"description":"Schema linting engine and rules for Sanity Lint","directories":{},"_nodeVersion":"24.22.0","dependencies":{"@sanity-labs/lint-core":"1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^9.0.0","sanity":"^5.31.2","vitest":"^5.0.5","typescript":"^6.0.3"},"peerDependencies":{"sanity":">=3.67.0"},"_npmOperationalInternal":{"tmp":"tmp/schema-lint_1.0.2_1792659722565_0.20058612226646066","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@sanity-labs/schema-lint","version":"1.0.3","keywords":["sanity","schema","lint","linter"],"author":"Sanity.io <hello@sanity.io>","license":"MIT","_id":"@sanity-labs/schema-lint@1.0.3","maintainers":[{"name":"simen.svale","email":"simen@sanity.io"},{"name":"mttdnt-sanity","email":"matthew.dent@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"joshbrand","email":"josh@homph.co"},{"name":"hermanw","email":"herman@sanity.io"},{"name":"colepeters-sanity","email":"cole.peters@sanity.io"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"laurenashpolesanity","email":"lauren.ashpole@sanity.io"},{"name":"robinpyon","email":"robin.pyon@gmail.com"},{"name":"samhem","email":"sam.hemingway@sanity.io"},{"name":"sergeisarviro","email":"sergei@sanity.io"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jonathanoron","email":"jonathan.oron@sanity.io"},{"name":"nicholasklem","email":"nicholas@sanity.io"},{"name":"shapirodaniel","email":"daniel.shapiro@sanity.io"},{"name":"tbeseda","email":"tbeseda@gmail.com"},{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"},{"name":"sanitykev","email":"kevin.green@sanity.io"},{"name":"jwoods-sanity","email":"james.woods@sanity.io"}],"homepage":"https://github.com/sanity-labs/sanity-lint/tree/main/packages/schema-lint#readme","bugs":{"url":"https://github.com/sanity-labs/sanity-lint/issues"},"dist":{"shasum":"b2ef70bf434949a49ad499ca78ddfafe3e0f497d","tarball":"https://registry.npmjs.org/@sanity-labs/schema-lint/-/schema-lint-1.0.3.tgz","fileCount":12,"integrity":"sha512-KR/sBBmUQuhlLHCs6GypN6wx1v7rw6MB3rGkGoiP3rgCFlAxL9YJmNPQ61swunxeog9nQA5rh/1DVYCi7Cs6Cw==","signatures":[{"sig":"MEYCIQCWdjRBfFaOq61xwfhz9J2To7N5K0Wj+CfSmmmGBpz2gQIhAKATOPhRCtWTCr4azKdgDJksepuOwNxmdqTMlEQBtQuw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDfxhUIMtUzEltA3/MfIBrVXB5Sm+0ycB3yereGz6ChrwIgWcsi1wqc1qn3gHMeWq1jftDgQeGYdVPbFd1KTqGIL9E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@sanity-labs%2fschema-lint@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2107234},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.3.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./testing":{"types":"./dist/testing.d.ts","default":"./dist/testing.js"}},"scripts":{"dev":"tsdown --watch","build":"tsdown","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"98394106-ac71-436a-b198-2c387d3da5f7"}},"repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"description":"Schema linting engine and rules for Sanity Lint","directories":{},"dependencies":{"@sanity-labs/lint-core":"1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"sanity":"^6.24.0","tsdown":"^0.23.7","vitest":"^5.1.1","typescript":"^7.0.2"},"peerDependencies":{"sanity":">=3.67.0"},"_npmOperationalInternal":{"tmp":"tmp/schema-lint_1.0.3_1795086652062_0.3353385540941852","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@sanity-labs/schema-lint","version":"1.0.4","keywords":["sanity","schema","lint","linter"],"author":"Sanity.io <hello@sanity.io>","license":"MIT","_id":"@sanity-labs/schema-lint@1.0.4","maintainers":[{"name":"simen.svale","email":"simen@sanity.io"},{"name":"mttdnt-sanity","email":"matthew.dent@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"joshbrand","email":"josh@homph.co"},{"name":"hermanw","email":"herman@sanity.io"},{"name":"colepeters-sanity","email":"cole.peters@sanity.io"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"laurenashpolesanity","email":"lauren.ashpole@sanity.io"},{"name":"robinpyon","email":"robin.pyon@gmail.com"},{"name":"samhem","email":"sam.hemingway@sanity.io"},{"name":"sergeisarviro","email":"sergei@sanity.io"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jonathanoron","email":"jonathan.oron@sanity.io"},{"name":"nicholasklem","email":"nicholas@sanity.io"},{"name":"shapirodaniel","email":"daniel.shapiro@sanity.io"},{"name":"tbeseda","email":"tbeseda@gmail.com"},{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"},{"name":"sanitykev","email":"kevin.green@sanity.io"},{"name":"jwoods-sanity","email":"james.woods@sanity.io"}],"homepage":"https://github.com/sanity-labs/sanity-lint/tree/main/packages/schema-lint#readme","bugs":{"url":"https://github.com/sanity-labs/sanity-lint/issues"},"dist":{"shasum":"75df43decb0097cd156bba3bf8f99114427d3c87","tarball":"https://registry.npmjs.org/@sanity-labs/schema-lint/-/schema-lint-1.0.4.tgz","fileCount":12,"integrity":"sha512-OLSol0tngc6GewArR9LXtjN6H14Or7jJik66ZaK1XlaLyxKwf3uYFF1DYYn3mlMJMJwaY+4AfMCmJErm5/zeJQ==","signatures":[{"sig":"MEUCIQCN1v8zH0RyKQwSY4WDraFAVq1UMCFLBBIjnaQw9yFRuwIgPwNuLt+eGlDaZtfxeoB3UwE9OF40KQtj5VVzIssOhsk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIF45B1YdDrPFtYWzdlMHB6RZdqWhahEPUESuCJAJVyuFAiALuEkPRhzfIUqbz97kelfw/f7YwHIN9Hkm5/6WSsQWng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@sanity-labs%2fschema-lint@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2107032},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.3.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./testing":{"types":"./dist/testing.d.ts","default":"./dist/testing.js"}},"scripts":{"dev":"tsdown --watch","build":"tsdown","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"98394106-ac71-436a-b198-2c387d3da5f7"}},"repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"description":"Schema linting engine and rules for Sanity Lint","directories":{},"dependencies":{"@sanity-labs/lint-core":"1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"sanity":"^6.24.0","tsdown":"^0.23.7","vitest":"^5.1.1","typescript":"^7.0.2"},"peerDependencies":{"sanity":">=3.67.0"},"_npmOperationalInternal":{"tmp":"tmp/schema-lint_1.0.4_1795109265769_0.34955638798750155","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@sanity-labs/schema-lint","version":"1.0.5","keywords":["sanity","schema","lint","linter"],"author":"Sanity.io <hello@sanity.io>","license":"MIT","_id":"@sanity-labs/schema-lint@1.0.5","maintainers":[{"name":"simen.svale","email":"simen@sanity.io"},{"name":"mttdnt-sanity","email":"matthew.dent@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"joshbrand","email":"josh@homph.co"},{"name":"hermanw","email":"herman@sanity.io"},{"name":"colepeters-sanity","email":"cole.peters@sanity.io"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"laurenashpolesanity","email":"lauren.ashpole@sanity.io"},{"name":"robinpyon","email":"robin.pyon@gmail.com"},{"name":"samhem","email":"sam.hemingway@sanity.io"},{"name":"sergeisarviro","email":"sergei@sanity.io"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jonathanoron","email":"jonathan.oron@sanity.io"},{"name":"nicholasklem","email":"nicholas@sanity.io"},{"name":"shapirodaniel","email":"daniel.shapiro@sanity.io"},{"name":"tbeseda","email":"tbeseda@gmail.com"},{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"},{"name":"sanitykev","email":"kevin.green@sanity.io"},{"name":"jwoods-sanity","email":"james.woods@sanity.io"}],"homepage":"https://github.com/sanity-labs/sanity-lint/tree/main/packages/schema-lint#readme","bugs":{"url":"https://github.com/sanity-labs/sanity-lint/issues"},"dist":{"shasum":"d231213b867e58028a23a06d53d87c53a972e0f3","tarball":"https://registry.npmjs.org/@sanity-labs/schema-lint/-/schema-lint-1.0.5.tgz","fileCount":12,"integrity":"sha512-ACNMEbNenRlVIJY3qH0WLJ92kq68VS5poLYibg3t32QQiHk2XnnwUtFHSf+K76aLp83i6MCgZS6NjSE3IqCYgA==","signatures":[{"sig":"MEYCIQDkRLfx3cIpzvRofUL4iiEoGIcsVnVChTVVQYBoOk45rgIhAPAdOtJfcMKRWSRlDXDzpKWsGilOQP80YMUUNP++N5e9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEUWmpDVnIBT6Gefh6LtHQ8ePI51dwYovNXTrDnmUzeOAiBp3jN6jvVoi1oN9l+/TG3bxOxEahKBHAwVfNC0UByvww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@sanity-labs%2fschema-lint@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2107032},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.3.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./testing":{"types":"./dist/testing.d.ts","default":"./dist/testing.js"}},"scripts":{"dev":"tsdown --watch","build":"tsdown","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"98394106-ac71-436a-b198-2c387d3da5f7"}},"repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"description":"Schema linting engine and rules for Sanity Lint","directories":{},"dependencies":{"@sanity-labs/lint-core":"1.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"sanity":"^6.24.0","tsdown":"^0.23.7","vitest":"^5.1.1","typescript":"^7.0.2"},"peerDependencies":{"sanity":">=3.67.0"},"_npmOperationalInternal":{"tmp":"tmp/schema-lint_1.0.5_1795169905642_0.6291456864710595","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"_id":"@sanity-labs/schema-lint@1.0.6","bugs":{"url":"https://github.com/sanity-labs/sanity-lint/issues"},"dist":{"shasum":"6cc633ce33d3c1cad29f59577d3aa2c403feaafc","tarball":"https://registry.npmjs.org/@sanity-labs/schema-lint/-/schema-lint-1.0.6.tgz","fileCount":12,"integrity":"sha512-wZZ7cpczV0AnySB8pzDKz897egwMe49jvgsSAChHeoURljL2xvO3tzuWGjtoeUb3YgWLeVDjCnxl5rnvsJitCQ==","signatures":[{"sig":"MEUCIQCZ+GIS5VIoPpjXk1mvHz4JyQSO5xUP5jv5YGL/hkFeaAIgLP285FHPMJDv+KF9vgIuMPD03thFunY1Pyqsl0FxvJY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCZaUdKwyKnqGBoecngLzvxCrQzUfCf59KDdLA7e8xCdQIhAL13JPmBqEOjoRm98Osdl3BiS3RCzdravLyiuDqzmMFH"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@sanity-labs%2fschema-lint@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2107267},"name":"@sanity-labs/schema-lint","type":"module","types":"./dist/index.d.ts","author":"Sanity.io <hello@sanity.io>","engines":{"node":">=22.3.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./testing":{"types":"./dist/testing.d.ts","default":"./dist/testing.js"}},"license":"MIT","scripts":{"dev":"tsdown --watch","build":"tsdown","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"version":"1.0.6","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"98394106-ac71-436a-b198-2c387d3da5f7"}},"homepage":"https://github.com/sanity-labs/sanity-lint/tree/main/packages/schema-lint#readme","keywords":["sanity","schema","lint","linter"],"repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"description":"Schema linting engine and rules for Sanity Lint","directories":{},"maintainers":[{"name":"simen.svale","email":"simen@sanity.io"},{"name":"mttdnt-sanity","email":"matthew.dent@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"joshbrand","email":"josh@homph.co"},{"name":"hermanw","email":"herman@sanity.io"},{"name":"colepeters-sanity","email":"cole.peters@sanity.io"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"laurenashpolesanity","email":"lauren.ashpole@sanity.io"},{"name":"robinpyon","email":"robin.pyon@gmail.com"},{"name":"samhem","email":"sam.hemingway@sanity.io"},{"name":"sergeisarviro","email":"sergei@sanity.io"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jonathanoron","email":"jonathan.oron@sanity.io"},{"name":"nicholasklem","email":"nicholas@sanity.io"},{"name":"shapirodaniel","email":"daniel.shapiro@sanity.io"},{"name":"tbeseda","email":"tbeseda@gmail.com"},{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"},{"name":"sanitykev","email":"kevin.green@sanity.io"},{"name":"jwoods-sanity","email":"james.woods@sanity.io"}],"dependencies":{"@sanity-labs/lint-core":"1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"sanity":"^6.24.0","tsdown":"^0.23.7","vitest":"^5.1.1","typescript":"^7.0.2"},"peerDependencies":{"sanity":">=3.67.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema-lint_1.0.6_1795439676145_0.07945536506196171"}}},"time":{"created":"2026-01-22T01:20:14.060Z","modified":"2026-11-23T13:14:36.756Z","0.1.0":"2026-01-22T01:20:14.357Z","0.2.0":"2026-05-18T22:29:53.599Z","1.0.0":"2026-05-20T16:15:37.454Z","1.0.1":"2026-09-14T15:46:45.981Z","1.0.2":"2026-10-22T09:02:02.748Z","1.0.3":"2026-11-19T11:10:52.181Z","1.0.4":"2026-11-19T17:27:45.887Z","1.0.5":"2026-11-20T10:18:25.779Z","1.0.6":"2026-11-23T13:14:36.393Z"},"bugs":{"url":"https://github.com/sanity-labs/sanity-lint/issues"},"author":"Sanity.io <hello@sanity.io>","license":"MIT","homepage":"https://github.com/sanity-labs/sanity-lint/tree/main/packages/schema-lint#readme","keywords":["sanity","schema","lint","linter"],"repository":{"url":"git+https://github.com/sanity-labs/sanity-lint.git","type":"git","directory":"packages/schema-lint"},"description":"Schema linting engine and rules for Sanity Lint","maintainers":[{"name":"simen.svale","email":"simen@sanity.io"},{"name":"mttdnt-sanity","email":"matthew.dent@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"joshbrand","email":"josh@homph.co"},{"name":"hermanw","email":"herman@sanity.io"},{"name":"colepeters-sanity","email":"cole.peters@sanity.io"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"laurenashpolesanity","email":"lauren.ashpole@sanity.io"},{"name":"robinpyon","email":"robin.pyon@gmail.com"},{"name":"samhem","email":"sam.hemingway@sanity.io"},{"name":"sergeisarviro","email":"sergei@sanity.io"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jonathanoron","email":"jonathan.oron@sanity.io"},{"name":"nicholasklem","email":"nicholas@sanity.io"},{"name":"shapirodaniel","email":"daniel.shapiro@sanity.io"},{"name":"tbeseda","email":"tbeseda@gmail.com"},{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rostimelk","email":"hello@rosti.no"},{"name":"jw-sanity","email":"jack.wilson@sanity.io"},{"name":"sanitykev","email":"kevin.green@sanity.io"},{"name":"jwoods-sanity","email":"james.woods@sanity.io"}],"readme":"# @sanity-labs/schema-lint\n\nSanity schema linter for catching common issues and enforcing best practices.\n\n## Installation\n\n```bash\nnpm install @sanity-labs/schema-lint\n# or\npnpm add @sanity-labs/schema-lint\n```\n\n## Usage\n\n### Programmatic API\n\n```typescript\nimport { lint } from '@sanity-labs/schema-lint'\n\n// Lint a schema type definition\nconst result = lint({\n  name: 'post',\n  type: 'document',\n  fields: [{ name: 'title', type: 'string' }],\n})\n\nfor (const finding of result.findings) {\n  console.log(`${finding.ruleId}: ${finding.message}`)\n}\n```\n\n### Lint Multiple Schemas\n\n```typescript\nimport { lintSchemas } from '@sanity-labs/schema-lint'\n\nconst schemas = [\n  { name: 'post', type: 'document', fields: [...] },\n  { name: 'author', type: 'document', fields: [...] },\n]\n\nconst results = lintSchemas(schemas)\n```\n\n### With Configuration\n\n```typescript\nimport { lint } from '@sanity-labs/schema-lint'\n\nconst result = lint(schema, {\n  config: {\n    rules: {\n      'missing-description': false, // Disable rule\n      'missing-icon': { enabled: true, severity: 'warning' },\n    },\n  },\n})\n```\n\n## Rules\n\n### Core Rules\n\n| Rule                      | Severity | Description                                    |\n| ------------------------- | -------- | ---------------------------------------------- |\n| `missing-define-type`     | warning  | Schema should use `defineType()`               |\n| `missing-define-field`    | warning  | Fields should use `defineField()`              |\n| `missing-icon`            | warning  | Document types should have an icon             |\n| `missing-title`           | info     | Types should have a title                      |\n| `missing-description`     | info     | Types should have a description                |\n| `presentation-field-name` | warning  | Avoid field names that clash with presentation |\n\n### Field Rules\n\n| Rule                          | Severity | Description                                |\n| ----------------------------- | -------- | ------------------------------------------ |\n| `boolean-instead-of-list`     | info     | Consider list instead of boolean           |\n| `missing-slug-source`         | warning  | Slug fields should have a source           |\n| `missing-required-validation` | info     | Consider adding required validation        |\n| `reserved-field-name`         | error    | Field name conflicts with Sanity internals |\n\n### Array & Reference Rules\n\n| Rule                        | Severity | Description                                  |\n| --------------------------- | -------- | -------------------------------------------- |\n| `array-missing-constraints` | warning  | Arrays should have min/max constraints       |\n| `heading-level-in-schema`   | info     | Heading levels belong in content, not schema |\n| `unnecessary-reference`     | info     | Reference could be simplified                |\n\n## API Reference\n\n### `lint(schema: SchemaType, options?: LintOptions): LintResult`\n\nLint a single schema type definition.\n\n```typescript\ninterface LintOptions {\n  config?: SchemaLinterConfig\n}\n\ninterface LintResult {\n  schema: SchemaType\n  findings: Finding[]\n}\n```\n\n### `lintSchemas(schemas: SchemaType[], options?: LintOptions): LintResult[]`\n\nLint multiple schema type definitions.\n\n### Rules Array\n\n```typescript\nimport { rules } from '@sanity-labs/schema-lint'\n\n// All 13 rules\nconsole.log(rules.map((r) => r.id))\n```\n\n### Individual Rule Imports\n\n```typescript\nimport { missingIcon, reservedFieldName } from '@sanity-labs/schema-lint'\n\n// Use individual rules\nconst customRules = [missingIcon, reservedFieldName]\n```\n\n## License\n\nMIT\n","readmeFilename":""}