{
  "types": {
    "BlockNumber": "U64",
    "SpecificTestType": "u32",
    "DigestItem": {
      "type": "enum",
      "type_mapping": [
        ["Other", "Vec<u8>"],
        ["AuthoritiesChange", "Vec<AuthorityId>"],
        ["ChangesTrieRoot", "Hash"],
        ["SealV0", "SealV0"],
        ["Consensus", "Consensus"],
        ["Seal", "Seal"],
        ["PreRuntime", "PreRuntime"]
      ]
    },
    "IdentityFields": {
      "type": "set",
      "value_list": {
        "Display": 1,
        "Legal": 2,
        "Web": 4,
        "Riot":  8,
        "Email":  16,
        "PgpFingerprint":  32,
        "Image": 64,
        "Twitter": 128
      }
    },
    "EnumWithBaseClass": {
      "type": "enum",
      "base_class": "GenericContractExecResult",
      "type_mapping": [
        [
          "Success",
          "ContractExecResultSuccessTo260"
        ],
        [
          "Error",
          "Null"
        ]
      ]
    },
    "EnumWithoutBaseClass": {
      "type": "enum",
      "type_mapping": [
        [
          "Success",
          "ContractExecResultSuccessTo260"
        ],
        [
          "Error",
          "Null"
        ]
      ]
    },
    "StructWithBaseClass": {
      "type": "struct",
      "base_class": "GenericContractExecResult",
      "type_mapping": [
        [
          "Success",
          "ContractExecResultSuccessTo260"
        ],
        [
          "Error",
          "Null"
        ]
      ]
    },
    "StructWithoutBaseClass": {
      "type": "struct",
      "type_mapping": [
        [
          "Success",
          "ContractExecResultSuccessTo260"
        ],
        [
          "Error",
          "Null"
        ]
      ]
    },
    "StructWithNestedStruct": {
      "type": "struct",
      "type_mapping": [
        [
          "flat",
          "u8"
        ],
        [
          "nested",
          {
            "a": "u8",
            "b": "u8"
          }
        ],
        [
          "after",
          "u8"
        ]
      ]
    },
    "SetWithoutBaseClass": {
        "type": "set",
        "value_type": "u32",
        "value_list": {
          "Value1": 1,
          "Value2": 2,
          "Value3": 4,
          "Value4": 8,
          "Value5": 16
        }
    },
    "SetWithBaseClass": {
        "type": "set",
        "base_class": "GenericContractExecResult",
        "value_type": "u32",
        "value_list": {
          "Value1": 1,
          "Value2": 2,
          "Value3": 4,
          "Value4": 8,
          "Value5": 16
        }
    },
     "EnumSpecifiedIndex": {
        "type": "enum",
        "value_list": {
            "ACA": 0,
            "AUSD": 1,
            "DOT": 2,
            "LDOT": 3,
            "RENBTC": 4,
            "KAR": 128,
            "KUSD": 129,
            "KSM": 130,
            "LKSM": 131,
            "CASH": 140
        }
    },
    "EnumWithNestedStruct": {
      "type": "enum",
      "type_mapping": [
        [
          "Flat",
          "u8"
        ],
        [
          "Nested",
          {
            "a": "u8",
            "b": "u8"
          }
        ],
        [
          "After",
          "u8"
        ]
      ]
    }
  }
}
