How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Fix Kits · Kin Score · 10 check points

Fix Kit: JSON Schema

Publish your data models as standalone JSON Schema, one per resource, so tools and agents can validate against them.

$149
One check · 10 points
  • Effort: An afternoon with the extraction script.
  • Who needs it: of the providers each check applies to (apis.io, scored 2026-11-21, rubric 0.28.1): 100% miss “Publishes JSON Schema”; 100% miss “Schema per resource”.
  • You get: the full kit (PDF and Markdown): how to find what your API really does, step-by-step fix, starter schemas, an OpenAPI Overlay that applies it across your contract, a script that checks your work exactly the way the scorer does, and docs-platform notes.

What the check measures

A schema that only lives inside an OpenAPI document can only be used through that document. Pull it out into its own file with its own $id, and anyone can validate a payload against it, generate a type from it, $ref it from an AsyncAPI document or a second API, or hand it to an agent that needs to build one valid object, all without loading your whole contract. Publishing one file per resource also shows the data model is decomposed rather than one catch-all blob.

Both checks read the apis.yml in your catalog repo. They don’t open the schema files.

Check Points What earns it
Publishes JSON Schema (json_schema_present) 6 At least one API in apis.yml has a property whose type is JSONSchema or JSON Schema
Schema per resource (json_schema_per_resource) 4 One API in apis.yml has two or more properties of that type

Exactly what counts:

  • The pointer is what’s scored. The scorer counts properties entries by type and never fetches the url. That’s not a reason to point at nothing: a pointer to a missing file is the kind of thing a re-check and a human reviewer catch, and it helps nobody.
  • Per resource means per API entry. Two schemas on two different APIs don’t pass the 4-point check. The count is taken API by API, and one API must carry two or more. List every resource schema under the API that serves it.
  • The type string is exact. JSONSchema and JSON Schema count. jsonschema, JSON-Schema and Schema don’t.
  • No liveness grade. Unlike documentation or pricing pointers, these two checks aren’t graded on whether the URL resolves.
  • A long apis.yml can hide them. The scorer reads apis.yml from the embedded copy on your provider page, which is cut at a size limit on very long files. An API entry past the cut isn’t read. If your apis.yml is large, keep the API that carries the schema pointers near the top.

How they’re credited:

  • Provenance applies. Both checks are on the provenance list under the json_schema class, so the award is multiplied by an authorship credit read from the json-schema/ folder in your catalog repo: 1.0 for first-party, 0.90 for unknown, 0.25 for derived. The scorer reads one file to decide: _index.yml if there is one, otherwise the first .json, .yml or .yaml file by name that doesn’t start with _.
  • Unmarked files credit 0.90. Most of the json-schema/ folders in the catalog were written by API Evangelist’s pipeline from your OpenAPI and carry no marker, which grades unknown. A file stamped method: derived credits 0.25.
  • First-party needs a marker the reader can see. The reader looks for a method: line (at the top level, or under x-provenance), plus publisher: and source: lines for the provider’s own methods (declared, authored, published, self-reported). Those publisher:/source: patterns are written for YAML: in pretty-printed JSON the key is quoted ("publisher":), and the pattern doesn’t match. We couldn’t find a way for a .json schema to grade first-party on its own receipts, so to claim 1.0 put a YAML _index.yml with the marker in the folder (Step 5).

The rules are in signals/score.rb (json_schema_present, json_schema_per_resource) and the provenance class in signals/build_provenance.py. The rubric marks both checks catalog: API Evangelist can satisfy them from your OpenAPI without you. Publishing your own is how the credit becomes yours rather than ours.

The rule above is the public rubric (rubric page). The kit sells the working method: the steps, starters, overlay and check script.

What a kit does and doesn't do. A kit teaches the fix. Your score changes only when you publish the change and the public apis.io pipeline reads it, so ask for a re-check from your provider page once it's live. Buying never moves a score. Want it applied to your own contract instead? Use Ask about this on your apis.io provider page for a tailored fix plan; the kit price is credited against it.