{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Resource identifier returned by the operation."
    },
    "workspace_id": {
      "type": "string",
      "description": "Workspace that owns this record."
    },
    "project_id": {
      "type": "string",
      "description": "Project that owns this record."
    },
    "resource_type": {
      "type": "string",
      "enum": [
        "watch",
        "target",
        "project"
      ],
      "description": "resource type recorded for this result."
    },
    "resource_id": {
      "type": "string",
      "description": "resource id recorded for this result."
    },
    "requested_at": {
      "type": "string",
      "description": "requested at recorded for this result."
    },
    "requested_by": {
      "type": "string",
      "description": "requested by recorded for this result."
    },
    "state": {
      "type": "string",
      "enum": [
        "pending",
        "completed"
      ],
      "description": "Saved lifecycle or evidence state, as enumerated for this record."
    },
    "replayed": {
      "description": "True when the response reuses an earlier request with the same idempotency value.",
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "workspace_id",
    "project_id",
    "resource_type",
    "resource_id",
    "requested_at",
    "requested_by",
    "state"
  ],
  "additionalProperties": {}
}
