Class ValueSchemaPatterns
Contains regex patterns used in JSON Schema validation for property editor values.
Inheritance
object
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public static class ValueSchemaPatterns
Fields
View SourceUuid
Regex pattern for validating UUID/GUID strings.
Declaration
public const string Uuid = "^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
Matches UUIDs with or without hyphens, case-insensitive (lowercase in pattern). Examples: "550e8400-e29b-41d4-a716-446655440000" or "550e8400e29b41d4a716446655440000"