[wp-trac] [WordPress Trac] #60255: Add $schema property to block and theme JSON files

WordPress Trac noreply at wordpress.org
Mon Jan 15 13:08:50 UTC 2024


#60255: Add $schema property to block and theme JSON files
--------------------------+-----------------------------
 Reporter:  jonsurrell    |      Owner:  jonsurrell
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Add $schema to block.json and theme.json files to leverage JSON schema
 support.

 Schemas help ensure that these files conform to expectations. They can
 help provide autocomplete and documentation if editors are configured to
 do so.

 We provide and maintain these schemas, we should be using them. This can
 help to ensure that our own declarations are correct and that the schemas
 are also correct.

 See https://github.com/WordPress/gutenberg/pull/57201

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60255>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list