tercul-backend/content/blog/post3.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.7 KiB
JSON

{
"contentTypeSlug": "blog",
"title": "The Art of Mindful Meditation",
"slug": "art-of-mindful-meditation",
"status": "published",
"content": {
"excerpt": "Learn the basics of mindful meditation and how it can help you reduce stress, improve focus, and cultivate a sense of inner peace.",
"content": "<p>In our fast-paced world, it's easy to get caught up in the chaos. Mindful meditation offers a powerful tool to ground yourself in the present moment and find a sense of calm amidst the noise.</p><p>This post will guide you through the fundamental principles of mindfulness and provide simple exercises to help you start your meditation practice.</p>",
"publishDate": "2024-09-22",
"author": "Isabella Rossi",
"tags": ["Mindfulness", "Meditation", "Wellness"],
"meta_title": "A Beginner's Guide to Mindful Meditation",
"meta_description": "Start your journey with mindful meditation and discover its many benefits."
},
"languageCode": "en-US",
"isDefault": true,
"id": "post-3",
"translation_group_id": "tg-mindful-meditation",
"lifecycle": {
"state": "published",
"published_at": "2024-09-22T10:00:00Z",
"timezone": "UTC"
},
"seo": {
"canonical": "https://example.com/blog/art-of-mindful-meditation",
"og_title": "The Art of Mindful Meditation",
"og_description": "Learn the basics of mindful meditation.",
"twitter_card": "summary_large_image"
},
"taxonomy": {
"categories": ["Wellness", "Lifestyle"],
"featured": true
},
"relations": {
"related_posts": ["post-2", "post-4"]
},
"assets": {
"hero_image": {
"url": "https://example.com/images/meditation.jpg",
"alt": "A person meditating peacefully in a serene setting."
}
}
}