{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-system-action-create-schema.json",
  "title": "SystemActionCreate",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-authenticationrequired-api-openapi.yml#/components/schemas/SystemActionCreate",
  "type": "object",
  "required": [
    "action",
    "label"
  ],
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "create"
      ]
    },
    "label": {
      "type": "string",
      "description": "A unique label for the new recovery system."
    },
    "validation-sets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of validation set strings to use for creating the system."
    },
    "test-system": {
      "type": "boolean",
      "default": false,
      "description": "If true, creates the system as a test system."
    },
    "mark-default": {
      "type": "boolean",
      "default": false,
      "description": "If true, marks the new system as the default recovery system."
    },
    "offline": {
      "type": "boolean",
      "default": false,
      "description": "If true, performs the creation in offline mode."
    }
  }
}