Cerbos JavaScript SDK
    Preparing search index...

    Interface SchemaRef

    Reference to a schema to be used to validate principal or resource attributes.

    interface SchemaRef {
        ignoreWhen?: { actions: string[] };
        ref: string;
    }
    Index

    Properties

    Properties

    ignoreWhen?: { actions: string[] }

    Options for ignoring schema validation.

    Type Declaration

    • actions: string[]

      Actions for which schema validation should be ignored.

    ref: string

    ID of the schema.