Skip to content

Commit

Permalink
feat: adds 3 streams
Browse files Browse the repository at this point in the history
  • Loading branch information
a-rampalli committed Jul 18, 2023
1 parent 02b6335 commit 14fee92
Show file tree
Hide file tree
Showing 5 changed files with 472 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Automations Schema",
"type": ["null", "object"],
"additionalProperties": true,
"properties": {
"url": {
"type": ["null", "string"]
},
"id": {
"type": ["null", "number"]
},
"title": {
"type": ["null", "string"]
},
"active": {
"type": ["null", "boolean"]
},
"updated_at": {
"type": ["null", "string"],
"format": "date-time"
},
"created_at": {
"type": ["null", "string"],
"format": "date-time"
},
"default": {
"type": ["null", "boolean"]
},
"actions": {
"items": {
"properties": {
"field": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string", "array"],
"items": {
"type": ["null", "string"]
}
}
},
"type": ["null", "object"],
"additionalProperties": true
},
"type": ["null", "array"]
},
"conditions": {
"properties": {
"all": {
"items": {
"properties": {
"field": {
"type": ["null", "string"]
},
"operator": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string"]
}
}
},
"type": ["null", "array"]
},
"any": {
"items": {
"properties": {
"field": {
"type": ["null", "string"]
},
"operator": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string"]
}
}
},
"type": ["null", "array"]
}
},
"type": ["null", "object"],
"additionalProperties": true
},
"position": {
"type": ["null", "number"]
},
"raw_title": {
"type": ["null", "string"]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Triggers Schema",
"type": ["null", "object"],
"additionalProperties": true,
"properties": {
"url": {
"type": ["null", "string"]
},
"id": {
"type": ["null", "number"]
},
"title": {
"type": ["null", "string"]
},
"active": {
"type": ["null", "boolean"]
},
"updated_at": {
"type": ["null", "string"],
"format": "date-time"
},
"created_at": {
"type": ["null", "string"],
"format": "date-time"
},
"default": {
"type": ["null", "boolean"]
},
"actions": {
"items": {
"properties": {
"field": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string", "array"],
"items": {
"type": ["null", "string"]
}
}
},
"type": ["null", "object"],
"additionalProperties": true
},
"type": ["null", "array"]
},
"conditions": {
"properties": {
"all": {
"items": {
"properties": {
"field": {
"type": ["null", "string"]
},
"operator": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string"]
}
}
},
"type": ["null", "array"]
},
"any": {
"items": {
"properties": {
"field": {
"type": ["null", "string"]
},
"operator": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string"]
}
}
},
"type": ["null", "array"]
}
},
"type": ["null", "object"],
"additionalProperties": true
},
"description": {
"type": ["null", "string"]
},
"position": {
"type": ["null", "number"]
},
"raw_title": {
"type": ["null", "string"]
},
"category_id": {
"type": ["null", "number"]
}
}
}
Loading

0 comments on commit 14fee92

Please sign in to comment.