Problem
apify validate-schema reports a schema as valid that the platform then rejects at build time. The known case is JSON Schema draft 2020-12: the local validator accepts it, the build does not. A false green locally is only discovered after a full push and build cycle.
Expected
apify validate-schema uses the same validator as the platform build, so a local pass means the build accepts the schema.
Steps to reproduce
- Write an input schema using draft 2020-12 constructs.
- Run
apify validate-schema: it passes.
- Run
apify push: the build fails on schema validation.
Problem
apify validate-schemareports a schema as valid that the platform then rejects at build time. The known case is JSON Schema draft 2020-12: the local validator accepts it, the build does not. A false green locally is only discovered after a full push and build cycle.Expected
apify validate-schemauses the same validator as the platform build, so a local pass means the build accepts the schema.Steps to reproduce
apify validate-schema: it passes.apify push: the build fails on schema validation.