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 the JSON-LD schema representation for your repair guide post based on the provided information and HTML 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": "PT1H",
"step": [
{
"@type": "HowToStep",
"name": "Step 1",
"text": "Press and hold the power button until a menu appears. Tap 'Switch off' and wait for the phone to power down.",
"image": "https://www.idoc.eu/guides/uploads/steps/step7745_file24851_1250.jpg"
},
{
"@type": "HowToStep",
"name": "Step 2",
"text": "Gently heat the edges of the device with a hairdryer, focusing on the top and bottom where the adhesive is strongest.",
"image": "https://www.idoc.eu/guides/uploads/steps/step7746_file24841_1250.jpg"
},
{
"@type": "HowToStep",
"name": "Step 3",
"text": "Peel back the foil covering the display connector, unscrew the two cover plate screws, lift off the cover plate, and disconnect the display connector with a plastic spudger.",
"image": "https://www.idoc.eu/guides/uploads/steps/step7747_file24859_1250.jpg"
},
{
"@type": "HowToStep",
"name": "Step 4",
"text": "Remove any protective film from the new display and connect it by aligning the connector and pushing it into place until you hear a snap.",
"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": "Torx T3 Screwdriver"
},
{
"@type": "HowToTool",
"name": "Pry Tool"
}
],
"supply": [
{
"@type": "HowToSupply",
"name": "New Display"
},
{
"@type": "HowToSupply",
"name": "Adhesive"
}
]
}
Explanation of the JSON-LD structure:
@context and @type specify the schema type as a HowTo guide.
The name and description detail the title and overview of the guide.
The image field provides a visual representation of the overall repair process.
totalTime is set to "PT1H" (1 hour) based on the information from the HTML content.
Each step includes the step number, description, and relevant image URL.
tool lists all tools needed for the repair.
supply lists materials required for the repair, including the new display and any adhesive.
Make sure to validate this schema using Google's Structured Data Testing Tool before deploying it on your website to ensure it meets all necessary guidelines.