Cerbos JavaScript SDK
    Preparing search index...

    Interface Schema

    A JSON schema to be used to validate principal or resource attributes.

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

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    definition: string

    Definition of the schema.

    id: string

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