{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/noderings-com/json-schema/noderings-com-v1-instant-app-schema.json",
  "title": "v1InstantApp",
  "description": "InstantApp is a platform-owned curated app install (Jinja user_data bound to a Distro).\nuser_data is returned on Get for catalog preview; List omits it to keep responses small.\nCreate/reinstall always load user_data server-side from storage.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/noderings-com-openapi.json#/components/schemas/v1InstantApp",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true
    },
    "slug": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "readOnly": true
    },
    "description": {
      "type": "string",
      "readOnly": true
    },
    "version": {
      "type": "string",
      "readOnly": true
    },
    "family": {
      "type": "string",
      "readOnly": true
    },
    "distro": {
      "$ref": "#/$defs/v1Distro"
    },
    "iconUrl": {
      "type": "string",
      "readOnly": true
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "readOnly": true
    },
    "minVcpus": {
      "type": "integer",
      "format": "int32",
      "description": "Recommended minimums (plan specifications units); not enforced at create.",
      "readOnly": true
    },
    "minRamGb": {
      "type": "integer",
      "format": "int32",
      "readOnly": true
    },
    "minDiskGb": {
      "type": "integer",
      "format": "int32",
      "readOnly": true
    },
    "sortOrder": {
      "type": "integer",
      "format": "int32",
      "readOnly": true
    },
    "documentationUrl": {
      "type": "string",
      "readOnly": true
    },
    "metadata": {
      "type": "object",
      "description": "Includes ports, credentials_path, estimated_ready_minutes, and optional variables[]\n(Instant App form schema: name/label/type/required/default/…).",
      "readOnly": true
    },
    "status": {
      "$ref": "#/$defs/protov1Status"
    },
    "timestamps": {
      "$ref": "#/$defs/v1Timestamps"
    },
    "userData": {
      "type": "string",
      "description": "Jinja cloud-init user_data template. Present on Get; omitted on List.",
      "readOnly": true
    }
  },
  "$defs": {
    "protov1Status": {
      "type": "string",
      "enum": [
        "STATUS_UNSPECIFIED",
        "STATUS_ACTIVE",
        "STATUS_INACTIVE",
        "STATUS_BANNED",
        "STATUS_SOFT_DELETED"
      ],
      "default": "STATUS_UNSPECIFIED",
      "title": "Status of the object"
    },
    "v1Distro": {
      "type": "string",
      "enum": [
        "DISTRO_UNSPECIFIED",
        "DISTRO_UBUNTU_22_04",
        "DISTRO_UBUNTU_24_04",
        "DISTRO_UBUNTU_26_04",
        "DISTRO_FEDORA_43",
        "DISTRO_FEDORA_44",
        "DISTRO_DEBIAN_12",
        "DISTRO_DEBIAN_13",
        "DISTRO_CENTOS_9",
        "DISTRO_CENTOS_10",
        "DISTRO_ROCKY_9",
        "DISTRO_ROCKY_10",
        "DISTRO_ALMALINUX_9",
        "DISTRO_ALMALINUX_10"
      ],
      "default": "DISTRO_UNSPECIFIED",
      "description": "- DISTRO_UBUNTU_22_04: Ubuntu distributions\n - DISTRO_FEDORA_43: Fedora distributions\n - DISTRO_DEBIAN_12: Debian distributions\n - DISTRO_CENTOS_9: CentOS distributions\n - DISTRO_ROCKY_9: Rocky Linux distributions\n - DISTRO_ALMALINUX_9: AlmaLinux distributions",
      "title": "Distribution enum for VM templates"
    },
    "v1Timestamps": {
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "date-time"
        },
        "updateTime": {
          "type": "string",
          "format": "date-time"
        }
      },
      "title": "Object details"
    }
  }
}