Writing JSON Schemas

Authors JSON Schema definitions for use with z-schema validation. Use when the user needs to write a JSON Schema, define a schema for an API payload, create schemas for form validation, structure schemas with $ref and $defs, choose between oneOf/anyOf/if-then-else, design object schemas with required and additionalProperties, validate arrays with items or prefixItems, add format constraints, organize schemas for reuse, or write draft-2020-12 schemas.

zaggino 9faca9c 7.8 KB Updated

File contents

zaggino/z-schema/tree/main/skills/writing-json-schemas commit 9faca9c800

Frequently asked questions

npx skillmds@latest add zaggino/writing-json-schemas