json-schema-lookup

JSON Schema Lookup via SchemaStore

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "json-schema-lookup" with this command: npx skills add sammcj/agentic-coding/sammcj-agentic-coding-json-schema-lookup

JSON Schema Lookup via SchemaStore

Query schemastore.org's catalog of public configuration file schemas to validate structure, discover options, and check allowed values.

API

Workflow

  1. Find the schema

Search the catalog by name or filename pattern:

Search by name (case-insensitive)

curl -s https://www.schemastore.org/api/json/catalog.json | jq '.schemas[] | select(.name | test("tsconfig"; "i")) | {name, url, fileMatch}'

Search by filename match

curl -s https://www.schemastore.org/api/json/catalog.json | jq '.schemas[] | select(.fileMatch[]? | test("package\.json")) | {name, url}'

Alternatively, use WebFetch on the catalog URL and ask for the relevant entry.

  1. Fetch and inspect the schema

List top-level properties

curl -s SCHEMA_URL | jq '.properties | keys'

Inspect a specific field (type, enum values, description)

curl -s SCHEMA_URL | jq '.properties.FIELD_NAME'

Check definitions/shared types (schemas use $ref to these)

curl -s SCHEMA_URL | jq '.definitions.DEF_NAME.properties'

Get the full schema (warning - might be large!)

curl -s SCHEMA_URL | jq .

  1. Common queries

Find enum values for a field

curl -s SCHEMA_URL | jq '.properties.FIELD.enum'

List nested properties (e.g. compilerOptions in tsconfig)

curl -s SCHEMA_URL | jq '.definitions.compilerOptionsDefinition.properties.compilerOptions.properties | keys'

Find all required fields

curl -s SCHEMA_URL | jq '.required'

Tips

  • Some schemas use allOf /anyOf composition -- check those arrays for the full property set

  • The versions field on catalog entries provides version-specific schema URLs when available

  • Schema URLs vary: some point to json.schemastore.org , others to raw.githubusercontent.com

  • For large schemas, query specific paths rather than dumping the entire document

  • Cache the catalog response locally if making multiple lookups in one session

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

critical-thinking-logical-reasoning

No summary provided by upstream source.

Repository SourceNeeds Review
303-sammcj
Automation

writing-documentation-with-diataxis

No summary provided by upstream source.

Repository SourceNeeds Review
163-sammcj
Automation

extract-wisdom

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ghostty-config

No summary provided by upstream source.

Repository SourceNeeds Review