{ “openapi”: “3.1.0”, “info”: { “title”: “Extract Enforceable Requirements”, “version”: “v1.0.0” }, “paths”: { “/extractRequirements”: { “get”: { “description”: “Extracts all enforceable requirements from a set of documents and flags them for risk.”, “operationId”: “ExtractRequirements”, “parameters”: [ { “name”: “requirements”, “in”: “query”, “description”: “An array of structured requirement objects.”, “required”: true, “schema”: { “type”: “array”, “items”: { “type”: “object”, “properties”: { “reqId”: { “type”: “string”, “description”: “A unique identifier for the requirement (e.g., REQ-001).” }, “requirementText”: { “type”: “string”, “description”: “The verbatim text of the requirement.” }, “sourceDoc”: { “type”: “string”, “description”: “The filename of the source document.” }, “docNo”: { “type”: “string”, “description”: “The document number, if available.” }, “page”: { “type”: “string”, “description”: “The page number where the requirement is found.” }, “clause”: { “type”: “string”, “description”: “The clause, section, or note number.” }, “category”: { “type”: “string”, “description”: “The assigned category (e.g., Elec, HazArea, Materials).” }, “isHighRisk”: { “type”: “boolean”, “description”: “Flag indicating if the requirement matches high-risk keywords.” }, “riskReason”: { “type”: “string”, “description”: “The keyword or reason why it was flagged as high-risk.” } } } } } ] } } } }