You are an AI assistant specializing in generating structured data for SEO optimization.
Your task is to create a JSON-LD schema representation for a repair guide post based on the provided content.
The schema will use the "HowTo" type from Schema.org to provide structured instructions for search engines.
code
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
**Input Information**:
- Title: "Pixel 3a XL – Replacing the display"
- Description: "This Step-by-Step Google Pixel 3a XL Display Replacement Guide will provide you with clear instructions and images. It covers testing the new display, heating the device, removing two cover screws, lifting off the cover plate, disconnecting the display connector, attaching the new display, securing it, and performing a final functionality test."
- Featured Image URL: "https://salvationrepair.com/wp-content/uploads/2024/11/cn-11134207-7r98o-lnsk2m79i8wrb7.jpeg"
**Instructions for Generating the Schema**:
- Use the "HowTo" schema type.
- Extract relevant data from the HTML content below, such as the total time, tools used, materials required, and steps.
- Each step should include the step title (e.g., "Step 1"), a brief description, and an image or video URL if available.
- Identify and include any tools or materials mentioned in the content as "HowToTool" and "HowToSupply".
- If there are carousels with images, use the most prominent image as the step illustration.
- Assume fallback logic for missing fields, e.g., defaulting time to "PT15M" if no duration is found.
**Expected Output Format**:
```json
{
"@context": "https://schema.org",
"@type": "HowTo",
"name": "Pixel 3a XL – Replacing the display",
"description": "This Step-by-Step Google Pixel 3a XL Display Replacement Guide will provide you with clear instructions and images. It covers testing the new display, heating the device, removing two cover screws, lifting off the cover plate, disconnecting the display connector, attaching the new display, securing it, and performing a final functionality test.",
"image": "https://salvationrepair.com/wp-content/uploads/2024/11/cn-11134207-7r98o-lnsk2m79i8wrb7.jpeg",
"totalTime": "PT15M",
"step": [
{
"@type": "HowToStep",
"name": "Step 1",
"text": "Description of step 1",
"image": "URL of step 1 image"
},
{
"@type": "HowToStep",
"name": "Step 2",
"text": "Description of step 2",
"image": "URL of step 2 image"
}
],
"tool": [
{
"@type": "HowToTool",
"name": "Tool 1"
}
],
"supply": [
{
"@type": "HowToSupply",
"name": "Material 1"
}
]
}
```
Below is the HTML content of the repair guide post. Use it to extract all relevant data for the schema:
<div class="container mt-3">
Here is a JSON-LD schema representation for the "Pixel 3a XL – Replacing the display" repair guide based on the provided content:
json
{
"@context": "https://schema.org",
"@type": "HowTo",
"name": "Pixel 3a XL – Replacing the display",
"description": "This Step-by-Step Google Pixel 3a XL Display Replacement Guide will provide you with clear instructions and images. It covers testing the new display, heating the device, removing two cover screws, lifting off the cover plate, disconnecting the display connector, attaching the new display, securing it, and performing a final functionality test.",
"image": "https://salvationrepair.com/wp-content/uploads/2024/11/cn-11134207-7r98o-lnsk2m79i8wrb7.jpeg",
"totalTime": "PT60M",
"step": [
{
"@type": "HowToStep",
"name": "Step 1",
"text": "Give that power button a good press and hold until you see a menu pop up on your screen. Next, tap 'Switch off' in the menu and hang tight while your phone takes a little nap.",
"image": "https://www.idoc.eu/guides/uploads/steps/step7745_file24851_1250.jpg"
},
{
"@type": "HowToStep",
"name": "Step 2",
"text": "Gently heat the device's edges with a hairdryer (hot air dryer works great too!). Pay extra attention to the top and bottom – that’s where the sticky stuff is hiding.",
"image": "https://www.idoc.eu/guides/uploads/steps/step7746_file24841_1250.jpg"
},
{
"@type": "HowToStep",
"name": "Step 3",
"text": "First, gently peel back the foil covering the display connector. Next, grab your trusty Torx screwdriver and unscrew those two cover plate screws. Easy peasy! Now, go ahead and lift off the cover plate. Finally, take a plastic spudger and carefully slide it under the display connector to disconnect it.",
"image": "https://www.idoc.eu/guides/uploads/steps/step7747_file24859_1250.jpg"
},
{
"@type": "HowToStep",
"name": "Step 4",
"text": "Grab your shiny new display and gently peel off that protective film keeping the display cable cozy. Now, line up the display connector with the opening and give it a gentle push until you hear it snap into place.",
"image": "https://www.idoc.eu/guides/uploads/steps/step7749_file24872_1250.jpg"
}
],
"tool": [
{
"@type": "HowToTool",
"name": "Flat Picks"
},
{
"@type": "HowToTool",
"name": "iFlex Opening Tool"
},
{
"@type": "HowToTool",
"name": "iPlastix Opening Tool"
},
{
"@type": "HowToTool",
"name": "VAKUPLASTIC Suction Cup"
},
{
"@type": "HowToTool",
"name": "Pry Tool"
}
],
"supply": []
}
Explanation:
Total Time: Substituted with PT60M based on the information provided in the content.
Steps: Four detailed steps extracted from the sections of the HTML content, with appropriate titles, descriptions, and images.
Tools Used: All tools mentioned were included as HowToTool.
Supplies: No specific materials were mentioned as "HowToSupply", hence it is left empty.
If more steps or specific tools/supplies are detailed in the whole content, similar entries can be added for completeness.