Skip to content

Instantly share code, notes, and snippets.

@stoll
Created July 12, 2025 01:41
Show Gist options
  • Save stoll/80a22886b79aa6b6dbe932889aedaf17 to your computer and use it in GitHub Desktop.
Save stoll/80a22886b79aa6b6dbe932889aedaf17 to your computer and use it in GitHub Desktop.
An array of existing solutions for a problem
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "array",
"title": "Existing Solutions for Problem",
"description": "An array of existing solutions for a problem",
"items": {
"type": "object",
"title": "SaaS Product",
"description": "A single SaaS product with its properties",
"properties": {
"solution_name": {
"type": "string",
"title": "Solution Name",
"description": "The name of the SaaS solution",
"minLength": 1,
"maxLength": 255
},
"solution_description": {
"type": "string",
"title": "Solution Description",
"description": "A detailed description of what the solution does",
"minLength": 1,
"maxLength": 2000
},
"solution_type": {
"type": "string",
"title": "Solution Type",
"description": "The type of solution offered",
"enum": [
"manual",
"consulting",
"saas",
"other"
],
"default": "saas"
},
"possible_flaws": {
"type": "array",
"title": "Possible Flaws",
"description": "An array of potential drawbacks or limitations of using this solution",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"minItems": 0,
"maxItems": 10
}
},
"required": [
"solution_name",
"solution_description",
"solution_type"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 100
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment