| 4875 | * @since 3.10.0 |
| 4876 | */ |
| 4877 | export class UUID extends String$.pipe( |
| 4878 | pattern(uuidRegexp, { |
| 4879 | schemaId: UUIDSchemaId, |
| 4880 | identifier: "UUID", |
| 4881 | jsonSchema: { |
| 4882 | format: "uuid", |
| 4883 | pattern: uuidRegexp.source |
| 4884 | }, |
| 4885 | description: "a Universally Unique Identifier", |
| 4886 | arbitrary: (): LazyArbitrary<string> => (fc) => fc.uuid() |
| 4887 | }) |
| 4888 | ) {} |
| 4889 | |
| 4890 | /** |
| 4891 | * @category schema id |