Compatible with Concerto versions >= 1.0.0. Has 4 declarations.
Concerto JSON AST UML JSON Schema XML Schema GraphQL TypeScript CSharp Java Go OData
import org.accordproject.runtime.Request from https://models.accordproject.org/accordproject/runtime.cto
import org.accordproject.runtime.Response from https://models.accordproject.org/accordproject/runtime.cto
import org.accordproject.runtime.Obligation from https://models.accordproject.org/accordproject/runtime.cto
import org.accordproject.runtime.State from https://models.accordproject.org/accordproject/runtime.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.runtime
import org.accordproject.contract.Contract from https://models.accordproject.org/accordproject/contract.cto
/**
* Runtime API
* -- Describes input and output of calls to a contract's clause
*/
/* A request is a transaction */
transaction Request {
}
/* A response is a transaction */
transaction Response {
}
/* An event that represents an obligation that needs to be fulfilled */
abstract event Obligation identified {
/* A back reference to the governing contract that emitted this obligation */
--> Contract contract
/* The party that is obligated */
--> Participant promisor optional
/* The party that receives the performance */
--> Participant promisee optional
/* The time before which the obligation is fulfilled */
o DateTime deadline optional
}
/* A contract state is an asset -- The runtime state of the contract */
asset State {
}