Skip to content

Commit

Permalink
fixup: if 2 min, add v0 path
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
  • Loading branch information
toddbaert committed Jan 8, 2024
1 parent f800d00 commit a9286a9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion json/flagd-definitions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$id": "https://flagd.dev/schema/flagd-definitions.json",
"$id": "https://flagd.dev/schema/v0/flagd-definitions.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "flagd Flag Configuration",
"description": "Defines flags for use in flagd, including typed variants and rules",
Expand Down
2 changes: 1 addition & 1 deletion json/flagd-definitions.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$id: "https://flagd.dev/schema/flagd-definitions.json"
$id: "https://flagd.dev/schema/v0/flagd-definitions.json"
$schema: http://json-schema.org/draft-07/schema#
title: flagd Flag Configuration
description: Defines flags for use in flagd, including typed variants and rules
Expand Down
4 changes: 2 additions & 2 deletions json/targeting.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$id": "https://flagd.dev/schema/targeting.json",
"$id": "https://flagd.dev/schema/v0/targeting.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "flagd Targeting",
"description": "Defines targeting logic for flagd; a extension of JSONLogic, including purpose-built feature-flagging operations.",
Expand Down Expand Up @@ -137,7 +137,7 @@
"title": "If Operator",
"description": "The if statement takes 3 arguments: a condition (if), what to do if its true (then), and what to do if its false (else). Note that the form accepting more than 3 arguments (if/else) is not supported in flagd; use nesting instead.",
"type": "array",
"minItems": 3,
"minItems": 2,
"maxItems": 3,
"items": {
"$ref": "#/$defs/args"
Expand Down
4 changes: 2 additions & 2 deletions json/targeting.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$id: "https://flagd.dev/schema/targeting.json"
$id: "https://flagd.dev/schema/v0/targeting.json"
$schema: http://json-schema.org/draft-07/schema#
title: flagd Targeting
description: Defines targeting logic for flagd; a extension of JSONLogic, including
Expand Down Expand Up @@ -104,7 +104,7 @@ type: object
form accepting more than 3 arguments (if/else) is not supported in flagd;
use nesting instead.'
type: array
minItems: 3
minItems: 2
maxItems: 3
items:
$ref: "#/$defs/args"
Expand Down

0 comments on commit a9286a9

Please sign in to comment.