Mercurial > hg > piper
annotate json/schema/basic.json @ 216:72a3b8faba89 tip master
programParameters should not have a pattern enforced on its keys - a program name can be anything
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 08 Apr 2020 14:57:24 +0100 |
parents | ffe01c8286c4 |
children |
rev | line source |
---|---|
c@171 | 1 { |
c@178 | 2 "id": "http://vamp-plugins.org/piper/json/schema/basic#", |
c@171 | 3 "$schema": "http://json-schema.org/draft-04/schema#", |
c@171 | 4 "description": "schema for a common unit of basic metadata", |
c@171 | 5 "type": "object", |
c@171 | 6 "properties": { |
c@171 | 7 "identifier": { |
c@171 | 8 "type": "string", |
c@171 | 9 "pattern": "^[a-zA-Z0-9_-]+$" |
c@171 | 10 }, |
c@171 | 11 "name": { |
c@171 | 12 "type": "string" |
c@171 | 13 }, |
c@171 | 14 "description": { |
c@171 | 15 "type": "string" |
c@171 | 16 } |
c@171 | 17 }, |
c@171 | 18 "required": [ "identifier" ], |
c@171 | 19 "additionalProperties": false |
c@171 | 20 } |