Creator/Reviewer JSON Schemas¶
This reference describes the JSON payloads written by the creator and reviewer steps in the review loop.
Schema source and file locations¶
Schema helpers:
src/podcast_pipeline/protocol_schemas.py(backed by models insrc/podcast_pipeline/domain/models.py).Creator candidate files:
copy/candidates/<asset_id>/candidate_<uuid>.json.Reviewer iteration files:
copy/reviews/<asset_id>/iteration_XX.<reviewer>.json(oriteration_XX.jsonif the reviewer name is omitted).
Creator candidate (Candidate)¶
Required fields:
asset_id(string, pattern[a-z][a-z0-9_]*)content(string)
Optional or filled by the system:
candidate_id(UUID)format(markdown|plain|html, defaultmarkdown)created_at(ISO 8601 timestamp)provenance(list of provenance entries)
Provenance entry fields:
Required:
kind,refOptional:
created_at,metadata
Reviewer iteration (ReviewIteration)¶
Required fields:
iteration(integer >= 1)verdict(ok|changes_requested|needs_human)
Optional or filled by the system:
issues(list of issue objects)reviewer(string or null)created_at(ISO 8601 timestamp)summary(string or null)provenance(list of provenance entries)
Issue entry fields:
Required:
messageOptional:
issue_id(UUID),severity(error|warning),code,field
Constraints:
verdict=okcannot include issues withseverity=error.