Skip to content

Commit

Permalink
Updated the Batch plugin's schema
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Jul 18, 2024
1 parent d06f6e3 commit a445dd6
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions schema/plugin/batch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,33 @@
"$id": "https://raw.githubusercontent.com/php-etl/satellite/master/schema/plugins/batch.json",
"title": "Batch plugin for Middleware Satellite",
"description": "A Satellite is a micro-service aimed at managing data pipelines and data processing",
"type": "object",
"additionalProperties": false,
"properties": {
"expression_language": { "$ref": "https://raw.githubusercontent.com/php-etl/satellite/master/schema/definitions.json#/$defs/expression_language" },
"merge": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"size": { "type": "integer" }
"expression_language": { "$ref": "https://raw.githubusercontent.com/php-etl/satellite/master/schema/definitions.json#/$defs/expression_language" },
"fork": {
"type": "object",
"properties": {
"foreach": { "$ref": "https://raw.githubusercontent.com/php-etl/satellite/master/schema/expressions.json#/$defs/bundled-expression" },
"do": { "$ref": "https://raw.githubusercontent.com/php-etl/satellite/master/schema/expressions.json#/$defs/bundled-expression" }
}
}
}
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"expression_language": { "$ref": "https://raw.githubusercontent.com/php-etl/satellite/master/schema/definitions.json#/$defs/expression_language" },
"merge": {
"type": "object",
"properties": {
"size": { "$ref": "https://raw.githubusercontent.com/php-etl/satellite/master/schema/expressions.json#/$defs/expression-or-number" }
}
}
}
}
}
]
}

0 comments on commit a445dd6

Please sign in to comment.