{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/outscale/json-schema/outscale-project-input-schema.json",
  "title": "ProjectInput",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/outscale-oks-openapi.yml#/components/schemas/ProjectInput",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "pattern": "^[a-z][a-z0-9-]*[a-z0-9]$",
      "title": "Project Name",
      "description": "Unique name for the project, must start with a letter and contain only lowercase letters, numbers, or hyphens"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "description": "Optional description of the project",
      "default": ""
    },
    "cidr": {
      "type": "string",
      "title": "VPC CIDR",
      "description": "CIDR block associated with the project's VPC"
    },
    "region": {
      "type": "string",
      "title": "Region",
      "description": "Region where the project is deployed"
    },
    "tags": {
      "additionalProperties": {
        "type": "string"
      },
      "type": [
        "object",
        "null"
      ]
    },
    "quirks": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "disable_api_termination": {
      "type": "boolean",
      "title": "Disable API Termination",
      "description": "Flag to prevent accidental project deletion",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "name",
    "cidr",
    "region"
  ]
}