Compatible with Concerto versions >= 1.0.0. Has 2 declarations.
Concerto JSON AST PlantUML XML Schema Typescript C# OData JSON Schema GraphQL Java Go Avro Markdown OpenAPI Protobuf Mermaid
import org.accordproject.contract.Contract from https://models.accordproject.org/accordproject/contract.cto
import org.accordproject.contract.Clause from https://models.accordproject.org/accordproject/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.
*/
concerto version ">= 1.0.0"
namespace org.accordproject.contract
/**
* Contract Data
* -- Describes the structure of contracts and clauses
*/
/* A contract is a asset -- This contains the contract data */
abstract asset Contract identified by contractId {
o String contractId
}
/* A clause is an asset -- This contains the clause data */
abstract asset Clause identified by clauseId {
o String clauseId
}