{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Crenet AI Asset Ledger Schema", "description": "Schema for AI asset tracking, supporting hybrid img2img and human post-edit pipelines.", "type": "array", "items": { "type": "object", "required": [ "file_name", "generation_type", "timestamp_utc" ], "properties": { "file_name": { "type": "string", "description": "Path or filename of the final shipped asset in the repository." }, "generation_type": { "type": "string", "enum": [ "pure_ai", "sketch_to_ai", "ai_to_post_edit", "sketch_to_ai_to_post_edit" ], "description": "The specific pipeline methodology used to create the asset." }, "base_human_sketch_ref": { "type": "string", "description": "Reference path to the original human concept art (required for img2img)." }, "ai_generation_data": { "type": "object", "description": "Metadata concerning the AI generation phase.", "properties": { "prompt": { "type": "string", "description": "Full prompt text used for AI generation." }, "model_used": { "type": "string", "description": "The AI model used (e.g., Stable Diffusion XL, Midjourney v6)." }, "seed": { "type": "string", "description": "The generation seed for reproducibility." } }, "required": [ "prompt" ] }, "human_post_edit_data": { "type": "object", "description": "Metadata concerning human authorship applied after generation.", "properties": { "source_file_ref": { "type": "string", "description": "Path to the layered project file (e.g., .psd, .kra) proving human modification." }, "modification_description": { "type": "string", "description": "Brief summary of human edits (e.g., 'repainted cockpit highlights, adjusted silhouette')." } }, "required": [ "source_file_ref", "modification_description" ] }, "timestamp_utc": { "type": "string", "format": "date-time", "description": "UTC timestamp of the ledger entry creation in ISO 8601 format." } }, "additionalProperties": false } }