PubFi DSL Server Contract

•
568
•

Standardizes and validates server-side contracts for PubFi DSL requests to ensure secure, structured, and audited data retrieval.

The PubFi DSL Server Contract skill provides a robust framework for implementing and auditing the server-side logic required to handle specialized Domain Specific Language (DSL) requests. It focuses on strict schema validation, mapping requests to pre-approved OpenSearch query shapes, and enforcing operational constraints such as time windows and aggregation limits. By explicitly rejecting non-standard inputs like raw SQL or natural language, this skill ensures that backend services remain secure and predictable while providing a consistent response envelope and error model for client applications.

주요 기능

01Enforcement of hard limits on time windows, top-k results, and aggregation sizes
02Support for specific aggregation primitives including terms and histograms
03Strict schema validation for incoming PubFi DSL request payloads
04Mapping of DSL requests to fixed, audited OpenSearch query templates
05Standardized error modeling using ApiEnvelope codes for consistent debugging
06568 GitHub stars

사용 사례

01Auditing and hardening query templates to prevent injection or performance issues
02Designing standardized response envelopes and error handling for analytics APIs
03Implementing the validation layer for custom DSL-based data services