title: Chaincode Endorsement policy in YAML file
body: <p>I am studying <strong>Hyperledger Fabric</strong> blockchain framework ,trying out sample codes . i ran the <strong>BYFN</strong> network from the tutorial given in the Fabric docs(Fabric samples release 1.0) .
  Chaincode endorsement policy rules are given in 
  <a href="http://hyperledger-fabric.readthedocs.io/en/latest/endorsement-policies.html#specifying-endorsement-policies-for-a-chaincode" rel="nofollow noreferrer">http://hyperledger-fabric.readthedocs.io/en/latest/endorsement-policies.html#specifying-endorsement-policies-for-a-chaincode</a></p>
  
  <p>I want to know the equivalent <strong>YAML</strong> format policy for :
  "AND('Org1.member', 'Org2.member')"</p>
  
  <p>That is i want one member from both org1 and org2 to sign the query proposal for response . I want the policy in .<strong>yaml</strong> format</p>
  
  <p><strong>OR IS IT DEFINED ONLY ON INSTANTIATION OF CHAINCODE.</strong> </p>
  
  <p>If it is defined during instantiation then will it apply to other requests as well(transactionProposal,queryproposal) ?</p>
  
  <p>Thanks</p>