{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commentary-dev/json-schema/commentary-dev-draft-revision-schema.json",
  "title": "DraftRevision",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commentary-dev-draft-reviews-api-openapi.yml#/components/schemas/DraftRevision",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "revisionNumber": {
      "type": "integer"
    },
    "label": {
      "type": "string"
    },
    "origin": {
      "type": "string"
    },
    "summary": {
      "type": [
        "string",
        "null"
      ]
    },
    "agentAlias": {
      "type": [
        "string",
        "null"
      ],
      "description": "Stable per-agent identifier for agent-authored activity. clientName is not a substitute; the connected human identity remains visible."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}