Package org.apache.polaris.extension.auth.opa.model


package org.apache.polaris.extension.auth.opa.model
OPA authorization input model classes.

This package contains immutable model classes that define the structure of authorization requests sent to Open Policy Agent (OPA). These classes serve as the single source of truth for the OPA input schema.

Schema Generation

The JSON Schema for these models can be generated using the

invalid reference
org.apache.polaris.extension.auth.opa.model.OpaSchemaGenerator
utility or by running the Gradle task:

 ./gradlew :polaris-extensions-auth-opa:generateOpaSchema
 

This generates opa-input-schema.json which can be referenced in documentation and used by OPA policy developers.

Model Structure