Compatible with Concerto versions ^3.0.0. Has 4 declarations.
Concerto JSON AST PlantUML XML Schema Typescript C# OData JSON Schema GraphQL Java Go Avro Markdown OpenAPI Protobuf Mermaid
import org.accordproject.cicero.contract@0.2.0.AccordContractState from https://models.accordproject.org/cicero/contract@0.2.0.cto
import org.accordproject.cicero.contract@0.2.0.AccordParty from https://models.accordproject.org/cicero/contract@0.2.0.cto
import org.accordproject.cicero.contract@0.2.0.AccordContract from https://models.accordproject.org/cicero/contract@0.2.0.cto
import org.accordproject.cicero.contract@0.2.0.AccordClause from https://models.accordproject.org/cicero/contract@0.2.0.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.
*/
concerto version "^3.0.0"
namespace org.accordproject.cicero.contract@0.2.0
/**
* 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
}