view json/schema/basic.json @ 80:420e9248e7b9

README
author Chris Cannam
date Fri, 07 Oct 2016 15:55:51 +0100
parents f044f6a309e0
children 1f4ed70d8f1e
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/json/schema/basic#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for a common unit of basic metadata",
    "type": "object",
    "properties": {
	"identifier": {
	    "type": "string",
	    "pattern": "^[a-zA-Z0-9_-]+$"
	},
	"name": {
	    "type": "string"
	},
	"description": {
	    "type": "string"
	}
    },
    "required": [ "identifier" ],
    "additionalProperties": false
}