From 32154e04330f5a3dc11f25da3e4af267abfa56f9 Mon Sep 17 00:00:00 2001 From: Dominik Koch Date: Fri, 30 Aug 2024 17:08:37 +0200 Subject: [PATCH] remove schmema --- .github/workflows/validate-creator-json.yml | 1 - schema.json | 75 --------------------- 2 files changed, 76 deletions(-) delete mode 100644 schema.json diff --git a/.github/workflows/validate-creator-json.yml b/.github/workflows/validate-creator-json.yml index e00ac79..7516041 100644 --- a/.github/workflows/validate-creator-json.yml +++ b/.github/workflows/validate-creator-json.yml @@ -22,6 +22,5 @@ jobs: uses: GrantBirki/json-yaml-validate@v3.2.1 with: comment: "false" - json_schema: "schema.json" files: "../../data/creators/europe.json" diff --git a/schema.json b/schema.json deleted file mode 100644 index b037758..0000000 --- a/schema.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "aliases": { - "type": ["array", "null"], - "items": { - "type": "string" - } - }, - "steam": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "name": { - "type": ["string", "null"] - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "discord": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "username": { - "type": ["string", "null"] - }, - "partner": { - "type": ["boolean", "null"] - } - }, - "required": ["id", "username", "partner"], - "additionalProperties": false - }, - "twitch": { - "type": ["object", "null"], - "properties": { - "id": { - "type": ["string", "null"] - }, - "partner": { - "type": ["boolean", "null"] - } - }, - "required": ["id", "partner"], - "additionalProperties": false - }, - "youtube": { - "type": ["object", "null"], - "properties": { - "handle": { - "type": ["string", "null"] - }, - "id": { - "type": ["string", "null"] - }, - "partner": { - "type": ["boolean", "null"] - } - }, - "required": ["handle", "id", "partner"], - "additionalProperties": false - } - }, - "required": ["name"], - "additionalProperties": false -}