From fb98f8e4c058f87b1057ae2bab0cda5c52f559a4 Mon Sep 17 00:00:00 2001 From: Felix Andreas Date: Fri, 14 Feb 2020 16:26:19 +0100 Subject: [PATCH] initial specification of bumper --- latticejson/schema.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/latticejson/schema.json b/latticejson/schema.json index 585eae2..ccfb3ae 100644 --- a/latticejson/schema.json +++ b/latticejson/schema.json @@ -181,6 +181,38 @@ } ] }, + "Bumper": { + "allOf": [ + { + "$ref": "#/definitions/Element" + } + ], + "items": [ + { + "const": "Bumper" + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "description": {}, + "length": {}, + "dx": {}, + "dy": {}, + "ds": {}, + "tilt": {}, + "angle": { + "type": "number", + "description": "Kick angle" + }, + "b2": { + "type": "number", + "description": "Sextupole term" + } + } + } + ] + }, "Quadrupole": { "allOf": [ {