Skip to content

New game parameters

MuskanDubey99 edited this page Jun 25, 2021 · 5 revisions

{

"schema": ""
"description": "JSON for edit page",
"type": "object",
"properties": {
  "Components": {
    "description": "All the components whose dimensions can be changed"
    "type": "object",
    "properties": {
      "shapes": {
        "description": "Adjusting the shapes",
        "type": "object",
        "properties": {
          "width": {
            "type": "number"
          },
          "height": {
            "type": "number"
          },
          "position_x": {
            "type": "number"
          },
          "position_y": {
            "type": "number"
          },
          "colour": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "textcolour": {
            "type": "string"
          }
        }
      },
      "media": {
        "description": "Adjusting the video/audio piece",
        "type": "object",
        "properties": {
          "width": {
            "type": "number"
          },
          "height": {
            "type": "number"
          },
          "position_x": {
            "type": "number"
          },
          "position_y": {
            "type": "number"
          },
          "file": {
            "type": "string"
          }
        }        
      },
      "GamePiece": {
        "description": "Adjusting the game piece",
        "type": "object",
        "properties": {
          "width": {
            "type": "number"
          },
          "height": {
            "type": "number"
          },
          "position_x": {
            "type": "number"
          },
          "position_y": {
            "type": "number"
          }
        }
      }
    },
},
  "Pageheader": {
    "description": "",
    "type": "object",
    "properties": {
      "levelbar": {
        "type": "boolean"
      },
      "pages": {
        "type": "number"
      },
      "leveltext": {
        "type": "string"
      }
    }
},
  "Information": {
    "description": "Display personal information",
    "type": "object",
    "properties": {
      "role": {
        "type": "string"
      },
      "text": {
        "type": "string"
      },
      "components": {
        "type": "string"
      }
    } 
},
  "NavigationBar": {
    "description": "Items displayed on Navigation Bar",
    "type": "object",
    "properties": {
      "messages": {
        "type": "boolean"
      },
      "alerts": {
        "type": "boolean"
      },
      "parameters": {
        "type": "boolean"
      },
      "setting": {
        "type": "boolean"
      },
      "performance": {
        "type": "boolean"
      }
    }
  }
}

}

Clone this wiki locally