diff --git a/latticejson/schema.json b/latticejson/schema.json index d7f7e4e..0bfc323 100644 --- a/latticejson/schema.json +++ b/latticejson/schema.json @@ -25,6 +25,22 @@ "type": "string", "description": "Additional information about the lattice" }, + "metadata": { + "type": "object", + "description": "Metadata", + "additionalProperties": false, + "properties": { + "creator": { + "$ref": "#/definitions/Person" + }, + "editors": { + "type": "array", + "items": { + "$ref": "#/definitions/Person" + } + } + } + }, "energy": { "type": "number", "description": "Energy of the particle beam in GeV", @@ -74,6 +90,23 @@ } }, "definitions": { + "Person": { + "type": "object", + "additionalProperties": false, + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "The person's name." + }, + "email": { + "type": "string", + "description": "The person's email." + } + } + }, "Lattice": { "type": "array", "items": {