Skip to content

Commit

Permalink
Merge Develop (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
tahpot authored Sep 9, 2024
2 parents c94f16a + f9e8dd6 commit 55e2434
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions social/event/v0.1.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,21 @@
"name": "social_event",
"indexes": {
"name": ["name"],
"startTime": ["start.date"],
"endTime": ["end.date"],
"startTime": ["start.dateTime"],
"endTime": ["end.dateTime"],
"source": ["sourceApplication", "sourceId"]
}
},
"layouts": {
"create": ["name", "calendarId", "start.date", "end.date", "location"],
"view": ["name", "description", "calendarId", "start.date", "end.date", "location", "organizer", "attendees", "status"]
"create": ["name", "calendarId", "location"],
"view": ["name", "description", "calendarId", "start", "end", "location", "organizer", "attendees", "status"]
},
"allOf": [
{
"$ref": "https://core.schemas.verida.io/base/v0.1.0/schema.json"
},
{
"type": "object",
"properties": {
"status": {
"title": "Status",
Expand Down Expand Up @@ -68,17 +69,14 @@
"type": "string",
"format": "date-time"
},
"date": {
"type": "string",
"format": "date"
},
"timezone": {
"type": "string",
"description": "UTC offset format",
"pattern": "^([+-](?:2[0-3]|[01][0-9]):[0-5][0-9])$",
"example": "+02:30"
"examples": ["+02:30"]
}
}
},
"required": ["dateTime"]
},
"end": {
"title": "End",
Expand All @@ -89,17 +87,14 @@
"type": "string",
"format": "date-time"
},
"date": {
"type": "string",
"format": "date"
},
"timezone": {
"type": "string",
"description": "UTC offset format",
"pattern": "^([+-](?:2[0-3]|[01][0-9]):[0-5][0-9])$",
"example": "+02:30"
}
}
"examples": ["+02:30"]
}
},
"required": ["dateTime"]
},
"attendees": {
"title": "Attendees",
Expand Down Expand Up @@ -142,7 +137,7 @@
}
}
},
"required": ["calendarId", "start.date", "end.date"]
"required": ["calendarId", "start"]
}
],
"$defs": {
Expand Down

0 comments on commit 55e2434

Please sign in to comment.