Files
markitect-tool/examples/contracts/business-letter.contract.md

785 B

title, version
title version
Business Letter Contract 0.1

Business Letter Contract

id: business-letter-contract-v1
document:
  type: business-letter
fields:
  recipient_name:
    type: string
    required: true
    source: context.recipient.name
  sender_name:
    type: string
    required: true
    source: context.sender.name
sections:
  - id: greeting
    title: Greeting
    presence: required
    level: 2
  - id: body
    title: Body
    presence: required
    level: 2
    metrics:
      words:
        min: 40
        max: 350
        severity: warning
  - id: closing
    title: Closing
    presence: required
    level: 2
rubrics:
  - id: tone-fit
    scope: section.body
    criteria: The body should match the relationship and communication purpose.