| | 24 | |
| | 25 | Illustrative example: Compatibility |
| | 26 | |
| | 27 | In this example, a plugin author would like to disclose which Privacy Tools they, in good faith, believe that they are compatible with. |
| | 28 | The author would include the following in a file named disclosures.json in the plugin's main folder to indicate that: |
| | 29 | - The code is compatible with Core's tool to export Protected Personal Information; |
| | 30 | - The code is compatible with Core's tool to erase Protected Personal Information; |
| | 31 | - The code is compatible with the Consent API; |
| | 32 | - The code is compatible with the Disclosures Tab; |
| | 33 | - The code is not compatible with the Permissions Tab. |
| | 34 | |
| | 35 | {{{#!php |
| | 36 | <?php |
| | 37 | { |
| | 38 | "compatibility": { |
| | 39 | "ppiExport": [ |
| | 40 | TRUE |
| | 41 | ], |
| | 42 | "ppiErasure": [ |
| | 43 | TRUE |
| | 44 | ], |
| | 45 | "consentAPI": [ |
| | 46 | TRUE |
| | 47 | ], |
| | 48 | "disclosuresTab": [ |
| | 49 | TRUE |
| | 50 | ], |
| | 51 | "permissionsTab": [ |
| | 52 | FALSE |
| | 53 | ] |
| | 54 | } |
| | 55 | } |
| | 56 | }}} |