diff --git a/content/products/std/_index.html b/content/products/std/_index.html index 5da3df2..c16a261 100644 --- a/content/products/std/_index.html +++ b/content/products/std/_index.html @@ -126,90 +126,316 @@

-
-
-
-
-
- -
-

Before

+
+

What's Inside: Some Sample Schemas from the Library

+

+ Hint: Your OpenAPI specs in YAML format can directly reference these schemas in JSON format using $ref +

+ + + +
+ +
+
+
+
+
+
+ jsonrpc/v2.0/request.json +
+ + +
+ + + + + + Browse All 300+ Schemas + +
+ + +
+
+
1
+
Loading schema...
- {{< editor filename="openapi.yaml" type="fail" language="yaml" details="100+ lines of repetitive validation code|Broken regex patterns copied from ChatGPT|Incomplete or incorrect enumerations|No standards compliance guarantees" >}}openapi: 3.1.0 -paths: - /users: - post: - requestBody: - content: - application/json: - schema: - type: object - properties: - email: - type: string - pattern: '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$' - description: Email address - country: - type: string - pattern: '^[A-Z]{2}$' - description: ISO 3166-1 alpha-2 country code - currency: - type: string - enum: [ AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, - BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, - CDF, CHF, CLP, CNY, COP, CRC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, - EGP, ERN, ETB, EUR, FJD, FKP, FOK, GBP, GEL, GGP, GHS, GIP, GMD, - GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IMP, INR, IQD, - IRR, ISK, JEP, JMD, JOD, JPY, KES, KGS, KHR, KID, KMF, KRW, KWD, - KYD, KZT, LAK, LBP, LKR, LRD, LSL ] - description: ISO 4217 currency code - website: - type: string - pattern: '^https' - description: Website URL - created_at: - type: string - pattern: '^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z?$' - description: ISO 8601 datetime - language: - type: string - pattern: '^[a-z]{2}(-[A-Z]{2})?$' - description: Language code{{< /editor >}}
-
-
-
-
-
- + +
+
+ + About This Schema + +
+
+
+ + Implements the official JSON-RPC 2.0 specification for remote procedure calls +
+
+ + Validates request structure, method names, and parameter formats +
+
+ + Used by thousands of APIs for standardized RPC communication
-

After

- {{< editor filename="openapi.yaml" type="success" language="yaml" details="Clean and readable OpenAPI definitions|Standards-backed validation (IETF RFC's, ISO, etc)|Guaranteed schema correctness|Took 5 minutes to write" >}}openapi: 3.1.0 -paths: - /users: - post: - requestBody: - content: - application/json: - schema: - type: object - properties: - email: - $ref: './std/ietf/email/address.json' - country: - $ref: './std/iso/country/2020/alpha-2.json' - currency: - $ref: './std/iso/currency/2015/alpha-code.json' - website: - $ref: './std/ietf/uri/url.json' - created_at: - $ref: './std/iso/datetime/2019/datetime/calendar-extended.json' - language: - $ref: './std/ietf/language/tag.json'{{< /editor >}}
+ +
{{< /blueprint >}}