Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "title": "TF2 HUD Editor JSON Schema",
- "properties": {
- "Background": {
- "type": "string"
- },
- "Layout": {
- "type": "array"
- },
- "Links": {
- "type": "object",
- "properties": {
- "Update": {
- "type": "string"
- },
- "Issue": {
- "type": "string"
- },
- "GitHub": {
- "type": "string"
- },
- "HudsTF": {
- "type": "string"
- },
- "Steam": {
- "type": "string"
- },
- "Discord": {
- "type": "string"
- }
- },
- "required": [
- "Update"
- ]
- },
- "Controls": {
- "type": "object",
- "patternProperties": {
- "^[a-zA-Z\\d]*$": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "Name": {
- "type": "string"
- },
- "Label": {
- "type": "string"
- },
- "Type": {
- "type": "string",
- "enum": [
- "Background",
- "CheckBox",
- "Checkbox",
- "Color",
- "ColorPicker",
- "Colour",
- "ColourPicker",
- "ComboBox",
- "Crosshair",
- "CustomBackground",
- "CustomCrosshair",
- "DropDown",
- "DropDownMenu",
- "Integer",
- "IntegerUpDown",
- "Number",
- "Select",
- "Text",
- "TextBox"
- ]
- },
- "ToolTip": {
- "type": "string"
- },
- "Preview": {
- "type": "string"
- },
- "Special": {
- "type": "string"
- },
- "SpecialParameters": {
- "type": "array"
- },
- "Files": {
- "type": "object"
- },
- "FileName": {
- "type": "string"
- },
- "RenameFile": {
- "type": "string"
- },
- "ComboFiles": {
- "type": "array"
- },
- "Restart": {
- "type": "boolean"
- },
- "Options": {
- "type": "array",
- "items": {
- "type": "object",
- "#ref": "#/properties/Controls/patternProperties/^[a-zA-Z\\d]*$"
- }
- },
- "Pulse": {
- "type": "boolean"
- },
- "Minimum": {
- "type": [
- "integer",
- "string"
- ]
- },
- "Maximum": {
- "type": [
- "integer",
- "string"
- ]
- },
- "Increment": {
- "type": [
- "integer",
- "string"
- ]
- }
- },
- "required": [
- "Name",
- "Label",
- "Value"
- ]
- }
- }
- }
- }
- },
- "required": [
- "Links",
- "Controls"
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement