{
  "name": "Construction pay application review preparation",
  "description": "Extract payment application periods, completed and stored amounts, retainage, and current requests into structured data for construction accounting review.",
  "prompt_additions": "Extract only information explicitly present in this document. Do not infer missing values, verify authenticity, make business decisions, or compare other documents. Preserve identifiers as strings. Return amounts as numbers and dates as YYYY-MM-DD. Review and set required fields for your process before using this schema in production.",
  "fields": [
    {
      "key": "project_name",
      "label": "Project Name",
      "type": "string",
      "required": false,
      "description": "Project name printed on the application."
    },
    {
      "key": "application_number",
      "label": "Application Number",
      "type": "string",
      "required": false,
      "description": "Application identifier, retaining revision wording where supplied."
    },
    {
      "key": "period_to",
      "label": "Period To",
      "type": "date",
      "required": false,
      "description": "Through date for the requested payment period."
    },
    {
      "key": "completed_and_stored_to_date",
      "label": "Completed And Stored To Date",
      "type": "currency",
      "required": false,
      "description": "Printed cumulative amount, not the current-period increase."
    },
    {
      "key": "retainage",
      "label": "Retainage",
      "type": "currency",
      "required": false,
      "description": "Total retained amount as reported."
    },
    {
      "key": "previous_payments",
      "label": "Previous Payments",
      "type": "currency",
      "required": false,
      "description": "Previously certified or paid amount using the source label."
    },
    {
      "key": "current_payment_requested",
      "label": "Current Payment Requested",
      "type": "currency",
      "required": false,
      "description": "Current requested amount printed on the application."
    },
    {
      "key": "schedule_rows",
      "label": "Schedule Rows",
      "type": "array",
      "required": false,
      "description": "Line identifier, description, and separately labeled scheduled and progress amounts."
    }
  ]
}