{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateAppRequest",
  "title": "CreateAppRequest",
  "type": "object",
  "description": "Request body for creating a new Fly App.",
  "required": [
    "app_name",
    "org_slug"
  ],
  "properties": {
    "app_name": {
      "type": "string",
      "description": "The unique name for the new app."
    },
    "org_slug": {
      "type": "string",
      "description": "The slug of the organization that will own this app."
    },
    "enable_subdomains": {
      "type": "boolean",
      "description": "When true, enables wildcard subdomain routing for this app."
    },
    "network": {
      "type": "string",
      "description": "Name of the private WireGuard network to attach this app to. If omitted, the organization's default network is used."
    }
  }
}