{
	"name": "table/external/ksef/prf/preference.json",
	"table_name": "preference",
	"table_prefix": "prf",
	"record_type": ["ksef"],
	"local_table": "preference",
	"local_record_type": "ksef",
	"format": {
		"datetime": "%Y-%m-%dT%H:%M:%SZ"
	},
	"field": [
		{
			"field_name": "tokenId",
			"local_field": "json_data.transfer_id",
			"field_type": "string"
		},
		{
			"field_name": "tokenName",
			"local_field": "name_id",
			"field_type": "string"
		},
		{
			"field_name": "issuerNip",
			"local_field": "json_data.nip",
			"field_type": "string",
			"length": 10
		},
		{
			"field_name": "active",
			"local_field": "json_data.active",
			"field_type": "boolean"
		},
		{
			"field_name": "expiryTime",
			"local_field": "json_data.expiry_time",
			"field_type": "datetime"
		},
		{
			"field_name": "referenceNumber",
			"local_field": "json_data.reference_number",
			"field_type": "string"
		},
		{
			"field_name": "sessionStatus",
			"local_field": "json_data.session_status",
			"field_type": "string"
		},
		{
			"field_name": "processingStatus",
			"local_field": "json_data.processing_status",
			"field_type": "string"
		}
	]
}
