From 02c899a1618e636e707b234acbf6bc42ac2ff2b6 Mon Sep 17 00:00:00 2001 From: Florin-Mihai Anghel Date: Mon, 26 Aug 2024 10:30:06 +0200 Subject: [PATCH] docs: Update Flag Manifest description and move important fields to the top of the file. Signed-off-by: Florin-Mihai Anghel --- docs/schema/v0/flag_manifest.json | 36 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/schema/v0/flag_manifest.json b/docs/schema/v0/flag_manifest.json index 6cbd886..02699a1 100644 --- a/docs/schema/v0/flag_manifest.json +++ b/docs/schema/v0/flag_manifest.json @@ -1,5 +1,22 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Flag Manifest", + "description": "Describes a configuration of OpenFeature flags, including info such as their types and default values.", + "type": "object", + "properties": { + "flags": { + "description": "Object containing the flags in the config", + "type": "object", + "patternProperties": { + "^.{1,}$": { + "description": "The definition of one flag", + "$ref": "#/$defs/flag" + } + }, + "additionalProperties": false + } + }, + "required": ["flags"], "$defs": { "flag": { "oneOf": [ @@ -101,22 +118,5 @@ }, "additionalProperties": false } - }, - "title": "Flag Manifest", - "description": "Manifest meant to describe the flags of one flag configuration", - "type": "object", - "properties": { - "flags": { - "description": "Object containing the flags in the config", - "type": "object", - "patternProperties": { - "^.{1,}$": { - "description": "The definition of one flag", - "$ref": "#/$defs/flag" - } - }, - "additionalProperties": false - } - }, - "required": ["flags"] + } } \ No newline at end of file