{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fareeqy-com/json-schema/fareeqy-com-discussion-schema.json",
  "title": "Discussion",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fareeqy-com-openapi.yaml#/components/schemas/Discussion",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The majlis topic ref. A slug is still accepted anywhere this is passed back."
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Absolute address of the page a person opens in فريقي."
    },
    "title": {
      "type": "string"
    },
    "body": {
      "type": [
        "string",
        "null"
      ],
      "description": "Plain-text rendering of the rich-text body."
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "author": {
      "type": [
        "string",
        "null"
      ]
    },
    "replies_count": {
      "type": "integer"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}