{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-create-integration-details-schema.json",
  "title": "CreateIntegrationDetails",
  "description": "Object needed for create integration related pages and components rendering",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-integrations-api-openapi.yml#/components/schemas/CreateIntegrationDetails",
  "properties": {
    "addIntegrationDetails": {
      "description": "details related create new integration steps",
      "properties": {
        "description": {
          "description": "general description and necessary links for Integration creation process",
          "type": "string"
        },
        "hint": {
          "description": "hint message with explanations of integration creation specifics",
          "type": "string"
        },
        "instructionsHelp": {
          "$ref": "#/$defs/HelpLink"
        },
        "integrationDetailsParameters": {
          "description": "list of input field details for create integration form",
          "items": {
            "properties": {
              "defaultValue": {
                "description": "Supposed default value for input component. \nShould be parsed as a value of type listed in this object\n",
                "type": "string"
              },
              "info": {
                "description": "Additional information to be listed in hint near the input column title.",
                "type": "string"
              },
              "key": {
                "description": "property name to be sent on the backend for Integration creation",
                "type": "string"
              },
              "required": {
                "description": "Flag if the property is required for Integration creation process. \nShould be marked with * on UI side.\n",
                "type": "boolean"
              },
              "title": {
                "description": "description for current property input component",
                "type": "string"
              },
              "type": {
                "description": "type of the input field and parameter to be sent on the backend respectively",
                "type": "string"
              },
              "validationRegex": {
                "description": "regular expression to validate current parameter inheritance. E.g. is it a valid email",
                "type": "string"
              }
            },
            "required": [
              "title",
              "validationRegex",
              "type",
              "info",
              "required",
              "key"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "title": {
          "description": "title of the add new integration component",
          "type": "string"
        }
      },
      "required": [
        "title",
        "description",
        "integrationDetailsParameters"
      ],
      "type": "object"
    },
    "integrationCreationInstructions": {
      "$ref": "#/$defs/Instruction"
    }
  },
  "required": [
    "integrationCreationInstructions",
    "addIntegrationDetails"
  ],
  "type": "object",
  "$defs": {
    "HelpLink": {
      "description": "Object needed for Help link components rendering and routing",
      "properties": {
        "title": {
          "description": "Help link text to be displayed",
          "type": "string"
        },
        "url": {
          "description": "URL to the help documentation for current instructions",
          "type": "string"
        }
      },
      "required": [
        "title",
        "url"
      ],
      "type": "object"
    },
    "Instruction": {
      "description": "Main item of IntegrationDetails and CreateIntegrationDetails objects",
      "properties": {
        "instructionChapters": {
          "description": "list of create integration steps",
          "items": {
            "properties": {
              "hint": {
                "description": "text to be displayed in the chapter's hint component",
                "type": "string"
              },
              "instructionChapterSteps": {
                "description": "list of create integration sub steps",
                "items": {
                  "properties": {
                    "actionItems": {
                      "description": "list of action items",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "title": {
                      "description": "instruction step name to be described on top of action items",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "actionItems"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "title": {
                "description": "subtitle of the instruction chapter component",
                "type": "string"
              }
            },
            "required": [
              "title",
              "instructionChapterSteps"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "title": {
          "description": "title to be displayed on the top of the instructions component",
          "type": "string"
        }
      },
      "required": [
        "title",
        "instructionChapters"
      ],
      "type": "object"
    }
  }
}