Cerbos JavaScript SDK
    Preparing search index...

    Interface Schema

    A JSON schema used to validate principal or resource attributes.

    interface Schema {
        definition: SchemaDefinition;
        id: string;
    }
    Index

    Properties

    Properties

    definition: SchemaDefinition

    Definition of the schema.

    id: string

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