update json feed extensions with about field;

update json feed event extension to rename fields to not have `date_` prefix
This commit is contained in:
James Brumond 2022-11-23 12:17:08 -08:00
parent 8bec2df86e
commit 7150219ca5
Signed by: james
GPG Key ID: 24BA25B8B303B023
4 changed files with 22 additions and 4 deletions

View File

@ -4,12 +4,17 @@
"type": "object", "type": "object",
"description": "Contains additional Item metadata for Items that represent events", "description": "Contains additional Item metadata for Items that represent events",
"properties": { "properties": {
"date_start": { "about": {
"type": "string",
"format": "uri",
"description": "URI pointing to more information about this \"_event\" extension"
},
"start": {
"type": "string", "type": "string",
"format": "date-time", "format": "date-time",
"description": "The date and time that the event starts" "description": "The date and time that the event starts"
}, },
"date_end": { "end": {
"type": "string", "type": "string",
"format": "date-time", "format": "date-time",
"description": "The date and time that the event ends" "description": "The date and time that the event ends"

View File

@ -3,11 +3,15 @@ $id: https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-f
type: object type: object
description: Contains additional Item metadata for Items that represent events description: Contains additional Item metadata for Items that represent events
properties: properties:
date_start: about:
type: string
format: uri
description: URI pointing to more information about this "_event" extension
start:
type: string type: string
format: date-time format: date-time
description: The date and time that the event starts description: The date and time that the event starts
date_end: end:
type: string type: string
format: date-time format: date-time
description: The date and time that the event ends description: The date and time that the event ends

View File

@ -4,6 +4,11 @@
"type": "object", "type": "object",
"description": "Contains additional Item metadata for Items that represent RSVPs to events", "description": "Contains additional Item metadata for Items that represent RSVPs to events",
"properties": { "properties": {
"about": {
"type": "string",
"format": "uri",
"description": "URI pointing to more information about this \"_rsvp\" extension"
},
"rsvp": { "rsvp": {
"type": "string", "type": "string",
"enum": [ "enum": [

View File

@ -3,6 +3,10 @@ $id: https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-f
type: object type: object
description: Contains additional Item metadata for Items that represent RSVPs to events description: Contains additional Item metadata for Items that represent RSVPs to events
properties: properties:
about:
type: string
format: uri
description: URI pointing to more information about this "_rsvp" extension
rsvp: rsvp:
type: string type: string
enum: enum: