[PR #148] [MERGED] Create a schema for the community scripts JSON #461

Closed
opened 2026-03-14 01:23:03 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/community-scripts/pull/148
Author: @NiceGuyIT
Created: 5/11/2023
Status: Merged
Merged: 5/17/2023
Merged by: @silversword411

Base: mainHead: json-schema


📝 Commits (1)

  • 8deecb2 First attempt at creating a schema for the community scripts JSON

📊 Changes

1 file changed (+132 additions, -0 deletions)

View changed files

community_scripts.schema.json (+132 -0)

📄 Description

This is the first attempt at defining the community_scripts.json schema. This can be used to provide help creating new objects provided the IDE is pointing to the schema. Additionally, it discovered a minor discrepancy:

  • The "Rename Computer" script uses a number for "default_timeout" while all other scripts use a string. I believe all scripts can safely use "number" instead of "string".

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/community-scripts/pull/148 **Author:** [@NiceGuyIT](https://github.com/NiceGuyIT) **Created:** 5/11/2023 **Status:** ✅ Merged **Merged:** 5/17/2023 **Merged by:** [@silversword411](https://github.com/silversword411) **Base:** `main` ← **Head:** `json-schema` --- ### 📝 Commits (1) - [`8deecb2`](https://github.com/amidaware/community-scripts/commit/8deecb243d11a525b3fb2f90ea3db3f51c7b189b) First attempt at creating a schema for the community scripts JSON ### 📊 Changes **1 file changed** (+132 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `community_scripts.schema.json` (+132 -0) </details> ### 📄 Description This is the first attempt at defining the `community_scripts.json` schema. This can be used to provide help creating new objects provided the IDE is pointing to the schema. Additionally, it discovered a minor discrepancy: - The "Rename Computer" script uses a number for "default_timeout" while all other scripts use a string. I believe all scripts can safely use "number" instead of "string". --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 01:23:03 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/community-scripts#461
No description provided.