IP Library › Granted Patent US 12,602,216
Granted Patent B2
US 12,602,216 · App. 18/584,793 · Granted Apr 14, 2026

Schema registry for client-server environments

Inventor: Samuel Batista (San Francisco, CA)
Assignee: Salesforce, Inc.
G06F8/51G06F8/76G06F16/252
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,602,216
App. No.
18/584,793
Granted
Apr 14, 2026
Kind
B2
Abstract

In some embodiments, a method receives a schema registry in a file. The schema registry aggregates schema files for a data model that is associated with a database system used by servers and consumer devices. The schema files is in a first software language that describes objects in the data model, and the schema registry is in a second software language used by the consumer devices. A first function in the schema registry is executed for an object to retrieve an original schema for the object in the schema files to create first software code for the object with the original schema for an application that uses the data model. A second function in the schema registry is executed for the object to generate a new object from the original schema for the object to create second software code for a new object with the original schema for the application.

Claims (32)

1 . A method comprising:

receiving a schema registry in a file, wherein the schema registry aggregates a plurality of schema files for a data model that is associated with a database system used by a set of servers and a set of consumer devices, and wherein the plurality of schema files is in a first software language that describes objects in the data model, and the schema registry is in a second software language used by the set of consumer devices;

executing a first function in the schema registry for an object to retrieve an original schema for the object in the plurality of schema files to create first software code for the object with the original schema for an application that uses the data model; and

executing a second function in the schema registry for the object to generate a new object from the original schema for the object to create second software code for a new object with the original schema for the application.

2 . The method of claim 1 , further comprising:

receiving a validation file that includes validation information that is used to validate the first software code and the second software code generated at a consumer device in the set of consumer devices using the schema registry.

3 . The method of claim 2 , further comprising:

validating the first software code and the second software code using the validation information for the object.

4 . The method of claim 3 , wherein validating the software code comprises:

checking types of the first software code and the second software code against types listed in the validation information for the object to determine any errors; and

outputting any errors of the software code.

5 . The method of claim 4 , wherein the checking is performed at compile time of the application.

6 . The method of claim 1 , wherein receiving the schema registry comprises:

communicating with a server in the set of servers through an interface to retrieve the schema registry.

7 . The method of claim 1 , wherein receiving the schema registry comprises:

loading the schema registry into a runtime environment at a consumer device in the set of consumer devices, wherein the runtime environment is associated with the second software language.

8 . The method of claim 1 , wherein the schema registry is stored in a single file.

9 . The method of claim 1 , wherein the schema registry is generated by:

aggregating the plurality of schema files into a single file; and

processing objects in the single file to generate the first function and the second function for objects in the schema registry.

10 . The method of claim 9 , wherein the schema registry is generated by:

adding variables in the schema registry to include the first function and the second function for the objects.

11 . The method of claim 9 , wherein processing objects to generate the first function and the second function for objects comprises:

determining an array; and

looping through the array and invoking a register schema function on each object of the array to generate objects in the schema registry.

12 . The method of claim 9 , wherein processing objects to generate the first function and the second function for objects comprises:

determining an object; and

looping through the object and invoking a register schema function on any objects found in the object to generate objects in the schema registry.

13 . A non-transitory computer-readable storage medium having stored thereon computer executable instructions, which when executed by a computing device, cause the computing device to be operable for:

receiving a schema registry in a file, wherein the schema registry aggregates a plurality of schema files for a data model that is associated with a database system used by a set of servers and a set of consumer devices, and wherein the plurality of schema files is in a first software language that describes objects in the data model, and the schema registry is in a second software language used by the set of consumer devices;

executing a first function in the schema registry for an object to retrieve an original schema for the object in the plurality of schema files to create first software code for the object with the original schema for an application that uses the data model; and

executing a second function in the schema registry for the object to generate a new object from the original schema for the object to create second software code for a new object with the original schema for the application.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 7, 2024
From: BATISTA, SAMUEL
To: SALESFORCE, INC.
Reel/Frame 067339/0408 →
Continuity (1)
Related Publication 20250272075A1 · Aug 28, 2025
References Cited (4)
US 11785280B1 · Dakss · 2023 [cited by examiner]
US 20110314043A1 · Bernstein · 2011 [cited by examiner]
US 20230095852A1 · Paez · 2023 [cited by examiner]
US 20230098725A1 · Tidd · 2023 [cited by examiner]