launchdarkly · Schema

ProjectBody

The request body for creating a new project.

Properties

Name Type Description
name string The human-readable name of the project.
key string The project key.
tags array Tags to apply to the project.
environments array Initial environments to create with the project.
View JSON Schema on GitHub

JSON Schema

launchdarkly-projectbody-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProjectBody",
  "title": "ProjectBody",
  "type": "object",
  "description": "The request body for creating a new project.",
  "required": [
    "name",
    "key"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The human-readable name of the project."
    },
    "key": {
      "type": "string",
      "description": "The project key.",
      "pattern": "^[a-z0-9]([a-z0-9-])*$"
    },
    "tags": {
      "type": "array",
      "description": "Tags to apply to the project.",
      "items": {
        "type": "string"
      }
    },
    "environments": {
      "type": "array",
      "description": "Initial environments to create with the project.",
      "items": {
        "$ref": "#/components/schemas/EnvironmentBody"
      }
    }
  }
}