Skip to content

Commit 5ee998c

Browse files
committed
docs: describe uuid schema by format instead of RFC 4122
1 parent d56264b commit 5ee998c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const { sql } = getEvents({
107107
| `schema.isoDate` | `YYYY-MM-DD` | `'2022-02-22'` |
108108
| `schema.isoTimestamp` | ISO 8601 with timezone | `'2022-02-22T22:02:22.000Z'` |
109109
| `schema.identifier` | SQL identifier (up to `db.schema.table`) | `'public.users'` |
110-
| `schema.uuid` | RFC 4122 UUID | `'550e8400-e29b-41d4-a716-446655440000'` |
110+
| `schema.uuid` | UUID hex format (8-4-4-4-12) | `'550e8400-e29b-41d4-a716-446655440000'` |
111111
| `schema.positiveInt` | Positive integer | `100` |
112112
| `schema.enum(...)` | Whitelist of allowed values | `schema.enum('asc', 'desc')` |
113113
| `schema.s3Path` | S3 URI | `'s3://athena-results/queries/'` |

llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Schema mode validates at define-time (schema keys must match template tokens) an
5555
- `schema.isoDate` - YYYY-MM-DD with calendar validation
5656
- `schema.isoTimestamp` - ISO 8601 with timezone (e.g. 2022-02-22T00:00:00Z)
5757
- `schema.identifier` - SQL identifier, up to 3 dot-separated parts (db.schema.table)
58-
- `schema.uuid` - RFC 4122 UUID
58+
- `schema.uuid` - UUID hex format (8-4-4-4-12 hex digits)
5959
- `schema.positiveInt` - integer greater than 0
6060
- `schema.enum(...values)` - whitelist of allowed string values
6161
- `schema.s3Path` - S3 URI (s3://athena-results/queries/)

0 commit comments

Comments
 (0)