{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beyond-identity/json-schema/beyond-identity-update-platform-flow-type-config-schema.json",
  "title": "UpdatePlatformFlowTypeConfig",
  "description": "Platform-specific flow type configurations for updates",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beyond-identity-launch-mechanisms-api-openapi.yml#/components/schemas/UpdatePlatformFlowTypeConfig",
  "type": "object",
  "properties": {
    "android": {
      "$ref": "#/$defs/UpdateFlowTypeSet"
    },
    "macos": {
      "$ref": "#/$defs/UpdateFlowTypeSet"
    },
    "ios": {
      "$ref": "#/$defs/UpdateFlowTypeSet"
    },
    "windows": {
      "$ref": "#/$defs/UpdateFlowTypeSet"
    },
    "web": {
      "$ref": "#/$defs/UpdateFlowTypeSet"
    },
    "linux": {
      "$ref": "#/$defs/UpdateFlowTypeSet"
    },
    "chromeos": {
      "$ref": "#/$defs/UpdateFlowTypeSet"
    },
    "chromeosweb": {
      "$ref": "#/$defs/UpdateFlowTypeSet"
    }
  },
  "$defs": {
    "UpdateFlowTypeConfiguration": {
      "title": "UpdateFlowTypeConfiguration",
      "description": "Configuration for a specific flow type (update version)",
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the customer allows this flow type to be used."
        },
        "valid": {
          "type": "boolean",
          "description": "Whether the flow type is valid and expected on a given platform"
        }
      }
    },
    "UpdateFlowTypeSet": {
      "title": "UpdateFlowTypeSet",
      "description": "Set of flow type configurations for a platform (update version)",
      "type": "object",
      "properties": {
        "unknown": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "scheme": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "embedded": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "copy": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "roaming_auth": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "android_autofill": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "android_accessibility": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "pipe": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "localhost": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "universal_link": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "safari_extension": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "layered_auth_qr_code": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        },
        "secure_localhost": {
          "$ref": "#/$defs/UpdateFlowTypeConfiguration"
        }
      }
    }
  }
}