add json schemas for json feed extensions
This commit is contained in:
parent
3fcdf76837
commit
8bec2df86e
18
json-schema/json-feed-extensions/events/v1.json
Normal file
18
json-schema/json-feed-extensions/events/v1.json
Normal file
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
13
json-schema/json-feed-extensions/events/v1.yaml
Normal file
13
json-schema/json-feed-extensions/events/v1.yaml
Normal file
@ -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
|
19
json-schema/json-feed-extensions/rsvps/v1.json
Normal file
19
json-schema/json-feed-extensions/rsvps/v1.json
Normal file
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
16
json-schema/json-feed-extensions/rsvps/v1.yaml
Normal file
16
json-schema/json-feed-extensions/rsvps/v1.yaml
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user