Namespace org.accordproject.ciceromark@0.4.0

Compatible with Concerto versions ^3.0.0. Has 10 declarations.

Concerto JSON AST UML JSON Schema XML Schema GraphQL TypeScript CSharp Java Go OData

Declared Types

      import org.accordproject.ciceromark@0.4.0.Element from /markdown/ciceromark@0.4.0.cto
      import org.accordproject.ciceromark@0.4.0.Variable from /markdown/ciceromark@0.4.0.cto
      import org.accordproject.ciceromark@0.4.0.FormattedVariable from /markdown/ciceromark@0.4.0.cto
      import org.accordproject.ciceromark@0.4.0.EnumVariable from /markdown/ciceromark@0.4.0.cto
      import org.accordproject.ciceromark@0.4.0.Formula from /markdown/ciceromark@0.4.0.cto
      import org.accordproject.ciceromark@0.4.0.Block from /markdown/ciceromark@0.4.0.cto
      import org.accordproject.ciceromark@0.4.0.Clause from /markdown/ciceromark@0.4.0.cto
      import org.accordproject.ciceromark@0.4.0.Conditional from /markdown/ciceromark@0.4.0.cto
      import org.accordproject.ciceromark@0.4.0.Optional from /markdown/ciceromark@0.4.0.cto
      import org.accordproject.ciceromark@0.4.0.ListBlock from /markdown/ciceromark@0.4.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
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
concerto version "^3.0.0"
namespace org.accordproject.ciceromark@0.4.0

import org.accordproject.commonmark@0.5.0.Child from
import concerto.metamodel@0.4.0.Decorator from

 * A model for Accord Project extensions to commonmark

abstract concept Element extends Child {
  o String name
  o String elementType optional
  o Decorator[] decorators optional

concept Variable extends Element {
  o String value
  o String identifiedBy optional

concept FormattedVariable extends Variable {
  o String format

concept EnumVariable extends Variable {
  o String[] enumValues

concept Formula extends Element {
  o String value
  o String[] dependencies optional
  o String code optional

abstract concept Block extends Element {

concept Clause extends Block {
  o String src optional

concept Conditional extends Block {
  o Boolean isTrue
  o Child[] whenTrue
  o Child[] whenFalse

concept Optional extends Block {
  o Boolean hasSome
  o Child[] whenSome
  o Child[] whenNone

concept ListBlock extends Block {
    o String type
    o String tight
    o String start optional
    o String delimiter optional