{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/safetyculture/json-schema/safetyculture-s12-integrations-app-v1-partner-integration-service-update-configuration-body-schema.json",
  "title": "Request for updating the configuration",
  "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.PartnerIntegrationService.UpdateConfigurationBody",
  "type": "object",
  "properties": {
    "external_web_experience": {
      "$ref": "#/$defs/s12.integrations.app.v1.ApplicationTypeExternalWebExperience"
    }
  },
  "$defs": {
    "s12.integrations.app.v1.ApplicationTypeExternalWebExperience": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "The iframe url"
        },
        "location": {
          "allOf": [
            {
              "$ref": "#/$defs/s12.integrations.app.v1.ApplicationTypeExternalWebExperience.Location"
            }
          ],
          "description": "location"
        }
      },
      "title": "ExternalWebExperience",
      "required": [
        "url",
        "location"
      ]
    },
    "s12.integrations.app.v1.ApplicationTypeExternalWebExperience.Location": {
      "type": "object",
      "oneOf": [
        {
          "type": "object",
          "title": "Location Standalone",
          "description": "the iframe will be rendered on a separate page",
          "properties": {
            "location_standalone": {
              "$ref": "#/$defs/s12.integrations.app.v1.ExternalWebExperience_LocationStandalone"
            }
          }
        }
      ]
    },
    "s12.integrations.app.v1.ExternalWebExperience_LocationStandalone": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string",
          "description": "The name for the app installation"
        }
      },
      "title": "Location Standalone",
      "required": [
        "label"
      ]
    }
  }
}