Define Metadata Schema

Oracle Intelligent Track and Trace enables you to track any additional document attributes that are not part of the metadata template.

Metadata schema is a set of user-defined attributes that extend the system-defined normalized data. The normalized data is generated from the source document by applying the metadata template. If the metadata template declares any documentData attributes, then these attributes and their type must be defined in the Metadata Schema.

Note: Currently Oracle Intelligent Track and Trace supports only the following data types for the attributes in the Metadata Schema—string, integer, and object. Arrays are not currently supported.

Once you have defined the metadata schema, you can upload it to Oracle Intelligent Track and Trace by following the instructions provided in Create a New Document Type.

Usage Example:

This example shows the definition of all the documentData attributes defined for document type QA Inspection.
{
       "$schema": "http://json-schema.org/draft-07/schema#",
	"$id": "http://itt-ns.oracle.com/qa-inspection-md",
	"type": "object""properties": {
		"InspectionType": {
			"type": "string"
		},
		"SamplingQty": {
			"type": "number"
		},
		"QtyInspected": {
			"type": "number"
		},
		"QtyReject": {
			"type": "number"
		},
		"InspectionDate": {
			"type": "string",
			"format": "date-time"
		}
	}
}