Export: Mermaid

Generates a Mermaid entity-relationship diagram of the contract’s schemas.

{/* AUTOGENERATED EXAMPLE: do not edit by hand; regenerate with the update script. */}

datacontract export mermaid orders.odcs.yaml

Running this against the example orders contract produces:

erDiagram
        "**orders**" {
        order_id🔑🔒 string
        order_timestamp date
        customer_id string
        order_total number
        status string
}
        "**line_items**" {
        line_item_id🔑🔒 string
        order_id string
        sku string
        quantity integer
}

{/* END AUTOGENERATED EXAMPLE */}