From 7150219ca5733e82b49cca64db2f4ab0ad26c857 Mon Sep 17 00:00:00 2001 From: James Brumond Date: Wed, 23 Nov 2022 12:17:08 -0800 Subject: [PATCH] update json feed extensions with `about` field; update json feed event extension to rename fields to not have `date_` prefix --- json-schema/json-feed-extensions/events/v1.json | 9 +++++++-- json-schema/json-feed-extensions/events/v1.yaml | 8 ++++++-- json-schema/json-feed-extensions/rsvps/v1.json | 5 +++++ json-schema/json-feed-extensions/rsvps/v1.yaml | 4 ++++ 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/json-schema/json-feed-extensions/events/v1.json b/json-schema/json-feed-extensions/events/v1.json index 65fe121..0543132 100644 --- a/json-schema/json-feed-extensions/events/v1.json +++ b/json-schema/json-feed-extensions/events/v1.json @@ -4,12 +4,17 @@ "type": "object", "description": "Contains additional Item metadata for Items that represent events", "properties": { - "date_start": { + "about": { + "type": "string", + "format": "uri", + "description": "URI pointing to more information about this \"_event\" extension" + }, + "start": { "type": "string", "format": "date-time", "description": "The date and time that the event starts" }, - "date_end": { + "end": { "type": "string", "format": "date-time", "description": "The date and time that the event ends" diff --git a/json-schema/json-feed-extensions/events/v1.yaml b/json-schema/json-feed-extensions/events/v1.yaml index b194511..11741f4 100644 --- a/json-schema/json-feed-extensions/events/v1.yaml +++ b/json-schema/json-feed-extensions/events/v1.yaml @@ -3,11 +3,15 @@ $id: https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-f type: object description: Contains additional Item metadata for Items that represent events properties: - date_start: + about: + type: string + format: uri + description: URI pointing to more information about this "_event" extension + start: type: string format: date-time description: The date and time that the event starts - date_end: + end: type: string format: date-time description: The date and time that the event ends \ No newline at end of file diff --git a/json-schema/json-feed-extensions/rsvps/v1.json b/json-schema/json-feed-extensions/rsvps/v1.json index 94f66ce..944b7bc 100644 --- a/json-schema/json-feed-extensions/rsvps/v1.json +++ b/json-schema/json-feed-extensions/rsvps/v1.json @@ -4,6 +4,11 @@ "type": "object", "description": "Contains additional Item metadata for Items that represent RSVPs to events", "properties": { + "about": { + "type": "string", + "format": "uri", + "description": "URI pointing to more information about this \"_rsvp\" extension" + }, "rsvp": { "type": "string", "enum": [ diff --git a/json-schema/json-feed-extensions/rsvps/v1.yaml b/json-schema/json-feed-extensions/rsvps/v1.yaml index 93a933d..bd1f3e3 100644 --- a/json-schema/json-feed-extensions/rsvps/v1.yaml +++ b/json-schema/json-feed-extensions/rsvps/v1.yaml @@ -3,6 +3,10 @@ $id: https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-f type: object description: Contains additional Item metadata for Items that represent RSVPs to events properties: + about: + type: string + format: uri + description: URI pointing to more information about this "_rsvp" extension rsvp: type: string enum: