{"swagger": "2.0", "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "schemaType": "TLDB", "typeOfSchema": "type", "id": "multienterprise-process-connect:canonicalProductActivity", "schemaId": "masterSchema", "schemaVersion": 1, "dataVersion": 1, "objectTypeSchemaVersion": 1, "objectTypeSchemaSubversion": 1723092219065, "objectType": "multienterprise-process-connect:canonicalProductActivity", "javaInterfaces": ["com.tracelink.dnp.api.TLObject"], "display": {"name": "canonical Product Activity", "description": "canonical Product Activity", "icon": ""}, "definitions": {"dateTimeType": {"$id": "#dateTimeType", "type": "integer", "format": "utc-millisec", "description": "date created in Epoch time format"}, "displayAttributesType": {"$id": "#displayAttributesType", "javaType": "com.tracelink.metadata.model.TLDisplayAttributesV1", "type": "object", "properties": {"name": {"type": "string"}, "description": {"type": "string"}, "icon": {"type": "string"}}, "required": ["name"], "additionalProperties": false}, "quantityType": {"title": "Quantity Type", "description": "Quantity Type", "type": "string", "enum": ["ORDER", "ITEM", "NET", "GROSS", "PRICINGUNIT", "COMMITTED", "DAMAGED", "DELIVERED", "DELIVERY", "HOLD", "INTRANSIT", "INVOICE", "LADING", "MINIMUM_MAKETO_ORDER", "MINIMUMDELIVERY", "MINIMUMORDER", "ONHAND", "ONHOLD", "ONORDER", "OUTSTANDING", "OVER", "PACKAGED", "PURCHASEORDER", "QUESTIONED", "RECEIVED", "REJECTED", "RETURNED", "SCRAP", "SHIPPEDTODATE", "SHORT", "STOCKKEEPING", "UNUSABLE", "INSPECTION", "RELEASED", "CUMULATIVE", "DISCRETE", "OPEN", "UNITS", "INNERCONTAINERS", "ESTIMATED", "ALLOCATED", "PICKED", "TOTAL", "NOINVENTORY", "RECEIVEDSTAGED", "SHIPPEDSTAGED"]}, "freeTextNoteTypeDefinition": {"title": "Free Text Note Type Definition", "description": "Free Text Note Type Definition", "type": "object", "properties": {"freeFormText": {"title": "Free Form Text", "description": "Free Form Text", "type": "string"}, "textReferenceCode": {"title": "Text Reference Code", "description": "Text Reference Code", "type": "string"}, "language": {"title": "Language", "description": "Language", "type": "string"}, "textFunctionCode": {"title": "Text Function Code", "description": "Text Function Code", "type": "string"}, "textFormatCode": {"title": "Text Format Code", "description": "Text Format Code", "type": "string"}}}, "country": {"title": "Country Code", "description": "Country Code", "type": "string", "enum": ["AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GQ", "GL", "GM", "GN", "GP", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "US", "UM", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "YE", "YT", "ZA", "ZM", "ZW"]}, "data": {"type": "object", "properties": {"controlFileHeader": {"$ref": "#/definitions/controlFileHeaderTypeDefinition"}, "canonicalProductActivitySummary": {"type": "array", "items": {"$ref": "#/definitions/canonicalPurchaseOrderSummaryTypeDefinition"}}, "customFields": {"type": "array", "items": {"$ref": "#/definitions/nameValueTypeDefinition"}}, "canonicalProductActivityHeader": {"$ref": "#/definitions/canonicalProductActivityHeaderTypeDefinition"}, "canonicalProductActivityItemDetails": {"type": "array", "items": {"$ref": "#/definitions/canonicalProductActivityItemDetailsTypeDefinition"}}}}, "sapEDIControlExtensionTypeDefinition": {"title": "SAP EDI Control Extension Type Definition", "description": "SAP EDI Control Extension Type Definition", "type": "object", "properties": {"interchangeControlIdentifier": {"title": "Interchange Control Identifier", "description": "Interchange Control Identifier", "type": "string"}, "ediMessageVersionCode": {"title": "EDI Message Version Code", "description": "EDI Message Version Code", "type": "string"}, "archiveReferenceIdentifier": {"title": "Archive Reference Identifier", "description": "Archive Reference Identifier", "type": "string"}, "ediStandardCode": {"title": "EDI Standard Code", "description": "EDI Standard Code", "type": "string"}, "transactionControlIdentifier": {"title": "Transaction Control Identifier", "description": "Transaction Control Identifier", "type": "string"}, "ediTransactionType": {"title": "EDI Transaction Type", "description": "EDI Transaction Type", "type": "string"}, "groupControlIdentifier": {"title": "Group Control Identifier", "description": "Group Control Identifier", "type": "string"}}}, "canonicalProductActivityItemDetailsTypeDefinition": {"title": "Canonical Product Activity Item Details Type Definition", "description": "Canonical Product Activity Item Details Type Definition", "type": "object", "properties": {"itemQuantity": {"$ref": "#/definitions/itemQuantityTypeDefinition"}, "productActivityDetails": {"type": "array", "items": {"$ref": "#/definitions/productActivityDetailsTypeDefinition"}}, "freeTextNote": {"type": "array", "items": {"$ref": "#/definitions/freeTextNoteTypeDefinition"}}, "customFields": {"type": "array", "items": {"$ref": "#/definitions/nameValueTypeDefinition"}}, "productCodesIdentifiers": {"type": "array", "items": {"$ref": "#/definitions/productCodeTypeDefinition"}}, "lineItemNumber": {"title": "Line Item Number", "description": "Line Item Number", "type": "string"}}}, "x12ControlFileHeaderTypeDefinition": {"title": "X12 Control File Header Type Definition", "description": "X12 Control File Header Type Definition", "type": "object", "properties": {"x12TransactionSetEnvelope": {"$ref": "#/definitions/x12TransactionSetEnvelopeTypeDefinition"}, "x12InterchangeControlEnvelope": {"$ref": "#/definitions/x12InterchangeControlEnvelopeTypeDefinition"}, "x12TrailerSegments": {"type": "array", "items": {"$ref": "#/definitions/x12TrailerSegmentsTypeDefinition"}}, "x12FunctionalGroupControlEnvelope": {"$ref": "#/definitions/x12GroupHeaderTypeDefinition"}}}, "x12TransactionSetEnvelopeTypeDefinition": {"title": "X12 Transaction Set Envelope Type Definition", "description": "X12 Transaction Set Envelope Type Definition", "type": "object", "properties": {"transactionSetControlNumber": {"title": "Transaction Set Control Number", "description": "Transaction Set Control Number", "type": "string"}, "implementationConventionReference": {"title": "Implementation Convention Reference", "description": "Implementation Convention Reference", "type": "string"}}}, "addressTypeDefinition": {"title": "Address Type Definition", "description": "Address Type Definition", "type": "object", "properties": {"country": {"$ref": "#/definitions/country"}, "lscAddressIdentifier": {"title": "Lsc Address Identifier", "description": "Lsc Address Identifier", "type": "string"}, "city": {"title": "City", "description": "City", "type": "string"}, "address2": {"title": "Address2", "description": "Address2", "type": "string"}, "address1": {"title": "Address1", "description": "Address1", "type": "string"}, "postalCode": {"title": "Postal Code", "description": "Postal Code", "type": "string"}, "houseNumber": {"title": "House Number", "description": "House Number", "type": "string"}, "telephone": {"title": "Telephone", "description": "Telephone", "type": "string"}, "premisesCode": {"title": "Premises Code", "description": "Premises Code", "type": "string"}, "url": {"title": "Url", "description": "Url", "type": "string"}, "district": {"title": "District", "description": "District", "type": "string"}, "floorNumber": {"title": "Floor Number", "description": "Floor Number", "type": "string"}, "buildingNumber": {"title": "Building Number", "description": "Building Number", "type": "string"}, "state": {"title": "State", "description": "State", "type": "string"}, "village": {"title": "Village", "description": "Village", "type": "string"}, "fax": {"title": "Fax", "description": "Fax", "type": "string"}, "plantNumber": {"title": "Plant Number", "description": "Plant Number", "type": "string"}, "township": {"title": "Township", "description": "Township", "type": "string"}}}, "nameValueTypeDefinition": {"title": "Name Value Type Definition", "description": "Name Value Type Definition", "type": "object", "properties": {"name": {"title": "Name", "description": "Name", "maxLength": 256, "minLength": 1, "type": "string"}, "value": {"title": "Value", "description": "Value", "type": "string"}}}, "itemQuantityTypeDefinition": {"title": "Item Quantity Type Definition", "description": "Item Quantity Type Definition", "type": "object", "properties": {"quantityType": {"$ref": "#/definitions/quantityType"}, "unitOfMeasure": {"title": "Unit Of Measure", "description": "Unit Of Measure", "type": "string"}, "quantityValue": {"title": "Quantity Value", "description": "Quantity Value", "type": "string"}}}, "x12GroupHeaderTypeDefinition": {"title": "X12 Group Header Type Definition", "description": "X12 Group Header Type Definition", "type": "object", "properties": {"ediMessageVersionCode": {"title": "EDI Message Version Code", "description": "EDI Message Version Code", "type": "string"}, "groupReceiverNumber": {"title": "Group Receiver Number", "description": "Group Receiver Number", "type": "string"}, "groupSenderNumber": {"title": "Group Sender Number", "description": "Group Sender Number", "type": "string"}, "groupTime": {"title": "Group Time", "description": "Group Time", "type": "string"}, "x12AgencyCode": {"title": "X12 Agency Code", "description": "X12 Agency Code", "type": "string"}, "groupDate": {"title": "Group Date", "description": "Group Date", "type": "string"}, "groupControlNumber": {"title": "Group Control Number", "description": "Group Control Number", "type": "string"}}}, "destinationLocationQuantityTypeDefinition": {"title": "Destination Location Quantity Type Definition", "description": "Destination Location Quantity Type Definition", "type": "object", "properties": {"mpcCompanyLocationIdentifierList": {"$ref": "#/definitions/mpcCompanyLocationIdentifierListTypeDefinition"}, "companyIdentifierType": {"$ref": "#/definitions/companyIdentifierType"}, "locationQuantitySequence07": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "unitOfMeasure": {"title": "Unit Of Measure", "description": "Unit Of Measure", "type": "string"}, "locationQuantitySequence08": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "locationQuantitySequence09": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "locationQuantitySequence03": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "locationQuantitySequence04": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "locationQuantitySequence05": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "locationQuantitySequence06": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "locationQuantitySequence10": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "locationQuantitySequence01": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "locationQuantitySequence02": {"$ref": "#/definitions/destinationQuantityTypeDefinition"}, "locationQuantityValue": {"title": "Location Quantity Value", "description": "Location Quantity Value", "type": "string"}}}, "productItemCodeType": {"title": "Product Item Code Type", "description": "Product Item Code Type", "type": "string", "enum": ["AT_PZN", "BE_ABP_CODE", "BG_NATIONAL_NUMBER", "BR_ANVISA_REGISTRATION", "CA_DIN", "CH_SWISSMEDIC", "CN_SUBTYPE", "DE_PPN", "DE_PZN", "EU_EAN13", "ES_CODIGO_NATIONAL", "FR_CIP13", "GR_EOF", "HR_CROATIA_NATIONAL", "IN_PRODUCT_CODE", "IT_BOLLINO", "KR_KFDA_CODE", "NL_KNMP", "NRD_VNR_CODE", "PT_AIM", "SA_SAUDI_DRUG_CODE", "CZ_SUKL_CODE", "US_NDC442", "US_NDC532", "US_NDC541", "US_NDC542", "INTERNAL_MATERIAL_CODE", "CN_NDC", "CN_STANDARD", "UK_AMPP", "LU_NATIONAL_NUMBER", "TRACELINK_ID"]}, "contactInformationTypeDefinition": {"title": "Contact Information Type Definition", "description": "Contact Information Type Definition", "type": "object", "properties": {"contactTitle": {"title": "Contact Title", "description": "Contact Title", "type": "string"}, "contactEmail": {"title": "Contact Email", "description": "Contact Email", "type": "string"}, "contactName": {"title": "Contact Name", "description": "Contact Name", "type": "string"}, "contactPhone": {"title": "Contact Phone", "description": "Contact Phone", "type": "string"}}}, "suggestedPurchaseOrderNumbersTypeDefinition": {"title": "Suggested Purchase Order Numbers Type Definition", "description": "Suggested Purchase Order Numbers Type Definition", "type": "object", "properties": {"companyIdentifierType": {"$ref": "#/definitions/companyIdentifierType"}, "suggestedPurchaseOrderNumber": {"title": "Suggested Purchase Order Number", "description": "Suggested Purchase Order Number", "type": "string"}, "suggestedPurchaseOrderNumberTo": {"title": "Suggested Purchase Order Number To", "description": "Suggested Purchase Order Number To", "type": "string"}, "companyIdentifierValue": {"title": "Company Identifier Value", "description": "Company Identifier Value", "type": "string"}}}, "trailerSegmentType": {"title": "Trailer Segment Type", "description": "Trailer Segment Type", "type": "string", "enum": ["TRANSACTION", "GROUP", "INTERCHANGE"]}, "sapControlFileHeaderTypeDefinition": {"title": "SAP Control File Header Type Definition", "description": "SAP Control File Header Type Definition", "type": "object", "properties": {"senderMessagePartnerTypeCode": {"title": "Sender Message Partner Type Code", "description": "Sender Message Partner Type Code", "type": "string"}, "interchangeControlIdentifier": {"title": "Interchange Control Identifier", "description": "Interchange Control Identifier", "type": "string"}, "sapMessageCode": {"title": "SAP Message Code", "description": "SAP Message Code", "type": "string"}, "receiverMessageLogicalAddress": {"title": "Receiver Message Logical Address", "description": "Receiver Message Logical Address", "type": "string"}, "sapMessageUsageCode": {"title": "SAP Message Usage Code", "description": "SAP Message Usage Code", "type": "string"}, "senderSystemPort": {"title": "Sender System Port", "description": "Sender System Port", "type": "string"}, "senderMessagePartnerFunction": {"title": "Sender Message Partner Function", "description": "Sender Message Partner Function", "type": "string"}, "serializationSequentialIdentifier": {"title": "Serialization Sequential Identifier", "description": "Serialization Sequential Identifier", "type": "string"}, "sapClientIdentifier": {"title": "SAP Client Identifier", "description": "SAP Client Identifier", "type": "string"}, "fileReceiverType": {"$ref": "#/definitions/ediEnvelopePartyTypeDefinition"}, "sapEDIControlExtension": {"$ref": "#/definitions/sapEDIControlExtensionTypeDefinition"}, "fileSenderType": {"$ref": "#/definitions/ediEnvelopePartyTypeDefinition"}, "idocReleaseNumber": {"title": "Idoc Release Number", "description": "Idoc Release Number", "type": "string"}, "sapMessageFunctionCode": {"title": "SAP Message Function Code", "description": "SAP Message Function Code", "type": "string"}, "receiverSystemPort": {"title": "Receiver System Port", "description": "Receiver System Port", "type": "string"}, "senderMessageLogicalAddress": {"title": "Sender Message Logical Address", "description": "Sender Message Logical Address", "type": "string"}}}, "edifactInterchangeHeaderTypeDefinition": {"title": "EDIFACT Interchange Header Type Definition", "description": "EDIFACT Interchange Header Type Definition", "type": "object", "properties": {"applicationReferenceIdentifier": {"title": "Application Reference Identifier", "description": "Application Reference Identifier", "type": "string"}, "interchangeControlIdentifier": {"title": "Interchange Control Identifier", "description": "Interchange Control Identifier", "type": "string"}, "recipientPasswordType": {"title": "Recipient Password Type", "description": "Recipient Password Type", "type": "string"}, "isEdifactServiceStringAdvicePopulated": {"title": "Is EDIFACT Service String Advice Populated", "description": "Is EDIFACT Service String Advice Populated", "type": "boolean"}, "usageIndicator": {"title": "Usage Indicator", "description": "Usage Indicator", "type": "string"}, "isEdifactGroupPopulated": {"title": "Is EDIFACT Group Populated", "description": "Is EDIFACT Group Populated", "type": "boolean"}, "syntaxEncodingVersionString": {"title": "Syntax Encoding Version String", "description": "Syntax Encoding Version String", "type": "string"}, "fileReceiverType": {"$ref": "#/definitions/ediEnvelopePartyTypeDefinition"}, "recipientPasswordValue": {"title": "Recipient Password Value", "description": "Recipient Password Value", "type": "string"}, "syntaxEncodingIdentifier": {"title": "Syntax Encoding Identifier", "description": "Syntax Encoding Identifier", "type": "string"}, "isAcknowledgmentRequired": {"title": "Is Acknowledgment Required", "description": "Is Acknowledgment Required", "type": "boolean"}, "interchangeAgreementIdentifier": {"title": "Interchange Agreement Identifier", "description": "Interchange Agreement Identifier", "type": "string"}, "edifactFileSenderType": {"$ref": "#/definitions/edifactEnvelopePartyTypeDefinition"}, "fileSenderType": {"$ref": "#/definitions/ediEnvelopePartyTypeDefinition"}, "edifactFileReceiverType": {"$ref": "#/definitions/edifactEnvelopePartyTypeDefinition"}}}, "edifactGroupHeaderTypeDefinition": {"title": "EDIFACT Group Header Type Definition", "description": "EDIFACT Group Header Type Definition", "type": "object", "properties": {"groupSenderNumber": {"title": "Group Sender Number", "description": "Group Sender Number", "type": "string"}, "fileReceiverType": {"$ref": "#/definitions/ediEnvelopePartyTypeDefinition"}, "controllingAgency": {"title": "Controlling Agency", "description": "Controlling Agency", "type": "string"}, "ediMessageVersionCode": {"title": "EDI Message Version Code", "description": "EDI Message Version Code", "type": "string"}, "groupReceiverNumber": {"title": "Group Receiver Number", "description": "Group Receiver Number", "type": "string"}, "groupTime": {"title": "Group Time", "description": "Group Time", "type": "string"}, "messageReleaseNumber": {"title": "Message Release Number", "description": "Message Release Number", "type": "string"}, "groupDate": {"title": "Group Date", "description": "Group Date", "type": "string"}, "edifactFileSenderType": {"$ref": "#/definitions/edifactEnvelopePartyTypeDefinition"}, "groupControlNumber": {"title": "Group Control Number", "description": "Group Control Number", "type": "string"}, "fileSenderType": {"$ref": "#/definitions/ediEnvelopePartyTypeDefinition"}, "edifactFileReceiverType": {"$ref": "#/definitions/edifactEnvelopePartyTypeDefinition"}}}, "edifactMessageHeaderTypeDefinition": {"title": "EDIFACT Message Header Type Definition", "description": "EDIFACT Message Header Type Definition", "type": "object", "properties": {"controllingAgency": {"title": "Controlling Agency", "description": "Controlling Agency", "type": "string"}, "messageControlNumber": {"title": "Message Control Number", "description": "Message Control Number", "type": "string"}, "ediMessageVersionCode": {"title": "EDI Message Version Code", "description": "EDI Message Version Code", "type": "string"}, "messageReleaseNumber": {"title": "Message Release Number", "description": "Message Release Number", "type": "string"}, "associationCode": {"title": "Association Code", "description": "Association Code", "type": "string"}}}, "quantityActivityCode": {"title": "Quantity Activity Code", "description": "Quantity Activity Code", "type": "string", "enum": ["STOLEN", "SHIPPED", "DELIVERYLEADTIME", "SEASONAL", "LOSTSALESDAMAGED", "ONHOLD", "UNFULFILLEDSALES", "LEADTIMEVARIANCE", "DROPSHIPPED", "RETURNEDTOMANUFACTURER", "REPACKEDSALES", "PLANNEDORDER", "DEVIATION", "REORDERPOINT", "NETSOLD", "RETURNEDTODISTRIBUTOR", "DEFECTIVERETURNS", "ORDERED", "UNRESTRICTED", "ONHAND", "COMMITTED", "FORECASTSALESDEMAND", "ENDINGBALANCE", "ADJUSTEDSERVICELEVEL", "MORGUEINVENTORY", "INTRANSIT", "TRADINGCOMPANYSALES", "MINIMUMINVENTORY", "MAXIMUMINVENTORY", "PLANNEDINVENTORY", "OUTOFSTOCK", "ONORDER", "RECEIVED", "TOTALSOLD", "ADJUSTMENT", "RETURNEDBYCONSUMER", "TOTALWITHDRAWN", "REPLENISHMENTOVERRIDE", "TRANSFERRED", "RETAILSALES", "TOTALRETURNED", "TOTALSALES", "WHOLESALE"]}, "x12EnvelopePartyTypeDefinition": {"title": "X12 Envelope Party Type Definition", "description": "X12 Envelope Party Type Definition", "type": "object", "properties": {"x12EnvelopePartyType": {"$ref": "#/definitions/x12EnvelopePartyType"}}}, "mpcPartnerTypeDefinition": {"title": "MPC Partner Type Definition", "description": "MPC Partner Type Definition", "type": "object", "properties": {"mpcCompanyLocationIdentifierList": {"type": "array", "items": {"$ref": "#/definitions/mpcCompanyLocationIdentifierListTypeDefinition"}}, "companyLocationContactInformation": {"$ref": "#/definitions/contactInformationTypeDefinition"}, "companyLocationPartnerName": {"title": "Company Location Partner Name", "description": "Company Location Partner Name", "type": "string"}, "address": {"$ref": "#/definitions/addressTypeDefinition"}, "businessName": {"title": "Business Name", "description": "Business Name", "type": "string"}}}, "deliveryOption": {"title": "Delivery Option", "description": "Delivery Option", "type": "string", "enum": ["NO_PROCESSING", "TRANSFORM_ONLY", "TRANSFORM_AND_DELIVER"]}, "transactionReferenceType": {"title": "Transaction Reference Type", "description": "Transaction Reference Type", "type": "string", "enum": ["LOTNUMBER", "LINEITEMNUMBER", "VENDORNUMBER", "INTERNALVENDORNUMBER", "CHANGEREASON", "STORENUMBER", "PROMOTIONDEALNUMBER", "CUSTOM"]}, "productActivityPurposeCode": {"title": "Product Activity Purpose Code", "description": "Product Activity Purpose Code", "type": "string", "enum": ["PLANORDERS", "NOTIFICATION", "PURCHASEORDERS"]}, "edifactEnvelopeTrailerSegmentsTypeDefinition": {"title": "EDIFACT Envelope Trailer Segments Type Definition", "description": "EDIFACT Envelope Trailer Segments Type Definition", "type": "object", "properties": {"trailerSegmentType": {"$ref": "#/definitions/trailerSegmentType"}, "trailerSegmentIdentifier": {"title": "Trailer Segment Identifier", "description": "Trailer Segment Identifier", "type": "string"}, "trailerSegmentCount": {"title": "Trailer Segment Count", "description": "Trailer Segment Count", "type": "integer"}}}, "edifactControlFileHeaderTypeDefinition": {"title": "EDIFACT Control File Header Type Definition", "description": "EDIFACT Control File Header Type Definition", "type": "object", "properties": {"isGroupPopulated": {"title": "Is Group Populated", "description": "Is Group Populated", "type": "boolean"}, "edifactMessageHeader": {"$ref": "#/definitions/edifactMessageHeaderTypeDefinition"}, "isServiceStringAdvicePopulated": {"title": "Is Service String Advice Populated", "description": "Is Service String Advice Populated", "type": "boolean"}, "edifactInterchangeHeader": {"$ref": "#/definitions/edifactInterchangeHeaderTypeDefinition"}, "edifactEnvelopeTrailerSegments": {"type": "array", "items": {"$ref": "#/definitions/edifactEnvelopeTrailerSegmentsTypeDefinition"}}, "edifactGroupHeader": {"$ref": "#/definitions/edifactGroupHeaderTypeDefinition"}}}, "canonicalProductActivityHeaderTypeDefinition": {"title": "Canonical Product Activity Header Type Definition", "description": "Canonical Product Activity Header Type Definition", "type": "object", "properties": {"distributorBranchInformation": {"$ref": "#/definitions/mpcPartnerTypeDefinition"}, "productActivityPurposeCode": {"$ref": "#/definitions/productActivityPurposeCode"}, "suggestedPurchaseOrderNumbers": {"type": "array", "items": {"$ref": "#/definitions/suggestedPurchaseOrderNumbersTypeDefinition"}}, "customFields": {"type": "array", "items": {"$ref": "#/definitions/nameValueTypeDefinition"}}, "toDate": {"title": "To Date", "description": "To Date", "type": "string"}, "reportingLocationBusinessInformation": {"$ref": "#/definitions/mpcPartnerTypeDefinition"}, "epochToDate": {"title": "Epoch To Date", "description": "Epoch To Date", "type": "integer"}, "epochFromDate": {"title": "Epoch From Date", "description": "Epoch From Date", "type": "integer"}, "supplierBusinessInformation": {"$ref": "#/definitions/mpcPartnerTypeDefinition"}, "shipFromLocationInformation": {"$ref": "#/definitions/mpcPartnerTypeDefinition"}, "transactionReferenceInformation": {"type": "array", "items": {"$ref": "#/definitions/transactionReferenceInformationTypeDefinition"}}, "fromDate": {"title": "From Date", "description": "From Date", "type": "string"}, "customerBusinessInformation": {"$ref": "#/definitions/mpcPartnerTypeDefinition"}, "freeTextNote": {"type": "array", "items": {"$ref": "#/definitions/freeTextNoteTypeDefinition"}}, "transactionReferenceIdentifierList": {"type": "array", "items": {"$ref": "#/definitions/b2bTransactionIdentifierReferenceTypeDefinition"}}, "distributorBusinessInformation": {"$ref": "#/definitions/mpcPartnerTypeDefinition"}, "shipToLocationInformation": {"$ref": "#/definitions/mpcPartnerTypeDefinition"}}}, "canonicalPurchaseOrderSummaryTypeDefinition": {"title": "Canonical Purchase Order Summary Type Definition", "description": "Canonical Purchase Order Summary Type Definition", "type": "object", "properties": {"summaryType": {"$ref": "#/definitions/summaryType"}, "summaryValue": {"title": "Summary Value", "description": "Summary Value", "type": "string"}, "summaryValueUnit": {"title": "Summary Value Unit", "description": "Summary Value Unit", "type": "string"}}}, "productActivityDetailsTypeDefinition": {"title": "Product Activity Details Type Definition", "description": "Product Activity Details Type Definition", "type": "object", "properties": {"fromDate": {"title": "From Date", "description": "From Date", "type": "string"}, "unitOfMeasure": {"title": "Unit Of Measure", "description": "Unit Of Measure", "type": "string"}, "activityQuantity": {"title": "Activity Quantity", "description": "Activity Quantity", "type": "number"}, "quantityActivityCode": {"$ref": "#/definitions/quantityActivityCode"}, "toDate": {"title": "To Date", "description": "To Date", "type": "string"}, "transactionReferenceIdentifierList": {"$ref": "#/definitions/b2bTransactionIdentifierReferenceTypeDefinition"}, "epochToDate": {"title": "Epoch To Date", "description": "Epoch To Date", "type": "integer"}, "epochFromDate": {"title": "Epoch From Date", "description": "Epoch From Date", "type": "integer"}, "destinationLocationQuantity": {"type": "array", "items": {"$ref": "#/definitions/destinationLocationQuantityTypeDefinition"}}}}, "destinationQuantityTypeDefinition": {"title": "Destination Quantity Type Definition", "description": "Destination Quantity Type Definition", "type": "object", "properties": {"destinationQuantity": {"title": "Destination Quantity", "description": "Destination Quantity", "type": "number"}, "locationIdentifier": {"title": "Location Identifier", "description": "Location Identifier", "type": "string"}}}, "transactionReferenceInformationTypeDefinition": {"title": "Transaction Reference Information Type Definition", "description": "Transaction Reference Information Type Definition", "type": "object", "properties": {"epochTransactionReferenceDate": {"title": "Epoch Transaction Reference Date", "description": "Epoch Transaction Reference Date", "type": "integer"}, "transactionReferenceType": {"$ref": "#/definitions/transactionReferenceType"}, "transactionReferenceDate": {"title": "Transaction Reference Date", "description": "Transaction Reference Date", "type": "string"}, "description": {"title": "Description", "description": "Description", "maxLength": 1024, "minLength": 1, "type": "string"}, "transactionReferenceIdentifier": {"title": "Transaction Reference Identifier", "description": "Transaction Reference Identifier", "type": "string"}}}, "mpcCompanyLocationIdentifierListTypeDefinition": {"title": "MPC Company Location Identifier List Type Definition", "description": "MPC Company Location Identifier List Type Definition", "type": "object", "properties": {"companyIdentifierType": {"$ref": "#/definitions/companyIdentifierType"}, "isIdentifierPresentInEvent": {"title": "Is Identifier Present In Event", "description": "Is Identifier Present In Event", "type": "boolean"}, "alternateCompanyLocationIdentifierValue": {"title": "Alternate Company Location Identifier Value", "description": "Alternate Company Location Identifier Value", "type": "string"}, "companyIdentifierValue": {"title": "Company Identifier Value", "description": "Company Identifier Value", "type": "string"}}}, "x12TrailerSegmentsTypeDefinition": {"title": "X12 Trailer Segments Type Definition", "description": "X12 Trailer Segments Type Definition", "type": "object", "properties": {"trailerSegmentType": {"$ref": "#/definitions/trailerSegmentType"}, "trailerSegmentIdentifier": {"title": "Trailer Segment Identifier", "description": "Trailer Segment Identifier", "type": "string"}, "trailerSegmentCount": {"title": "Trailer Segment Count", "description": "Trailer Segment Count", "type": "integer"}}}, "x12EnvelopePartyType": {"title": "X12 Envelope Party Type", "description": "X12 Envelope Party Type", "type": "string", "enum": ["DUNS", "SCAC", "FMC", "IATA", "GLN", "UCC", "X121", "DODADDRESS", "DEA", "PHONE", "UCS", "DUNSPLUS", "PASC", "DUNS4", "ABA", "AAR", "EDIAUSTRALIA", "HIN", "IPEDS", "FICE", "NCES", "ATP", "ACT", "STATSCANPOSTSECONDARY", "HCFACARRIER", "HCFAINTERMEDIARY", "HCFAMEDICAREPROVIDER", "USTIN", "IAIABCJURISDICTION", "USEIN", "NAIC", "HCFAMEDICAIDPROVIDER", "STATSCANCOLLEGESTUDENT", "STATSCANUNIVERSITYSTUDENT", "SPICA", "COLLEGEBOARD", "AMECOP", "NRMA", "SAFER", "ADDRESS", "CUSTOM"]}, "productCodeType": {"title": "Product Code Type", "description": "Product Code Type", "type": "string", "enum": ["BUYER", "CNRESCODE", "CUSTOMER", "GTIN14", "MANUFACTURER", "NTIN", "SKU", "SUPPLIER", "UPC", "VENDOR", "BE_ABP_CODE", "BG_NATIONAL_NUMBER", "BR_ANVISA_REGISTRATION", "CA_DIN", "CH_SWISSMEDIC", "CN_SUBTYPE", "DE_PPN", "DE_PZN", "EU_EAN13", "ES_CODIGO_NATIONAL", "FR_CIP13", "GR_EOF", "HR_CROATIA_NATIONAL", "IN_PRODUCT_CODE", "IT_BOLLINO", "KR_KFDA_CODE", "NL_KNMP", "NRD_VNR_CODE", "PT_AIM", "SA_SAUDI_DRUG_CODE", "CZ_SUKL_CODE", "US_NDC442", "US_NDC532", "US_NDC541", "US_NDC542", "INTERNAL_MATERIAL_CODE", "CN_NDC", "CN_STANDARD", "UK_AMPP", "LU_NATIONAL_NUMBER", "TRACELINK_ID", "BUYERCATALOG", "EAN2551", "BUYERITEM", "NATIONALHEALTH", "CASEUPC", "PACKAGEUPC", "GTIN12", "VENDORCATALOG", "US_NHRIC", "US_NHRIC55", "US_NHRIC64", "UPN"]}, "x12InterchangeControlEnvelopeTypeDefinition": {"title": "X12 Interchange Control Envelope Type Definition", "description": "X12 Interchange Control Envelope Type Definition", "type": "object", "properties": {"interchangeControlVersion": {"title": "Interchange Control Version", "description": "Interchange Control Version", "type": "string"}, "interchangeControlIdentifier": {"title": "Interchange Control Identifier", "description": "Interchange Control Identifier", "type": "string"}, "securityInformationType": {"title": "Security Information Type", "description": "Security Information Type", "type": "string"}, "usageIndicator": {"title": "Usage Indicator", "description": "Usage Indicator", "type": "string"}, "componentSeparator": {"title": "Component Separator", "description": "Component Separator", "type": "string"}, "repetitionSeparator": {"title": "Repetition Separator", "description": "Repetition Separator", "type": "string"}, "authorizationInformationType": {"title": "Authorization Information Type", "description": "Authorization Information Type", "type": "string"}, "securityInformationValue": {"title": "Security Information Value", "description": "Security Information Value", "type": "string"}, "fileReceiverType": {"$ref": "#/definitions/ediEnvelopePartyTypeDefinition"}, "isAcknowledgmentRequired": {"title": "Is Acknowledgment Required", "description": "Is Acknowledgment Required", "type": "boolean"}, "x12FileReceiverType": {"$ref": "#/definitions/x12EnvelopePartyTypeDefinition"}, "x12FileSenderType": {"$ref": "#/definitions/x12EnvelopePartyTypeDefinition"}, "fileSenderType": {"$ref": "#/definitions/ediEnvelopePartyTypeDefinition"}, "authorizationInformationValue": {"title": "Authorization Information Value", "description": "Authorization Information Value", "type": "string"}}}, "edifactEnvelopePartyType": {"title": "EDIFACT Envelope Party Type", "description": "EDIFACT Envelope Party Type", "type": "string", "enum": ["DUNS", "IATA", "INSEE", "UCC", "DUNS4", "TELEPHONE", "GLN", "AIAG", "ISO6523", "DIN", "BFA", "NSA", "GEIS", "INS", "DATENZENTRALE_EINZELHANDELS", "BUNDESVERBAND_BAUSTOFFHAENDLER", "BANKIDENTIFIER", "KTNET", "UPU", "ODETTE", "SCAC", "EDIAUSTRALIA", "TELEBOX400", "NHS", "NTRA", "ATHENS_COFC", "SWISS_COFC", "US_INTERNATIONAL", "BELGIUM_COFC", "BRITAIN_COFC", "SITA", "SELLER", "BUYER", "TRADEVAN", "CHBCNR", "CHBPI", "DODADDRESS", "FRDGCP", "FRDGI", "JIPDEC_ECPC", "ITU", "BDEW", "EASEE_GAS", "DVGW", "VEHICLEREGISTRATION", "CUSTOM"]}, "companyIdentifierType": {"title": "Company Identifier Type", "description": "Company Identifier Type", "type": "string", "enum": ["AM_TIN", "AR_CUIT", "BR_CNES", "BR_CNPJ", "BR_CPF", "BR_PROF_REG", "BY_TIN", "CN_CHINA_ID", "CN_USCID", "CN_FOREIGN_MFR", "CN_FOREIGN_MAH", "COMPANYID", "COMPANYSITEID", "DEA", "DE_IFA_REG_NUM", "DUNS", "DUNS4", "GCP", "GLN", "HIN", "IN_COMPANY_ID", "IN_IEC", "IN_GSTN", "IN_LOCATION_ID", "IN_MFR", "IN_MRCH", "IN_PAN", "IN_TIN", "KG_TIN", "KR_BUS_REG_NUMBER", "KR_PROVIDER_CODE", "KZ_BIN", "RU_ACCOUNT_NUMBER", "RU_INN_FOREIGN_ENTITY", "RU_INN_INDIV", "RU_INN_KPP_TAX_CODE", "RU_INN_LOCAL_ENTITY", "SGLN", "TRACELINK_ID", "ID_BPOM_FACILITYID", "UZ_TIN", "SCAC", "US_340B_ID", "PHARMACY_PROCESSOR_NUMBER", "EU_SPOR_ORG_ID"]}, "businessObjectSubtypeMappingTypeDefinition": {"title": "Business Object Subtype Mapping Type Definition", "description": "Business Object Subtype Mapping Type Definition", "type": "object", "properties": {"businessObjectSubtype": {"title": "Business Object Subtype", "description": "Business Object Subtype", "type": "string"}, "businessObjectType": {"title": "Business Object Type", "description": "Audit Entry businessObjectType", "type": "string"}}}, "summaryType": {"title": "Summary Type", "description": "Summary Type", "type": "string", "enum": ["AMOUNTQUALIFYINGFORDISCOUNT", "BILLEDVALUE", "CASHDISCOUNTAMOUNT", "GROSSDOCUMENTVALUE", "GROSSWEIGHT", "NETDOCUMENTVALUE", "NETWEIGHT", "NUMBEROFITEMS", "TARGETVALUEOUTLINEAGREEMENT", "TOTALAMOUNT", "TOTALDISCOUNTSURCHARGES", "TOTALNETAMOUNT", "TOTALNETVALUE", "TOTALQUANTITY", "TOTALSALESTAX", "TOTALWEIGHT", "LINEITEMTOTAL", "LADINGQUANTITY", "TOTALVOLUME"]}, "b2bTransactionIdentifierReferenceTypeDefinition": {"title": "B2B Transaction Identifier Reference Type Definition", "description": "B2B Transaction Identifier Reference Type Definition", "type": "object", "properties": {"b2bTransactionIdentifierValue": {"title": "B2B Transaction Identifier Value", "description": "B2B Transaction Identifier Value", "type": "string"}, "epochTransactionDate": {"title": "Epoch Transaction Date", "description": "Epoch Transaction Date", "type": "integer"}, "transactionDate": {"title": "Transaction Date", "description": "Transaction Date", "type": "string"}, "lineItemNumber": {"title": "Line Item Number", "description": "Line Item Number", "type": "string"}, "b2bTransactionIdentifierType": {"$ref": "#/definitions/b2bTransactionIdentifierType"}}}, "edifactEnvelopePartyTypeDefinition": {"title": "EDIFACT Envelope Party Type Definition", "description": "EDIFACT Envelope Party Type Definition", "type": "object", "properties": {"edifactEnvelopePartyType": {"$ref": "#/definitions/edifactEnvelopePartyType"}}}, "ediEnvelopePartyTypeDefinition": {"title": "EDI Envelope Party Type Definition", "description": "EDI Envelope Party Type Definition", "type": "object", "properties": {"ediInterchangePartyValue": {"title": "EDI Interchange Party Value", "description": "EDI Interchange Party Value", "type": "string"}, "ediEnvelopePartyType": {"title": "EDI Envelope Party Type", "description": "EDI Envelope Party Type", "type": "string"}}}, "productCodeTypeDefinition": {"title": "Product Code Type Definition", "description": "Product Code Type Definition", "type": "object", "properties": {"productCodeValue": {"title": "Product Code Value", "description": "Product Code Value", "type": "string"}, "productCodeType": {"$ref": "#/definitions/productCodeType"}, "productItemCodeType": {"$ref": "#/definitions/productItemCodeType"}}}, "b2bTransactionIdentifierType": {"title": "B2B Transaction Identifier Type", "description": "B2B Transaction Identifier Type", "type": "string", "enum": ["PURCHASEORDER", "SUPPLIERORDER", "DELIVERY", "RECEIPT", "BOL", "INVOICE", "RETURN", "CUSTOMERINQUIRY", "SUPPLIERQUOTATION", "CUSTOMERCONTRACT", "SUPPLIERCONTRACT", "DOCUMENT", "RELEASE", "CARRIERREFERENCE", "CATALOGNUMBER", "CONTRACT", "INVENTORYREPORT", "MASTERBOL", "QUOTE", "RFQ", "RESERVATION", "RETURNAUTHORIZATION", "SEALNUMBER", "SHIPMENT", "TRACKINGNUMBER", "TRANSACTIONREFERENCE", "TRANSPORTATIONCONTROLNUMBER", "VERSION", "WORKORDER", "ASSIGNMENT", "BILLINGREFERENCE", "PRECEDINGDOCUMENT", "EXTERNALDELIVERY", "WAREHOUSESHIPPINGORDER", "WAREHOUSESHIPPINGADVICE", "WAREHOUSESTOCKTRANSFERSHIPMENTADVICE", "WAREHOUSESTOCKTRANSFERRECEIPTADVICE", "REFERENCE", "BATCHMASTER", "INVENTORYBALANCE", "DELIVERYSCHEDULE", "FORECASTPLANRESPONSE", "FORECASTPLAN", "INVENTORYUPDATE", "REMITTANCE", "PAYMENT", "CREDITMEMO", "DEBITMEMO", "ELECTRONICPAYMENT", "MASTERACCOUNT", "ACCOUNTSRECEIVABLE", "CHECK", "REMITTANCEADVICE", "PRICESALESCATALOG", "RAREQ", "RARES", "BATCH", "DEAORDER", "THIRDPARTYREFERENCE", "ORIGINALINVOICE", "CRA", "CREDITADVICE", "DEBITADVICE", "PA"]}, "controlFileHeaderTypeDefinition": {"title": "Control File Header Type Definition", "description": "Control File Header Type Definition", "type": "object", "properties": {"b2bWrapperSubType": {"title": "B2B Wrapper Sub Type", "description": "B2B Wrapper Sub Type", "type": "string"}, "fileReceiverNumber": {"title": "File Receiver Number", "description": "File Receiver Number", "type": "string"}, "fileControlNumber": {"title": "File Control Number", "description": "File Control Number", "type": "string"}, "sapControlFileHeader": {"$ref": "#/definitions/sapControlFileHeaderTypeDefinition"}, "fileSenderNumber": {"title": "File Sender Number", "description": "File Sender Number", "type": "string"}, "x12ControlFileHeader": {"$ref": "#/definitions/x12ControlFileHeaderTypeDefinition"}, "fileDateTime": {"title": "File Date Time", "description": "File Date Time", "type": "string"}, "businessObjectSubtypeMapping": {"$ref": "#/definitions/businessObjectSubtypeMappingTypeDefinition"}, "edifactControlFileHeader": {"$ref": "#/definitions/edifactControlFileHeaderTypeDefinition"}, "linkIdentifier": {"title": "Link Identifier", "description": "Link Identifier", "type": "string"}, "b2bTransactionTypeName": {"title": "B2b Transaction Type Name", "description": "B2b Transaction Type Name", "type": "string"}, "deliveryOption": {"$ref": "#/definitions/deliveryOption"}, "skipProcessing": {"title": "Skip Processing", "description": "Skip Processing", "type": "boolean"}}}}, "properties": {"id": {"type": "string"}, "schemaId": {"type": "string", "minLength": 1}, "schemaVersion": {"type": "integer", "minimum": 0}, "objectType": {"type": "string", "description": "name of type definition"}, "data": {"$ref": "#/definitions/data"}}, "required": ["id", "schemaId", "schemaVersion", "objectType", "data"], "indexes": [{"indexName": "indexLastUpdatedByUserId", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/lastUpdatedByUserId"]}, {"indexName": "indexCurrentBaseState", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/currentBaseState"]}, {"indexName": "indexCurrentSubState", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/currentSubState"]}, {"indexName": "indexCreatedByUserId", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/createdByUserId"]}, {"indexName": "indexCreationDateTime", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "long", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/creationDateTime"]}, {"indexName": "indexLastUpdatedDateTime", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "long", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/lastUpdatedDateTime"]}, {"indexName": "indexObjectType", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/objectType"]}, {"indexName": "indexLuceneContextualOwnerId", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "LUCENE_FTS", "isEmptyAllowed": false, "fields": ["/contextualOwnerId"]}, {"indexName": "indexContextualOwnerId", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/contextualOwnerId"]}, {"indexName": "indexOwnerId", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/ownerId"]}, {"indexName": "indexLuceneOwnerId", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "LUCENE_FTS", "isEmptyAllowed": false, "fields": ["/ownerId"]}, {"indexName": "indexSubType", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "NORMAL", "isEmptyAllowed": false, "fields": ["/subType"]}, {"indexName": "indexLuceneSubType", "unique": false, "asc": true, "fieldSeparator": "_", "indexValues": [], "dataType": "string", "style": "DNP", "category": "LUCENE_FTS", "isEmptyAllowed": false, "fields": ["/subType"]}], "title": "canonical Product Activity", "description": "canonical Product Activity"}