# US 2023/0069124 A1 · Schema based type-coercion for structured documents

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0069124 A1
- Document ID: US20230069124A1
- Status: Published application
- Kind: A1
- Application number: 17/410,451
- Filed: 2021-08-24
- Published: 2023-03-02
- Earliest claimed: 2021-08-24
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Markus Thöemmes; Francesco Guardiani
- Web page: https://patentgrep.com/patent/US20230069124A1

## CPC

- G06F 16/213: {with details for schema evolution support}
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 16/2455: Query execution
- G06F 16/93: Document management systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A schema associated with a type of document is received. A set of documents are queried for documents that match the schema, wherein the query is performed while bypassing user intervention. A subset of documents of the set of documents is identified that match the schema. The subset of documents that match the schema are transmitted to a document controller.

## Claims

### Claim 1

A method for resource management by a type coercion controller, the method comprising:
receiving, at the type coercion controller, a schema associated with a type of document;
automatically querying, by a processing device of the type coercion controller, a plurality of documents for documents that match the schema, wherein the query is performed while bypassing user intervention and wherein the plurality of documents comprises different structured documents;
identifying, by the type coercion controller, a subset of documents of the automatically queried plurality of documents, the subset of documents matching the schema; and
transmitting, from the type coercion controller to a document controller, the subset of documents that match the schema.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of documents comprises custom resource definitions.

### Claim 3 (depends on 1)

The method of claim 1, wherein transmitting the subset of documents that match the schema causes the document controller to monitor the subset of the documents.

### Claim 4 (depends on 1)

The method of claim 1, wherein the schema is received from the document controller.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving a modified schema associated with the type of document;
querying the plurality of documents for documents that match the modified schema;
identifying a second subset of documents of the plurality of documents that match the modified schema; and
transmitting, to the document controller, the second subset of documents that match the modified schema.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving an indication that a document of the subset of documents has been modified;
determining whether the modified document of the subset of documents matches the schema; and
in response to determining that the modified document matches the schema, transmitting, to the document controller, an indication that the modified document matches the schema.

### Claim 7 (depends on 1)

The method of claim 1, wherein querying the plurality of documents for documents that match the schema comprises performing a duck typing operation.

### Claim 8

A system comprising:
a memory; and
a processing device of a type coercion controller, operatively coupled to the memory, to:
receive, at the type coercion controller, a schema associated with a type of document;
automatically query a plurality of documents for documents that match the schema wherein the query is performed while bypassing user intervention and wherein the plurality of documents comprises different structured documents;
identify, by the type coercion controller, a subset of documents of the automatically queried plurality of documents, the subset of documents matching the schema; and
transmit, from the type coercion controller to a document controller, the subset of documents that match the schema.

### Claim 9 (depends on 8)

The system of claim 8, wherein the plurality of documents comprises custom resource definitions.

### Claim 10 (depends on 8)

The system of claim 8, wherein transmitting the subset of documents that match the schema causes the document controller to monitor the subset of the documents.

### Claim 11 (depends on 8)

The system of claim 8, wherein the schema is received from the document controller.

### Claim 12 (depends on 8)

The system of claim 8, wherein the processing device is further to:
receive a modified schema associated with the type of document;
query the plurality of documents for documents that match the modified schema;
identify a second subset of documents of the plurality of documents that match the modified schema; and
transmit, to the document controller, the second subset of documents that match the modified schema.

### Claim 13 (depends on 8)

The system of claim 8, wherein the processing device is further to:
receive an indication that a document of the subset of documents has been modified;
determine whether the modified document of the subset of documents matches the schema; and
in response to determining that the modified document matches the schema, transmit, to the document controller, an indication that the modified document matches the schema.

### Claim 14 (depends on 8)

The system of claim 8, wherein querying the plurality of documents for documents that match the schema comprises performing a duck typing operation.

### Claim 15

A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
receive, at a type coercion controller, a schema associated with a type of document;
automatically query, by the processing device of the type coercion controller, a plurality of documents for documents that match the schema wherein the query is performed while bypassing user intervention and wherein the plurality of documents comprises different structured documents;
identify, by the type coercion controller, a subset of documents of the automatically queried plurality of documents, the subset of documents matching the schema;
and transmit, from the type coercion controller to a document controller, the subset of documents that match the schema.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the plurality of documents comprises custom resource definitions.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein transmitting the subset of documents that match the schema causes the document controller to monitor the subset of the documents.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the schema is received from the document controller.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the processing device is further to:
receive a modified schema associated with the type of document;
query the plurality of documents for documents that match the modified schema;
identify a second subset of documents of the plurality of documents that match the modified schema; and
transmit, to the document controller, the second subset of documents that match the modified schema.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the processing device is further to:
receive an indication that a document of the subset of documents has been modified;
determine whether the modified document of the subset of documents matches the schema; and
in response to determining that the modified document matches the schema, transmit, to the document controller, an indication that the modified document matches the schema.
