changedInput schema / properties / source / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "run_id": {
- "pattern": "^run_[a-zA-Z0-9]+$",
- "type": "string"
- }
- },
- "required": [
- "run_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "upload_id": {
- "pattern": "^upl_[a-f0-9]{32}$",
- "type": "string"
- }
- },
- "required": [
- "upload_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "url": {
- "format": "starts_with",
- "maxLength": 2048,
- "pattern": "^https:\\/\\/.*",
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "base64": {
- "maxLength": 933336,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9+/]+={0,2}$",
- "type": "string"
- },
- "media_type": {
- "enum": [
- "image/png",
- "image/jpeg"
- ],
- "type": "string"
- }
- },
- "required": [
- "base64",
- "media_type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "put": {
- "additionalProperties": false,
- "properties": {
- "bytes": {
- "exclusiveMinimum": 0,
- "maximum": 104857600,
- "type": "integer"
- },
- "media_type": {
- "enum": [
- "image/png",
- "image/jpeg",
- "video/mp4"
- ],
- "type": "string"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "media_type",
- "bytes",
- "sha256"
- ],
- "type": "object"
- }
- },
- "required": [
- "put"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "path": {
- "description": "Absolute or cwd-relative path to a PNG, JPEG or MP4 file; only on a server running on your machine",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "path"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "run_id": {
+ "pattern": "^run_[a-zA-Z0-9]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "run_id"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "upload_id": {
+ "pattern": "^upl_[a-f0-9]{32}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "upload_id"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "kind": {
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "format": "starts_with",
+ "maxLength": 2048,
+ "pattern": "^https:\\/\\/.*",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "base64": {
+ "maxLength": 933336,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9+/]+={0,2}$",
+ "type": "string"
+ },
+ "media_type": {
+ "enum": [
+ "image/png",
+ "image/jpeg"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "base64",
+ "media_type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "put": {
+ "properties": {
+ "bytes": {
+ "exclusiveMinimum": 0,
+ "maximum": 104857600,
+ "type": "integer"
+ },
+ "media_type": {
+ "enum": [
+ "image/png",
+ "image/jpeg",
+ "video/mp4"
+ ],
+ "type": "string"
+ },
+ "sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "media_type",
+ "bytes",
+ "sha256"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "put"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "path": {
+ "description": "Absolute or cwd-relative path to a PNG, JPEG or MP4 file;",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object"
+ }
+]