Layero · Schema

BuildContext

CompanyHostingDeploymentCloudRussian

Properties

Name Type Description
deploy_id string
project_id string
environment_id string
repo_url string
repo_full_name string
commit_sha string
branch_name string
build_cmd object
output_dir object
install_cmd object
start_cmd object
port object
package_manager object
node_version object
s3_path string
github_token string
source_token string
source_auth_user string
source_provider string
source_plan object
env_vars object
farm_artifact boolean
farm_only boolean
layer_zstd boolean
project_type string
source_type string
source_archive_key object
framework_hint object
prebuilt boolean
root_directory string
first_build boolean
upload_variants boolean
upload_pack boolean
targets_production boolean
project_type_source string
claimable boolean
branding_enabled boolean
footer_color object
metrika_counter_id object
metrika_webvisor boolean
instance_memory_mb integer
instance_cpu_quota number
instance_tier string
fullstack_config object
next_output_hint object
next_output_hint_scope object
View JSON Schema on GitHub

JSON Schema

layero-ru-build-context-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/layero-ru/json-schema/layero-ru-build-context-schema.json",
  "title": "BuildContext",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/layero-ru-openapi.json#/components/schemas/BuildContext",
  "properties": {
    "deploy_id": {
      "type": "string",
      "format": "uuid",
      "title": "Deploy Id"
    },
    "project_id": {
      "type": "string",
      "format": "uuid",
      "title": "Project Id"
    },
    "environment_id": {
      "type": "string",
      "format": "uuid",
      "title": "Environment Id"
    },
    "repo_url": {
      "type": "string",
      "title": "Repo Url",
      "default": ""
    },
    "repo_full_name": {
      "type": "string",
      "title": "Repo Full Name",
      "default": ""
    },
    "commit_sha": {
      "type": "string",
      "title": "Commit Sha"
    },
    "branch_name": {
      "type": "string",
      "title": "Branch Name"
    },
    "build_cmd": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Build Cmd"
    },
    "output_dir": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Dir"
    },
    "install_cmd": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Install Cmd"
    },
    "start_cmd": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Cmd"
    },
    "port": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Port"
    },
    "package_manager": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Package Manager"
    },
    "node_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Node Version"
    },
    "s3_path": {
      "type": "string",
      "title": "S3 Path"
    },
    "github_token": {
      "type": "string",
      "title": "Github Token",
      "default": ""
    },
    "source_token": {
      "type": "string",
      "title": "Source Token",
      "default": ""
    },
    "source_auth_user": {
      "type": "string",
      "title": "Source Auth User",
      "default": "x-access-token"
    },
    "source_provider": {
      "type": "string",
      "title": "Source Provider",
      "default": "github"
    },
    "source_plan": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Plan"
    },
    "env_vars": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Env Vars"
    },
    "farm_artifact": {
      "type": "boolean",
      "title": "Farm Artifact",
      "default": false
    },
    "farm_only": {
      "type": "boolean",
      "title": "Farm Only",
      "default": false
    },
    "layer_zstd": {
      "type": "boolean",
      "title": "Layer Zstd",
      "default": false
    },
    "project_type": {
      "type": "string",
      "title": "Project Type",
      "default": "spa"
    },
    "source_type": {
      "type": "string",
      "title": "Source Type",
      "default": "github"
    },
    "source_archive_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Archive Key"
    },
    "framework_hint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Framework Hint"
    },
    "prebuilt": {
      "type": "boolean",
      "title": "Prebuilt",
      "default": false
    },
    "root_directory": {
      "type": "string",
      "title": "Root Directory",
      "default": ""
    },
    "first_build": {
      "type": "boolean",
      "title": "First Build",
      "default": false
    },
    "upload_variants": {
      "type": "boolean",
      "title": "Upload Variants",
      "default": true
    },
    "upload_pack": {
      "type": "boolean",
      "title": "Upload Pack",
      "default": false
    },
    "targets_production": {
      "type": "boolean",
      "title": "Targets Production",
      "default": true
    },
    "project_type_source": {
      "type": "string",
      "title": "Project Type Source",
      "default": "default"
    },
    "claimable": {
      "type": "boolean",
      "title": "Claimable",
      "default": false
    },
    "branding_enabled": {
      "type": "boolean",
      "title": "Branding Enabled",
      "default": true
    },
    "footer_color": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Footer Color"
    },
    "metrika_counter_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metrika Counter Id"
    },
    "metrika_webvisor": {
      "type": "boolean",
      "title": "Metrika Webvisor",
      "default": false
    },
    "instance_memory_mb": {
      "type": "integer",
      "title": "Instance Memory Mb",
      "default": 256
    },
    "instance_cpu_quota": {
      "type": "number",
      "title": "Instance Cpu Quota",
      "default": 0.5
    },
    "instance_tier": {
      "type": "string",
      "title": "Instance Tier",
      "default": "standard"
    },
    "fullstack_config": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fullstack Config"
    },
    "next_output_hint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Output Hint"
    },
    "next_output_hint_scope": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Output Hint Scope"
    }
  },
  "type": "object",
  "required": [
    "deploy_id",
    "project_id",
    "environment_id",
    "commit_sha",
    "branch_name",
    "s3_path",
    "env_vars"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/layero-ru-build-context"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.