Home > @cerbos/core > SchemaDefinition
Definition of a JSON schema used to validate principal or resource attributes.
Signature:
export declare class SchemaDefinition
Constructor |
Modifiers |
Description |
---|---|---|
Constructs a new instance of the |
Property |
Modifiers |
Type |
Description |
---|---|---|---|
|
Uint8Array |
The UTF-8 bytes of the JSON-serialized schema definition. |
Method |
Modifiers |
Description |
---|---|---|
The parsed schema definition. | ||
The JSON-serialized schema definition. |