linode · Schema

StackScriptRequest

Properties

Name Type Description
label string The label for the StackScript.
description string A description of the StackScript.
images array Compatible image IDs.
script string The script content.
rev_note string A revision note.
is_public boolean Whether to make the StackScript public.
View JSON Schema on GitHub

JSON Schema

linode-stackscriptrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StackScriptRequest",
  "title": "StackScriptRequest",
  "type": "object",
  "required": [
    "label",
    "images",
    "script"
  ],
  "properties": {
    "label": {
      "type": "string",
      "minLength": 3,
      "maxLength": 128,
      "description": "The label for the StackScript."
    },
    "description": {
      "type": "string",
      "description": "A description of the StackScript."
    },
    "images": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Compatible image IDs."
    },
    "script": {
      "type": "string",
      "description": "The script content."
    },
    "rev_note": {
      "type": "string",
      "maxLength": 512,
      "description": "A revision note."
    },
    "is_public": {
      "type": "boolean",
      "description": "Whether to make the StackScript public."
    }
  }
}