Skip to content

Commit 65b342f

Browse files
authored
Update specification.md
1 parent 3c31b98 commit 65b342f

File tree

1 file changed

+2
-2
lines changed
  • sources/platform/actors/development/actor_definition/input_schema

1 file changed

+2
-2
lines changed

sources/platform/actors/development/actor_definition/input_schema/specification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ slug: /actors/development/actor-definition/input-schema/specification/v1
1313

1414
The Actor input schema serves three main purposes:
1515

16-
- It ensures the input data supplied to the Actor adhere specified requirements and validation rules.
16+
- It ensures the input data supplied to the Actor adhere to specified requirements and validation rules.
1717
- It is used by the Apify platform to generate a user-friendly interface for configuring and running your Actor.
1818
- It simplifies invoking your Actors from external systems by generating calling code and connectors for integrations.
1919

2020
To define an input schema for an Actor, set `input` field in the `.actor/actor.json` file to an input schema object (described below), or path to a JSON file containing the input schema object.
21-
For backwards compatibility, if the `input` field is omitted, the system looks for an `INPUT_SCHEMA.json` file either in the `.actor` directory or the Actor's top-level directory - but note that this functionality is deprececated and might be removed in the future. The maximum allowed size for the input schema file is 500 kB.
21+
For backwards compatibility, if the `input` field is omitted, the system looks for an `INPUT_SCHEMA.json` file either in the `.actor` directory or the Actor's top-level directorybut note that this functionality is deprececated and might be removed in the future. The maximum allowed size for the input schema file is 500 kB.
2222

2323
When you provide an input schema, the system will validate the input data passed to the Actor on start (via the API or Apify Console) against the specified schema to ensure compliance before starting the Actor.
2424
If the input object doesn't conform the schema, the caller receives an error and the Actor is not started.

0 commit comments

Comments
 (0)