Found 4 declarations!
Download CTO Download UML Download JSON Schema Download Typescript Download Java Download Go Download XML Schema
import org.accordproject.cicero.contract.AccordContractState from /cicero/contract.cto
import org.accordproject.cicero.contract.AccordParty from /cicero/contract.cto
import org.accordproject.cicero.contract.AccordContract from /cicero/contract.cto
import org.accordproject.cicero.contract.AccordClause from /cicero/contract.cto
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace org.accordproject.cicero.contract
/**
* Contract Data
* -- Describes the structure of contracts and clauses
*/
/* A contract state is an asset -- The runtime state of the contract */
asset AccordContractState identified by stateId {
o String stateId
}
/* A party to a contract */
participant AccordParty identified by partyId {
o String partyId
}
/* A contract is a asset -- This contains the contract data */
abstract asset AccordContract identified by contractId {
o String contractId
--> AccordParty[] parties optional
}
/* A clause is an asset -- This contains the clause data */
abstract asset AccordClause identified by clauseId {
o String clauseId
}