Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / Scarb
Schema registry

Scarb

Scarb manifest file (Scarb.toml)

Scarb.toml

Check your file against this schema

Opens the validator with this schema already loaded. Paste your Scarb.toml and it validates in your browser — nothing is uploaded.

Validate a Scarb.toml → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
cairoanyOfGlobal Cairo compiler configuration for this package or workspace profile. - See official documentation at: <https://docs.swmansion.com/scarb/docs/reference/manifest.html#cairo>
cairo-pluginanyOfThe `[cairo-plugin]` target describing a Cairo compiler plugin artifact.
dependenciesobject | nullThe `[dependencies]` table for normal build dependencies. Your packages can depend on other libraries from registries, Git repositories, or subdirectories on your local file system. - See official documentation at
dev-dependenciesobject | nullThe `[dev-dependencies]` table for dependencies used only in tests. Development dependencies are not used when compiling a package for building, but are used for compiling tests. These dependencies are not propagated to other packages
executableanyOfThe `[executable]` target describing how to build an executable entrypoint. The executable target defines an artifact that can be executed with `scarb execute` command. This target should be used for packages that are meant to be executed
featuresobject | nullThe `[features]` table defining feature flags for conditional compilation. - See official documentation at: <https://docs.swmansion.com/scarb/docs/reference/conditional-compilation.html#features>
libanyOfThe `[lib]` target describing how to build the package library. The library target defines a "library" that can be used by other packages. In other words, if a package does not provide a library target, it cannot be used as a dependency
packageanyOfThe `[package]` section with metadata about the current package. Required for non-workspace members. Contains fields like `name`, `version`, `edition`, `publish`, `license`, etc.
patchobject | nullThe `[patch.<source>]` tables to override dependency sources. Useful to redirect packages to local paths or forks for the resolver. - See official documentation at
profileobject | nullThe `[profile]` table defining build profiles. Common profiles are `dev` and `release`. Each profile can override `cairo` options and `tool` settings, and may `inherit` from another profile. - See official documentation at
scriptsobject | nullThe `[scripts]` table with custom commands you can run via `scarb run <name>`. Script commands are simple shell snippets; in workspaces, they can be marked with `{ workspace = true }` to indicate inheritance. - See official documentation
targetobject | nullThe `[[target.*]]` tables to define additional, custom-named targets.
target-defaultsobject | nullThe `[target-defaults]` table to define defaults applied to targets (for example, test settings) when not explicitly set on a target. - See official documentation at
testarray | nullThe `[[test]]` array of tables defining external test suites. Each table describes a test target with its own parameters. When absent, Scarb may auto-detect tests under the default tests directory. - See official documentation at
toolobject | nullThe `[tool]` table for third‑party tool configuration namespaces. Keys under `tool.<name>` are passed to external tools. Use `{ workspace = true }` to opt into workspace inheritance when applicable. - See official documentation at
workspaceanyOfThe `[workspace]` section defining a multi-package workspace. Lets you list `members`, define shared `dependencies`, `scripts`, and defaults inherited by workspace members.

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$defsJSON Schema Core, draft 2020-12§8.2.4 — Schema Re-Use With "$defs"
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
anyOfJSON Schema Core, draft 2020-12§10.2.1.2 — "anyOf"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
formatJSON Schema Validation, draft 2020-12§7 — Vocabularies for Semantic Content With "format"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"
format: "uri"RFC 3986 (STD 66)§3 — Syntax Components

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas