diff --git a/json-schema/json-feed-extensions/events/v1.json b/json-schema/json-feed-extensions/events/v1.json new file mode 100644 index 0000000..65fe121 --- /dev/null +++ b/json-schema/json-feed-extensions/events/v1.json @@ -0,0 +1,18 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed-extensions/events/v1.json", + "type": "object", + "description": "Contains additional Item metadata for Items that represent events", + "properties": { + "date_start": { + "type": "string", + "format": "date-time", + "description": "The date and time that the event starts" + }, + "date_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/events/v1.yaml b/json-schema/json-feed-extensions/events/v1.yaml new file mode 100644 index 0000000..b194511 --- /dev/null +++ b/json-schema/json-feed-extensions/events/v1.yaml @@ -0,0 +1,13 @@ +$schema: http://json-schema.org/draft-07/schema +$id: https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed-extensions/events/v1.json +type: object +description: Contains additional Item metadata for Items that represent events +properties: + date_start: + type: string + format: date-time + description: The date and time that the event starts + date_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 new file mode 100644 index 0000000..94f66ce --- /dev/null +++ b/json-schema/json-feed-extensions/rsvps/v1.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed-extensions/rsvps/v1.json", + "type": "object", + "description": "Contains additional Item metadata for Items that represent RSVPs to events", + "properties": { + "rsvp": { + "type": "string", + "enum": [ + "invited", + "yes", + "no", + "maybe", + "interested" + ], + "description": "The type of RSVP response, based on https://microformats.org/wiki/h-entry#Core_Properties and https://microformats.org/wiki/rsvp-brainstorming\n" + } + } +} \ No newline at end of file diff --git a/json-schema/json-feed-extensions/rsvps/v1.yaml b/json-schema/json-feed-extensions/rsvps/v1.yaml new file mode 100644 index 0000000..93a933d --- /dev/null +++ b/json-schema/json-feed-extensions/rsvps/v1.yaml @@ -0,0 +1,16 @@ +$schema: http://json-schema.org/draft-07/schema +$id: https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed-extensions/rsvps/v1.json +type: object +description: Contains additional Item metadata for Items that represent RSVPs to events +properties: + rsvp: + type: string + enum: + - "invited" + - "yes" + - "no" + - "maybe" + - "interested" + description: > + The type of RSVP response, based on https://microformats.org/wiki/h-entry#Core_Properties + and https://microformats.org/wiki/rsvp-brainstorming \ No newline at end of file