IP Library Granted Patent US 8,515,999
Granted Patent B2
US 8,515,999 · App. 13/248,347 · Granted Aug 20, 2013

Method and system providing document semantic validation and reporting of schema violations

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 8,515,999
App. No.
13/248,347
Granted
Aug 20, 2013
Kind
B2
Abstract

A method includes receiving a request from a requestor to validate a data assemblage expressed in Javascript Object Notation (JSON); translating the data assemblage expressed in JSON into an extensible markup language (XML) instance; validating the XML instance using syntactic schema and semantic schema specifications; and sending a response to the requestor. For a case where the data assemblage contains invalid data in at least one field the response includes an output array containing information for specifying valid data for the at least one field and a message explaining a reason why the field is invalid. A system for performing the method is also described, as is a computer program product that can be used to execute the method.

Claims (38)

1. A method to process data, comprising:

receiving a request from a requestor to validate a data assemblage expressed in Javascript Object Notation (JSON);

translating with at least one data processor the data assemblage expressed in JSON into an extensible markup language (XML) instance;

validating the XML instance using syntactic schema and semantic schema specifications; and

sending a response to the requestor, where for a case where the data assemblage contains invalid data in at least one field the response is comprised of an output array comprising information for specifying valid data for the at least one field and a message explaining a reason why the field is invalid.

2. The method as in claim 1 , where the output array is null in a case where the data assemblage does not include invalid data.

3. The method of claim 1 , where the syntactic schema is specified using XML Schema (XSD).

4. The method of claim 1 , where the semantic schema is specified using Schematron.

5. The method of claim 1 , where validating comprises querying a facts database.

6. The method of claim 5 , where an output of the facts database is expressed as a facts XML instance.

7. The method of claim 1 , where the output array is formed by merging a result of semantic and syntactic validations to provide a merged result.

8. The method of claim 7 , further comprising translating the merged result into a JSON document that expresses the array.

9. The method of claim 1 , where validating determines if the input data assemblage conforms to an associated schema and is considered to be valid only if the input data assemblage satisfies the associated schema.

10. A computer program product embodied on a non-transitory computer-readable medium, where execution of the computer program product results in performance of the method as claimed in claim 1 .

11. A computer-readable medium that contains computer program instructions, the execution of the computer program instructions by at least one data processor results in performance of operations that comprise:

receiving a request from a requestor to validate a data assemblage expressed in Javascript Object Notation (JSON);

translating the data assemblage expressed in JSON into an extensible markup language (XML) instance;

validating the XML instance using syntactic schema and semantic schema specifications; and

sending a response to the requestor, where for a case where the data assemblage contains invalid data in at least one field the response is comprised of an output array comprising information for specifying valid data for the at least one field and a message explaining a reason why the field is invalid.

12. The computer-readable medium as in claim 11 , where the output array is null in a case where the data assemblage does not include invalid data.

13. The computer-readable medium as in claim 11 , where the syntactic schema is specified using XML Schema (XSD).

14. The computer-readable medium as in claim 11 , where the semantic schema is specified using Schematron.

15. The computer-readable medium as in claim 11 , where the operation of validating comprises querying a facts database.

16. The computer-readable medium as in claim 15 , where an output of the facts database is expressed as a facts XML instance.

17. The computer-readable medium as in claim 11 , where the output array is formed by merging a result of semantic and syntactic validations to provide a merged result.

18. The computer-readable medium as in claim 17 , further comprising translating the merged result into a JSON document that expresses the array.

19. The computer-readable medium as in claim 11 , where the operation of validating determines if the input data assemblage conforms to an associated schema and is considered to be valid only if the input data assemblage satisfies the associated schema.

20. A data processing system, comprising:

at least one data processor connected with at least one memory that stores computer program instructions;

at least one interface connected with the at least one data processor and configured for conducting bidirectional communications via at least one network;

said at least one data processor operating under control of the computer program instructions to receive a request via the interface from a requestor to validate a data assemblage expressed in Javascript Object Notation (JSON);

said at least one data processor operating under control of the computer program instructions to translate the data assemblage expressed in JSON into an extensible markup language (XML) instance;

said at least one data processor operating under control of the computer program instructions to validate the XML instance using syntactic schema and semantic schema specifications; and

said at least one data processor further operating under control of the computer program instructions to send a response to the requestor via the interface, where for a case where the data assemblage contains invalid data in at least one field the response is comprised of an output array comprising information for specifying valid data for the at least one field and a message explaining a reason why the field is invalid.

21. The data processing system of claim 20 , where the syntactic schema is specified using XML Schema (XSD), and where the semantic schema is specified using Schematron.

22. The data processing system of claim 20 , where said data processor when validating queries a facts database, and where an output of the facts database is expressed as a facts XML instance.

23. The data processing system of claim 20 , where the output array is formed by merging a result of semantic and syntactic validations to provide a merged result, and said at least one data processor operating under control of the computer program instructions is further configured to translate the merged result into a JSON document that expresses the array.

24. The data processing system of claim 20 , where said at least one data processor operating under control of the computer program instructions when validating determines if the input data assemblage conforms to an associated schema, and where the input data assemblage is considered to be valid only if the input data assemblage satisfies the associated schema.

Assignments (2)
CONVEYOR ASSIGNS UNDIVIDED 50% INTEREST Recorded Nov 1, 2017
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: SERVICENOW, INC.; INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 044347/0464 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 29, 2011
From: DE CERQUEIRA GATTI, MAIRA ATHANAZIO; HERRMANN, RICARDO GUIMARAES; LOEWENSTERN, DAVID MATTHEW; SHWARTZ, LARISA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 026999/0676 →