blob: 09e0e4c736a1ce3e3b93529d8be1016bfac506c7 [file] [log] [blame]
Carol Wang612f35b2019-08-26 17:14:26 +08001{
2 "entries" : [
3 {
4 "attribute_name" : "str_example1",
5 "string_type" : "ASCII",
6 "minimum_string_length" : 1,
7 "maximum_string_length" : 100,
8 "default_string_length" : 3,
9 "default_string" : "abc",
George Liudaa69232020-09-02 17:22:09 +080010 "readOnly" : false,
George Liu92bb4022020-09-03 14:58:24 +080011 "helpText" : "str_example1 HelpText",
12 "displayName" : "str_example1 DisplayName",
Carol Wang612f35b2019-08-26 17:14:26 +080013 "dbus" : {
14 "object_path" : "/xyz/abc/def",
15 "interface" : "xyz.openbmc_project.str_example1.value",
16 "property_name" : "Str_example1",
17 "property_type" : "string"
18 }
19 },
20 {
21 "attribute_name" : "str_example2",
22 "string_type" : "Hex",
23 "minimum_string_length" : 0,
24 "maximum_string_length" : 100,
25 "default_string_length" : 0,
26 "default_string" : "",
George Liudaa69232020-09-02 17:22:09 +080027 "readOnly" : false,
George Liu92bb4022020-09-03 14:58:24 +080028 "helpText" : "str_example2 HelpText",
29 "displayName" : "str_example2 DisplayName",
Carol Wang612f35b2019-08-26 17:14:26 +080030 "dbus" : {
31 "object_path" : "/xyz/abc/def",
32 "interface" : "xyz.openbmc_project.str_example2.value",
33 "property_name" : "Str_example2",
34 "property_type" : "string"
35 }
36 },
37 {
38 "attribute_name" : "str_example3",
39 "string_type" : "Unknown",
40 "minimum_string_length" : 1,
41 "maximum_string_length" : 100,
42 "default_string_length" : 2,
George Liudaa69232020-09-02 17:22:09 +080043 "default_string" : "ef",
George Liu92bb4022020-09-03 14:58:24 +080044 "readOnly" : true,
45 "helpText" : "str_example3 HelpText",
46 "displayName" : "str_example3 DisplayName"
Carol Wang612f35b2019-08-26 17:14:26 +080047 }
48 ]
49}