diff --git a/docs/post-defs-nameornames.md b/docs/post-defs-nameornames.md index 1fa91fa..71184e8 100644 --- a/docs/post-defs-nameornames.md +++ b/docs/post-defs-nameornames.md @@ -1,4 +1,4 @@ -## moderator Type +## speaker Type merged type ([Details](post-defs-nameornames.md)) diff --git a/docs/post.md b/docs/post.md index 9aade11..44f65d9 100644 --- a/docs/post.md +++ b/docs/post.md @@ -23,7 +23,6 @@ | [slides](#slides) | `string` | Optional | cannot be null | [post](post-properties-slides.md "dogwood/post.schema.json#/properties/slides") | | [author](#author) | Merged | Optional | cannot be null | [post](post-defs-nameornames.md "dogwood/post.schema.json#/properties/author") | | [speaker](#speaker) | Merged | Optional | cannot be null | [post](post-defs-nameornames.md "dogwood/post.schema.json#/properties/speaker") | -| [moderator](#moderator) | Merged | Optional | cannot be null | [post](post-defs-nameornames.md "dogwood/post.schema.json#/properties/moderator") | | [tags](#tags) | `array` | Optional | cannot be null | [post](post-properties-tags.md "dogwood/post.schema.json#/properties/tags") | | [block](#block) | `string` | Optional | cannot be null | [post](post-properties-block.md "dogwood/post.schema.json#/properties/block") | | [time](#time) | `string` | Optional | cannot be null | [post](post-properties-time.md "dogwood/post.schema.json#/properties/time") | @@ -356,30 +355,6 @@ one (and only one) of * [names](post-defs-nameornames-oneof-names.md "check type definition") -## moderator - - - -`moderator` - -* is optional - -* Type: merged type ([Details](post-defs-nameornames.md)) - -* cannot be null - -* defined in: [post](post-defs-nameornames.md "dogwood/post.schema.json#/properties/moderator") - -### moderator Type - -merged type ([Details](post-defs-nameornames.md)) - -one (and only one) of - -* [name](post-defs-nameornames-oneof-name.md "check type definition") - -* [names](post-defs-nameornames-oneof-names.md "check type definition") - ## tags diff --git a/docs/post.schema.json b/docs/post.schema.json index 28ae5d1..eb0f1e4 100644 --- a/docs/post.schema.json +++ b/docs/post.schema.json @@ -1 +1 @@ -{"title":"post","$id":"dogwood/post.schema.json","description":"A post or session tied to a specific datetime and which has an author or speaker.","type":"object","$defs":{"nameOrNames":{"oneOf":[{"title":"name","type":"string"},{"type":"array","title":"names","items":{"title":"name","type":"string"}}]}},"properties":{"title":{"type":"string"},"embedded":{"type":"string"},"embedded_remote":{"type":"string"},"permalink":{"type":"string"},"event":{"type":"string"},"blurb":{"type":"string"},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"string","pattern":"\\d{4}-[01]\\d-[0-3]\\d [0-2]\\d:[0-5]\\d(:[0-5]\\d)? ([+-][0-2]\\d[0-5]\\d)"}]},"image":{"type":"string"},"image_remote":{"type":"string"},"caption":{"type":"string"},"youtube":{"type":["string","null"]},"video_src":{"type":"string"},"podbean":{"type":"string"},"register":{"type":"string"},"slides":{"type":"string"},"author":{"$ref":"#/$defs/nameOrNames"},"speaker":{"$ref":"#/$defs/nameOrNames"},"moderator":{"$ref":"#/$defs/nameOrNames"},"tags":{"type":"array","title":"tags","items":{"type":"string"}},"block":{"type":"string"},"time":{"type":"string"},"day":{"type":"string"},"room":{"type":"string"},"length":{"type":"string"},"type":{"type":"string"}},"required":["title"]} +{"title":"post","$id":"dogwood/post.schema.json","description":"A post or session tied to a specific datetime and which has an author or speaker.","type":"object","$defs":{"nameOrNames":{"oneOf":[{"title":"name","type":"string"},{"type":"array","title":"names","items":{"title":"name","type":"string"}}]}},"properties":{"title":{"type":"string"},"embedded":{"type":"string"},"embedded_remote":{"type":"string"},"permalink":{"type":"string"},"event":{"type":"string"},"blurb":{"type":"string"},"date":{"oneOf":[{"type":"string","format":"date-time"},{"type":"string","pattern":"\\d{4}-[01]\\d-[0-3]\\d [0-2]\\d:[0-5]\\d(:[0-5]\\d)? ([+-][0-2]\\d[0-5]\\d)"}]},"image":{"type":"string"},"image_remote":{"type":"string"},"caption":{"type":"string"},"youtube":{"type":["string","null"]},"video_src":{"type":"string"},"podbean":{"type":"string"},"register":{"type":"string"},"slides":{"type":"string"},"author":{"$ref":"#/$defs/nameOrNames"},"speaker":{"$ref":"#/$defs/nameOrNames"},"tags":{"type":"array","title":"tags","items":{"type":"string"}},"block":{"type":"string"},"time":{"type":"string"},"day":{"type":"string"},"room":{"type":"string"},"length":{"type":"string"},"type":{"type":"string"}},"required":["title"]}