{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/iterruptivo-com/json-schema/iterruptivo-com-article-response-schema.json",
  "title": "ArticleResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/iterruptivo-com-openapi.json#/components/schemas/ArticleResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "excerpt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Excerpt"
    },
    "content": {
      "type": "string",
      "title": "Content"
    },
    "category": {
      "type": "string",
      "title": "Category"
    },
    "author": {
      "type": "string",
      "title": "Author"
    },
    "author_avatar": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Author Avatar"
    },
    "cover_image": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cover Image"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tags"
    },
    "locale": {
      "type": "string",
      "title": "Locale"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "published_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Published At"
    },
    "reading_time_minutes": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reading Time Minutes"
    },
    "seo_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seo Title"
    },
    "seo_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seo Description"
    },
    "view_count": {
      "type": "integer",
      "title": "View Count"
    },
    "created_by": {
      "type": "string",
      "title": "Created By"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "translations": {
      "items": {
        "$ref": "#/$defs/ArticleTranslation"
      },
      "type": "array",
      "title": "Translations"
    }
  },
  "type": "object",
  "required": [
    "id",
    "slug",
    "title",
    "excerpt",
    "content",
    "category",
    "author",
    "author_avatar",
    "cover_image",
    "tags",
    "locale",
    "status",
    "published_at",
    "reading_time_minutes",
    "seo_title",
    "seo_description",
    "view_count",
    "created_by",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "ArticleTranslation": {
      "properties": {
        "locale": {
          "type": "string",
          "title": "Locale"
        },
        "slug": {
          "type": "string",
          "title": "Slug"
        }
      },
      "type": "object",
      "required": [
        "locale",
        "slug"
      ],
      "title": "ArticleTranslation"
    }
  }
}