From ccf233f4921d6ea35a7766b2cda0d9c37da31b18 Mon Sep 17 00:00:00 2001 From: David Riesz Date: Thu, 3 May 2018 11:04:54 -0700 Subject: [PATCH] Add tags section --- docs/schema/schema.go | 14 ++++++++++++++ schema.json | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/docs/schema/schema.go b/docs/schema/schema.go index fff7267..f3be9c1 100644 --- a/docs/schema/schema.go +++ b/docs/schema/schema.go @@ -633,6 +633,20 @@ type Data struct { } `json:"properties"` } `json:"items"` } `json:"interests"` + Tags struct { + Type string `json:"type"` + AdditionalItems bool `json:"additionalItems"` + Items struct { + Type string `json:"type"` + AdditionalProperties bool `json:"additionalProperties"` + Properties struct { + Name struct { + Type string `json:"type"` + Description string `json:"description"` + } `json:"name"` + } `json:"properties"` + } `json:"items"` + } `json:"tags"` Meta struct { Type string `json:"type"` Description string `json:"description"` diff --git a/schema.json b/schema.json index 73a9bc7..0b536c8 100644 --- a/schema.json +++ b/schema.json @@ -631,6 +631,20 @@ } } }, + "tags": { + "type": "array", + "additionalItems": false, + "items": { + "type": "object", + "additionalProperties": true, + "properties": { + "name": { + "type": "string", + "description": "e.g. Software Engineer" + } + } + } + }, "meta": { "type": "object", "description": "The schema version and any other tooling configuration lives here",