<?xml version="1.0" encoding="UTF-8"?>
<ProcessSpecification
  xmlns="http://www.ebxml.org/BusinessProcess"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.ebxml.org/BusinessProcess ebBPSS1.03.xsd"
  name="PIP3A4RequestPurchaseOrder"
  uuid="urn:icann:rosettanet.org:bpid:3A4$2.0"
  version="R02.00">
  <Documentation>
    This PIP enables a buyer to issue a purchase order and obtain a quick response
    from the provider that acknowledges which of the purchase order product line
    items are accepted, rejected, or pending.
  </Documentation>
  <!--Purchase order Request Document-->
  <BusinessDocument
    name="Puchase Order Request"
    nameID="Pip3A4PurchaseOrderRequest"
    specificationLocation="PurchaseOrderRequest.xsd">
    <Documentation>
      The document is an XSD file that specifies the rules for creating the XML
      document for the business action of requesting a purchase order.
    </Documentation>
  </BusinessDocument>
  <BusinessDocument
    name="Puchase Order Confirmation"
    nameID="Pip3A4PurchaseOrderConfirmation"
    specificationLocation="PurchaseOrderConfirmation.xsd">
    <Documentation>
      The document is an XSD file that specifies the rules for creating the XML
      document for the business action of making a purchase order confirmation.
    </Documentation>
  </BusinessDocument>
  <BusinessTransaction
    name="Request Purchase Order"
    nameID="RequestPurchaseOrder_BT">
    <RequestingBusinessActivity
      name="Purchase Order Request Action"
      nameID="PurchaseOrderRequestAction" 
      isAuthorizationRequired ="true"
      isIntelligibleCheckRequired="true"
      isNonRepudiationReceiptRequired="true"
      isNonRepudiationRequired="true"
      timeToAcknowledgeReceipt="P0Y0M0DT2H0M0S">
      <DocumentEnvelope
        businessDocument="Puchase Order Request"
        businessDocumentIDRef="Pip3A4PurchaseOrderRequest"
        isAuthenticated="persistent"
        isConfidential="transient"
        isTamperProof="persistent"/>
    </RequestingBusinessActivity>
    <RespondingBusinessActivity
      name="Purchase Order Confirmation Action"
      nameID="PurchaseOrderConfirmationAction"
      isAuthorizationRequired="true"
      isIntelligibleCheckRequired="true"
      isNonRepudiationReceiptRequired="false"
      isNonRepudiationRequired="true"
      timeToAcknowledgeReceipt="P0Y0M0DT2H0M0S">
      <DocumentEnvelope
        businessDocument="Purchase Order Confirmation"
        businessDocumentIDRef="Pip3A4PurchaseOrderConfirmation"
        isAuthenticated="persistent"
        isConfidential="transient"
        isPositiveResponse="true"
        isTamperProof="persistent"/>
    </RespondingBusinessActivity>
  </BusinessTransaction>
  <BinaryCollaboration
    name="Request Purchase Order"
    nameID="RequestPurchaseOrder_BC">
    <InitiatingRole
      name="Buyer"
      nameID="BuyerId"/>
    <RespondingRole
      name="Seller"
      nameID="SellerId"/>
    <Start toBusinessState="Request Purchase Order"/>
    <BusinessTransactionActivity
      name="Request Purchase Order"
      nameID="RequestPurchaseOrder_BTA"
      businessTransaction="Request Purchase Order"
      businessTransactionIDRef="RequestPurchaseOrder_BT"
      fromAuthorizedRole="Buyer" fromAuthorizedRoleIDRef="BuyerId"
      toAuthorizedRole="Seller" toAuthorizedRoleIDRef="SellerId"
      isLegallyBinding="true"
      timeToPerform="P0Y0M0DT24H0M0S"
      isConcurrent="false"/>
    <Transition
      fromBusinessState="Request Purchase Order"
      toBusinessState="Request Purchase Order"/>
    <Success
      fromBusinessState="Request Purchase Order"
      conditionGuard="Success"/>
    <Failure
      fromBusinessState="Request Purchase Order"
      conditionGuard="BusinessFailure"/>
  </BinaryCollaboration>
</ProcessSpecification>
