{"id":15012993,"url":"https://github.com/andrewsomething/app-platform-json-schema","last_synced_at":"2026-01-08T07:04:36.407Z","repository":{"id":66634868,"uuid":"582122088","full_name":"andrewsomething/app-platform-json-schema","owner":"andrewsomething","description":"Tiny utility to generate a JSON Schema for the DigitalOcean App Spec from OpenAPI.","archived":false,"fork":false,"pushed_at":"2024-08-06T22:34:42.000Z","size":51,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T14:44:40.333Z","etag":null,"topics":["digitalocean","jsonschema","visual-studio","yaml"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewsomething.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-12-25T19:11:18.000Z","updated_at":"2024-06-13T15:10:24.000Z","dependencies_parsed_at":"2023-02-22T17:15:45.290Z","dependency_job_id":"7d7670ff-7f1f-4b54-a683-2ee71aadc74b","html_url":"https://github.com/andrewsomething/app-platform-json-schema","commit_stats":{"total_commits":8,"total_committers":3,"mean_commits":"2.6666666666666665","dds":0.25,"last_synced_commit":"8c033df16e941db82ee6f99796c6c3679e12e3c7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewsomething/app-platform-json-schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fapp-platform-json-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fapp-platform-json-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fapp-platform-json-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fapp-platform-json-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewsomething","download_url":"https://codeload.github.com/andrewsomething/app-platform-json-schema/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fapp-platform-json-schema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28242456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2026-01-08T02:00:06.591Z","response_time":241,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["digitalocean","jsonschema","visual-studio","yaml"],"created_at":"2024-09-24T19:43:34.246Z","updated_at":"2026-01-08T07:04:36.375Z","avatar_url":"https://github.com/andrewsomething.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# app-platform-json-schema\n\nTiny utility to generate a JSON Schema for the DigitalOcean App Spec from OpenAPI.\n\n```\n$ node index.js --help\nUsage: app-platform-json-schema [options]\n\nOptions:\n  --spec       Location of the bundled DigitalOcean OpenAPI spec; path or URL (Default: https://api-engineering.nyc3.digitaloceanspaces.com/spec-ci/DigitalOcean-public.v2.yaml)\n  --optput     Path for output location (Default: app_spec.json)\n```\n\nThe outputted JSON Schema is suitable for use with the [Red Hat VS Code YAML plugin](https://github.com/redhat-developer/vscode-yaml#associating-a-schema-to-a-glob-pattern-via-yamlschemas)\nto provide validation and auto-completion when editing an [App Spec for DigitalOcean's App Platform](https://docs.digitalocean.com/products/app-platform/reference/app-spec/).\n\nWith the YAML plugin installed, you can associate the schema with `app.yaml` and `app.yml` files by adding the following to your VS Code [user and workspace settings](https://code.visualstudio.com/docs/getstarted/settings#_creating-user-and-workspace-settings):\n\n```json\n    \"yaml.schemas\": {\n      \"https://raw.githubusercontent.com/andrewsomething/app-platform-json-schema/main/app_spec.json\": [\"app.yaml\", \"app.yml\"],\n    },\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsomething%2Fapp-platform-json-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewsomething%2Fapp-platform-json-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsomething%2Fapp-platform-json-schema/lists"}