{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/safetyculture/json-schema/safetyculture-s12-integrations-app-v1-register-application-request-schema.json",
  "title": "Request for RegisterApplication",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/safetyculture-apps-api-openapi.yml#/components/schemas/s12.integrations.app.v1.RegisterApplicationRequest",
  "type": "object",
  "properties": {
    "app_name": {
      "type": "string"
    },
    "external_web_experience": {
      "$ref": "#/$defs/s12.integrations.app.v1.RegisterApplicationTypeExternalWebExperience"
    }
  },
  "required": [
    "app_name"
  ],
  "$defs": {
    "s12.integrations.app.v1.RegisterApplicationTypeExternalWebExperience": {
      "type": "object",
      "properties": {
        "allowlist_hosts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "the host that is intended to be the origin of the iframe. Ex: example.com",
          "title": "The iframe url host allowlist"
        }
      },
      "description": "Object that describes an external iframe with a list of allowed hosts",
      "title": "Web Experience",
      "required": [
        "allowlist_hosts"
      ]
    }
  }
}