Carol Wang | 612f35b | 2019-08-26 17:14:26 +0800 | [diff] [blame] | 1 | { |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 2 | "entries": [ |
Carol Wang | 612f35b | 2019-08-26 17:14:26 +0800 | [diff] [blame] | 3 | { |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 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", |
| 10 | "readOnly": false, |
| 11 | "helpText": "str_example1 HelpText", |
| 12 | "displayName": "str_example1 DisplayName", |
| 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" |
Carol Wang | 612f35b | 2019-08-26 17:14:26 +0800 | [diff] [blame] | 18 | } |
| 19 | }, |
| 20 | { |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 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": "", |
| 27 | "readOnly": false, |
| 28 | "helpText": "str_example2 HelpText", |
| 29 | "displayName": "str_example2 DisplayName", |
| 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" |
Carol Wang | 612f35b | 2019-08-26 17:14:26 +0800 | [diff] [blame] | 35 | } |
| 36 | }, |
| 37 | { |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 38 | "attribute_name": "str_example3", |
| 39 | "string_type": "Unknown", |
| 40 | "minimum_string_length": 1, |
| 41 | "maximum_string_length": 100, |
| 42 | "default_string_length": 2, |
| 43 | "default_string": "ef", |
| 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 | } |