{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mentionry-com/json-schema/mentionry-com-action-current-schema.json",
  "title": "ActionCurrent",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mentionry-com-openapi.json#/components/schemas/ActionCurrent",
  "type": "object",
  "required": [
    "actionId",
    "state",
    "stateVersion",
    "isCurrentCandidate"
  ],
  "properties": {
    "actionId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._:-]{1,100}$"
    },
    "state": {
      "type": "string",
      "enum": [
        "suggested",
        "reviewed",
        "prepared",
        "implemented",
        "checked",
        "rejected",
        "archived"
      ]
    },
    "stateVersion": {
      "type": "string",
      "pattern": "^[0-9a-f]{64}$"
    },
    "pageUrl": {
      "type": "string"
    },
    "preparationStatus": {
      "type": [
        "string",
        "null"
      ]
    },
    "documentId": {
      "type": [
        "string",
        "null"
      ]
    },
    "implementedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "isCurrentCandidate": {
      "type": "boolean"
    }
  },
  "additionalProperties": true
}