Class SchemaConstants

java.lang.Object
com.bonitasoft.processbuilder.constants.SchemaConstants

public final class SchemaConstants extends Object
Utility class containing constant values related to OpenAPI/JSON Schema configuration and resource paths within the application.

These constants centralize configuration data used for schema resolution and validation logic. This class is non-instantiable.

Since:
1.0
Author:
Bonitasoft
  • Field Details

    • OPENAPI_RESOURCE_PATH

      public static final String OPENAPI_RESOURCE_PATH
      The path to the main resource file containing all OpenAPI/JSON Schema definitions.

      This file is the single source of truth for all schema component definitions.

      See Also:
    • SCHEMA_COMPONENTS_PREFIX

      public static final String SCHEMA_COMPONENTS_PREFIX
      The prefix used for internal references to components within the schema file.

      Typically used for resolving $ref pointers within the OpenAPI document, pointing to components located in the #/components/schemas/ section.

      See Also:
    • DELETE_BASE_SCHEMA

      public static final String DELETE_BASE_SCHEMA
      The name of the base schema used for DELETE operations.

      This schema is typically highly restrictive, often requiring only an ID field for basic object input validation before deletion.

      See Also: