Namespace org.accordproject.ciceromark0.2.0

Compatible with Concerto versions . Has 7 declarations.

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

Declared Types

      
      import org.accordproject.ciceromark.Clause from https://models.accordproject.org/markdown/ciceromark@0.2.0.cto
      import org.accordproject.ciceromark.VariableValue from https://models.accordproject.org/markdown/ciceromark@0.2.0.cto
      import org.accordproject.ciceromark.IdentifiedVariableValue from https://models.accordproject.org/markdown/ciceromark@0.2.0.cto
      import org.accordproject.ciceromark.Variable from https://models.accordproject.org/markdown/ciceromark@0.2.0.cto
      import org.accordproject.ciceromark.ComputedVariable from https://models.accordproject.org/markdown/ciceromark@0.2.0.cto
      import org.accordproject.ciceromark.ConditionalVariable from https://models.accordproject.org/markdown/ciceromark@0.2.0.cto
      import org.accordproject.ciceromark.ListVariable from https://models.accordproject.org/markdown/ciceromark@0.2.0.cto
      
      

Dependencies

Source

    /*
 * 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.ciceromark

import org.accordproject.commonmark.Child from https://models.accordproject.org/markdown/commonmark.cto
import org.accordproject.commonmark.List from https://models.accordproject.org/markdown/commonmark.cto

/**
 * A model for Accord Project extensions to commonmark
 */

concept Clause extends Child {
    o String clauseid
    o String src
}

abstract concept VariableValue extends Child {
    o String value
    o String format optional
}

abstract concept IdentifiedVariableValue extends VariableValue {
    o String id
}

concept Variable extends IdentifiedVariableValue {
}

concept ComputedVariable extends VariableValue {
}

concept ConditionalVariable extends IdentifiedVariableValue {
    o String whenTrue
    o String whenFalse
}

concept ListVariable extends List {
}