{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.statementofwork.org/schema/1.0/sow.schema.json",
  "title": "Statement of Work",
  "description": "A machine-readable Statement of Work conforming to the SoW Standard v1.0.0: 11 sections, 51 elements, four engagement types. Element and section requirements shown here are for the Full (L) profile; Medium (M) and Lite (S) subtract elements per the register's profile definitions.",
  "type": "object",
  "x-sow-standard-version": "1.0.0",
  "x-sow-register": "https://www.statementofwork.org/schema/1.0/register.json",
  "properties": {
    "$schema": {
      "type": "string",
      "description": "URI of this schema"
    },
    "meta": {
      "type": "object",
      "properties": {
        "standardVersion": {
          "type": "string",
          "const": "1.0.0"
        },
        "profile": {
          "type": "string",
          "enum": [
            "full",
            "medium",
            "lite"
          ]
        },
        "guidanceIncluded": {
          "type": "boolean",
          "description": "Guidance notes are a rendering option, not part of the schema"
        },
        "provenance": {
          "type": "object",
          "description": "Optional provenance record for the document itself, aligned with the C2PA approach to content credentials. Complements element 8.2, which governs AI use in the work; this records AI use in producing the document.",
          "properties": {
            "generator": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "version": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            },
            "aiInvolvement": {
              "type": "string",
              "enum": [
                "none",
                "assisted",
                "generated"
              ],
              "description": "Whether AI produced or assisted in producing this document"
            },
            "humanReviewer": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "role": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            },
            "validation": {
              "type": "object",
              "properties": {
                "validator": {
                  "type": "string"
                },
                "valid": {
                  "type": "boolean"
                },
                "date": {
                  "type": "string",
                  "format": "date"
                }
              },
              "additionalProperties": true
            },
            "manifestRef": {
              "type": "string",
              "description": "Reference to an external signed provenance manifest (for example a C2PA Content Credentials manifest) where one exists"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "standardVersion",
        "profile"
      ],
      "additionalProperties": true
    },
    "coverPage": {
      "type": "object",
      "description": "The Cover Page is a component of every profile, not a numbered element. Engagement Type is a Cover Page field.",
      "properties": {
        "title": {
          "type": "string"
        },
        "engagementType": {
          "type": "string",
          "enum": [
            "Time and Materials",
            "Fixed Price",
            "Outcome-Based",
            "Managed Services"
          ],
          "description": "Drives type-conditional expectations on Advanced elements"
        }
      },
      "required": [
        "engagementType"
      ],
      "additionalProperties": true
    },
    "identifier": {
      "type": "object",
      "title": "Section 01 Identifier",
      "description": "Unique identification and classification of the SoW",
      "x-sow-section": 1,
      "properties": {
        "sowReference": {
          "type": "object",
          "title": "1.1 SoW Reference",
          "description": "Unique reference number for portfolio tracking, change management, and audit trails",
          "x-sow-element": "1.1",
          "x-sow-level": "required",
          "properties": {
            "reference": {
              "type": "string",
              "description": "Unique SoW reference"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "typeOfWork": {
          "type": "object",
          "title": "1.2 Type of Work",
          "description": "Work classification enabling spend analysis and strategic oversight across the supplier portfolio",
          "x-sow-element": "1.2",
          "x-sow-level": "required",
          "properties": {
            "classification": {
              "type": "string",
              "description": "Work classification for spend analysis"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "sowReference",
        "typeOfWork"
      ],
      "additionalProperties": false
    },
    "parties": {
      "type": "object",
      "title": "Section 02 Parties",
      "description": "Identification of contracting entities and supply chain controls",
      "x-sow-section": 2,
      "properties": {
        "supplier": {
          "type": "object",
          "title": "2.1 Supplier",
          "description": "Registered legal name, company number, address, and primary contact for the service provider",
          "x-sow-element": "2.1",
          "x-sow-level": "required",
          "properties": {
            "legalName": {
              "type": "string",
              "description": "Registered legal name"
            },
            "companyNumber": {
              "type": "string",
              "description": "National registered company number"
            },
            "duns": {
              "type": "string",
              "pattern": "^\\d{9}$",
              "description": "Dun and Bradstreet D-U-N-S number"
            },
            "lei": {
              "type": "string",
              "pattern": "^[A-Z0-9]{20}$",
              "description": "Legal Entity Identifier (ISO 17442)"
            },
            "registeredAddress": {
              "type": "string"
            },
            "primaryContact": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "role": {
                  "type": "string"
                },
                "email": {
                  "type": "string",
                  "format": "email"
                }
              },
              "additionalProperties": true
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "buyer": {
          "type": "object",
          "title": "2.2 Buyer",
          "description": "Registered legal name, company number, address, and primary contact for the purchasing entity",
          "x-sow-element": "2.2",
          "x-sow-level": "required",
          "properties": {
            "legalName": {
              "type": "string",
              "description": "Registered legal name"
            },
            "companyNumber": {
              "type": "string",
              "description": "National registered company number"
            },
            "duns": {
              "type": "string",
              "pattern": "^\\d{9}$",
              "description": "Dun and Bradstreet D-U-N-S number"
            },
            "lei": {
              "type": "string",
              "pattern": "^[A-Z0-9]{20}$",
              "description": "Legal Entity Identifier (ISO 17442)"
            },
            "registeredAddress": {
              "type": "string"
            },
            "primaryContact": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "role": {
                  "type": "string"
                },
                "email": {
                  "type": "string",
                  "format": "email"
                }
              },
              "additionalProperties": true
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "subcontracting": {
          "type": "object",
          "title": "2.3 Subcontracting",
          "description": "Controls on whether and how the supplier may subcontract work, including named approved subcontractors",
          "x-sow-element": "2.3",
          "x-sow-level": "required",
          "properties": {
            "permitted": {
              "type": "boolean"
            },
            "conditions": {
              "type": "string",
              "description": "Controls on how the supplier may subcontract"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "employeeSupplyChain": {
          "type": "object",
          "title": "2.4 Employee Supply Chain",
          "description": "Employment classification warranties and compliance with IR35, worker classification, and applicable employment law",
          "x-sow-element": "2.4",
          "x-sow-level": "advanced",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "supplier",
        "buyer",
        "subcontracting"
      ],
      "additionalProperties": false
    },
    "time": {
      "type": "object",
      "title": "Section 03 Time",
      "description": "Temporal boundaries of the engagement including termination provisions",
      "x-sow-section": 3,
      "properties": {
        "keyDates": {
          "type": "object",
          "title": "3.1 Key Dates",
          "description": "Effective date, work start date, and work end date. Three different questions: when the contract begins, when work starts, when it must complete",
          "x-sow-element": "3.1",
          "x-sow-level": "required",
          "properties": {
            "effectiveDate": {
              "type": "string",
              "format": "date"
            },
            "workStartDate": {
              "type": "string",
              "format": "date"
            },
            "workEndDate": {
              "type": "string",
              "format": "date"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "termination": {
          "type": "object",
          "title": "3.2 Termination",
          "description": "Provisions for termination for convenience, for cause, and on insolvency",
          "x-sow-element": "3.2",
          "x-sow-level": "required",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "terminationNoticePeriod": {
          "type": "object",
          "title": "3.3 Termination Notice Period",
          "description": "Calendar days required for termination for convenience",
          "x-sow-element": "3.3",
          "x-sow-level": "required",
          "properties": {
            "noticeDays": {
              "type": "integer",
              "minimum": 0,
              "description": "Calendar days for termination for convenience"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "effectsOfTermination": {
          "type": "object",
          "title": "3.4 Effects of Termination",
          "description": "Obligations on termination: cease work, deliver deliverables, return confidential information, final invoice",
          "x-sow-element": "3.4",
          "x-sow-level": "required",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "keyDates",
        "termination",
        "terminationNoticePeriod",
        "effectsOfTermination"
      ],
      "additionalProperties": false
    },
    "pricing": {
      "type": "object",
      "title": "Section 04 Pricing",
      "description": "Commercial structure including rates, payment terms, penalties, and incentives",
      "x-sow-section": 4,
      "properties": {
        "currency": {
          "type": "object",
          "title": "4.1 Currency",
          "description": "Contract currency for all amounts",
          "x-sow-element": "4.1",
          "x-sow-level": "required",
          "properties": {
            "code": {
              "type": "string",
              "pattern": "^[A-Z]{3}$",
              "description": "ISO 4217 currency code"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "pricingSummary": {
          "type": "object",
          "title": "4.2 Pricing Summary",
          "description": "Total contract value, discounts applied, net contract value",
          "x-sow-element": "4.2",
          "x-sow-level": "required",
          "properties": {
            "totalContractValue": {
              "type": "number",
              "description": "Amount in the contract currency (4.1)"
            },
            "discount": {
              "type": "number",
              "description": "Amount in the contract currency (4.1)"
            },
            "netContractValue": {
              "type": "number",
              "description": "Amount in the contract currency (4.1)"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "pricingTable": {
          "type": "object",
          "title": "4.3 Pricing Table",
          "description": "Structured table of deliverables/services with unit, quantity, rate, and total",
          "x-sow-element": "4.3",
          "x-sow-level": "required",
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "ref": {
                    "type": "string"
                  },
                  "item": {
                    "type": "string"
                  },
                  "unit": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "number"
                  },
                  "unitPrice": {
                    "type": "number",
                    "description": "Amount in the contract currency (4.1)"
                  },
                  "total": {
                    "type": "number",
                    "description": "Amount in the contract currency (4.1)"
                  }
                },
                "required": [
                  "item"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "resourceRateTable": {
          "type": "object",
          "title": "4.4 Resource Rate Table",
          "description": "Role-based rate card with seniority, day rate, estimated days, and totals",
          "x-sow-element": "4.4",
          "x-sow-level": "advanced",
          "properties": {
            "rates": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "role": {
                    "type": "string"
                  },
                  "seniority": {
                    "type": "string"
                  },
                  "dayRate": {
                    "type": "number",
                    "description": "Amount in the contract currency (4.1)"
                  },
                  "estimatedDays": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number",
                    "description": "Amount in the contract currency (4.1)"
                  }
                },
                "required": [
                  "role",
                  "dayRate"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "penalties": {
          "type": "object",
          "title": "4.5 Penalties",
          "description": "Performance-linked penalties with trigger events, amounts, and caps",
          "x-sow-element": "4.5",
          "x-sow-level": "advanced",
          "properties": {
            "schedule": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "trigger": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number",
                    "description": "Amount in the contract currency (4.1)"
                  },
                  "cap": {
                    "type": "number",
                    "description": "Amount in the contract currency (4.1)"
                  }
                },
                "required": [
                  "trigger"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "incentives": {
          "type": "object",
          "title": "4.6 Incentives",
          "description": "Performance-linked incentives with achievements, amounts, and measurement methods",
          "x-sow-element": "4.6",
          "x-sow-level": "advanced",
          "properties": {
            "schedule": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "achievement": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number",
                    "description": "Amount in the contract currency (4.1)"
                  }
                },
                "required": [
                  "achievement"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "currency",
        "pricingSummary",
        "pricingTable"
      ],
      "additionalProperties": false
    },
    "scope": {
      "type": "object",
      "title": "Section 05 Scope",
      "description": "What is being delivered, how it will be accepted, and what the buyer must provide",
      "x-sow-section": 5,
      "properties": {
        "scopeOfWork": {
          "type": "object",
          "title": "5.1 Scope of Work",
          "description": "Structured table of scope items with references, descriptions, and phase assignments",
          "x-sow-element": "5.1",
          "x-sow-level": "required",
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "ref": {
                    "type": "string"
                  },
                  "item": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "phase": {
                    "type": "string"
                  }
                },
                "required": [
                  "ref",
                  "description"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "outOfScope": {
          "type": "object",
          "title": "5.2 Out of Scope",
          "description": "Explicit exclusions with rationale. Prevents suppliers claiming additional work was implicitly included",
          "x-sow-element": "5.2",
          "x-sow-level": "required",
          "properties": {
            "exclusions": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "item": {
                    "type": "string"
                  },
                  "rationale": {
                    "type": "string"
                  }
                },
                "required": [
                  "item"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "phases": {
          "type": "object",
          "title": "5.3 Phases",
          "description": "Named phases with duration, dates, and key milestones",
          "x-sow-element": "5.3",
          "x-sow-level": "advanced",
          "properties": {
            "phases": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date"
                  },
                  "endDate": {
                    "type": "string",
                    "format": "date"
                  },
                  "milestones": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "deliverables": {
          "type": "object",
          "title": "5.4 Deliverables",
          "description": "Named deliverables with format, due date, and linked scope reference",
          "x-sow-element": "5.4",
          "x-sow-level": "required",
          "properties": {
            "deliverables": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "ref": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "format": {
                    "type": "string"
                  },
                  "dueDate": {
                    "type": "string",
                    "format": "date"
                  },
                  "scopeRef": {
                    "type": "string",
                    "description": "Linked 5.1 scope reference"
                  }
                },
                "required": [
                  "ref",
                  "name"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "activities": {
          "type": "object",
          "title": "5.5 Activities",
          "description": "Named activities with owner, phase, and linked deliverable",
          "x-sow-element": "5.5",
          "x-sow-level": "advanced",
          "properties": {
            "activities": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "owner": {
                    "type": "string"
                  },
                  "phase": {
                    "type": "string"
                  },
                  "deliverableRef": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "acceptanceCriteria": {
          "type": "object",
          "title": "5.6 Acceptance Criteria",
          "description": "Measurable, testable criteria for each deliverable with verification method and acceptance period",
          "x-sow-element": "5.6",
          "x-sow-level": "required",
          "properties": {
            "criteria": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "deliverableRef": {
                    "type": "string"
                  },
                  "criterion": {
                    "type": "string",
                    "description": "Measurable, testable, no subjective language"
                  },
                  "verificationMethod": {
                    "type": "string"
                  },
                  "acceptancePeriodDays": {
                    "type": "integer"
                  }
                },
                "required": [
                  "deliverableRef",
                  "criterion"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "customerDependencies": {
          "type": "object",
          "title": "5.7 Customer Dependencies",
          "description": "Inputs, access, or decisions required from the buyer with deadlines and impact if delayed",
          "x-sow-element": "5.7",
          "x-sow-level": "required",
          "properties": {
            "dependencies": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "ref": {
                    "type": "string"
                  },
                  "dependency": {
                    "type": "string"
                  },
                  "owner": {
                    "type": "string"
                  },
                  "requiredBy": {
                    "type": "string",
                    "format": "date"
                  },
                  "impactIfDelayed": {
                    "type": "string"
                  }
                },
                "required": [
                  "dependency"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "scopeOfWork",
        "outOfScope",
        "deliverables",
        "acceptanceCriteria",
        "customerDependencies"
      ],
      "additionalProperties": false
    },
    "people": {
      "type": "object",
      "title": "Section 06 People",
      "description": "Named personnel and governance structures",
      "x-sow-section": 6,
      "properties": {
        "keyPersonnel": {
          "type": "object",
          "title": "6.1 Key Personnel",
          "description": "Named individuals with role, organisation, availability, and replacement clause",
          "x-sow-element": "6.1",
          "x-sow-level": "required",
          "properties": {
            "personnel": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "role": {
                    "type": "string"
                  },
                  "organisation": {
                    "type": "string"
                  },
                  "availability": {
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "role"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "governanceStructure": {
          "type": "object",
          "title": "6.2 Governance Structure",
          "description": "Forums, attendees, frequency, purpose, chair, and escalation path",
          "x-sow-element": "6.2",
          "x-sow-level": "required",
          "properties": {
            "forums": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "forum": {
                    "type": "string"
                  },
                  "attendees": {
                    "type": "string"
                  },
                  "frequency": {
                    "type": "string"
                  },
                  "purpose": {
                    "type": "string"
                  },
                  "chair": {
                    "type": "string"
                  }
                },
                "required": [
                  "forum"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "keyPersonnel",
        "governanceStructure"
      ],
      "additionalProperties": false
    },
    "performance": {
      "type": "object",
      "title": "Section 07 Performance",
      "description": "Review mechanisms and warranty provisions",
      "x-sow-section": 7,
      "properties": {
        "debriefAndReview": {
          "type": "object",
          "title": "7.1 Debrief and Review",
          "description": "Milestone review, deliverable review, and post-completion review with timing, participants, and outputs",
          "x-sow-element": "7.1",
          "x-sow-level": "required",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "warranty": {
          "type": "object",
          "title": "7.2 Warranty",
          "description": "Warranty that deliverables conform to acceptance criteria, are defect-free, and fit for purpose. Warranty period from acceptance.",
          "x-sow-element": "7.2",
          "x-sow-level": "required",
          "properties": {
            "warrantyPeriodDays": {
              "type": "integer"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "debriefAndReview",
        "warranty"
      ],
      "additionalProperties": false
    },
    "regulation": {
      "type": "object",
      "title": "Section 08 Regulation",
      "description": "Data protection, AI governance, and employment classification compliance",
      "x-sow-section": 8,
      "properties": {
        "dataProtection": {
          "type": "object",
          "title": "8.1 Data Protection",
          "description": "GDPR/UK GDPR/CCPA compliance, processing instructions, data transfer controls, breach notification, records of processing",
          "x-sow-element": "8.1",
          "x-sow-level": "required",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "artificialIntelligence": {
          "type": "object",
          "title": "8.2 Artificial Intelligence",
          "description": "Disclosure, conditional use, or prohibition of AI tools. Human review of AI outputs. Confidential information controls.",
          "x-sow-element": "8.2",
          "x-sow-level": "required",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "employeeSupplyChainCompliance": {
          "type": "object",
          "title": "8.3 Employee Supply Chain Compliance",
          "description": "Workforce arrangement warranties covering employment, tax, and worker classification laws",
          "x-sow-element": "8.3",
          "x-sow-level": "required",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "dataProtection",
        "artificialIntelligence",
        "employeeSupplyChainCompliance"
      ],
      "additionalProperties": false
    },
    "legal": {
      "type": "object",
      "title": "Section 09 Legal",
      "description": "Contract foundation, liability, and boilerplate provisions",
      "x-sow-section": 9,
      "properties": {
        "contractFoundation": {
          "type": "object",
          "title": "9.1 Contract Foundation",
          "description": "Whether this SoW operates under an MSA, a Purchase Order, or as a standalone agreement. Determines which legal provisions are inherited.",
          "x-sow-element": "9.1",
          "x-sow-level": "required",
          "properties": {
            "mechanism": {
              "type": "string",
              "enum": [
                "MSA-Supported",
                "PO-Supported",
                "Standalone"
              ],
              "description": "Constituents 9.1.1 to 9.1.3. Select one."
            },
            "instrumentReference": {
              "type": "string",
              "description": "MSA or PO reference where applicable"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "exclusionsAndLimitationOfLiability": {
          "type": "object",
          "title": "9.2 Exclusions and Limitation of Liability",
          "description": "Liability caps, exclusions, and limitations",
          "x-sow-element": "9.2",
          "x-sow-level": "required",
          "properties": {
            "cap": {
              "type": "number",
              "description": "Amount in the contract currency (4.1)"
            },
            "capBasis": {
              "type": "string"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "boilerplateProvisions": {
          "type": "object",
          "title": "9.3 Boilerplate Provisions",
          "description": "Confidentiality, IP, force majeure, amendment, severability, no waiver, assignment, third party rights, counterparts",
          "x-sow-element": "9.3",
          "x-sow-level": "required",
          "properties": {
            "provisions": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^9\\.3\\.[1-9]$",
                    "description": "Constituent id from the register"
                  },
                  "name": {
                    "type": "string"
                  },
                  "carried": {
                    "type": "string",
                    "enum": [
                      "included",
                      "inherited"
                    ],
                    "description": "Included in this SoW or inherited from the MSA"
                  },
                  "clauseLibraryRef": {
                    "type": "string",
                    "description": "External clause library identifier"
                  }
                },
                "required": [
                  "id",
                  "carried"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "contractFoundation",
        "exclusionsAndLimitationOfLiability",
        "boilerplateProvisions"
      ],
      "additionalProperties": false
    },
    "commercial": {
      "type": "object",
      "title": "Section 10 Commercial",
      "description": "Change control and resource limits",
      "x-sow-section": 10,
      "properties": {
        "changeRequestProcess": {
          "type": "object",
          "title": "10.1 Change Request Process",
          "description": "Formal process for requesting, assessing, and approving changes to scope, deliverables, timeline, or pricing",
          "x-sow-element": "10.1",
          "x-sow-level": "required",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "maximumDaysAndResourceLimits": {
          "type": "object",
          "title": "10.2 Maximum Days and Resource Limits",
          "description": "Cap on chargeable days with change request process for exceeding limits",
          "x-sow-element": "10.2",
          "x-sow-level": "advanced",
          "properties": {
            "maximumDays": {
              "type": "number"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "changeRequestProcess"
      ],
      "additionalProperties": false
    },
    "administration": {
      "type": "object",
      "title": "Section 11 Administration",
      "description": "Payment, location, notifications, expenses, governing law, and payment schedule",
      "x-sow-section": 11,
      "properties": {
        "paymentTerms": {
          "type": "object",
          "title": "11.1 Payment Terms",
          "description": "Invoice payment period, invoice content requirements including SoW reference, description, pricing reference, period, and taxes",
          "x-sow-element": "11.1",
          "x-sow-level": "required",
          "properties": {
            "invoicePaymentDays": {
              "type": "integer"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "workLocation": {
          "type": "object",
          "title": "11.2 Work Location",
          "description": "Named locations with addresses, security requirements, personnel, and remote working policy",
          "x-sow-element": "11.2",
          "x-sow-level": "required",
          "properties": {
            "locations": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "address": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "notifications": {
          "type": "object",
          "title": "11.3 Notifications",
          "description": "Formal notice requirements: written, email, read receipt, deemed receipt rules",
          "x-sow-element": "11.3",
          "x-sow-level": "required",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "expenses": {
          "type": "object",
          "title": "11.4 Expenses",
          "description": "Whether expenses are reimbursable, policy reference, and expense cap",
          "x-sow-element": "11.4",
          "x-sow-level": "required",
          "properties": {
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "governingLawAndJurisdiction": {
          "type": "object",
          "title": "11.5 Governing Law and Jurisdiction",
          "description": "Applicable law and court jurisdiction for dispute resolution",
          "x-sow-element": "11.5",
          "x-sow-level": "required",
          "properties": {
            "governingLaw": {
              "type": "string"
            },
            "jurisdiction": {
              "type": "string"
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        },
        "paymentSchedule": {
          "type": "object",
          "title": "11.6 Payment Schedule",
          "description": "Milestone-based, periodic, or hybrid payment structures with detailed tables and triggers",
          "x-sow-element": "11.6",
          "x-sow-level": "advanced",
          "properties": {
            "structure": {
              "type": "string",
              "enum": [
                "milestone",
                "periodic",
                "hybrid"
              ]
            },
            "schedule": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "trigger": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number",
                    "description": "Amount in the contract currency (4.1)"
                  },
                  "invoiceDate": {
                    "type": "string",
                    "format": "date"
                  }
                },
                "required": [
                  "trigger",
                  "amount"
                ],
                "additionalProperties": true
              }
            },
            "text": {
              "type": "string",
              "description": "Rendered clause text for document output"
            }
          },
          "additionalProperties": true
        }
      },
      "required": [
        "paymentTerms",
        "workLocation",
        "notifications",
        "expenses",
        "governingLawAndJurisdiction"
      ],
      "additionalProperties": false
    },
    "execution": {
      "type": "object",
      "description": "The Execution block is a component of every profile, not a numbered element.",
      "properties": {
        "signatories": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "party": {
                "type": "string",
                "enum": [
                  "supplier",
                  "buyer"
                ]
              },
              "name": {
                "type": "string"
              },
              "role": {
                "type": "string"
              },
              "date": {
                "type": "string",
                "format": "date"
              }
            },
            "required": [
              "party",
              "name"
            ],
            "additionalProperties": true
          }
        }
      },
      "additionalProperties": true
    }
  },
  "required": [
    "meta",
    "coverPage",
    "identifier",
    "parties",
    "time",
    "pricing",
    "scope",
    "people",
    "performance",
    "regulation",
    "legal",
    "commercial",
    "administration"
  ],
  "additionalProperties": false
}
