Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema: support parsing and formatting of cedarschema files #80

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ The Go implementation includes:
- JSON marshalling and unmarshalling
- all core and extended types (including [RFC 80](https://github.com/cedar-policy/rfcs/blob/main/text/0080-datetime-extension.md)'s datetime and duration)
- integration test suite
- human-readable schema parsing

The Go implementation does not yet include:

- CLI applications
- schema support and the [validator](https://docs.cedarpolicy.com/policies/validation.html)
- the schema [validator](https://docs.cedarpolicy.com/policies/validation.html)
- the formatter
- partial evaluation
- support for [policy templates](https://docs.cedarpolicy.com/policies/templates.html)
Expand Down Expand Up @@ -120,11 +121,12 @@ This request is allowed because `VacationPhoto94.jpg` belongs to `Album::"jane_v
If you'd like to see more details on what can be expressed as Cedar policies, see the [documentation](https://docs.cedarpolicy.com).

## Packages
The cedar-go module houses four public packages:
The cedar-go module houses the following public packages:
* [cedar](.) - The main package for interacting with the module, including parsing policies and entities and authorizing requests.
* [ast](ast/) - Programmatic construction of Cedar ASTs
* [types](types/) - Basic types common to multiple packages. For convenience, most of these are also projected through the cedar package.
* [x/exp/batch](x/exp/batch/) - An experimental batch authorization API supporting high-performance variable substitution via partial evaluation.
* [schema](schema/) - Parsing and formatting of the human-readable Cedar schema format.

## Documentation

Expand Down
Loading
Loading