Integrations Input Test Actor avatar
Integrations Input Test Actor
Under maintenance

Pricing

Pay per usage

Go to Apify Store
Integrations Input Test Actor

Integrations Input Test Actor

Under maintenance

Testing different UI elements provided in the input schema

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Gökdeniz Kaymak

Gökdeniz Kaymak

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

7 days ago

Last modified

Share

Input Schema Test Actor

A comprehensive test Actor for validating all Apify input schema field types and editors. This Actor serves as a reference implementation and testing ground for the Apify platform's input schema capabilities.

Features

  • Apify SDK - Toolkit for building Actors
  • Crawlee - Web scraping and browser automation library

Input Schema Reference

The input schema is organized into logical sections. Each section tests different field types and editor configurations. The individual schema files are located in .actor/input_schemas/.

String Fields

Testing all string type editors and variations.

FieldEditorDescription
stringTextfieldtextfieldBasic string input with textfield editor
stringTextfieldWithPatterntextfieldString with regex pattern validation (alphanumeric only, 3-20 chars)
stringTextareatextareaMulti-line text input
stringJavascriptjavascriptJavaScript code editor with syntax highlighting
stringPythonpythonPython code editor with syntax highlighting
stringSelectEnumselectDropdown select with fixed enum values
stringSelectSuggestedselectDropdown with suggested values but allows custom input
stringDateAbsolutedatepickerDate picker for absolute dates only
stringDateRelativedatepickerDate picker for relative dates only (e.g., '7 days ago')
stringDateAbsoluteOrRelativedatepickerDate picker allowing both absolute and relative dates
stringFileuploadfileuploadUpload a single file (string type)
stringSecrettextfieldSecret string input (masked in UI, isSecret: true)

Schema file: .actor/input_schemas/string_fields.json

Numeric Fields

Testing integer and number (float) types.

FieldTypeDescription
integerBasicintegerBasic integer input
integerWithRangeintegerInteger with min/max constraints and unit
numberBasicnumberBasic floating point number
numberWithRangenumberFloat with min/max constraints and unit

Schema file: .actor/input_schemas/numeric_fields.json

Boolean Fields

Testing checkbox and grouped boolean options.

FieldDescription
booleanBasicBasic checkbox
booleanGrouped1First option in grouped checkboxes (Feature Toggles group)
booleanGrouped2Second option in grouped checkboxes (Feature Toggles group)

Schema file: .actor/input_schemas/boolean_fields.json

Object Fields

Testing object type with various editors.

FieldEditorDescription
objectJsonjsonBasic JSON object input
objectJsonWithConstraintsjsonObject with patternKey, patternValue, and property count constraints
proxyConfigurationproxyApify proxy settings
objectSchemaBasedschemaBasedObject with sub-properties rendered individually
object.withjsonTesting object key with dot character

Schema file: .actor/input_schemas/object_fields.json

Array Fields

Testing array type with various editors.

FieldEditorDescription
arrayJsonjsonBasic array with JSON editor
arrayRequestListSourcesrequestListSourcesURLs in Crawlee RequestListSources format
arrayPseudoUrlspseudoUrlsPseudoUrl patterns for crawling
arrayGlobsglobsGlobInput patterns
arrayKeyValuekeyValueArray of key-value pairs
arrayStringListstringListSimple list of strings
arrayFileuploadfileuploadUpload multiple files
arraySelectMultiselectMulti-select dropdown with fixed options
arraySelectSuggestedselectMulti-select with suggested values and custom input

Schema file: .actor/input_schemas/array_fields.json

Sub-Schema Fields

Testing schemaBased editor with various item types.

FieldItems TypeDescription
schemaBasedStringArraystringArray of strings with schema-based editor
schemaBasedIntegerArrayintegerArray of integers with schema-based editor
schemaBasedBooleanArraybooleanArray of booleans with schema-based editor
schemaBasedObjectArrayobjectArray of objects with sub-schema (firstName, lastName, age)
schemaBasedObjectArrayComplexobjectArray of objects with multiple field types

Schema file: .actor/input_schemas/sub_schema_fields.json

Resource Fields

Testing resource picker for datasets and key-value stores.

FieldResource TypePermissions
resourceDatasetdatasetREAD
resourceKeyValueStorekeyValueStoreREAD, WRITE

Schema file: .actor/input_schemas/resource_fields.json

Special Features

Testing nullable, example, errorMessage, and required fields.

FieldFeatureDescription
nullableStringnullable: trueString field that can be null
fieldWithExampleexampleString field showing example property
fieldWithErrorMessageerrorMessageString with custom error messages for validation
requiredFieldrequiredThis field is required

Schema file: .actor/input_schemas/special_features.json

Project Structure

.actor/
├── actor.json # Actor config: name, version, runtime settings
├── input_schema.json # Main input validation & Console form definition
├── input_schemas/ # Organized input schema sections
│ ├── string_fields.json
│ ├── numeric_fields.json
│ ├── boolean_fields.json
│ ├── object_fields.json
│ ├── array_fields.json
│ ├── sub_schema_fields.json
│ ├── resource_fields.json
│ └── special_features.json
└── dataset_schema.json # Output schema definition
src/
└── main.ts # Actor entry point
storage/ # Local storage (mirrors Cloud during development)
├── datasets/
├── key_value_stores/
└── request_queues/

Getting Started

Run the Actor locally:

$apify run

For complete information, see the Apify development documentation.

Deploy to Apify

Connect Git repository to Apify

  1. Go to Actor creation page
  2. Click on Link Git Repository button

Push from local machine

  1. Log in to Apify:

    $apify login
  2. Deploy your Actor:

    $apify push

Documentation