{ "$id": "https://apify.com/schemas/v1/input.json", "title": "JSON schema of Apify Actor input", "type": "object", "properties": { "$schema": { "type": "string" }, "title": { "type": "string" }, "schemaVersion": { "type": "integer", "minimum": 1, "maximum": 1 }, "description": { "type": "string" }, "type": { "enum": ["object"] }, "required": { "type": "array", "minItems": 0, "items": { "type": "string" }, "uniqueItems": true }, "additionalProperties": { "type": "boolean" }, "properties": { "type": "object", "patternProperties": { "^": { "oneOf": [ { "$ref": "#/definitions/stringProperty" }, { "$ref": "#/definitions/stringEnumProperty" }, { "$ref": "#/definitions/arrayProperty" }, { "$ref": "#/definitions/objectProperty" }, { "$ref": "#/definitions/integerProperty" }, { "$ref": "#/definitions/numberProperty" }, { "$ref": "#/definitions/booleanProperty" }, { "$ref": "#/definitions/resourceProperty" }, { "$ref": "#/definitions/resourceArrayProperty" }, { "$ref": "#/definitions/anyProperty" } ] } } } }, "additionalProperties": false, "required": ["title", "type", "properties", "schemaVersion"], "definitions": { "stringEnumProperty": { "title": "Enum property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["string"] }, "editor": { "enum": ["select"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "string" }, "example": { "type": "string" }, "nullable": { "type": "boolean" }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "enum": { "type": "array", "items": { "type": "string" }, "minItems": 1, "uniqueItems": true }, "enumTitles": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description", "enum"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "string" } } }, "else": { "properties": { "default": { "type": ["string", "null"] } } } }, "stringProperty": { "title": "String property", "type": "object", "additionalProperties": true, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "nullable": { "type": "boolean" }, "editor": { "enum": ["javascript", "python", "textfield", "textarea", "datepicker", "select", "fileupload", "hidden"] }, "isSecret": { "type": "boolean" } }, "required": ["type", "title", "description", "editor"], "if": { "properties": { "isSecret": { "not": { "const": true } } } }, "then": { "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "string" }, "example": { "type": "string" }, "pattern": { "type": "string" }, "nullable": { "type": "boolean" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "isSecret": { "enum": [false] }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "unevaluatedProperties": false, "allOf": [ { "if": { "properties": { "editor": { "const": "datepicker" } } }, "then": { "properties": { "editor": { "enum": ["datepicker"] }, "dateType": { "enum": ["absolute", "relative", "absoluteOrRelative"] } } }, "else": { "properties": { "editor": { "enum": ["javascript", "python", "textfield", "textarea", "select", "fileupload", "hidden"] } } } }, { "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "string" } } }, "else": { "properties": { "default": { "type": ["string", "null"] } } } }, { "if": { "required": ["editor"], "properties": { "editor": { "const": "select" } } }, "then": { "properties": { "enumSuggestedValues": { "type": "array", "items": { "type": "string" }, "minItems": 1, "uniqueItems": true }, "enumTitles": { "type": "array", "items": { "type": "string" }, "minItems": 1 } }, "required": ["enumSuggestedValues"] } } ] }, "else": { "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "string" }, "example": { "type": "string" }, "nullable": { "type": "boolean" }, "editor": { "enum": ["textfield", "textarea", "hidden"] }, "isSecret": { "enum": [true] }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } } } }, "arrayProperty": { "title": "Array property", "type": "object", "properties": { "type": { "enum": ["array"] }, "editor": { "enum": ["json", "requestListSources", "pseudoUrls", "globs", "keyValue", "stringList", "fileupload", "select", "schemaBased", "hidden"] }, "isSecret": { "type": "boolean" } }, "required": ["type", "title", "description", "editor"], "if": { "properties": { "isSecret": { "not": { "const": true } } } }, "then": { "properties": { "type": { "enum": ["array"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "array" }, "example": { "type": "array" }, "nullable": { "type": "boolean" }, "minItems": { "type": "integer" }, "maxItems": { "type": "integer" }, "uniqueItems": { "type": "boolean" }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "placeholderKey": { "type": "string" }, "placeholderValue": { "type": "string" }, "isSecret": { "enum": [false] }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "unevaluatedProperties": false, "allOf": [ { "oneOf": [ { "required": ["editor"], "properties": { "editor": { "enum": ["select"] }, "items": { "$ref": "#/definitions/arrayItemsSelect" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["keyValue"] }, "items": { "$ref": "#/definitions/arrayItemsKeyValue" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["fileupload"] }, "items": { "$ref": "#/definitions/arrayItemsFileupload" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["stringList"] }, "items": { "$ref": "#/definitions/arrayItemsStringList" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["globs"] }, "items": { "$ref": "#/definitions/arrayItemsGlobs" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["pseudoUrls"] }, "items": { "$ref": "#/definitions/arrayItemsPseudoUrls" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["requestListSources"] }, "items": { "$ref": "#/definitions/arrayItemsRequestListSources" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["json", "schemaBased", "hidden"] }, "items": { "$ref": "#/definitions/arrayItems" } } }, { "not": { "required": ["editor"] }, "properties": { "items": { "$ref": "#/definitions/arrayItems" } } } ] }, { "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "array" } } }, "else": { "properties": { "default": { "type": ["array", "null"] } } } } ] }, "else": { "additionalProperties": false, "properties": { "type": { "enum": ["array"] }, "editor": { "enum": ["json", "hidden"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "array" }, "example": { "type": "array" }, "nullable": { "type": "boolean" }, "minItems": { "type": "integer" }, "maxItems": { "type": "integer" }, "uniqueItems": { "type": "boolean" }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "items": { "$ref": "#/definitions/arrayItems" }, "isSecret": { "enum": [true] }, "errorMessage": { "$ref": "#/definitions/errorMessage" } } } }, "objectProperty": { "title": "Object property", "type": "object", "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "editor": { "enum": ["json", "proxy", "schemaBased", "hidden"] }, "isSecret": { "type": "boolean" } }, "required": ["type", "title", "description", "editor"], "if": { "properties": { "isSecret": { "not": { "const": true } } } }, "then": { "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "object" }, "example": { "type": "object" }, "nullable": { "type": "boolean" }, "minProperties": { "type": "integer" }, "maxProperties": { "type": "integer" }, "editor": { "enum": ["json", "proxy", "schemaBased", "hidden"] }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "isSecret": { "enum": [false] }, "required": { "type": "array", "minItems": 0, "items": { "type": "string" }, "uniqueItems": true }, "additionalProperties": { "type": "boolean" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "unevaluatedProperties": false, "allOf": [ { "oneOf": [ { "properties": { "editor": { "enum": ["proxy"] }, "properties": { "$ref": "#/definitions/subObjectPropertiesProxy" } }}, { "properties": { "editor": { "enum": ["json", "schemaBased", "hidden"] }, "properties": { "$ref": "#/definitions/subObjectProperties" } }} ] }, { "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "object" } } }, "else": { "properties": { "default": { "type": ["object", "null"] } } } } ] }, "else": { "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "object" }, "example": { "type": "object" }, "nullable": { "type": "boolean" }, "minProperties": { "type": "integer" }, "maxProperties": { "type": "integer" }, "editor": { "enum": ["json", "hidden"] }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "properties": { "$ref": "#/definitions/subObjectProperties" }, "isSecret": { "enum": [true] }, "required": { "type": "array", "minItems": 0, "items": { "type": "string" }, "uniqueItems": true }, "additionalProperties": { "type": "boolean" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } } } }, "integerProperty": { "title": "Integer property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["integer"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "integer" }, "example": { "type": "integer" }, "nullable": { "type": "boolean" }, "minimum": { "type": "integer" }, "maximum": { "type": "integer" }, "unit": { "type": "string" }, "editor": { "enum": ["number", "hidden"] }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "integer" } } }, "else": { "properties": { "default": { "type": ["integer", "null"] } } } }, "numberProperty": { "title": "Number property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["number"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "number" }, "example": { "type": "number" }, "nullable": { "type": "boolean" }, "minimum": { "type": "number" }, "maximum": { "type": "number" }, "unit": { "type": "string" }, "editor": { "enum": ["number", "hidden"] }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "number" } } }, "else": { "properties": { "default": { "type": ["number", "null"] } } } }, "booleanProperty": { "title": "Boolean property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["boolean"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "boolean" }, "example": { "type": "boolean" }, "nullable": { "type": "boolean" }, "groupCaption": { "type": "string" }, "groupDescription": { "type": "string" }, "editor": { "enum": ["checkbox", "hidden"] }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "boolean" } } }, "else": { "properties": { "default": { "type": ["boolean", "null"] } } } }, "resourceProperty": { "title": "Resource property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "editor": { "enum": ["resourcePicker", "textfield", "hidden"] }, "resourceType": { "enum": ["dataset", "keyValueStore", "requestQueue", "mcpConnector"] }, "prefill": { "type": "string" }, "example": { "type": "string" }, "nullable": { "type": "boolean" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description", "resourceType"], "allOf": [ { "if": { "properties": { "resourceType": { "enum": ["dataset", "keyValueStore", "requestQueue"] } } }, "then": { "properties": { "resourcePermissions": { "$ref": "#/definitions/resourcePermissionsProperty" } } } }, { "if": { "properties": { "resourceType": { "const": "mcpConnector" } } }, "then": { "properties": { "mcpServers": { "$ref": "#/definitions/mcpServersProperty" } }, "required": ["mcpServers"] } }, { "if": { "required": ["resourcePermissions"] }, "then": { "not": { "anyOf": [ { "required": ["prefill"] }, { "required": ["default"] } ] } } }, { "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "string" } } }, "else": { "properties": { "default": { "type": ["string", "null"] } } } } ] }, "resourceArrayProperty": { "title": "Resource array property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["array"] }, "title": { "type": "string" }, "description": { "type": "string" }, "editor": { "enum": ["resourcePicker", "hidden"] }, "prefill": { "type": "array" }, "example": { "type": "array" }, "nullable": { "type": "boolean" }, "minItems": { "type": "integer" }, "maxItems": { "type": "integer" }, "uniqueItems": { "type": "boolean" }, "resourceType": { "enum": ["dataset", "keyValueStore", "requestQueue", "mcpConnector"] }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description", "resourceType"], "allOf": [ { "if": { "properties": { "resourceType": { "enum": ["dataset", "keyValueStore", "requestQueue"] } } }, "then": { "properties": { "resourcePermissions": { "$ref": "#/definitions/resourcePermissionsProperty" } } } }, { "if": { "properties": { "resourceType": { "const": "mcpConnector" } } }, "then": { "properties": { "mcpServers": { "$ref": "#/definitions/mcpServersProperty" } }, "required": ["mcpServers"] } }, { "if": { "required": ["resourcePermissions"] }, "then": { "not": { "anyOf": [ { "required": ["prefill"] }, { "required": ["default"] } ] } } }, { "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "array" } } }, "else": { "properties": { "default": { "type": ["array", "null"] } } } } ] }, "resourcePermissionsProperty": { "title": "Component: Resource permissions definition", "type": "array", "items": { "type": "string", "enum": ["READ", "WRITE"] }, "minItems": 1, "uniqueItems": true, "contains": { "const": "READ" } }, "mcpServersProperty": { "title": "Component: MCP servers definition", "type": "array", "items": { "type": "object", "properties": { "url": { "type": "string", "minLength": 1 }, "tools": { "type": "object", "properties": { "required": { "type": "array", "items": { "type": "string", "minLength": 1 }, "minItems": 1, "uniqueItems": true }, "readOnly": { "type": "boolean" }, "destructive": { "type": "boolean" }, "idempotent": { "type": "boolean" }, "openWorld": { "type": "boolean" } }, "additionalProperties": false } }, "required": ["url"], "additionalProperties": false }, "minItems": 1 }, "anyProperty": { "title": "Any property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "type": ["array"], "items": { "type": "string", "enum": ["object", "array", "string", "integer", "number", "boolean"] }, "uniqueItems": true, "minItems": 1 }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": ["object", "array", "string", "integer", "number", "boolean"] }, "example": { "type": ["object", "array", "string", "integer", "number", "boolean"] }, "nullable": { "type": "boolean" }, "editor": { "enum": ["json", "hidden"] }, "sectionCaption": { "type": "string" }, "sectionDescription": { "type": "string" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description", "editor"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": ["object", "array", "string", "integer", "number", "boolean"] } } }, "else": { "properties": { "default": { "type": ["object", "array", "string", "integer", "number", "boolean", "null"] } } } }, "subSchemaStringEnumProperty": { "title": "Sub-schema: Enum property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["string"] }, "editor": { "enum": ["select"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "string" }, "example": { "type": "string" }, "nullable": { "type": "boolean" }, "enum": { "type": "array", "items": { "type": "string" }, "minItems": 1, "uniqueItems": true }, "enumTitles": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description", "enum"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "string" } } }, "else": { "properties": { "default": { "type": ["string", "null"] } } } }, "subSchemaStringProperty": { "title": "Sub-schema: String property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "string" }, "example": { "type": "string" }, "pattern": { "type": "string" }, "nullable": { "type": "boolean" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" }, "editor": { "enum": ["javascript", "python", "textfield", "textarea", "datepicker", "select", "fileupload", "hidden"] }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description"], "allOf": [ { "if": { "properties": { "editor": { "const": "datepicker" } } }, "then": { "properties": { "editor": { "enum": ["datepicker"] }, "dateType": { "enum": ["absolute", "relative", "absoluteOrRelative"] } } }, "else": { "properties": { "editor": { "enum": ["javascript", "python", "textfield", "textarea", "select", "fileupload", "hidden"] } } } }, { "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "string" } } }, "else": { "properties": { "default": { "type": ["string", "null"] } } } }, { "if": { "required": ["editor"], "properties": { "editor": { "const": "select" } } }, "then": { "properties": { "enumSuggestedValues": { "type": "array", "items": { "type": "string" }, "minItems": 1, "uniqueItems": true }, "enumTitles": { "type": "array", "items": { "type": "string" }, "minItems": 1 } }, "required": ["enumSuggestedValues"] } } ] }, "subSchemaArrayProperty": { "title": "Sub-schema: Array property", "type": "object", "properties": { "type": { "enum": ["array"] }, "editor": { "enum": ["json", "requestListSources", "pseudoUrls", "globs", "keyValue", "stringList", "fileupload", "select", "hidden"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "array" }, "example": { "type": "array" }, "nullable": { "type": "boolean" }, "minItems": { "type": "integer" }, "maxItems": { "type": "integer" }, "uniqueItems": { "type": "boolean" }, "placeholderKey": { "type": "string" }, "placeholderValue": { "type": "string" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description"], "unevaluatedProperties": false, "allOf": [ { "oneOf": [ { "required": ["editor"], "properties": { "editor": { "enum": ["select"] }, "items": { "$ref": "#/definitions/arrayItemsSelect" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["keyValue"] }, "items": { "$ref": "#/definitions/arrayItemsKeyValue" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["fileupload"] }, "items": { "$ref": "#/definitions/arrayItemsFileupload" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["stringList"] }, "items": { "$ref": "#/definitions/arrayItemsStringList" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["globs"] }, "items": { "$ref": "#/definitions/arrayItemsGlobs" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["pseudoUrls"] }, "items": { "$ref": "#/definitions/arrayItemsPseudoUrls" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["requestListSources"] }, "items": { "$ref": "#/definitions/arrayItemsRequestListSources" } } }, { "required": ["editor"], "properties": { "editor": { "enum": ["json", "schemaBased", "hidden"] }, "items": { "$ref": "#/definitions/arrayItems" } } }, { "not": { "required": ["editor"] }, "properties": { "items": { "$ref": "#/definitions/arrayItems" } } } ] }, { "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "array" } } }, "else": { "properties": { "default": { "type": ["array", "null"] } } } } ] }, "subSchemaIntegerProperty": { "title": "Sub-schema: Integer property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["integer"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "integer" }, "example": { "type": "integer" }, "nullable": { "type": "boolean" }, "minimum": { "type": "integer" }, "maximum": { "type": "integer" }, "unit": { "type": "string" }, "editor": { "enum": ["number", "hidden"] }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "integer" } } }, "else": { "properties": { "default": { "type": ["integer", "null"] } } } }, "subSchemaNumberProperty": { "title": "Sub-schema: Number property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["number"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "number" }, "example": { "type": "number" }, "nullable": { "type": "boolean" }, "minimum": { "type": "number" }, "maximum": { "type": "number" }, "unit": { "type": "string" }, "editor": { "enum": ["number", "hidden"] }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "number" } } }, "else": { "properties": { "default": { "type": ["number", "null"] } } } }, "subSchemaBooleanProperty": { "title": "Sub-schema: Boolean property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["boolean"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "boolean" }, "example": { "type": "boolean" }, "nullable": { "type": "boolean" }, "groupCaption": { "type": "string" }, "groupDescription": { "type": "string" }, "editor": { "enum": ["checkbox", "hidden"] }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "boolean" } } }, "else": { "properties": { "default": { "type": ["boolean", "null"] } } } }, "subSchemaObjectProperty": { "title": "Sub-schema: Object property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "prefill": { "type": "object" }, "example": { "type": "object" }, "nullable": { "type": "boolean" }, "minProperties": { "type": "integer" }, "maxProperties": { "type": "integer" }, "editor": { "enum": ["json", "proxy", "hidden"] }, "properties": { "$ref": "#/definitions/subObjectProperties" }, "required": { "type": "array", "minItems": 0, "items": { "type": "string" }, "uniqueItems": true }, "additionalProperties": { "type": "boolean" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description"], "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "object" } } }, "else": { "properties": { "default": { "type": ["object", "null"] } } } }, "subSchemaResourceProperty": { "title": "Sub-schema: Resource property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "editor": { "enum": ["resourcePicker", "textfield", "hidden"] }, "resourceType": { "enum": ["dataset", "keyValueStore", "requestQueue", "mcpConnector"] }, "prefill": { "type": "string" }, "example": { "type": "string" }, "nullable": { "type": "boolean" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description", "resourceType"], "allOf": [ { "if": { "properties": { "resourceType": { "enum": ["dataset", "keyValueStore", "requestQueue"] } } }, "then": { "properties": { "resourcePermissions": { "$ref": "#/definitions/resourcePermissionsProperty" } } } }, { "if": { "properties": { "resourceType": { "const": "mcpConnector" } } }, "then": { "properties": { "mcpServers": { "$ref": "#/definitions/mcpServersProperty" } }, "required": ["mcpServers"] } }, { "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "string" } } }, "else": { "properties": { "default": { "type": ["string", "null"] } } } } ] }, "subSchemaResourceArrayProperty": { "title": "Sub-schema: Resource array property", "type": "object", "unevaluatedProperties": false, "properties": { "type": { "enum": ["array"] }, "title": { "type": "string" }, "description": { "type": "string" }, "editor": { "enum": ["resourcePicker", "hidden"] }, "prefill": { "type": "array" }, "example": { "type": "array" }, "nullable": { "type": "boolean" }, "minItems": { "type": "integer" }, "maxItems": { "type": "integer" }, "uniqueItems": { "type": "boolean" }, "resourceType": { "enum": ["dataset", "keyValueStore", "requestQueue", "mcpConnector"] }, "errorMessage": { "$ref": "#/definitions/errorMessage" } }, "required": ["type", "title", "description", "resourceType"], "allOf": [ { "if": { "properties": { "resourceType": { "enum": ["dataset", "keyValueStore", "requestQueue"] } } }, "then": { "properties": { "resourcePermissions": { "$ref": "#/definitions/resourcePermissionsProperty" } } } }, { "if": { "properties": { "resourceType": { "const": "mcpConnector" } } }, "then": { "properties": { "mcpServers": { "$ref": "#/definitions/mcpServersProperty" } }, "required": ["mcpServers"] } }, { "if": { "properties": { "nullable": { "const": false } } }, "then": { "properties": { "default": { "type": "array" } } }, "else": { "properties": { "default": { "type": ["array", "null"] } } } } ] }, "arrayItems": { "title": "Utils: Array items definition", "type": "object", "properties": { "type": { "enum": ["string", "integer", "number", "boolean", "object", "array"] } }, "required": ["type"], "if": { "properties": { "type": { "enum": ["object"] } } }, "then": { "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "properties": { "type": "object", "patternProperties": { "^": { "oneOf": [ { "$ref": "#/definitions/subSchemaStringProperty" }, { "$ref": "#/definitions/subSchemaStringEnumProperty" }, { "$ref": "#/definitions/subSchemaArrayProperty" }, { "$ref": "#/definitions/subSchemaObjectProperty" }, { "$ref": "#/definitions/subSchemaIntegerProperty" }, { "$ref": "#/definitions/subSchemaNumberProperty" }, { "$ref": "#/definitions/subSchemaBooleanProperty" }, { "$ref": "#/definitions/subSchemaResourceProperty" }, { "$ref": "#/definitions/subSchemaResourceArrayProperty" } ] } }, "additionalProperties": false }, "required": { "type": "array", "minItems": 0, "items": { "type": "string" }, "uniqueItems": true }, "additionalProperties": { "type": "boolean" } } }, "else": { "if": { "properties": { "type": { "const": "array" } } }, "then": { "additionalProperties": false, "properties": { "type": { "enum": ["array"] }, "items": { "$ref": "#/definitions/arrayItems" } } }, "else": { "unevaluatedProperties": false, "properties": { "type": { "enum": ["string", "integer", "number", "boolean"] } }, "required": ["type"], "oneOf": [ { "properties": { "type": { "const": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } } }, { "properties": { "type": { "const": "integer" }, "minimum": { "type": "integer" }, "maximum": { "type": "integer" } } }, { "properties": { "type": { "const": "number" }, "minimum": { "type": "number" }, "maximum": { "type": "number" } } }, { "properties": { "type": { "const": "boolean" } } } ] } } }, "arrayItemsSelect": { "title": "Utils: Array items select definition", "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "enum": { "type": "array", "items": { "type": "string" }, "uniqueItems": true }, "enumTitles": { "type": "array", "items": { "type": "string" } }, "enumSuggestedValues": { "type": "array", "items": { "type": "string" }, "minItems": 1, "uniqueItems": true } }, "oneOf": [ { "required": ["type", "enum"] }, { "required": ["type", "enumSuggestedValues"] } ] }, "arrayItemsKeyValue": { "title": "Utils: Array items keyValue definition", "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "properties": { "type": "object", "properties": { "key": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "value": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] } }, "required": ["key", "value"], "additionalProperties": false }, "required": { "type": "array", "minItems": 0, "items": { "type": "string" }, "uniqueItems": true }, "additionalProperties": { "type": "boolean" } }, "required": ["type", "properties"] }, "arrayItemsStringList": { "title": "Utils: Array items stringList definition", "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "arrayItemsFileupload": { "title": "Utils: Array items fileupload definition", "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "arrayItemsGlobs": { "title": "Utils: Array items globs definition", "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "properties": { "type": "object", "additionalProperties": false, "properties": { "glob": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "method": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "payload": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "userData": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "properties": { "type": "object" } }, "required": ["type"] }, "headers": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "properties": { "type": "object" } }, "required": ["type"] } } }, "required": { "type": "array", "minItems": 0, "items": { "type": "string" }, "uniqueItems": true }, "additionalProperties": { "type": "boolean" } }, "required": ["type"] }, "arrayItemsPseudoUrls": { "title": "Utils: Array items pseudoUrls definition", "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "properties": { "type": "object", "additionalProperties": false, "properties": { "purl": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "method": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "payload": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "userData": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "properties": { "type": "object" } }, "required": ["type"] }, "headers": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "properties": { "type": "object" } }, "required": ["type"] } } }, "required": { "type": "array", "minItems": 0, "items": { "type": "string" }, "uniqueItems": true }, "additionalProperties": { "type": "boolean" } }, "required": ["type"] }, "arrayItemsRequestListSources": { "title": "Utils: Array items requestListSources definition", "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "properties": { "type": "object", "additionalProperties": false, "properties": { "url": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "method": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "payload": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] }, "userData": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "properties": { "type": "object" } }, "required": ["type"] }, "headers": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["object"] }, "title": { "type": "string" }, "description": { "type": "string" }, "properties": { "type": "object" } }, "required": ["type"] } } }, "required": { "type": "array", "minItems": 0, "items": { "type": "string" }, "uniqueItems": true }, "additionalProperties": { "type": "boolean" } }, "required": ["type"] }, "subObjectProperties": { "title": "Utils: Sub-object properties definition", "type": "object", "patternProperties": { "^": { "oneOf": [ { "$ref": "#/definitions/subSchemaStringProperty" }, { "$ref": "#/definitions/subSchemaStringEnumProperty" }, { "$ref": "#/definitions/subSchemaArrayProperty" }, { "$ref": "#/definitions/subSchemaObjectProperty" }, { "$ref": "#/definitions/subSchemaIntegerProperty" }, { "$ref": "#/definitions/subSchemaNumberProperty" }, { "$ref": "#/definitions/subSchemaBooleanProperty" }, { "$ref": "#/definitions/subSchemaResourceProperty" }, { "$ref": "#/definitions/subSchemaResourceArrayProperty" } ] } }, "additionalProperties": false }, "subObjectPropertiesProxy": { "title": "Utils: Sub-object properties proxy definition", "type": "object", "additionalProperties": false, "properties": { "useApifyProxy": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["boolean"] }, "title": { "type": "string" }, "description": { "type": "string" } }, "required": ["type"] }, "apifyProxyGroups": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["array"] }, "title": { "type": "string" }, "description": { "type": "string" }, "items": { "type": ["object"], "properties": { "type": { "enum": ["string"] } }, "additionalProperties": false, "required": ["type"] } }, "required": ["type"] }, "proxyUrls": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["array"] }, "title": { "type": "string" }, "description": { "type": "string" }, "items": { "type": ["object"], "properties": { "type": { "enum": ["string"] } }, "additionalProperties": false, "required": ["type"] } }, "required": ["type"] }, "apifyProxyCountry": { "type": "object", "additionalProperties": false, "properties": { "type": { "enum": ["string"] }, "title": { "type": "string" }, "description": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "integer" }, "maxLength": { "type": "integer" } }, "required": ["type"] } } }, "errorMessage": { "title": "Utils: Custom error message definition", "type": "object", "properties": { "type": { "type": "string" }, "pattern": { "type": "string" }, "minLength": { "type": "string" }, "maxLength": { "type": "string" }, "enum": { "type": "string" }, "minimum": { "type": "string" }, "maximum": { "type": "string" }, "minItems": { "type": "string" }, "maxItems": { "type": "string" }, "uniqueItems": { "type": "string" }, "minProperties": { "type": "string" }, "maxProperties": { "type": "string" } }, "additionalProperties": false } } }