tree: d098831aef696952d7eefe41c46154874753f115 [path history] [tgz]
  1. src/
  2. banjo_library.json
  4. cc_prebuilt_library.json
  5. cc_source_library.json
  6. common.json
  7. dart_library.json
  8. documentation.json
  9. fidl_library.json
  10. host_tool.json
  11. image.json
  12. loadable_module.json
  13. manifest.json
  15. sysroot.json
  16. version.gni

SDK metadata schemas

This directory contains JSON schemas for metadata files added to SDKs. These schemas are included in SDKs under //meta/schemas.


In order to help consumers of the SDK adjust to metadata changes, each SDK embeds an opaque version number for its metadata schema. This version number is specified in version.gni and can be found in SDKs in //meta/manifest.json.

Changes to schemas that require some consumer action should be accompanied by an increment of this version number. Such changes include:

  • adding a new property;
  • changing a property from required to optional;
  • renaming a property;
  • changing a property's type;
  • adding a schema for a new SDK element type.