Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Gehorsam committed Dec 13, 2023
1 parent 4214ca9 commit 039d876
Show file tree
Hide file tree
Showing 4 changed files with 241 additions and 224 deletions.
4 changes: 3 additions & 1 deletion schemas/12-Hiro-Event-Leaderboards.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@
}
}
},
"required": ["event_leaderboards"],
"required": [
"event_leaderboards"
],
"type": "object"
}
137 changes: 75 additions & 62 deletions schemas/13-Hiro-Incentives.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,77 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"incentives": {
"type": "object",
"patternProperties": {
".{1,}": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"minimum": 0,
"title": "type"
},
"name": {
"type": "string",
"title": "name"
},
"description": {
"type": "string",
"title": "description"
},
"max_claims": {
"type": "integer",
"minimum": 0,
"title": "max_claims"
},
"max_global_claims": {
"type": "integer",
"minimum": 0,
"title": "max_global_claims"
},
"max_recipient_age_sec": {
"type": "integer",
"minimum": 0,
"title": "max_recipient_age_sec"
},
"recipient_reward": {
"$ref": "Hiro-Rewards",
"title": "recipient_reward"
},
"sender_reward": {
"$ref": "Hiro-Rewards",
"title": "sender_reward"
},
"max_concurrent": {
"type": "integer",
"minimum": 0,
"title": "max_concurrent"
},
"expiry_duration_sec": {
"type": "integer",
"minimum": 0,
"title": "expiry_duration_sec"
}
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"incentives": {
"type": "object",
"patternProperties": {
".{1,}": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"minimum": 0,
"title": "type"
},
"required": ["type", "name", "description", "max_claims", "max_global_claims", "max_recipient_age_sec", "recipient_reward", "sender_reward", "max_concurrent", "expiry_duration_sec"]
}
},
"title": "incentives"
}
},
"required": ["incentives"]
}
"name": {
"type": "string",
"title": "name"
},
"description": {
"type": "string",
"title": "description"
},
"max_claims": {
"type": "integer",
"minimum": 0,
"title": "max_claims"
},
"max_global_claims": {
"type": "integer",
"minimum": 0,
"title": "max_global_claims"
},
"max_recipient_age_sec": {
"type": "integer",
"minimum": 0,
"title": "max_recipient_age_sec"
},
"recipient_reward": {
"$ref": "Hiro-Rewards",
"title": "recipient_reward"
},
"sender_reward": {
"$ref": "Hiro-Rewards",
"title": "sender_reward"
},
"max_concurrent": {
"type": "integer",
"minimum": 0,
"title": "max_concurrent"
},
"expiry_duration_sec": {
"type": "integer",
"minimum": 0,
"title": "expiry_duration_sec"
}
},
"required": [
"type",
"name",
"description",
"max_claims",
"max_global_claims",
"max_recipient_age_sec",
"recipient_reward",
"sender_reward",
"max_concurrent",
"expiry_duration_sec"
]
}
},
"title": "incentives"
}
},
"required": [
"incentives"
]
}
Loading

0 comments on commit 039d876

Please sign in to comment.