commit 6449797c4ad0648c43da73bf9972d330cdd53482 Author: stephenminakian Date: Tue Sep 2 22:20:26 2025 -0600 Initial commit diff --git a/sample_requirements.xml b/sample_requirements.xml new file mode 100644 index 0000000..6f2415a --- /dev/null +++ b/sample_requirements.xml @@ -0,0 +1,149 @@ + + + + User Authentication System + High + Security + The system shall provide secure user authentication using industry-standard protocols. Users must enter credentials in the format username@domain.com with a password containing at least 8characters including 1 uppercase letter, 1 lowercase letter, and at least 1 special character. Press Ctrl+Alt+L to lock the session. + Active + + + + Data Validation and Processing + Medium + Data Management + All input data shall be validated using regular expressions before processing. The system must reject invalid formats and display clear error messages with helpful instructions. Response time for validation must be less than 100ms in 95% of cases. +

+ Example validation output: Error: Invalid email format detected +
+ Variable names should follow the pattern: user_input_${field_name}
+ Active +
+ + + API Response Format + High + Integration + API responses shall be formatted as JSON objects. All responses must include these mandatory fields: +
    +
  • status - HTTP status indicator
  • +
  • data - Response payload
  • +
  • timestamp - Request timestamp
  • +
+ Error responses must include an additional error_code field with values from 1000 to 9999. The timestamp shall use ISO 8601 format. Current API version: v2.1.3
+ Active +
+ + + Performance Benchmarks + Medium + Performance + The application shall handle concurrent users with these performance criteria: +
+
+ Response time must be under 2seconds for 90% of requests, throughput must support at least 1000requests/second, and uptime must exceed 99.9% availability. +
+ Note: Performance metrics exclude maintenance windows
+ Draft +
+ + + Database Backup System + High + Data Management + Database backups shall be performed automatically every 24hours. Backup files must be stored in encrypted format using AES-256 encryption algorithm. +

+ The system shall retain: +
    +
  1. 30 daily backups
  2. +
  3. 12 monthly backups
  4. +
  5. 7 yearly backups
  6. +
+ Legacy MD5 checksums are no longer supported - use SHA-256 instead.
+ Active +
+ + + User Interface Guidelines + Low + UI/UX + All user interface elements shall follow accessibility standards including WCAG 2.1 AA compliance. Text contrast ratio must be at least 4.5:1 for normal text and 3:1 for large text. +

+ Interactive elements must support: +
    +
  • Keyboard navigation using Tab, Enter, and Space
  • +
  • Screen reader compatibility
  • +
  • Voice control interfaces (future enhancement)
  • +
+ Reference documentation: UI-STANDARDS-001
+ Active +
+ + + Logging and Monitoring + Medium + Operations + The system shall generate comprehensive logs for all user actions and system events. Log entries must include these fields: +
+{
+  "timestamp": "2025-09-02T14:30:00Z",
+  "user_id": "user123", 
+  "action_type": "LOGIN_ATTEMPT",
+  "result_status": "SUCCESS"
+}
+        
+ Critical errors shall trigger immediate alerts to administrators within 5minutes of occurrence. Email notifications are deprecated - use webhook alerts instead.
+ Active +
+ + + Mobile Compatibility + High + Compatibility + The application shall be fully responsive and compatible with mobile devices. Supported screen resolutions range from 320px to 1920px width. +

+ Touch interfaces must support gesture navigation: +
    +
  • swipe - Navigate between screens
  • +
  • pinch-to-zoom - Scale content
  • +
  • tap-to-select - Activate elements
  • +
  • long-press - Context menus
  • +
+ Mathematical formula for touch sensitivity: sensitivity = pressure × area / time +
+ Tested on iOS 16.0+ and Android 12.0+
+ Active +
+ + + External Integration Requirements + Medium + Integration + The system shall integrate with external services using REST APIs. All endpoints must be documented at https://api.example.com/docs. +

+ Authentication tokens expire after 1hour and must be refreshed automatically. See integration guide: External API Documentation +

+ Add support for GraphQL endpoints in future release +
+ Configuration file location: /etc/app/config.json
+ Active +
+ + + Security and Compliance + Critical + Security + The application must comply with GDPR, HIPAA, and SOC 2 standards. All sensitive data must be encrypted both in transit and at rest. +

+ Security measures include: +
+ Data encryption using TLS 1.3 for transmission and AES-256-GCM for storage. Session tokens expire after 30minutes of inactivity. +
+ Security vulnerabilities must be patched within 24 hours of discovery +

+ Compliance certifications: ISO 27001, PCI DSS Level 1 +
+ Last security audit: March 2025
+ Active +
+
\ No newline at end of file diff --git a/xml_requirements_viewer.html b/xml_requirements_viewer.html new file mode 100644 index 0000000..174b02b --- /dev/null +++ b/xml_requirements_viewer.html @@ -0,0 +1,338 @@ + + + + + + XML Requirements Viewer + + + +

XML Requirements Viewer

+ +
+

Drag and drop your XML file here, or click to select

+ + +
+ +
+ + + + \ No newline at end of file