Skip to content

Instantly share code, notes, and snippets.

@klotzambein
Last active September 28, 2017 12:49
Show Gist options
  • Select an option

  • Save klotzambein/2b2f907003b3cee0f8721315fe2e3d1c to your computer and use it in GitHub Desktop.

Select an option

Save klotzambein/2b2f907003b3cee0f8721315fe2e3d1c to your computer and use it in GitHub Desktop.

Revisions

  1. klotzambein revised this gist Sep 28, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Config.schema.json
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@
    "type": "object",
    "title": "calendar",
    "description": "A calendar which should be hosted",
    "properties": { "ip": { "type": "string" } }
    "properties": { "ip": { "type": "string" }, "port": { "type": "number" } }
    }
    }
    }
  2. klotzambein revised this gist Sep 28, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Config.schema.json
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@
    "items": {
    "type": "object",
    "title": "calendar",
    "description": "A calendar which should be hosted"
    "description": "A calendar which should be hosted",
    "properties": { "ip": { "type": "string" } }
    }
    }
  3. klotzambein revised this gist Sep 28, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Config.schema.json
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,7 @@
    "type": "object",
    "title": "calendar",
    "description": "A calendar which should be hosted"
    "properties": { "ip": { "type": "string" } }
    }
    }
    }
  4. klotzambein created this gist Sep 28, 2017.
    17 changes: 17 additions & 0 deletions Config.schema.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    {
    "$schema": "http://json-schema.org/draft-04/schema",
    "title": "Config schema",
    "type": "object",
    "properties": {
    "calendars": {
    "type": "array",
    "default": [],
    "uniqueItems": true,
    "items": {
    "type": "object",
    "title": "calendar",
    "description": "A calendar which should be hosted"
    }
    }
    }
    }