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 / now
Schema registry

now

ZEIT Now project configuration file

now.json

Check your file against this schema

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

Validate a now.json → View raw schema

Fields

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

Field Type Description
namestringname for the deployment
versionenumthe Now Platform version that the deployment should use and is known to work with
default: 2
one of: 1, 2
aliasoneOf
scopestringan ID or slug for teams, or an email address, username, or ID for users
envobjectenvironment keys and values
buildobject
build.envobjectenvironment keys and values
buildsarray<object>a list of build descriptions whose src references valid source files
routesarray<object>a list of route definitions
regionsarray<string>the deployment regions of the Serverless Functions that get created as a result of the build steps
publicbooleanWhen set to true, both the source view and logs view will be publicly accessible (when the user is authenticated with ZEIT).
githubobjectGit integration options
github.enabledbooleanWhen set to false, Now for GitHub will not deploy the given project regardless of the GitHub app being installed.
default: true
github.autoAliasbooleanWhen set to false, Now for GitHub will not apply the alias upon merge.
default: true
github.silentbooleanWhen set to true, Now for GitHub will stop commenting on pull requests and commits.
default: false
github.autoJobCancelationbooleanWhen set to false, Now for GitHub will always build pushes in sequence without cancelling a build for the most recent commit.
default: true

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$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"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
maxItemsJSON Schema Validation, draft 2020-12§6.4.1 — "maxItems"
maxLengthJSON Schema Validation, draft 2020-12§6.3.1 — "maxLength"
maximumJSON Schema Validation, draft 2020-12§6.2.2 — "maximum"
minimumJSON Schema Validation, draft 2020-12§6.2.4 — "minimum"
oneOfJSON Schema Core, draft 2020-12§10.2.1.3 — "oneOf"
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"

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