{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/aptos/json-schema/MoveStructVariant.json",
  "title": "MoveStructVariant",
  "type": "object",
  "description": "A single variant of a Move enum.",
  "required": [
    "name",
    "fields"
  ],
  "properties": {
    "name": {
      "$ref": "#/components/schemas/IdentifierWrapper"
    },
    "fields": {
      "type": "array",
      "description": "Fields associated with the variant, if any.",
      "items": {
        "$ref": "#/components/schemas/MoveStructField"
      }
    }
  }
}