test(workflow): complete observable baseline (#21)
This commit is contained in:
@@ -0,0 +1,199 @@
|
||||
[
|
||||
{
|
||||
"name": "reviewer_select",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session", "title", "options"],
|
||||
"properties": {
|
||||
"session": { "type": "string" },
|
||||
"title": { "type": "string" },
|
||||
"options": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "label"],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"label": { "type": "string" },
|
||||
"decision": {
|
||||
"type": "object",
|
||||
"required": ["type", "subject"],
|
||||
"properties": {
|
||||
"type": { "type": "string" },
|
||||
"subject": { "type": "string" },
|
||||
"detail": { "type": "string" },
|
||||
"rationale": { "type": "string" }
|
||||
}
|
||||
},
|
||||
"recommended": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"intro": { "type": "string" },
|
||||
"advance": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "reviewer_datamart",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session"],
|
||||
"properties": { "session": { "type": "string" } }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "reviewer_decide",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session", "title", "options"],
|
||||
"properties": {
|
||||
"session": { "type": "string" },
|
||||
"title": { "type": "string" },
|
||||
"options": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "label", "decision"],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"label": { "type": "string" },
|
||||
"description": { "type": "string" },
|
||||
"decision": {
|
||||
"type": "object",
|
||||
"required": ["type", "subject"],
|
||||
"properties": {
|
||||
"type": { "type": "string" },
|
||||
"subject": { "type": "string" },
|
||||
"detail": { "type": "string" },
|
||||
"rationale": { "type": "string" }
|
||||
}
|
||||
},
|
||||
"recommended": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"allow_empty": { "type": "boolean" },
|
||||
"advance": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "reviewer_schema_linking",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session", "title", "tables"],
|
||||
"properties": {
|
||||
"session": { "type": "string" },
|
||||
"title": { "type": "string" },
|
||||
"tables": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "name", "kind"],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"name": { "type": "string" },
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{ "type": "string", "const": "promote" },
|
||||
{ "type": "string", "const": "exclude" }
|
||||
]
|
||||
},
|
||||
"rationale": { "type": "string" },
|
||||
"suggested_columns": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" }
|
||||
},
|
||||
"recommended": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"advance": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "reviewer_confirm",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session", "kind", "title", "artifact"],
|
||||
"properties": {
|
||||
"session": { "type": "string" },
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{ "type": "string", "const": "phase" },
|
||||
{ "type": "string", "const": "cte_plan" },
|
||||
{ "type": "string", "const": "cte_result" },
|
||||
{ "type": "string", "const": "sql" }
|
||||
]
|
||||
},
|
||||
"title": { "type": "string" },
|
||||
"artifact": {
|
||||
"type": "object",
|
||||
"required": ["kind", "data"],
|
||||
"properties": {
|
||||
"kind": { "type": "string" },
|
||||
"data": {},
|
||||
"version": { "type": "number" }
|
||||
}
|
||||
},
|
||||
"names": { "type": "array", "items": { "type": "string" } }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "reviewer_memory_promote",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session"],
|
||||
"properties": { "session": { "type": "string" } }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "rewrite_question",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session", "question"],
|
||||
"properties": {
|
||||
"session": { "type": "string" },
|
||||
"question": { "type": "string" },
|
||||
"assumptions": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "write_schema_linking",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session", "schema_linking"],
|
||||
"properties": {
|
||||
"session": { "type": "string" },
|
||||
"schema_linking": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "write_cte_sql",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session", "name", "sql"],
|
||||
"properties": {
|
||||
"session": { "type": "string" },
|
||||
"name": { "type": "string" },
|
||||
"sql": { "type": "string" }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "write_final_sql",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"required": ["session", "sql"],
|
||||
"properties": {
|
||||
"session": { "type": "string" },
|
||||
"sql": { "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user