{
  "id": "iphone13-camera-comparison",
  "modelId": "iphone13",
  "title": "Camera image and flashlight comparison",
  "intent": "Separate lens/accessory obstruction, one camera path and the flashlight before seeking repair.",
  "category": "diagnostics",
  "sourceIds": [
    "iphone-camera",
    "iphone-heat",
    "iphone-normal-restart",
    "iphone-safety"
  ],
  "prerequisites": [
    "Cool phone with intact camera glass",
    "Private non-sensitive subject in good light"
  ],
  "tools": [
    "Microfiber cloth",
    "Built-in Camera and Control Center"
  ],
  "steps": [
    {
      "id": "accessory",
      "text": "Remove a safely removable film, case or magnetic camera accessory that could obstruct the lens or flash.",
      "sourceIds": [
        "iphone-camera"
      ],
      "locator": "Remove case, accessory or film"
    },
    {
      "id": "clean",
      "text": "If images are blurry, gently clean the front and rear lenses with a microfiber cloth. Keep the same well-lit subject for comparison.",
      "sourceIds": [
        "iphone-camera"
      ],
      "locator": "More steps: clean lenses"
    },
    {
      "id": "cameras",
      "text": "Take one rear-camera photo, then switch to the front camera. Record preview and saved-image behavior separately on your device.",
      "sourceIds": [
        "iphone-camera"
      ],
      "locator": "Test camera again; front and rear comparison"
    },
    {
      "id": "flashlight",
      "text": "Swipe down from the upper-right for Control Center and try the flashlight at a safe distance from eyes. A camera Auto-flash decision is different from the flashlight control.",
      "sourceIds": [
        "iphone-camera"
      ],
      "locator": "Test LED flash; different flash setting"
    },
    {
      "id": "restart",
      "text": "Restart normally and repeat only the affected path. If the phone became hot, let it cool first; temperature can temporarily restrict camera features.",
      "sourceIds": [
        "iphone-heat"
      ],
      "locator": "If your device gets too warm"
    },
    {
      "id": "software",
      "text": "Review the offered iOS update with a verified backup before deciding to install. If camera or flash remains faulty, retain the specific comparison for Apple.",
      "sourceIds": [
        "iphone-camera"
      ],
      "locator": "More steps: restart, update, retest; Get service"
    }
  ],
  "checks": [
    {
      "id": "safety",
      "goal": "Check for a reason to stop before powered tests.",
      "question": "Is there swelling, lifted glass, casing separation, liquid damage, smoke, a burning smell, or damaged charging equipment?",
      "sourceIds": [
        "iphone-safety"
      ],
      "options": [
        {
          "id": "safe",
          "label": "No visible danger; safe to continue",
          "next": "clear-lens"
        },
        {
          "id": "danger",
          "label": "Yes, or suspected damage",
          "next": "stop"
        },
        {
          "id": "unknown",
          "label": "I cannot confirm safety",
          "next": "uncertain"
        }
      ]
    },
    {
      "id": "clear-lens",
      "question": "Is the phone cool with a clear unobstructed lens?",
      "goal": "Remove obvious image confounders.",
      "sourceIds": [
        "iphone-camera"
      ],
      "options": [
        {
          "id": "yes",
          "label": "Confirmed",
          "next": "camera"
        },
        {
          "id": "no",
          "label": "Not available / not completed",
          "next": "attention"
        },
        {
          "id": "unknown",
          "label": "Not checked / unsure",
          "next": "uncertain"
        }
      ]
    },
    {
      "id": "camera",
      "question": "Which camera paths work after the check?",
      "goal": "Keep front and rear evidence separate.",
      "sourceIds": [
        "iphone-camera"
      ],
      "options": [
        {
          "id": "both",
          "label": "Both cameras give a usable image",
          "next": "flash"
        },
        {
          "id": "one",
          "label": "One or both still fail",
          "next": "service"
        },
        {
          "id": "unknown",
          "label": "Could not compare both",
          "next": "uncertain"
        }
      ]
    },
    {
      "id": "flash",
      "question": "Does the Control Center flashlight respond?",
      "goal": "Separate flash setting from light output.",
      "sourceIds": [
        "iphone-camera"
      ],
      "options": [
        {
          "id": "works",
          "label": "Flashlight works",
          "next": "ready"
        },
        {
          "id": "fails",
          "label": "Still fails while phone is cool",
          "next": "service"
        },
        {
          "id": "unknown",
          "label": "Not safely checked",
          "next": "uncertain"
        }
      ]
    }
  ],
  "terminals": {
    "ready": {
      "type": "preparation_saved",
      "title": "Comparison recorded",
      "text": "Save the camera and flashlight results plus any accessory that changed them. Keep original test images privately if support needs to see the symptom.",
      "handoff": [
        "Front and rear preview versus saved-image behavior",
        "Control Center flashlight result",
        "Effect of accessory removal, cooling and restart"
      ]
    },
    "attention": {
      "type": "maintenance_possible",
      "title": "Complete the missing preparation",
      "text": "Wait for normal temperature and a clear lens before repeating the affected path.",
      "handoff": [
        "Make a cool, well-lit, unobstructed comparison.",
        "Front and rear preview versus saved-image behavior",
        "Control Center flashlight result",
        "Effect of accessory removal, cooling and restart"
      ]
    },
    "service": {
      "type": "service_needed",
      "title": "Discuss the recorded result with support",
      "text": "Ask Apple to review which camera or light path failed, and whether restart or accessory removal changed it.",
      "handoff": [
        "Front and rear preview versus saved-image behavior",
        "Control Center flashlight result",
        "Effect of accessory removal, cooling and restart"
      ]
    },
    "uncertain": {
      "type": "preparation_saved",
      "title": "Keep the unknowns in your handoff",
      "text": "An untested front/rear or flashlight condition remains unknown; do not fill it from the other camera’s result.",
      "handoff": [
        "Tell support whether a camera switch, image capture or flashlight check was unavailable.",
        "Front and rear preview versus saved-image behavior",
        "Control Center flashlight result",
        "Effect of accessory removal, cooling and restart"
      ]
    },
    "stop": {
      "type": "service_needed",
      "title": "Stop powered checks",
      "text": "Stop using or charging damaged equipment. Do not open or press on the phone or handle hot or smoking equipment. Contact Apple or an authorized provider; use local emergency help for immediate fire danger.",
      "handoff": [
        "Report damaged lens glass or overheating and stop camera tests.",
        "Front and rear preview versus saved-image behavior",
        "Control Center flashlight result",
        "Effect of accessory removal, cooling and restart"
      ]
    }
  },
  "outcomeChecks": [
    "Save the camera and flashlight results plus any accessory that changed them. Keep original test images privately if support needs to see the symptom.",
    "Ask Apple to review which camera or light path failed, and whether restart or accessory removal changed it."
  ],
  "diagramId": "phone-iphone-audio",
  "workflow": {
    "family": "condition-matrix",
    "summary": "Hold subject and lighting steady while comparing cameras and flashlight.",
    "fields": [
      {
        "id": "image-symptom",
        "label": "Image symptom",
        "type": "select",
        "options": [
          {
            "value": "unknown",
            "label": "Not checked / unknown"
          },
          {
            "value": "black",
            "label": "Black preview"
          },
          {
            "value": "blur",
            "label": "Blur or visual artifact"
          },
          {
            "value": "save",
            "label": "Preview works but capture fails"
          },
          {
            "value": "flash",
            "label": "Flash-only complaint"
          }
        ]
      },
      {
        "id": "camera-accessory",
        "label": "Camera covering or attachment",
        "type": "select",
        "options": [
          {
            "value": "unknown",
            "label": "Not checked / unknown"
          },
          {
            "value": "removed",
            "label": "Removed for comparison"
          },
          {
            "value": "none",
            "label": "None fitted"
          },
          {
            "value": "stays",
            "label": "Cannot safely remove"
          }
        ]
      },
      {
        "id": "thermal-state",
        "label": "Temperature during final comparison",
        "type": "select",
        "options": [
          {
            "value": "unknown",
            "label": "Not checked / unknown"
          },
          {
            "value": "cool",
            "label": "Normal and cool enough"
          },
          {
            "value": "warning",
            "label": "Temperature warning; test deferred"
          },
          {
            "value": "warming",
            "label": "Warm; comparison deferred"
          }
        ]
      },
      {
        "id": "update-review",
        "label": "Software review",
        "type": "select",
        "options": [
          {
            "value": "unknown",
            "label": "Not checked / unknown"
          },
          {
            "value": "offered",
            "label": "Update offered; decision pending"
          },
          {
            "value": "current",
            "label": "No update offered"
          },
          {
            "value": "unavailable",
            "label": "Could not review"
          }
        ]
      }
    ],
    "matrix": {
      "title": "Image and light paths",
      "rows": [
        {
          "id": "rear",
          "label": "Rear Camera image",
          "condition": "Same well-lit subject; clear lens"
        },
        {
          "id": "front",
          "label": "Front Camera image",
          "condition": "Same lighting; camera switched"
        },
        {
          "id": "flashlight",
          "label": "Control Center flashlight",
          "condition": "Phone cool; light aimed safely"
        },
        {
          "id": "restart-retest",
          "label": "Affected path after restart",
          "condition": "Same conditions; normal restart completed"
        }
      ],
      "results": [
        {
          "value": "not-tested",
          "label": "Not tested"
        },
        {
          "value": "works",
          "label": "Expected result"
        },
        {
          "value": "fails",
          "label": "Problem observed"
        },
        {
          "value": "intermittent",
          "label": "Intermittent"
        },
        {
          "value": "not-applicable",
          "label": "Not applicable"
        }
      ]
    },
    "reportFocus": [
      "Image acquisition versus flashlight response",
      "Which conditions were held constant"
    ],
    "notDoneGuidance": [
      "No private photo is required in this record.",
      "A hot-device flashlight failure is not a cool-condition failure."
    ],
    "osOptions": [
      "ios",
      "ios-unknown"
    ]
  },
  "entityKind": "task",
  "version": "2.0.0",
  "deviceFamily": "phone",
  "modelApplicability": {
    "id": "iphone13",
    "name": "iPhone 13",
    "family": "phone",
    "revision": "Standard iPhone 13 (2021), Lightning",
    "os": "iOS 15 or later; use the support page matching your installed iOS for service settings.",
    "region": "US-first service preparation; local service eligibility varies.",
    "help": "Open Settings → General → About. Read Model Name: it must say iPhone 13. Do not enter the serial number here.",
    "exclusions": [
      "iPhone 13 mini",
      "iPhone 13 Pro",
      "iPhone 13 Pro Max",
      "iPhone 15"
    ],
    "sourceIds": [
      "iphone-id",
      "iphone-spec",
      "iphone-service"
    ]
  },
  "exclusions": [
    "iPhone 13 mini",
    "iPhone 13 Pro",
    "iPhone 13 Pro Max",
    "iPhone 15"
  ],
  "materials": [
    "Keep any existing backup accessible to you.",
    "Keep credentials and personal files outside this record."
  ],
  "stopConditions": [
    "Stop using and charging equipment with swelling, casing separation, smoke, a burning smell or suspected battery damage. Do not open or press on it.",
    "Set damaged accessories aside. Do not open mains adapters or force connectors.",
    "Do not erase, reset, flash firmware or bypass a lock as a default diagnostic step."
  ],
  "branches": [
    {
      "from": "safety",
      "answer": "safe",
      "to": "clear-lens"
    },
    {
      "from": "safety",
      "answer": "danger",
      "to": "stop"
    },
    {
      "from": "safety",
      "answer": "unknown",
      "to": "uncertain"
    },
    {
      "from": "clear-lens",
      "answer": "yes",
      "to": "camera"
    },
    {
      "from": "clear-lens",
      "answer": "no",
      "to": "attention"
    },
    {
      "from": "clear-lens",
      "answer": "unknown",
      "to": "uncertain"
    },
    {
      "from": "camera",
      "answer": "both",
      "to": "flash"
    },
    {
      "from": "camera",
      "answer": "one",
      "to": "service"
    },
    {
      "from": "camera",
      "answer": "unknown",
      "to": "uncertain"
    },
    {
      "from": "flash",
      "answer": "works",
      "to": "ready"
    },
    {
      "from": "flash",
      "answer": "fails",
      "to": "service"
    },
    {
      "from": "flash",
      "answer": "unknown",
      "to": "uncertain"
    }
  ],
  "sources": [
    {
      "id": "iphone-camera",
      "title": "If the camera or flash on your iPhone is not working",
      "url": "https://support.apple.com/en-us/102514",
      "locator": "Remove case/accessory/film; More steps; Get service",
      "purpose": "Front/rear camera and flashlight comparisons",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "iphone-heat",
      "title": "iPhone temperature management",
      "url": "https://support.apple.com/en-us/118431",
      "locator": "Device gets too warm; Charging On Hold; Temperature warning",
      "purpose": "Cooling and temperature-related charging/display restrictions",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "iphone-normal-restart",
      "title": "Restart your iPhone",
      "url": "https://support.apple.com/en-us/118259",
      "locator": "iPhone X, 11, 12, 13 or later",
      "purpose": "Normal shutdown and restart when touch works",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed.",
      "verifiedUnits": {
        "seconds": [
          30
        ]
      }
    },
    {
      "id": "iphone-safety",
      "title": "Important safety information for iPhone",
      "url": "https://support.apple.com/guide/iphone/important-safety-information-iph301fc905/26/ios/26",
      "locator": "Handling; Repairing; Battery; Charging",
      "purpose": "Stop use for suspected damage and use trained battery service",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "iphone-id",
      "title": "Identify your iPhone model",
      "url": "https://support.apple.com/en-ie/108044",
      "locator": "Find the model name / iPhone 13",
      "purpose": "Model confirmation",
      "checkedAt": "2026-10-04",
      "reuse": "Reference only. Original paraphrase; no copied images or manual pages.",
      "licenseStatus": "Public support document; no redistribution license assumed."
    },
    {
      "id": "iphone-spec",
      "title": "iPhone 13 technical specifications",
      "url": "https://support.apple.com/en-ie/111872",
      "locator": "External Buttons and Connectors; Power and Battery",
      "purpose": "Lightning, physical controls and wireless charging applicability",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "iphone-service",
      "title": "Prepare iPhone for a service appointment",
      "url": "https://support.apple.com/en-us/109519",
      "locator": "Get ready; Bring in; Get back from service",
      "purpose": "Backup, OS-specific service readiness, credential privacy and returned-device data",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "iphone-sound",
      "title": "No sound or distorted iPhone speaker",
      "url": "https://support.apple.com/en-gb/118432",
      "locator": "Troubleshoot your speaker, steps 1–7",
      "purpose": "Silent switch, Focus, speaker openings, ringtone and call comparisons",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "iphone-mic",
      "title": "If the microphones on your iPhone are not working",
      "url": "https://support.apple.com/en-us/101600",
      "locator": "Phone calls; Speakerphone; Specific app",
      "purpose": "Voice Memos, two camera recordings and microphone permissions",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    }
  ],
  "assets": [
    {
      "id": "phone-iphone-audio",
      "path": "/assets/phone-iphone-audio.svg",
      "title": "iPhone local audio and camera comparisons",
      "alt": "Schematic comparison cards for ringtone playback, Voice Memo recording, rear-camera video voice and front-camera video voice, with a separate app-permission path.",
      "sourceIds": [
        "iphone-sound",
        "iphone-mic",
        "iphone-camera"
      ],
      "caption": "Original comparison schematic. These app paths do not identify individual internal microphone or speaker components.",
      "kind": "Original schematic"
    }
  ],
  "relatedIds": [
    "iphone13-touch-response",
    "iphone13-speaker-sound",
    "iphone13-wifi-access"
  ],
  "estimatedDuration": {
    "minutes": 20,
    "label": "Planning estimate for recording observations; excludes charging, backups, drying and service. Not a measured repair time."
  }
}