Genesys Cloud - Developer Announcements!

 View Only

Sign Up

Business Rules SDK – Contract Schema Object Type Updates

  • 1.  Business Rules SDK – Contract Schema Object Type Updates

    Posted 09-29-2025 11:57
    Edited by Ananya Singh 09-29-2025 11:57

    Summary

    The following object type replacements are being introduced in the Business Rules SDK:

    JsonSchemaWithDefinitions → replaced with ContractJsonSchema

    Definition → replaced with ContractDefinition

    Items → replaced with ContractItems, with the private String type; field changed to private String[] type; to support nullable array items

    PropertyDefinition → replaced with ContractPropertyDefinition

    Effective Date

    Monday, September 29, 2025

    Details

    The existing JsonSchemaWithDefinitions object is used to model DSS schemas for all public endpoints of each DSS namespace. This object was reused to model Decision Table Contract Schemas in the API, even though these are not DSS schemas.

    Decision Table Contract Schemas are constructed and maintained by the Business Rules backend, using properties derived from underlying DSS schemas as needed for each contract schema.

    This change detaches these schemas from DSS APIs to better reflect their context and to simplify future evolution of the Business Rules backend.

    Customer Impact

    • No changes to the REST API.
    • SDK users will see updated class types.
    • The new class types are direct copies of the existing ones, with the sole exception being the Items class, where the String type field has been replaced with a String[] type field.

    Impacted Resources

    • No REST API changes.
    • Business Rules Java SDK is impacted wherever the DecisionTableContract class is used.

    Issue References

    [RULES-1106]

    Contacts

    @Rory McTigue  

    Please reply to this announcement with any questions. This helps the wider developer community benefit from the discussion. We encourage you to use this thread before contacting the designated person directly. Thank you for your understanding.