Stabilize product data export flow
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
"default": "jsonl"
|
||||
},
|
||||
"require_validation_ok": {"type": "boolean", "default": true},
|
||||
"overwrite": {"type": "boolean", "default": true}
|
||||
"overwrite": {"type": "boolean", "default": true},
|
||||
"export_table": {"type": "boolean", "default": true}
|
||||
},
|
||||
"anyOf": [
|
||||
{"required": ["records"]},
|
||||
|
||||
@@ -4,8 +4,11 @@
|
||||
"ok": {"type": "boolean"},
|
||||
"output_path": {"type": "string"},
|
||||
"output_format": {"type": "string"},
|
||||
"table_output_path": {"type": "string"},
|
||||
"table_output_format": {"type": "string"},
|
||||
"record_count": {"type": "integer"},
|
||||
"bytes_written": {"type": "integer"},
|
||||
"table_bytes_written": {"type": "integer"},
|
||||
"validation": {"type": "object"},
|
||||
"error": {"type": "string"}
|
||||
},
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"records": {"type": "array"},
|
||||
"records_path": {"type": "string"},
|
||||
"output_path": {"type": "string"},
|
||||
"output_dir": {"type": "string"},
|
||||
"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"]
|
||||
}
|
||||
Reference in New Issue
Block a user