← Files note Workspace|ROGNALIAARCHIVED FILE
skills/note-image/references/schemas/image-brief-input.schema.json
2.52 KB · Oct 3, 2026 · 06:35 UTC
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:rognalia:note-workspace:schema:image-brief-input:1",
"title": "note Workspace image brief input",
"type": "object",
"additionalProperties": false,
"required": [
"schema_version", "request_id", "article_id", "article_revision",
"article_metadata_path", "kind", "selected_title", "reader_reason",
"article_hook", "subject_scene", "design_structure", "visual_style",
"exact_copy", "copy_rendering", "forbidden_elements", "reference_image_count",
"reference_guidance", "inline_approved", "insertion_heading",
"insertion_after", "generation_capability"
],
"properties": {
"schema_version": {"const": 1},
"request_id": {"type": "string", "pattern": "^[a-z0-9][a-z0-9._:-]{7,127}$"},
"article_id": {"type": "string", "pattern": "^article-[a-z0-9][a-z0-9-]{2,63}$"},
"article_revision": {"type": "integer", "minimum": 1},
"article_metadata_path": {"type": "string", "pattern": "^articles/drafts/article-[a-z0-9][a-z0-9-]{2,63}-r[0-9]{3}\\.json$"},
"kind": {"enum": ["thumbnail", "inline"]},
"selected_title": {"type": "string", "minLength": 1, "maxLength": 200},
"reader_reason": {"type": "string", "minLength": 1, "maxLength": 500},
"article_hook": {"type": "string", "minLength": 1, "maxLength": 1000},
"subject_scene": {"type": "string", "minLength": 1, "maxLength": 1000},
"design_structure": {"type": "string", "minLength": 1, "maxLength": 1000},
"visual_style": {"type": "string", "minLength": 1, "maxLength": 500},
"exact_copy": {
"oneOf": [
{"type": "null"},
{"type": "string", "minLength": 1, "maxLength": 32}
]
},
"copy_rendering": {"enum": ["same_generation", "none"]},
"forbidden_elements": {
"type": "array",
"maxItems": 20,
"uniqueItems": true,
"items": {"type": "string", "minLength": 1, "maxLength": 200}
},
"reference_image_count": {"type": "integer", "minimum": 0, "maximum": 5},
"reference_guidance": {
"oneOf": [
{"type": "null"},
{"type": "string", "minLength": 1, "maxLength": 1000}
]
},
"inline_approved": {"type": "boolean"},
"insertion_heading": {
"oneOf": [
{"type": "null"},
{"type": "string", "minLength": 1, "maxLength": 300}
]
},
"insertion_after": {
"oneOf": [
{"type": "null"},
{"type": "string", "minLength": 1, "maxLength": 500}
]
},
"generation_capability": {"enum": ["available", "unavailable"]}
}
}
SHA-256: 817f07f0db165e9c24da938eda25544a210cf0d9e34d4843e58b0c10b72d9f3b