NewsArticle

News article data model for MyCuppa content system

Schema

| Property | Type | Required | Description | |----------|------|----------|-------------| | id | string (uuid) | ✓ | Unique identifier for the article | | slug | string | ✓ | URL-friendly slug for the article | | title | string | ✓ | Article title | | description | string | ✓ | Brief article summary | | content | string | ✓ | Full article content in markdown format | | category | enum | ✓ | Article category | | tags | string[] | | Article tags for filtering and search | | source | string | ✓ | Original source of the article | | source_url | string (uri) | | URL to original article | | author | string | | Article author name | | featured | boolean | | Whether article should be featured | | published | boolean | | Whether article is published | | published_at | string (date-time) | ✓ | Publication date and time | | created_at | string (date-time) | | Creation timestamp | | updated_at | string (date-time) | | Last update timestamp |

Example

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "slug": "openai-announces-gpt-5",
  "title": "OpenAI Announces GPT-5 with Revolutionary Capabilities",
  "description": "OpenAI unveils GPT-5, their most advanced language model to date with unprecedented reasoning and multimodal abilities.",
  "content": "# OpenAI Announces GPT-5\n\nOpenAI has announced GPT-5...",
  "category": "ai",
  "tags": [
    "gpt",
    "openai",
    "llm",
    "artificial-intelligence"
  ],
  "source": "OpenAI Blog",
  "source_url": "https://openai.com/blog/gpt-5",
  "author": "OpenAI Team",
  "featured": true,
  "published": true,
  "published_at": "2025-11-06T10:00:00Z",
  "created_at": "2025-11-06T09:00:00Z",
  "updated_at": "2025-11-06T09:30:00Z"
}

Enums

category

ai | frameworks | tools | industry | research | projects | mobile-ios | web | development

Found an issue with this page? Report it on GitHub