Skip to content

Latest commit

 

History

History
76 lines (35 loc) · 834 Bytes

core.schema.md

File metadata and controls

76 lines (35 loc) · 834 Bytes

Home > @cerbos/core > Schema

Schema interface

A JSON schema used to validate principal or resource attributes.

Signature:

export interface Schema 

Properties

Property

Modifiers

Type

Description

definition

SchemaDefinition

Definition of the schema.

id

string

Unique ID for the schema, used to reference the schema from policies and from other schemas.