- [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#SCHEMA_REPRESENTATION)
- [GraphProfile](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#GraphProfile)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#GraphProfile.SCHEMA_REPRESENTATION)
- [NodeType](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#NodeType)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#NodeType.SCHEMA_REPRESENTATION)
- [Field](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Field)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Field.SCHEMA_REPRESENTATION)
- [MetadataType](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#MetadataType)
- [Mode](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Mode)
- [ExtractionHints](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints.SCHEMA_REPRESENTATION)
- [ExtractionHints](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints_1)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints_1.SCHEMA_REPRESENTATION)
- [EdgeType](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#EdgeType)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#EdgeType.SCHEMA_REPRESENTATION)
- [ExtractionHints](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints_2)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints_2.SCHEMA_REPRESENTATION)
- [ForeignKey](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ForeignKey)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ForeignKey.SCHEMA_REPRESENTATION)
- [FieldMapping](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#FieldMapping)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#FieldMapping.SCHEMA_REPRESENTATION)

Contains the result of an unstructured data profile scan.

| JSON representation |
|---|
| ``` { "partialFailureMessage": string, "graphProfile": { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#GraphProfile`) }, "description": string } ``` |

| Fields ||
|---|---|
| `partialFailureMessage` | `string` Output only. Optional message for partial failures (e.g. node type extraction failed). |
| `graphProfile` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#GraphProfile`)`` Output only. The inferred graph profile. |
| `description` | `string` Output only. The inferred description. |

## GraphProfile

Contains the strict structure for graph-profile for semantic inference scan result.

| JSON representation |
|---|
| ``` { "nodeTypes": [ { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#NodeType`) } ], "edgeTypes": [ { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#EdgeType`) } ] } ``` |

| Fields ||
|---|---|
| `nodeTypes[]` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#NodeType`)`` Output only. Node types. |
| `edgeTypes[]` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#EdgeType`)`` Output only. Edge types. |

## NodeType

Represents a type of node in the graph.

| JSON representation |
|---|
| ``` { "name": string, "fields": [ { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Field`) } ], "extractionHints": { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints_1`) }, "description": string, "primaryKeys": [ string ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Name of the node type. |
| `fields[]` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Field`)`` Output only. Fields of the node type. |
| `extractionHints` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints_1`)`` Output only. Extraction hints for the node. |
| `description` | `string` Output only. Description of the node type. |
| `primaryKeys[]` | `string` Output only. Field names forming the primary keys. The order in this array defines the key's ordinal positions for composite keys. |

## Field

Represents a field in a node or edge type.

| JSON representation |
|---|
| ``` { "name": string, "description": string, "dataType": string, "metadataType": enum (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#MetadataType`), "mode": enum (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Mode`), "extractionHints": { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints`) }, "fields": [ { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Field`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Name of the field. |
| `description` | `string` Output only. Description of the field. |
| `dataType` | `string` Output only. The data type of the field, e.g., STRING, INTEGER, DATE. |
| `metadataType` | ``enum (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#MetadataType`)`` Output only. The mapped metadata type. |
| `mode` | ``enum (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Mode`)`` Output only. The mode of the field. |
| `extractionHints` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints`)`` Output only. Extraction hints for the field. |
| `fields[]` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Field`)`` Output only. Sub-fields of this field (for STRUCT types). |

## MetadataType

MetadataType of the field.

| Enums ||
|---|---|
| `METADATA_TYPE_UNSPECIFIED` | Unspecified metadata type. |
| `BOOLEAN` | Boolean type. |
| `NUMBER` | Numeric type. |
| `STRING` | String type. |
| `BYTES` | Bytes type. |
| `DATETIME` | Date and time type. |
| `TIMESTAMP` | Timestamp type. |
| `GEOSPATIAL` | Geospatial type. |
| `STRUCT` | Struct (record) type. |
| `OTHER` | Other types not covered above. |

## Mode

The mode of the field.

| Enums ||
|---|---|
| `MODE_UNSPECIFIED` | Unspecified mode. |
| `NULLABLE` | Field can be null. |
| `REPEATED` | Field can be repeated. |
| `REQUIRED` | Field is required. |

## ExtractionHints

Extraction hints (field-level).

| JSON representation |
|---|
| ``` { "normalization": string, "synthesis": string } ``` |

| Fields ||
|---|---|
| `normalization` | `string` Output only. Standardizes extracted data (e.g., to ISO 3166-1 alpha-2). |
| `synthesis` | `string` Output only. Generates value from other data instead of direct extraction (e.g., hashing). |

## ExtractionHints

Extraction hints (node-level).

| JSON representation |
|---|
| ``` { "cardinality": string } ``` |

| Fields ||
|---|---|
| `cardinality` | `string` Output only. Expected occurrence frequency of this node type within a document. Format: "\[Bounds\] - \[Description\]" Example: "0:N - A document may contain multiple people names." |

## EdgeType

Represents a type of edge (relationship) in the graph.

| JSON representation |
|---|
| ``` { "name": string, "sourceNodeType": string, "targetNodeType": string, "fields": [ { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Field`) } ], "extractionHints": { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints_2`) }, "description": string, "foreignKeys": [ { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ForeignKey`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Name of the edge type. |
| `sourceNodeType` | `string` Output only. Source node type. |
| `targetNodeType` | `string` Output only. Target node type. |
| `fields[]` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#Field`)`` Output only. Fields of the edge type. |
| `extractionHints` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ExtractionHints_2`)`` Output only. Extraction hints for the edge. |
| `description` | `string` Output only. Description of the edge type. |
| `foreignKeys[]` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#ForeignKey`)`` Output only. Defines the Foreign Key constraints for the edge. |

## ExtractionHints

Extraction hints (edge-level).

| JSON representation |
|---|
| ``` { "cardinality": string } ``` |

| Fields ||
|---|---|
| `cardinality` | `string` Output only. Expected connectivity topology and bounds of this relationship. Format: "\[Topology\] - \[Description\]" Example: "1:N - One company can have multiple financial reports." |

## ForeignKey

Represents a foreign key constraint.

| JSON representation |
|---|
| ``` { "name": string, "description": string, "referencedNodeType": string, "fieldMappings": [ { object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#FieldMapping`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Name of the foreign key constraint. |
| `description` | `string` Output only. Description of the foreign key. |
| `referencedNodeType` | `string` Output only. The node type this constraint references. |
| `fieldMappings[]` | ``object (`https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/UnstructuredDataProfileResult#FieldMapping`)`` Output only. Field Mappings. Mappings between local fields and the fields they reference in the referenced node type. |

## FieldMapping

Maps a local field to a referenced field.

| JSON representation |
|---|
| ``` { "field": string, "referencedField": string } ``` |

| Fields ||
|---|---|
| `field` | `string` Output only. Local field name forming part of the foreign key. |
| `referencedField` | `string` Output only. Field name in the referenced node type. |