changedInput schema / properties / request / anyOf
Previous value: -[
- {
- "properties": {
- "features": {
- "anyOf": [
- {
- "properties": {
- "cheek": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "eye_bag": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "forehead": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "mouth": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "shape": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Cannot be all zero when using 'custom' type."
- },
- "global": {
- "anyOf": [
- {
- "properties": {
- "skin_smooth_color_intensity": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 50
- },
- "skin_smooth_strength": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 50
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "index": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0,
- "description": "The index of the person from detection task result.",
- "examples": [
- 0
- ]
- },
- "src_file_url": {
- "description": "Url of the file to run task. The url should be publicly accessible.",
- "examples": [
- "https://example.com/selfie.jpg"
- ],
- "type": "string"
- },
- "type": {
- "anyOf": [
- {
- "enum": [
- "auto"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": "custom"
- },
- "version": {
- "description": "Version of the features specification. Defaults to `\"1.0\"` unless otherwise specified.\n",
- "examples": [
- "1.0"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "src_file_url"
- ],
- "type": "object"
- },
- {
- "properties": {
- "features": {
- "description": "Cannot be all zero when using 'custom' type.",
- "properties": {
- "cheek": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "eye_bag": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "forehead": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "mouth": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "shape": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- }
- },
- "type": "object"
- },
- "global": {
- "anyOf": [
- {
- "properties": {
- "skin_smooth_color_intensity": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 50
- },
- "skin_smooth_strength": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 50
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "index": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0,
- "description": "The index of the person from detection task result.",
- "examples": [
- 0
- ]
- },
- "src_file_url": {
- "description": "Url of the file to run task. The url should be publicly accessible.",
- "examples": [
- "https://example.com/selfie.jpg"
- ],
- "type": "string"
- },
- "type": {
- "anyOf": [
- {
- "enum": [
- "custom"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": "custom"
- },
- "version": {
- "description": "Version of the features specification. Defaults to `\"1.0\"` unless otherwise specified.\n",
- "examples": [
- "1.0"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "features",
- "src_file_url"
- ],
- "type": "object"
- },
- {
- "properties": {
- "features": {
- "anyOf": [
- {
- "properties": {
- "cheek": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "eye_bag": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "forehead": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "mouth": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "shape": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Cannot be all zero when using 'custom' type."
- },
- "global": {
- "anyOf": [
- {
- "properties": {
- "skin_smooth_color_intensity": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 50
- },
- "skin_smooth_strength": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 50
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "index": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0,
- "description": "The index of the person from detection task result.",
- "examples": [
- 0
- ]
- },
- "src_file_id": {
- "description": "ID of file to run task. File ID from upload file API.",
- "examples": [
- "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
- ],
- "type": "string"
- },
- "type": {
- "anyOf": [
- {
- "enum": [
- "auto"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": "custom"
- },
- "version": {
- "description": "Version of the features specification. Defaults to `\"1.0\"` unless otherwise specified.\n",
- "examples": [
- "1.0"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "src_file_id"
- ],
- "type": "object"
- },
- {
- "properties": {
- "features": {
- "description": "Cannot be all zero when using 'custom' type.",
- "properties": {
- "cheek": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "eye_bag": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "forehead": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "mouth": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- },
- "shape": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0
- }
- },
- "type": "object"
- },
- "global": {
- "anyOf": [
- {
- "properties": {
- "skin_smooth_color_intensity": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 50
- },
- "skin_smooth_strength": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 50
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "index": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0,
- "description": "The index of the person from detection task result.",
- "examples": [
- 0
- ]
- },
- "src_file_id": {
- "description": "ID of file to run task. File ID from upload file API.",
- "examples": [
- "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
- ],
- "type": "string"
- },
- "type": {
- "anyOf": [
- {
- "enum": [
- "custom"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": "custom"
- },
- "version": {
- "description": "Version of the features specification. Defaults to `\"1.0\"` unless otherwise specified.\n",
- "examples": [
- "1.0"
- ],
- "type": "string"
- }
- },
- "required": [
- "version",
- "features",
- "src_file_id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "features": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cheek": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "eye_bag": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "forehead": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "mouth": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "shape": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Cannot be all zero when using 'custom' type."
+ },
+ "global": {
+ "anyOf": [
+ {
+ "properties": {
+ "skin_smooth_color_intensity": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 50
+ },
+ "skin_smooth_strength": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 50
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "index": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0,
+ "description": "The index of the person from detection task result.",
+ "examples": [
+ 0
+ ]
+ },
+ "src_file_url": {
+ "description": "Url of the file to run task. The url should be publicly accessible.",
+ "examples": [
+ "https://example.com/selfie.jpg"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "enum": [
+ "auto"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": "custom"
+ },
+ "version": {
+ "description": "Version of the features specification. Defaults to `\"1.0\"` unless otherwise specified.\n",
+ "examples": [
+ "1.0"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "src_file_url"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "features": {
+ "additionalProperties": false,
+ "description": "Cannot be all zero when using 'custom' type.",
+ "properties": {
+ "cheek": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "eye_bag": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "forehead": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "mouth": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "shape": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ }
+ },
+ "type": "object"
+ },
+ "global": {
+ "anyOf": [
+ {
+ "properties": {
+ "skin_smooth_color_intensity": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 50
+ },
+ "skin_smooth_strength": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 50
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "index": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0,
+ "description": "The index of the person from detection task result.",
+ "examples": [
+ 0
+ ]
+ },
+ "src_file_url": {
+ "description": "Url of the file to run task. The url should be publicly accessible.",
+ "examples": [
+ "https://example.com/selfie.jpg"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "enum": [
+ "custom"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": "custom"
+ },
+ "version": {
+ "description": "Version of the features specification. Defaults to `\"1.0\"` unless otherwise specified.\n",
+ "examples": [
+ "1.0"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "features",
+ "src_file_url"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "features": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cheek": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "eye_bag": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "forehead": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "mouth": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "shape": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Cannot be all zero when using 'custom' type."
+ },
+ "global": {
+ "anyOf": [
+ {
+ "properties": {
+ "skin_smooth_color_intensity": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 50
+ },
+ "skin_smooth_strength": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 50
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "index": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0,
+ "description": "The index of the person from detection task result.",
+ "examples": [
+ 0
+ ]
+ },
+ "src_file_id": {
+ "description": "ID of file to run task. File ID from upload file API.",
+ "examples": [
+ "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
+ ],
+ "type": "string"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "enum": [
+ "auto"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": "custom"
+ },
+ "version": {
+ "description": "Version of the features specification. Defaults to `\"1.0\"` unless otherwise specified.\n",
+ "examples": [
+ "1.0"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "src_file_id"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "features": {
+ "additionalProperties": false,
+ "description": "Cannot be all zero when using 'custom' type.",
+ "properties": {
+ "cheek": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "eye_bag": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "forehead": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "mouth": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ },
+ "shape": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0
+ }
+ },
+ "type": "object"
+ },
+ "global": {
+ "anyOf": [
+ {
+ "properties": {
+ "skin_smooth_color_intensity": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 50
+ },
+ "skin_smooth_strength": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 50
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "index": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0,
+ "description": "The index of the person from detection task result.",
+ "examples": [
+ 0
+ ]
+ },
+ "src_file_id": {
+ "description": "ID of file to run task. File ID from upload file API.",
+ "examples": [
+ "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
+ ],
+ "type": "string"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "enum": [
+ "custom"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": "custom"
+ },
+ "version": {
+ "description": "Version of the features specification. Defaults to `\"1.0\"` unless otherwise specified.\n",
+ "examples": [
+ "1.0"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "features",
+ "src_file_id"
+ ],
+ "type": "object"
+ }
+]