{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-ise/json-schema/cisco-ise-byodportal-response-schema.json",
  "title": "byodportalResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-ise-byodportal-api-openapi.yml#/components/schemas/byodportalResponse",
  "type": "object",
  "properties": {
    "BYODPortal": {
      "$ref": "#/$defs/byodportalResponseEntity"
    }
  },
  "$defs": {
    "Link": {
      "type": "object",
      "properties": {
        "rel": {
          "type": "string",
          "enum": [
            "next",
            "previous",
            "self",
            "status"
          ]
        },
        "href": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      }
    },
    "byodportalResponseEntity": {
      "properties": {
        "portalTestUrl": {
          "title": "portalTestUrl",
          "type": "string",
          "description": "URL to bring up a test page for this portal"
        },
        "portalType": {
          "title": "portalType",
          "type": "string",
          "description": "allowed values: byod, hotspotGuest, mydevice, selfRegGuest, sponsor and sponsoredGuest"
        },
        "settings": {
          "properties": {
            "portalSettings": {
              "properties": {
                "httpsPort": {
                  "title": "httpsPort",
                  "type": "number",
                  "description": "The port number that the allowed interfaces will listen on. Range from 8000 to 8999"
                },
                "allowedInterfaces": {
                  "title": "allowedInterfaces",
                  "type": "string",
                  "description": "Interfaces that the portal will be reachable on. allowed values: eth0, eth1, eth2, eth3, eth4, eth5, bond0, bond1 and bond2"
                },
                "certificateGroupTag": {
                  "title": "certificateGroupTag",
                  "type": "string",
                  "description": "Logical name of the x.509 server certificate that will be used for the portal."
                },
                "endpointIdentityGroup": {
                  "title": "endpointIdentityGroup",
                  "type": "string",
                  "description": "Unique Id of the endpoint identity group where user's devices will be added. Used only in Hotspot Portal."
                },
                "displayLang": {
                  "title": "displayLang",
                  "type": "string",
                  "description": "allowed values:  useBrowserLocale and alwaysUse"
                },
                "fallbackLanguage": {
                  "title": "fallbackLanguage",
                  "type": "string",
                  "description": "Used when displayLang = useBrowserLocale"
                },
                "alwaysUsedLanguage": {
                  "title": "alwaysUsedLanguage",
                  "type": "string",
                  "description": "Used when displayLang = alwaysUse"
                }
              }
            },
            "byodSettings": {
              "properties": {
                "byodWelcomeSettings": {
                  "properties": {
                    "enableBYOD": {
                      "title": "enableBYOD",
                      "type": "boolean",
                      "description": ""
                    },
                    "enableGuestAccess": {
                      "title": "enableGuestAccess",
                      "type": "boolean",
                      "description": ""
                    },
                    "requireMDM": {
                      "title": "requireMDM",
                      "type": "boolean",
                      "description": ""
                    },
                    "includeAup": {
                      "title": "includeAup",
                      "type": "boolean",
                      "description": ""
                    },
                    "aupDisplay": {
                      "title": "aupDisplay",
                      "type": "string",
                      "description": "How the AUP should be displayed, either on page or as a link.  Only valid if includeAup = true. allowedValues: onPage, asLink"
                    },
                    "requireAupAcceptance": {
                      "title": "requireAupAcceptance",
                      "type": "boolean",
                      "description": ""
                    },
                    "requireScrolling": {
                      "title": "requireScrolling",
                      "type": "boolean",
                      "description": "Require BYOD devices to scroll down to the bottom of the AUP, Only valid if includeAup = true"
                    }
                  }
                },
                "byodRegistrationSettings": {
                  "properties": {
                    "showDeviceID": {
                      "title": "showDeviceID",
                      "type": "boolean",
                      "description": "Display Device ID field during registration."
                    },
                    "endPointIdentityGroupId": {
                      "title": "endPointIdentityGroupId",
                      "type": "string",
                      "description": "TIdentity group id for which endpoint belongs."
                    }
                  }
                },
                "byodRegistrationSuccessSettings": {
                  "properties": {
                    "successRedirect": {
                      "title": "successRedirect",
                      "type": "string",
                      "description": "After an Authentication Success where should device be redirected, allowedValues: authSuccessPage, originatingURL and url"
                    },
                    "redirectUrl": {
                      "title": "redirectUrl",
                      "type": "string",
                      "description": "Target URL for redirection, used when successRedirect = url"
                    }
                  }
                }
              }
            },
            "supportInfoSettings": {
              "properties": {
                "includeSupportInfoPage": {
                  "title": "includeSupportInfoPage",
                  "type": "boolean",
                  "description": ""
                },
                "includeMacAddr": {
                  "title": "includeMacAddr",
                  "type": "boolean",
                  "description": ""
                },
                "includeIpAddress": {
                  "title": "includeIpAddress",
                  "type": "boolean",
                  "description": ""
                },
                "includeBrowserUserAgent": {
                  "title": "includeBrowserUserAgent",
                  "type": "boolean",
                  "description": ""
                },
                "includePolicyServer": {
                  "title": "includePolicyServer",
                  "type": "boolean",
                  "description": ""
                },
                "includeFailureCode": {
                  "title": "includeFailureCode",
                  "type": "boolean",
                  "description": ""
                },
                "emptyFieldDisplay": {
                  "title": "emptyFieldDisplay",
                  "type": "string",
                  "description": "Specifies how empty fields are handled on the Support Information Page. allowedValues: hide, displayWithNoValue and displayWithDefaultValue"
                },
                "defaultEmptyFieldValue": {
                  "title": "defaultEmptyFieldValue",
                  "type": "string",
                  "description": " The default value displayed for an empty field  Only valid when emptyFieldDisplay = displayWithDefaultValue.  "
                }
              }
            }
          }
        },
        "customizations": {
          "properties": {
            "portalTheme": {
              "properties": {
                "id": {
                  "title": "id",
                  "type": "string",
                  "description": "The unique internal identifier of the portal theme."
                },
                "name": {
                  "title": "name",
                  "type": "string",
                  "description": "The system- or user-assigned name of the portal theme."
                },
                "themeData": {
                  "title": "themeData",
                  "type": "string",
                  "description": "A CSS file, represented as a Base64-encoded byte array."
                }
              }
            },
            "portalTweakSettings": {
              "properties": {
                "banneColor": {
                  "title": "banneColor",
                  "type": "string",
                  "description": ""
                },
                "bannerTextColor": {
                  "title": "bannerTextColor",
                  "type": "string",
                  "description": ""
                },
                "pageBackgroundColor": {
                  "title": "pageBackgroundColor",
                  "type": "string",
                  "description": ""
                },
                "pageLabelAndTextColor": {
                  "title": "pageLabelAndTextColor",
                  "type": "string",
                  "description": ""
                }
              }
            },
            "language": {
              "title": "language",
              "type": "object",
              "description": "This property is supported only for Read operation and it allows to show the customizations in English. Other languages are not supported."
            },
            "globalCustomizations": {
              "properties": {
                "bannerTitle": {
                  "title": "bannerTitle",
                  "type": "string",
                  "description": ""
                },
                "contactText": {
                  "title": "contactText",
                  "type": "string",
                  "description": ""
                },
                "footerElement": {
                  "title": "footerElement",
                  "type": "string",
                  "description": ""
                },
                "mobileLogoImage": {
                  "properties": {
                    "data": {
                      "title": "data",
                      "type": "string",
                      "description": "Represented as base 64 encoded string of the image byte array"
                    }
                  }
                },
                "bannerImage": {
                  "properties": {
                    "data": {
                      "title": "data",
                      "type": "string",
                      "description": "Represented as base 64 encoded string of the image byte array"
                    }
                  }
                },
                "backgroundImage": {
                  "properties": {
                    "data": {
                      "title": "data",
                      "type": "string",
                      "description": "Represented as base 64 encoded string of the image byte array"
                    }
                  }
                }
              }
            },
            "pageCustomizations": {
              "properties": {
                "data": {
                  "title": "data",
                  "type": "array",
                  "description": "The Dictionary will be exposed here as key value pair",
                  "items": {
                    "properties": {
                      "key": {
                        "title": "key",
                        "type": "string",
                        "description": ""
                      },
                      "value": {
                        "title": "value",
                        "type": "string",
                        "description": ""
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "name": {
          "title": "name",
          "type": "string",
          "description": "name"
        },
        "id": {
          "title": "id",
          "type": "string",
          "description": "Id"
        },
        "description": {
          "title": "description",
          "type": "string",
          "description": "Description"
        },
        "link": {
          "$ref": "#/$defs/Link"
        }
      }
    }
  }
}