Skip to content

Add AccessGrant and CalendarAvailability ontology schemas#1095

Draft
AlexTourski wants to merge 2 commits into
mainfrom
codex/add-access-grant-calendar-availability
Draft

Add AccessGrant and CalendarAvailability ontology schemas#1095
AlexTourski wants to merge 2 commits into
mainfrom
codex/add-access-grant-calendar-availability

Conversation

@AlexTourski

Copy link
Copy Markdown

Summary

Adds two proposed W3DS JSON Schema draft-07 ontologies:

  • AccessGrant for canonical owner-to-grantee authorization and non-authoritative discovery references.
  • CalendarAvailability for explicit owner-defined booking windows.

The schemas use newly generated UUIDv4 identifiers:

  • AccessGrant: 15d24c04-a4f3-4e45-a00e-0123926fbc87
  • CalendarAvailability: a92c3675-dbc8-44f6-b24e-520eeadb8864

This PR is intentionally a draft. Calex will not write records using these schema IDs until W3DS maintainers approve the model and merge/register the schemas.

Motivation

Calex needs interoperable records for calendar visibility, delegated event operations, explicit availability windows, and public booking policy without introducing a local authorization database or copying authoritative calendar data outside users' eVaults.

Maintainer questions / blockers

  1. Is the canonical/reference AccessGrant pattern appropriate for cross-eVault discovery?
  2. May a certified post-platform create a non-authoritative reference in a grantee's eVault?
  3. Should raw AccessGrant and CalendarAvailability records remain owner-only under the current combined read/write ACL semantics?
  4. Are namespaced permissions such as calendar:viewBusy acceptable?
  5. Where should delegated actor and authorizing grant provenance live: MetaEnvelope metadata, audit records, or CalendarEvent fields?
  6. Does grant creation/revocation require an owner signature flow?
  7. What shared provisional-hold and atomic compare-and-create mechanism should prevent double booking?
  8. Are draft-07 conditional keywords (if/then, const) supported by the deployed Ontology validation path?

Scope

Only two new files under services/ontology/schemas/ are added. No existing schema, runtime service, workflow, or deployment configuration is changed.

@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: debf540b-6a70-4fc5-8815-50e27e99127d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/add-access-grant-calendar-availability

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant