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

Add person, calendar, event schemas #28

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

chime3
Copy link
Collaborator

@chime3 chime3 commented Sep 2, 2024

Closes #26

@chime3 chime3 requested a review from tahpot September 2, 2024 06:40
@chime3 chime3 self-assigned this Sep 2, 2024
@chime3 chime3 added the new schema New schema label Sep 2, 2024
@chime3 chime3 changed the base branch from main to develop September 2, 2024 06:43
Copy link
Member

@tahpot tahpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start. Thanks!

See comments.

calendar/v0.1.0/schema.json Outdated Show resolved Hide resolved
calendar/v0.1.0/schema.json Outdated Show resolved Hide resolved
calendar/v0.1.0/schema.json Outdated Show resolved Hide resolved
@@ -0,0 +1,18 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This person schema definition is specific to calendar events, so embed it in the calendar event schema instead of a separate file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This person schema definition is specific to calendar events, so embed it

Okay

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This person schema definition is specific to calendar events, so embed it in the calendar event schema instead of a separate file.

Done

social/event/v0.1.0/schema.json Show resolved Hide resolved
social/event/v0.1.0/schema.json Show resolved Hide resolved
social/event/v0.1.0/schema.json Show resolved Hide resolved
social/event/v0.1.0/schema.json Outdated Show resolved Hide resolved
social/event/v0.1.0/schema.json Outdated Show resolved Hide resolved
Copy link
Member

@tahpot tahpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

Copy link
Member

@tahpot tahpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved once changes made.

"$ref": "https://core.schemas.verida.io/base/v0.1.0/schema.json"
},
{
"properties": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add calendarId that references the calendar object.

@@ -0,0 +1,71 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://common.schemas.example.com/calendar/v0.1.0/schema.json",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this into /social/calendar/...

@chime3 chime3 merged commit 9747cfe into develop Sep 3, 2024
@chime3 chime3 deleted the feature/26-calendar-event-schema branch September 3, 2024 01:06
@chime3 chime3 restored the feature/26-calendar-event-schema branch September 3, 2024 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new schema New schema
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Event schema
2 participants