Carol Wang | 612f35b | 2019-08-26 17:14:26 +0800 | [diff] [blame] | 1 | { |
| 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 Liu | daa6923 | 2020-09-02 17:22:09 +0800 | [diff] [blame] | 10 | "readOnly" : false, |
George Liu | 92bb402 | 2020-09-03 14:58:24 +0800 | [diff] [blame] | 11 | "helpText" : "str_example1 HelpText", |
| 12 | "displayName" : "str_example1 DisplayName", |
Carol Wang | 612f35b | 2019-08-26 17:14:26 +0800 | [diff] [blame] | 13 | "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 Liu | daa6923 | 2020-09-02 17:22:09 +0800 | [diff] [blame] | 27 | "readOnly" : false, |
George Liu | 92bb402 | 2020-09-03 14:58:24 +0800 | [diff] [blame] | 28 | "helpText" : "str_example2 HelpText", |
| 29 | "displayName" : "str_example2 DisplayName", |
Carol Wang | 612f35b | 2019-08-26 17:14:26 +0800 | [diff] [blame] | 30 | "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 Liu | daa6923 | 2020-09-02 17:22:09 +0800 | [diff] [blame] | 43 | "default_string" : "ef", |
George Liu | 92bb402 | 2020-09-03 14:58:24 +0800 | [diff] [blame] | 44 | "readOnly" : true, |
| 45 | "helpText" : "str_example3 HelpText", |
| 46 | "displayName" : "str_example3 DisplayName" |
Carol Wang | 612f35b | 2019-08-26 17:14:26 +0800 | [diff] [blame] | 47 | } |
| 48 | ] |
| 49 | } |