tercul-backend/content/blog/post5.json
google-labs-jules[bot] 4c2f20c33d feat: Implement blog schema and example content
This commit introduces a new blog feature by implementing a JSON schema for blog posts and providing five example content files.

Key changes:
- Created a new directory structure for schemas and content (`schemas/`, `content/blog/`).
- Implemented a JSON schema for blog posts, split into `blog.json` and `_defs.json` for reusability.
- Added five example blog post files with full, realistic content.
- Included a Python script (`validate.py`) to validate the example content against the schema.
2025-09-07 23:22:36 +00:00

44 lines
1.8 KiB
JSON

{
"contentTypeSlug": "blog",
"title": "The Rise of Remote Work",
"slug": "rise-of-remote-work",
"status": "published",
"content": {
"excerpt": "Remote work is here to stay. In this post, we'll explore the benefits and challenges of working from home and how to create a productive and healthy remote work environment.",
"content": "<p>The way we work has been fundamentally transformed in recent years. Remote work has gone from a niche perk to a mainstream reality for millions of people around the world.</p><p>This shift has brought with it a host of new opportunities and challenges. We'll discuss how to stay focused and motivated while working from home, how to maintain a healthy work-life balance, and how companies can build strong remote teams.</p>",
"publishDate": "2024-09-28",
"author": "Chloe Davis",
"tags": ["Remote Work", "Productivity", "Future of Work"],
"meta_title": "Navigating the World of Remote Work",
"meta_description": "Learn how to thrive in a remote work environment."
},
"languageCode": "en-US",
"isDefault": true,
"id": "post-5",
"translation_group_id": "tg-remote-work",
"lifecycle": {
"state": "published",
"published_at": "2024-09-28T10:00:00Z",
"timezone": "UTC"
},
"seo": {
"canonical": "https://example.com/blog/rise-of-remote-work",
"og_title": "The Rise of Remote Work",
"og_description": "The benefits and challenges of working from home.",
"twitter_card": "summary_large_image"
},
"taxonomy": {
"categories": ["Work", "Productivity"],
"featured": true
},
"relations": {
"related_posts": ["post-2", "post-4"]
},
"assets": {
"hero_image": {
"url": "https://example.com/images/remote-work.jpg",
"alt": "A person working on a laptop in a comfortable home office setting."
}
}
}