Skip to content

[Feature] Document marketplace.json schema  #757

@rcollette

Description

@rcollette

Problem

There is no dedicated documentation in the APM project that clearly defines the schema for marketplace.json. As the APM tool expands its marketplace model—including support for both Git-backed and URL-backed marketplaces—having an up-to-date, authoritative schema reference is critical for:

  • Marketplace publishers (defining their own marketplace.json)
  • Third-party integrators (validating and generating compatible indexes)
  • Users diagnosing issues with marketplace registration or skill indices

Proposal

  • Add a dedicated documentation page or appendix to the current docs that describes the full JSON schema expected for marketplace.json.
  • Cover all current required and optional fields, types, value constraints, and examples.
  • Document how differences are handled between repo-backed and URL-backed marketplace schemas (including references to Agent Skills specification if applicable).
  • Include versioning strategy and backward compatibility notes.
  • Link to any relevant RFCs/specifications (e.g., Agent Skills, RFC 8615).

Motivation

  • Reduce publisher/integrator confusion and support requests
  • Enable better validation, error messages, and automation for marketplace publishing
  • Support the planned generalization of the marketplace discovery model

Example Content to Include

  • Example minimal and full-featured marketplace.json files
  • JSON schema definition (or link)
  • Common mistakes and troubleshooting
  • Comparison table/references for .well-known/agent-skills/index.json vs. repo marketplace.json

Reference material

The guide at https://github.com/microsoft/apm/blob/main/docs/src/content/docs/guides/marketplaces.md is insufficient for agents and other tooling to generate marketplace.json files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docs-sitedocs/src/content (Starlight), README, doc generation.area/marketplacemarketplace.json schema, federation, authoring suite, source parity.good first issueGood for newcomersmarketplaceDeprecated: use area/marketplace. Kept for issue history; will be removed in milestone 0.10.0.priority/lowAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).theme/governanceGoverned by policy. apm-policy, audit, enforcement, enterprise rollout.type/docsDocumentation change (prose, examples, generated reference).

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions