Make product-data skill portable
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"records": {"type": "array"},
|
||||
"records_path": {"type": "string"},
|
||||
"output_path": {"type": "string"},
|
||||
"output_dir": {"type": "string"},
|
||||
"output_format": {
|
||||
"type": "string",
|
||||
"enum": ["jsonl", "json"],
|
||||
"default": "jsonl"
|
||||
},
|
||||
"require_validation_ok": {"type": "boolean", "default": true},
|
||||
"overwrite": {"type": "boolean", "default": true}
|
||||
},
|
||||
"anyOf": [
|
||||
{"required": ["records"]},
|
||||
{"required": ["records_path"]}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ok": {"type": "boolean"},
|
||||
"output_path": {"type": "string"},
|
||||
"output_format": {"type": "string"},
|
||||
"record_count": {"type": "integer"},
|
||||
"bytes_written": {"type": "integer"},
|
||||
"validation": {"type": "object"},
|
||||
"error": {"type": "string"}
|
||||
},
|
||||
"required": ["ok"]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"draft_text": {"type": "string"},
|
||||
"draft_path": {"type": "string"},
|
||||
"batch_id": {"type": "string", "default": "aabbccdd"},
|
||||
"source_type": {
|
||||
"type": "string",
|
||||
"enum": ["generated", "online", "manual", "mixed"],
|
||||
"default": "generated"
|
||||
},
|
||||
"base_timestamp": {"type": "integer"},
|
||||
"timestamp_step_ms": {"type": "integer", "minimum": 1, "default": 60000},
|
||||
"default_request_id": {"type": "string", "default": "aabbccdd"}
|
||||
},
|
||||
"anyOf": [
|
||||
{"required": ["draft_text"]},
|
||||
{"required": ["draft_path"]}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ok": {"type": "boolean"},
|
||||
"records": {"type": "array"},
|
||||
"warnings": {"type": "array", "items": {"type": "string"}},
|
||||
"error": {"type": "string"}
|
||||
},
|
||||
"required": ["ok"]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"records": {"type": "array"},
|
||||
"records_path": {"type": "string"}
|
||||
},
|
||||
"anyOf": [
|
||||
{"required": ["records"]},
|
||||
{"required": ["records_path"]}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ok": {"type": "boolean"},
|
||||
"error_count": {"type": "integer"},
|
||||
"warning_count": {"type": "integer"},
|
||||
"errors": {"type": "array"},
|
||||
"warnings": {"type": "array"},
|
||||
"error": {"type": "string"}
|
||||
},
|
||||
"required": ["ok"]
|
||||
}
|
||||
Reference in New Issue
Block a user