Przejdź do treści

Whisper Redaction Prepare Response v1

Source schema: doc/schemas/whisper-redaction-prepare-response.v1.schema.json

Host-capability response carrying a local redaction draft for Whisper intake. The response is private workflow data; it does not approve publication and is not an Agora record.

Governing Basis

Project Lineage

Stories

Fields

Field Required Shape Description
schema yes const: whisper-redaction-prepare-response.v1
schema/v yes const: 1
status yes enum: draft-ready, needs-human-review, unsafe-output, policy-denied, model-unavailable, retryable-timeout, failed
redaction/draft no object | array | string | number | boolean | null Provider-produced draft. Required when status is draft-ready or needs-human-review. The draft is local review material, not a publishable Agora record by itself.
diagnostics no array
confidence no number
provider/id no string
provider/runtime-id no string
profile/id no string
retryable no boolean
reason no string

Conditional Rules

Rule 1

When:

{
  "properties": {
    "status": {
      "enum": [
        "draft-ready",
        "needs-human-review"
      ]
    }
  },
  "required": [
    "status"
  ]
}

Then:

{
  "required": [
    "redaction/draft"
  ]
}

Field Semantics

schema

  • Required: yes
  • Shape: const: whisper-redaction-prepare-response.v1

schema/v

  • Required: yes
  • Shape: const: 1

status

  • Required: yes
  • Shape: enum: draft-ready, needs-human-review, unsafe-output, policy-denied, model-unavailable, retryable-timeout, failed

redaction/draft

  • Required: no
  • Shape: object | array | string | number | boolean | null

Provider-produced draft. Required when status is draft-ready or needs-human-review. The draft is local review material, not a publishable Agora record by itself.

diagnostics

  • Required: no
  • Shape: array

confidence

  • Required: no
  • Shape: number

provider/id

  • Required: no
  • Shape: string

provider/runtime-id

  • Required: no
  • Shape: string

profile/id

  • Required: no
  • Shape: string

retryable

  • Required: no
  • Shape: boolean

reason

  • Required: no
  • Shape: string