{"id":44280788,"url":"https://github.com/y13i/cfn-schema","last_synced_at":"2026-02-10T21:34:16.027Z","repository":{"id":33260269,"uuid":"119228746","full_name":"y13i/cfn-schema","owner":"y13i","description":"JSON Schema for AWS CloudFormation templates.","archived":false,"fork":false,"pushed_at":"2026-02-02T20:11:46.000Z","size":28086,"stargazers_count":10,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-03T10:32:19.008Z","etag":null,"topics":["aws","cloudformation","json-schema"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/y13i.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-01-28T04:52:37.000Z","updated_at":"2025-02-14T03:51:52.000Z","dependencies_parsed_at":"2024-05-22T01:46:21.451Z","dependency_job_id":"68d44f08-c160-491b-958b-6ac1976e9e28","html_url":"https://github.com/y13i/cfn-schema","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/y13i/cfn-schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y13i%2Fcfn-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y13i%2Fcfn-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y13i%2Fcfn-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y13i%2Fcfn-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/y13i","download_url":"https://codeload.github.com/y13i/cfn-schema/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y13i%2Fcfn-schema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29317956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cloudformation","json-schema"],"created_at":"2026-02-10T21:34:14.217Z","updated_at":"2026-02-10T21:34:16.019Z","avatar_url":"https://github.com/y13i.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cfn-schema\n\nJSON Schema for AWS CloudFormation templates.\n\n![demo1](examples/1.gif)\n![demo2](examples/2.gif)\n\n## Schema URL\n\n```\nhttps://cfn-schema.y13i.com/schema\n```\n\nYou can add query parameters to explicitly specify region and resource spec version.\n\n| Query Parameter Name | Default Value |\n| :------------------- | :------------ |\n| region               | us-east-1     |\n| version              | latest        |\n\nFor example...\n\n```\nhttps://cfn-schema.y13i.com/schema?region=eu-west-1\u0026version=20.0.0\n```\n\n## Usage\n\n### With [Visual Studio Code](https://code.visualstudio.com/)\n\nOpen Workspace Settings by pressing **Ctrl + ,** or **⌘ + ,** and add JSON Schema setting like this.\n\n```json\n{\n  \"json.schemas\": [\n    {\n      \"fileMatch\": [\"*.cfn.json\"],\n      \"url\": \"https://cfn-schema.y13i.com/schema\"\n    }\n  ]\n}\n```\n\nSave your template file with the extension `.cfn.json`. That's it.\n\nIf you prefer YAML, use [YAML Support by Red Hat](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) extension and set like this.\n\n```json\n{\n  \"yaml.schemas\": {\n    \"https://cfn-schema.y13i.com/schema\": \"*.cfn.yaml\"\n  }\n}\n```\n\nSee also...\n\n- [Editing JSON with VS Code](https://code.visualstudio.com/docs/languages/json)\n- [Support JSON Schema for YAML files](https://github.com/Microsoft/vscode/issues/1176)\n\n### With other editors\n\n- For Atom - [OmniSharp/atom-json-schema](https://github.com/OmniSharp/atom-json-schema)\n- For Vim - [Quramy/vison](https://github.com/Quramy/vison)\n\n## Development\n\n**From Nov 2020, cfn-schema uses API Gateway and Lambda (deployed by AWS SAM) to convert resource spec to JSON Schema.**\n\nSee [base.json](src/base.json) for the base schema. See [build.js](src/build.js) for building logic which merges AWS-providing [Resource Specification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html) to the base schema.\n\n### Related Documents\n\n- [AWS CloudFormation Resource Specification - AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html)\n- [Specification Format - AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification-format.html)\n- [AWS Regions and Endpoints - Amazon Web Services](https://docs.aws.amazon.com/general/latest/gr/rande.html#cfn_region)\n\n### Build\n\n```sh\nnpm run build\n```\n\n### Test\n\n```sh\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy13i%2Fcfn-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fy13i%2Fcfn-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy13i%2Fcfn-schema/lists"}