changedInput schema / allOf
Previous value: -[
- {
- "if": {
- "properties": {
- "action": {
- "enum": [
- "record-red",
- "record-green",
- "complete"
- ]
- }
- },
- "required": [
- "action"
- ]
- },
- "then": {
- "required": [
- "evidence"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "action": {
- "const": "complete"
- }
- },
- "required": [
- "action"
- ]
- },
- "then": {
- "required": [
- "affectedArtifacts"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "action": {
- "const": "block"
- }
- },
- "required": [
- "action"
- ]
- },
- "then": {
- "required": [
- "blocker"
- ]
- }
- }
-]New value: +[
+ {
+ "if": {
+ "properties": {
+ "action": {
+ "enum": [
+ "record-red",
+ "record-green",
+ "complete"
+ ]
+ }
+ },
+ "required": [
+ "action"
+ ]
+ },
+ "then": {
+ "anyOf": [
+ {
+ "required": [
+ "evidence"
+ ]
+ },
+ {
+ "required": [
+ "run"
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "action": {
+ "const": "complete"
+ }
+ },
+ "required": [
+ "action"
+ ]
+ },
+ "then": {
+ "required": [
+ "affectedArtifacts"
+ ]
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "action": {
+ "const": "block"
+ }
+ },
+ "required": [
+ "action"
+ ]
+ },
+ "then": {
+ "required": [
+ "blocker"
+ ]
+ }
+ }
+]
addedInput schema / properties / run
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "argv": {
+ "items": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "pattern": "^[^\\u0000\\r\\n]+$",
+ "type": "string"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "argv"
+ ],
+ "type": "object"
+}