Skip to content

Commit

Permalink
ENH: Allow all value strands to be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Dec 12, 2024
1 parent 9a3399e commit 79771c8
Showing 1 changed file with 47 additions and 6 deletions.
53 changes: 47 additions & 6 deletions twined/schema/twine_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,23 @@
]
}
},
"configuration_manifest": {"$ref": "#/$defs/manifest"},
"configuration_manifest": {
"$ref": "#/$defs/manifest"
},
"configuration_values_schema": {
"type": "object",
"required": ["properties"]
"properties": {
"properties": {
"type": "object"
},
"optional": {
"type": "boolean",
"description": "This should be `true` if the configuration values are optional."
}
},
"required": [
"properties"
]
},
"credentials": {
"type": "array",
Expand All @@ -122,13 +135,41 @@
"additionalProperties": false
}
},
"input_manifest": {"$ref": "#/$defs/manifest"},
"input_manifest": {
"$ref": "#/$defs/manifest"
},
"input_values_schema": {
"type": "object"
"type": "object",
"properties": {
"properties": {
"type": "object"
},
"optional": {
"type": "boolean",
"description": "This should be `true` if the input values are optional."
}
},
"required": [
"properties"
]
},
"output_manifest": {
"$ref": "#/$defs/manifest"
},
"output_manifest": {"$ref": "#/$defs/manifest"},
"output_values_schema": {
"type": "object"
"type": "object",
"properties": {
"properties": {
"type": "object"
},
"optional": {
"type": "boolean",
"description": "This should be `true` if the output values are optional."
}
},
"required": [
"properties"
]
}
}
}

0 comments on commit 79771c8

Please sign in to comment.