{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentspace-com-br/json-schema/agentspace-com-br-deploy-body-schema.json",
  "title": "DeployBody",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentspace-com-br-openapi.json#/components/schemas/DeployBody",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "Slug used in the public URL, e.g. 'my-site'."
    },
    "kind": {
      "type": "string",
      "enum": [
        "static",
        "service"
      ],
      "title": "Kind",
      "default": "static"
    },
    "source_dir": {
      "type": "string",
      "title": "Source Dir",
      "default": "."
    },
    "command": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Command",
      "description": "Required when kind='service'."
    },
    "port": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Port",
      "description": "Required when kind='service'."
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}