Namespace org.accordproject.commonmark@0.5.0

Compatible with Concerto versions ^3.0.0. Has 29 declarations.

Concerto JSON AST PlantUML XML Schema Typescript C# OData JSON Schema GraphQL Java Go Avro Markdown OpenAPI Protobuf Mermaid

Declared Types

      
      import org.accordproject.commonmark@0.5.0.Node from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Root from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Child from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Text from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Attribute from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TagInfo from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.CodeBlock from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Code from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.HtmlInline from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.HtmlBlock from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Emph from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Strong from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.BlockQuote from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Heading from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.ThematicBreak from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Softbreak from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Linebreak from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Link from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Image from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Paragraph from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.List from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Item from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Document from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.Table from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TableHead from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TableBody from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TableRow from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.HeaderCell from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      import org.accordproject.commonmark@0.5.0.TableCell from https://models.accordproject.org/markdown/commonmark@0.5.0.cto
      
      

Dependencies

  • None

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.
 */
concerto version "^3.0.0"
namespace org.accordproject.commonmark@0.5.0

/**
 * A model for a commonmark format markdown file
 */

abstract concept Node {
    o String text optional
    o Node[] nodes optional
    o Integer startLine optional
    o Integer endLine optional
}

abstract concept Root extends Node {
}

abstract concept Child extends Node {
}

concept Text extends Child {
}

concept Attribute {
    o String name
    o String value
}
concept TagInfo {
    o String tagName
    o String attributeString
    o Attribute[] attributes
    o String content
    o Boolean closed
}

concept CodeBlock extends Child {
    o String info optional
    o TagInfo tag optional
}

concept Code extends Child {
    o String info optional
}

concept HtmlInline extends Child {
    o TagInfo tag optional
}

concept HtmlBlock extends Child {
    o TagInfo tag optional
}

concept Emph extends Child {
}

concept Strong extends Child {
}

concept BlockQuote extends Child {
}

concept Heading extends Child {
    o String level
}

concept ThematicBreak extends Child {
}

concept Softbreak extends Child {
}

concept Linebreak extends Child {
}

concept Link extends Child {
    o String destination
    o String title
}

concept Image extends Child {
    o String destination
    o String title
}

concept Paragraph extends Child {
}

concept List extends Child {
    o String type
    o String start optional
    o String tight
    o String delimiter optional
}

concept Item extends Child {
}

concept Document extends Root {
    o String xmlns
}

concept Table extends Child{  
}

concept TableHead extends Child{
}

concept TableBody extends Child{
}

concept TableRow extends Child{
} 

concept HeaderCell extends Child{
}

concept TableCell extends Child{
}