[wp-trac] [WordPress Trac] #51092: Create a JSON schema for Privacy and Other Related Disclosures
WordPress Trac
noreply at wordpress.org
Fri Sep 4 17:09:44 UTC 2020
#51092: Create a JSON schema for Privacy and Other Related Disclosures
----------------------------------------------+-----------------------
Reporter: carike | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: 5.6
Component: Privacy | Version:
Severity: normal | Resolution:
Keywords: needs-privacy-review 2nd-opinion | Focuses: rest-api
----------------------------------------------+-----------------------
Comment (by azaozz):
Replying to [comment:28 TimothyBlynJacobs]:
> This ticket is creating a JSON schema. Plugins can then provide privacy
data that must validate against that schema.
Yeah, I understand. The problem is that having such (fixed) schema in WP
doesn't seem to be possible from a laws/regulations compliance point of
view. I.e. the author(s) of the schema may carry legal responsibility for
items that are included or not included there.
> > What is the purpose of using the REST API to output a static file?
This seems like a bad software design?
>
> It likely wouldn't be outputting a static file since some strings will
need to be translated.
Hmm, the way I see it the data will not include any translatable strings.
It would be "just data" used to build some UI. The (numerous) code
examples in the ticket description don't seem to serve the purpose well
and will need changing (separate data from view, etc.).
Even if there are translatable strings, the data is "static" by nature,
why would there be a REST API end point for such data? :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51092#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list