---
title: "Read the semantic style JSON Schema"
method: GET
path: "/styles/schema.json"
tags: ["cartography"]
---

# Read the semantic style JSON Schema

`GET /styles/schema.json`

## Request

- Base URL: `https://api.mapsource.io`
- URL: `https://api.mapsource.io/styles/schema.json`
- Auth: none declared

Returns the JSON Schema for semantic manifests, including schema and compiler versions.

When to use: Validate manifests locally or generate editor controls from the schema.

When not to use: Use /api/basemap/contract for layer definitions and supported properties.

## Response `200`

Read the semantic style JSON Schema

- object
  - `$schema` string
  - `title` string
  - `properties` object

## Other responses

- `400`: Error with a stable machine code.
- `401`: Error with a stable machine code.
- `429`: Error with a stable machine code.
- `500`: Error with a stable machine code.

---

[API](https://skmtc.dev/mapsource/apis/mapsource-overpass-api.md) · [All operations](https://skmtc.dev/mapsource/apis/mapsource-overpass-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mapsource/apis/mapsource-overpass-api/revisions/8af8c2769e7b?raw)
