---
title: "Jobs Declare Schema"
method: POST
path: "/v1/teams/{team_id}/jobs/schema"
tags: ["jobs"]
---

# Jobs Declare Schema

`POST /v1/teams/{team_id}/jobs/schema`

## Path parameters

- `team_id` string, uuid, required

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable

## Request body

- SchemaBody
  - `kind` string, required
  - `extends` string, nullable
  - `label` string
  - `fields` FieldDecl[]
    - `name` string, required
    - `type` string
    - `required` boolean
    - `ref` string, nullable
    - `choices` string[], nullable
    - `axis` string
  - `clocks` ClockDecl[]
    - `name` string, required
    - `axis` string
    - `required` boolean
  - `endings` WordDecl[]
    - `word` string, required
    - `meaning` string
  - `waits` WaitDecl[]
    - `word` string, required
    - `who` string, required
  - `public` string[], nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

> 32 revisions in range; 1 not diffed.

- **2026-09-20** `1357e24f73fc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/stormy/apis/stormy-control-plane/changes/v1/teams/:team_id/jobs/schema/post.md)

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/b09e3c4ee2af?raw)
