[wp-trac] [WordPress Trac] #51092: Create a JSON schema for Privacy and Other Related Disclosures

WordPress Trac noreply at wordpress.org
Fri Sep 4 20:05:37 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 TimothyBlynJacobs):

 > 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.

 I'll leave that for the privacy team. My point about using JSON schema is
 it provides us a good way to validate that if we do want structured data,
 which I think is the privacy team's goal.

 > Hmm, the way I see it the data will not include any translatable
 strings. It would be "just data" used to build some UI.

 I think they probably would as mentioned in comment:3.

 > Even if there are translatable strings, the data is "static" by nature,
 why would there be a REST API end point for such data? :)

 Why should it not be? If it is made available over the REST API, it is
 easier for other consumers to access that data. It'd also make it easier
 for a React powered front-end. It being available over the REST API also
 doesn't preclude it from being accessed in different ways as well.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51092#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list