Skip to content

Update or replace manifestVersion #127

@michaeltlombardi

Description

@michaeltlombardi

Summary of the new feature / enhancement

In prior conversations and in the decomposed schema, I have the manifestVersion key in the resouce manifest documented as defining the version of the resource manifest schema that the manifest adheres to, requiring it to be semver and limited to the versions of the schema we support, which is currently 1.0.

A few things:

  • 1.0 isn't valid semver by the regex recommended on semver.org - it would have to be 1.0.0 (and should maybe more accurately be 0.1.0)
  • I thought I remembered there being a check on this version in the code, but a quick check didn't turn one up.
  • If this is actually referencing the canonical schema for the manifest, should this maybe just be the $schema key and point to the resource manifest schema's $id?

Proposed technical implementation details (optional)

Either:

  1. Update manifestVersion to use a valid semantic version string, like 0.1.0
  2. Replace manifestVersion with the $schema keyword and require the specified schema to be one of the list of supported schemas.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions