Skip to main content
Version: ACAP version 12

Use newer manifest schema in old SDK

Follow these steps to validate against a newer schema than the one available in the SDK you need to use.

This is useful when you are working with an older version of the SDK, but still want to use a newer manifest schema because you want to prepare your application for AXIS OS 13.

  1. Place the desired schema file in your project directory (the same level as the Dockerfile). Here are the latest schemas for each major:
  1. Add a COPY instruction to your Dockerfile to copy the schema file into the SDK's schema directory. Copy it to the corresponding location depending on major version of the schema:
  • /opt/axis/acapsdk/axis-acap-manifest-tools/schema/schemas/v1/
  • /opt/axis/acapsdk/axis-acap-manifest-tools/schema/schemas/v2/
COPY application-manifest-schema-v2.0.0.json /opt/axis/acapsdk/axis-acap-manifest-tools/schema/schemas/v2/
  1. Update the schemaVersion field of your manifest.json to match that of the manifest schema.