{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/genko-me/json-schema/genko-me-content-entry-schema.json",
  "title": "ContentEntry",
  "description": "A single content entry. User-defined fields appear directly at the top level, keyed by field ID (the value's shape depends on the field type and depth; see https://docs.genko.me/api-reference/values). If fields is specified, only id and the specified keys are included.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/genko-me-openapi.json#/components/schemas/ContentEntry",
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The immutable public content ID (12-character alphanumeric)."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Creation timestamp"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Update timestamp"
    },
    "publishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Publication timestamp. May be null, such as during a draft preview."
    },
    "_langs": {
      "type": "object",
      "description": "Only present with include=_langs. Not added to expanded referenced entries.",
      "required": [
        "current",
        "available"
      ],
      "properties": {
        "current": {
          "type": "string",
          "description": "The language actually returned (the main language when lang_fallback fell back)."
        },
        "available": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Languages with a published version of this entry, main language first. Sub languages are listed only for multilingual APIs."
        }
      }
    }
  },
  "additionalProperties": true
}