SHIP AI · Schema

CreateMissionRequest

AI Coding Agentsautonomous software deliveryagentic SDLCSoftware DevelopmentCode ReviewCost Optimization

Properties

Name Type Description
projectId string
title string Omit only when `entry.prNumber` is set — the pull request's own title is then used.
description string Issue body. Acceptance criteria written here are parsed by the planner as it would for any issue.
labels array
entry object
agents object Per-role harness/model override for THIS mission, identical in shape and precedence to PUT /missions/{issueId}/agents-override. Carried here because a created mission has no id until this call returns
starter object
site object
View JSON Schema on GitHub

JSON Schema

letsship-ai-create-mission-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/letsship-ai/json-schema/letsship-ai-create-mission-request-schema.json",
  "title": "CreateMissionRequest",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/letsship-ai-openapi.json#/components/schemas/CreateMissionRequest",
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "minLength": 1
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Omit only when `entry.prNumber` is set — the pull request's own title is then used."
    },
    "description": {
      "type": "string",
      "maxLength": 10000,
      "description": "Issue body. Acceptance criteria written here are parsed by the planner as it would for any issue."
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 10
    },
    "entry": {
      "type": "object",
      "properties": {
        "startAt": {
          "allOf": [
            {
              "$ref": "#/$defs/MissionEntryStage"
            },
            {
              "type": "string"
            }
          ]
        },
        "plan": {
          "type": "string",
          "minLength": 1
        },
        "prNumber": {
          "type": "integer",
          "exclusiveMinimum": 0
        },
        "filePlan": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MissionEntryFilePlanEntry"
          },
          "maxItems": 200
        },
        "acceptanceCriteria": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "maxItems": 50
        }
      },
      "required": [
        "startAt"
      ]
    },
    "agents": {
      "type": "object",
      "properties": {
        "planner": {
          "$ref": "#/$defs/AgentsOverrideRoleEntry"
        },
        "builder": {
          "$ref": "#/$defs/AgentsOverrideRoleEntry"
        },
        "reviewer": {
          "$ref": "#/$defs/AgentsOverrideRoleEntry"
        },
        "qa": {
          "$ref": "#/$defs/AgentsOverrideRoleEntry"
        }
      },
      "additionalProperties": false,
      "description": "Per-role harness/model override for THIS mission, identical in shape and precedence to PUT /missions/{issueId}/agents-override. Carried here because a created mission has no id until this call returns — setting it afterwards races the first dispatch."
    },
    "starter": {
      "allOf": [
        {
          "$ref": "#/$defs/SiteKind"
        },
        {
          "description": "The first mission of a SHIP Sites project, by its kind. SHIP writes the issue from `site`, so leave out `title`, `description`, `labels` and `entry`. The project must be made from the template of this kind."
        }
      ]
    },
    "site": {
      "allOf": [
        {
          "$ref": "#/$defs/SiteStarterForm"
        },
        {
          "description": "The form of the site starter: the brand, the brand rights confirmation, the address and the facts of the kind."
        }
      ]
    }
  },
  "required": [
    "projectId"
  ],
  "$defs": {
    "AgentsOverrideInlinePrompt": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string",
          "minLength": 1,
          "maxLength": 30000
        },
        "mode": {
          "$ref": "#/$defs/AgentsOverridePromptMode"
        }
      },
      "required": [
        "content"
      ],
      "additionalProperties": false
    },
    "AgentsOverridePathPrompt": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512
        },
        "ref": {
          "type": "string",
          "minLength": 1
        },
        "mode": {
          "$ref": "#/$defs/AgentsOverridePromptMode"
        }
      },
      "required": [
        "path"
      ],
      "additionalProperties": false
    },
    "AgentsOverridePromptMode": {
      "type": "string",
      "enum": [
        "replace",
        "extend"
      ]
    },
    "AgentsOverrideRoleEntry": {
      "type": "object",
      "properties": {
        "harness": {
          "type": "string",
          "enum": [
            "claude-code",
            "codex",
            "pi",
            "kilo-code",
            "open-code"
          ]
        },
        "model": {
          "type": "string",
          "minLength": 1
        },
        "provider": {
          "type": "string",
          "minLength": 1
        },
        "effort": {
          "type": "string",
          "minLength": 1
        },
        "providerRouting": {
          "type": "object",
          "properties": {
            "order": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "only": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "ignore": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "allowFallbacks": {
              "type": "boolean"
            },
            "requireParameters": {
              "type": "boolean"
            },
            "quantizations": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "sort": {
              "type": "string"
            },
            "dataCollection": {
              "type": "string",
              "enum": [
                "allow",
                "deny"
              ]
            }
          },
          "additionalProperties": false
        },
        "checkpoint": {
          "type": "boolean"
        },
        "rejectOn": {
          "type": "string",
          "enum": [
            "critical",
            "suggestion",
            "trivial"
          ]
        },
        "prompt": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 512
            },
            {
              "$ref": "#/$defs/AgentsOverrideInlinePrompt"
            },
            {
              "$ref": "#/$defs/AgentsOverridePathPrompt"
            }
          ]
        },
        "sandbox": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "size": {
          "$ref": "#/$defs/SandboxSize"
        },
        "mcp": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
              },
              {
                "type": "object",
                "properties": {
                  "server": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
                  },
                  "tools": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128
                    },
                    "maxItems": 200
                  }
                },
                "required": [
                  "server"
                ],
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 32,
          "description": "Optional narrowing of the role's MCP servers/tools for this mission; can only remove access."
        }
      }
    },
    "AppFacts": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "app"
          ]
        },
        "appStoreUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        },
        "googlePlayUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        }
      },
      "required": [
        "type"
      ],
      "description": "An app for phones that people download from the App Store or Google Play."
    },
    "AppointmentsFacts": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "appointments"
          ]
        },
        "address": {
          "type": "string",
          "minLength": 5,
          "maxLength": 200
        },
        "hours": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "minItems": 1,
          "maxItems": 7,
          "description": "One item on each line. Write the days, then the hours, such as \"Monday to Friday 08:00 to 18:00\" or \"Sunday: closed\"."
        },
        "services": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 100
          },
          "minItems": 1,
          "maxItems": 10,
          "description": "One item on each line. Write the name, the time if you like, then the price with its currency, such as \"Haircut 30 min €25\"."
        },
        "phone": {
          "type": "string",
          "minLength": 3,
          "maxLength": 40
        },
        "bookingUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        }
      },
      "required": [
        "type"
      ],
      "description": "A business that people book a time with, such as a barber, a salon, a clinic or a studio."
    },
    "BlogStarterForm": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "blog"
          ]
        },
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "brand": {
          "$ref": "#/$defs/SiteBrand"
        },
        "brandRights": {
          "$ref": "#/$defs/BrandRightsConfirmation"
        },
        "language": {
          "type": "string",
          "enum": [
            "en",
            "de",
            "fr",
            "es",
            "nl",
            "pt",
            "tr"
          ],
          "description": "The language of the site's words. Without it the site is in English."
        },
        "about": {
          "$ref": "#/$defs/SiteAbout"
        },
        "author": {
          "type": "string",
          "minLength": 2,
          "maxLength": 80
        },
        "topic": {
          "type": "string",
          "minLength": 2,
          "maxLength": 200
        }
      },
      "required": [
        "kind",
        "slug",
        "brand",
        "brandRights"
      ]
    },
    "BrandRightsConfirmation": {
      "type": "object",
      "properties": {
        "accepted": {
          "type": "boolean",
          "enum": [
            true
          ]
        },
        "textVersion": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "accepted",
        "textVersion"
      ]
    },
    "CoachFacts": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "coach"
          ]
        },
        "services": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 100
          },
          "minItems": 1,
          "maxItems": 10,
          "description": "One item on each line. Write the name, the time if you like, then the price with its currency, such as \"Haircut 30 min €25\"."
        },
        "bookingUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        }
      },
      "required": [
        "type"
      ],
      "description": "A person who sells their time, such as a coach, a consultant, a tutor or a trainer."
    },
    "DocsStarterForm": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "docs"
          ]
        },
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "brand": {
          "$ref": "#/$defs/SiteBrand"
        },
        "brandRights": {
          "$ref": "#/$defs/BrandRightsConfirmation"
        },
        "language": {
          "type": "string",
          "enum": [
            "en",
            "de",
            "fr",
            "es",
            "nl",
            "pt",
            "tr"
          ],
          "description": "The language of the site's words. Without it the site is in English."
        },
        "about": {
          "$ref": "#/$defs/SiteAbout"
        },
        "productName": {
          "type": "string",
          "minLength": 2,
          "maxLength": 80
        },
        "productWebsite": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        },
        "outline": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "minItems": 3,
          "maxItems": 7
        }
      },
      "required": [
        "kind",
        "slug",
        "brand",
        "brandRights",
        "productName",
        "productWebsite",
        "outline"
      ]
    },
    "EventsFacts": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "events"
          ]
        },
        "events": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 12,
            "maxLength": 160
          },
          "minItems": 1,
          "maxItems": 12,
          "description": "One item on each line. Write the date as YYYY-MM-DD, the time if you like, then the name, the place and the price with commas between them, such as \"2026-11-21 20:30 Jazz night, The Cellar, €18\"."
        },
        "ticketsUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        },
        "address": {
          "type": "string",
          "minLength": 5,
          "maxLength": 200
        }
      },
      "required": [
        "type"
      ],
      "description": "A venue, a club or an organiser that sells tickets for dates, such as concerts or classes."
    },
    "LocalBusinessFacts": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "local-business"
          ]
        },
        "address": {
          "type": "string",
          "minLength": 5,
          "maxLength": 200
        },
        "hours": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "minItems": 1,
          "maxItems": 7,
          "description": "One item on each line. Write the days, then the hours, such as \"Monday to Friday 08:00 to 18:00\" or \"Sunday: closed\"."
        },
        "prices": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "minItems": 1,
          "maxItems": 8,
          "description": "One item on each line. Write the name, then the price with its currency, such as \"Puncture repair €15\"."
        },
        "phone": {
          "type": "string",
          "minLength": 3,
          "maxLength": 40
        },
        "bookingUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        }
      },
      "required": [
        "type"
      ],
      "description": "A place that people visit or book, such as a workshop, a salon, a clinic or a shop."
    },
    "MissionEntryFilePlanEntry": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "minLength": 1
        },
        "action": {
          "type": "string",
          "enum": [
            "create",
            "modify",
            "delete"
          ]
        },
        "description": {
          "type": "string",
          "default": ""
        }
      },
      "required": [
        "path",
        "action"
      ]
    },
    "MissionEntryStage": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "builder",
        "reviewer",
        "qa"
      ]
    },
    "PortfolioFacts": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "portfolio"
          ]
        },
        "work": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 60
          },
          "minItems": 1,
          "maxItems": 6,
          "description": "One item on each line. One item on each line."
        },
        "email": {
          "type": "string",
          "minLength": 6,
          "maxLength": 200,
          "format": "email"
        }
      },
      "required": [
        "type"
      ],
      "description": "A person or a studio that shows their work, such as a designer, a photographer or a maker."
    },
    "RestaurantFacts": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "restaurant"
          ]
        },
        "address": {
          "type": "string",
          "minLength": 5,
          "maxLength": 200
        },
        "hours": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "minItems": 1,
          "maxItems": 7,
          "description": "One item on each line. Write the days, then the hours, such as \"Monday to Friday 08:00 to 18:00\" or \"Sunday: closed\"."
        },
        "menu": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "minItems": 1,
          "maxItems": 12,
          "description": "One item on each line. Write the name, then the price with its currency, such as \"Puncture repair €15\"."
        },
        "phone": {
          "type": "string",
          "minLength": 3,
          "maxLength": 40
        },
        "bookingUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        },
        "orderUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        }
      },
      "required": [
        "type"
      ],
      "description": "A place that serves food or drinks, such as a restaurant, a café, a bakery or a bar."
    },
    "SandboxSize": {
      "anyOf": [
        {
          "$ref": "#/$defs/SandboxTier"
        },
        {
          "type": "object",
          "properties": {
            "vcpu": {
              "type": "integer"
            },
            "memoryMib": {
              "type": "integer"
            },
            "diskMb": {
              "type": "integer"
            }
          },
          "required": [
            "vcpu",
            "memoryMib",
            "diskMb"
          ]
        }
      ]
    },
    "SandboxTier": {
      "type": "string",
      "enum": [
        "standard-1",
        "standard-2",
        "standard-3",
        "standard-4"
      ]
    },
    "ShopFacts": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "shop"
          ]
        },
        "products": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "minItems": 1,
          "maxItems": 8,
          "description": "One item on each line. Write the name, then the price with its currency, such as \"Puncture repair €15\"."
        },
        "shopUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        }
      },
      "required": [
        "type"
      ],
      "description": "A small shop that sells its products online."
    },
    "SiteAbout": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 2,
          "maxLength": 60,
          "description": "The name of the business."
        },
        "location": {
          "type": "string",
          "minLength": 2,
          "maxLength": 200,
          "description": "Where the business is, in the founder's words: a town, an address, or online."
        },
        "description": {
          "type": "string",
          "minLength": 10,
          "maxLength": 2000,
          "description": "What the business does and for whom, in the founder's words."
        }
      },
      "required": [
        "name",
        "location",
        "description"
      ]
    },
    "SiteBrand": {
      "oneOf": [
        {
          "$ref": "#/$defs/SiteBrandFromWebsite"
        },
        {
          "$ref": "#/$defs/SiteBrandFromLogo"
        },
        {
          "$ref": "#/$defs/SiteBrandFromPreset"
        }
      ]
    },
    "SiteBrandFromLogo": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "logo"
          ]
        },
        "brandName": {
          "type": "string",
          "minLength": 2,
          "maxLength": 60
        },
        "logo": {
          "$ref": "#/$defs/SiteLogoUpload"
        }
      },
      "required": [
        "source",
        "brandName",
        "logo"
      ]
    },
    "SiteBrandFromPreset": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "preset"
          ]
        },
        "brandName": {
          "type": "string",
          "minLength": 2,
          "maxLength": 60
        },
        "presetId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 40
        }
      },
      "required": [
        "source",
        "brandName",
        "presetId"
      ]
    },
    "SiteBrandFromWebsite": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "website"
          ]
        },
        "websiteUrl": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri"
        }
      },
      "required": [
        "source",
        "websiteUrl"
      ]
    },
    "SiteBusiness": {
      "oneOf": [
        {
          "$ref": "#/$defs/LocalBusinessFacts"
        },
        {
          "$ref": "#/$defs/RestaurantFacts"
        },
        {
          "$ref": "#/$defs/AppointmentsFacts"
        },
        {
          "$ref": "#/$defs/CoachFacts"
        },
        {
          "$ref": "#/$defs/AppFacts"
        },
        {
          "$ref": "#/$defs/PortfolioFacts"
        },
        {
          "$ref": "#/$defs/ShopFacts"
        },
        {
          "$ref": "#/$defs/EventsFacts"
        }
      ]
    },
    "SiteKind": {
      "type": "string",
      "enum": [
        "website",
        "blog",
        "docs",
        "waitlist"
      ]
    },
    "SiteLogoUpload": {
      "type": "object",
      "properties": {
        "contentType": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100,
          "description": "image/png, image/jpeg or image/webp"
        },
        "data": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2796204,
          "description": "The logo file, base64-encoded. PNG, JPEG or WebP, up to 2 MB."
        }
      },
      "required": [
        "contentType",
        "data"
      ]
    },
    "SiteStarterForm": {
      "oneOf": [
        {
          "$ref": "#/$defs/WebsiteStarterForm"
        },
        {
          "$ref": "#/$defs/BlogStarterForm"
        },
        {
          "$ref": "#/$defs/DocsStarterForm"
        },
        {
          "$ref": "#/$defs/WaitlistStarterForm"
        }
      ]
    },
    "WaitlistStarterForm": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "waitlist"
          ]
        },
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "brand": {
          "$ref": "#/$defs/SiteBrand"
        },
        "brandRights": {
          "$ref": "#/$defs/BrandRightsConfirmation"
        },
        "language": {
          "type": "string",
          "enum": [
            "en",
            "de",
            "fr",
            "es",
            "nl",
            "pt",
            "tr"
          ],
          "description": "The language of the site's words. Without it the site is in English."
        },
        "about": {
          "$ref": "#/$defs/SiteAbout"
        },
        "product": {
          "type": "string",
          "minLength": 2,
          "maxLength": 80
        },
        "audience": {
          "type": "string",
          "minLength": 2,
          "maxLength": 200
        }
      },
      "required": [
        "kind",
        "slug",
        "brand",
        "brandRights"
      ]
    },
    "WebsiteStarterForm": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "website"
          ]
        },
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "brand": {
          "$ref": "#/$defs/SiteBrand"
        },
        "brandRights": {
          "$ref": "#/$defs/BrandRightsConfirmation"
        },
        "language": {
          "type": "string",
          "enum": [
            "en",
            "de",
            "fr",
            "es",
            "nl",
            "pt",
            "tr"
          ],
          "description": "The language of the site's words. Without it the site is in English."
        },
        "about": {
          "$ref": "#/$defs/SiteAbout"
        },
        "audience": {
          "type": "string",
          "minLength": 2,
          "maxLength": 200
        },
        "offerings": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "minItems": 1,
          "maxItems": 3
        },
        "business": {
          "$ref": "#/$defs/SiteBusiness"
        }
      },
      "required": [
        "kind",
        "slug",
        "brand",
        "brandRights"
      ]
    }
  }
}

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/letsship-ai-create-mission-request"
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.