# Row schema for one Master Deliverables List entry. The table tool
# uses this as both the column-type source (formats / enums) and the
# "click-row → edit" form spec. The form handler also serves it
# directly as MDL.form.html for adding new entries.

title: Deliverable
description: One expected deliverable, tracked across parties.

schema:
  type: object
  required: [id, title, party, dueDate, status]
  additionalProperties: false
  properties:
    id:
      type: string
      title: ID
      description: Tracking identifier (e.g. D-001).
      minLength: 1
    title:
      type: string
      title: Deliverable
      description: Short description of what is to be delivered.
      minLength: 1
    party:
      type: string
      title: Party
      enum: [Acme, Beta, Gamma]
    dueDate:
      type: string
      format: date
      title: Due date
    status:
      type: string
      title: Status
      enum: [pending, submitted, accepted, rejected]
    notes:
      type: string
      title: Notes
      description: Free-text notes (optional).
