diff --git a/.eslintrc b/.eslintrc
index f1c0e790..dc5cf598 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,8 +1,5 @@
{
- "extends": [
- "@readme/eslint-config",
- "@readme/eslint-config/typescript"
- ],
+ "extends": ["@readme/eslint-config", "@readme/eslint-config/typescript"],
"root": true,
"rules": {
"@typescript-eslint/no-explicit-any": "off",
@@ -13,8 +10,11 @@
"max-classes-per-file": "off",
"no-param-reassign": "off",
- "no-underscore-dangle": ["error", {
- "allow": ["_key"]
- }]
+ "no-underscore-dangle": [
+ "error",
+ {
+ "allow": ["_key"]
+ }
+ ]
}
}
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 6fa707d1..ffea59ea 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: github-actions
- directory: "/"
+ directory: '/'
schedule:
interval: monthly
allow:
@@ -15,7 +15,7 @@ updates:
prefix-development: chore(deps-dev)
- package-ecosystem: npm
- directory: "/"
+ directory: '/'
schedule:
interval: monthly
allow:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3da57f2c..0b9d9398 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,14 +7,13 @@ on:
pull_request:
jobs:
- build:
+ test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 16
- 18
- - 19
- 20
steps:
@@ -25,11 +24,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- - name: Install deps
- run: npm ci
+ - name: Install deps and run tests
+ run: npm cit
- - name: Build dist
- run: npm run build
-
- - name: Run tests
- run: npm test
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - run: npm ci
+ - run: npm run lint
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index aaaa992b..4c8d076e 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -1,4 +1,4 @@
-name: "CodeQL"
+name: 'CodeQL'
on:
push:
@@ -20,16 +20,16 @@ jobs:
strategy:
fail-fast: false
matrix:
- language: [ 'javascript' ]
+ language: ['javascript']
steps:
- - name: Checkout repository
- uses: actions/checkout@v3
+ - name: Checkout repository
+ uses: actions/checkout@v3
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v2
- with:
- languages: ${{ matrix.language }}
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v2
+ with:
+ languages: ${{ matrix.language }}
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/lint-docs.yml b/.github/workflows/lint-docs.yml
deleted file mode 100644
index 91a27fb1..00000000
--- a/.github/workflows/lint-docs.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-name: Lint docs
-
-on:
- push:
- branches:
- - main
- pull_request:
-
-jobs:
- sync:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - run: npm ci
-
- - name: Check docs formatting
- run: npm run prettier
-
- - name: Check docs for inclusive language
- run: npm run lint:docs
diff --git a/__tests__/__datasets__/3-1-no-responses.json b/__tests__/__datasets__/3-1-no-responses.json
index 629b0e42..f223091e 100644
--- a/__tests__/__datasets__/3-1-no-responses.json
+++ b/__tests__/__datasets__/3-1-no-responses.json
@@ -1,74 +1,73 @@
{
- "openapi": "3.1.0",
- "servers": [
- {
- "url": "http://petstore.swagger.io/v2"
- }
- ],
- "info": {
- "description":
- "This file tests oas 3.1's ability to have operations without responses",
- "version": "1.0.0",
- "title": "3.1.0 without responses",
- "license": {
- "name": "Apache 2.0",
- "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
- }
- },
- "paths": {
- "/pet/{petId}": {
- "delete": {
- "tags": ["pet"],
- "summary": "Deletes a pet",
- "description": "",
- "operationId": "deletePet",
- "parameters": [
- {
- "name": "api_key",
- "in": "header",
- "required": false,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "petId",
- "in": "path",
- "description": "Pet id to delete",
- "required": true,
- "schema": {
- "type": "integer",
- "format": "int64"
- }
+ "openapi": "3.1.0",
+ "servers": [
+ {
+ "url": "http://petstore.swagger.io/v2"
+ }
+ ],
+ "info": {
+ "description": "This file tests oas 3.1's ability to have operations without responses",
+ "version": "1.0.0",
+ "title": "3.1.0 without responses",
+ "license": {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
+ }
+ },
+ "paths": {
+ "/pet/{petId}": {
+ "delete": {
+ "tags": ["pet"],
+ "summary": "Deletes a pet",
+ "description": "",
+ "operationId": "deletePet",
+ "parameters": [
+ {
+ "name": "api_key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "type": "string"
}
- ],
- "security": [
- {
- "petstore_auth": ["write:pets", "read:pets"]
+ },
+ {
+ "name": "petId",
+ "in": "path",
+ "description": "Pet id to delete",
+ "required": true,
+ "schema": {
+ "type": "integer",
+ "format": "int64"
}
- ]
- }
+ }
+ ],
+ "security": [
+ {
+ "petstore_auth": ["write:pets", "read:pets"]
+ }
+ ]
}
- },
- "components": {
- "securitySchemes": {
- "petstore_auth": {
- "type": "oauth2",
- "flows": {
- "implicit": {
- "authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
- "scopes": {
- "write:pets": "modify pets in your account",
- "read:pets": "read your pets"
- }
+ }
+ },
+ "components": {
+ "securitySchemes": {
+ "petstore_auth": {
+ "type": "oauth2",
+ "flows": {
+ "implicit": {
+ "authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
+ "scopes": {
+ "write:pets": "modify pets in your account",
+ "read:pets": "read your pets"
}
}
- },
- "api_key": {
- "type": "apiKey",
- "name": "api_key",
- "in": "header"
}
+ },
+ "api_key": {
+ "type": "apiKey",
+ "name": "api_key",
+ "in": "header"
}
}
}
+}
diff --git a/__tests__/__datasets__/ably.json b/__tests__/__datasets__/ably.json
index c780ea72..3d8d9406 100644
--- a/__tests__/__datasets__/ably.json
+++ b/__tests__/__datasets__/ably.json
@@ -12,9 +12,7 @@
"description": "Use the Control API to manage your applications, namespaces, keys, queues, rules, and more.\n\nDetailed information on using this API can be found in the Ably developer documentation.\n\nControl API is currently in Beta.\n",
"title": "Control API v1",
"version": "1.0.14",
- "x-apisguru-categories": [
- "cloud"
- ],
+ "x-apisguru-categories": ["cloud"],
"x-logo": {
"url": "https://api.apis.guru/v2/cache/logo/https_twitter.com_ablyrealtime_profile_image"
},
@@ -94,9 +92,7 @@
}
],
"summary": "Lists apps",
- "tags": [
- "apps"
- ]
+ "tags": ["apps"]
},
"post": {
"description": "Creates an application with the specified properties.",
@@ -188,9 +184,7 @@
}
],
"summary": "Creates an app",
- "tags": [
- "apps"
- ]
+ "tags": ["apps"]
}
},
"/apps/{app_id}/keys": {
@@ -268,9 +262,7 @@
}
],
"summary": "Lists app keys",
- "tags": [
- "keys"
- ]
+ "tags": ["keys"]
},
"post": {
"description": "Creates an API key for the application specified.",
@@ -362,9 +354,7 @@
}
],
"summary": "Creates a key",
- "tags": [
- "keys"
- ]
+ "tags": ["keys"]
}
},
"/apps/{app_id}/keys/{key_id}": {
@@ -477,9 +467,7 @@
}
],
"summary": "Updates a key",
- "tags": [
- "keys"
- ]
+ "tags": ["keys"]
}
},
"/apps/{app_id}/keys/{key_id}/revoke": {
@@ -557,9 +545,7 @@
}
],
"summary": "Revokes a key",
- "tags": [
- "keys"
- ]
+ "tags": ["keys"]
}
},
"/apps/{app_id}/namespaces": {
@@ -637,9 +623,7 @@
}
],
"summary": "Lists namespaces",
- "tags": [
- "namespaces"
- ]
+ "tags": ["namespaces"]
},
"post": {
"description": "Creates a namespace for the specified application ID.",
@@ -731,9 +715,7 @@
}
],
"summary": "Creates a namespace",
- "tags": [
- "namespaces"
- ]
+ "tags": ["namespaces"]
}
},
"/apps/{app_id}/namespaces/{namespace_id}": {
@@ -811,9 +793,7 @@
}
],
"summary": "Deletes a namespace",
- "tags": [
- "namespaces"
- ]
+ "tags": ["namespaces"]
},
"patch": {
"description": "Updates the namespace with the specified ID, for the application with the specified application ID.",
@@ -914,9 +894,7 @@
}
],
"summary": "Updates a namespace",
- "tags": [
- "namespaces"
- ]
+ "tags": ["namespaces"]
}
},
"/apps/{app_id}/queues": {
@@ -1004,9 +982,7 @@
}
],
"summary": "Lists queues",
- "tags": [
- "queues"
- ]
+ "tags": ["queues"]
},
"post": {
"description": "Creates a queue for the application specified by application ID. The properties for the queue to be created are specified in the request body.",
@@ -1098,9 +1074,7 @@
}
],
"summary": "Creates a queue",
- "tags": [
- "queues"
- ]
+ "tags": ["queues"]
}
},
"/apps/{app_id}/queues/{queue_id}": {
@@ -1188,9 +1162,7 @@
}
],
"summary": "Deletes a queue",
- "tags": [
- "queues"
- ]
+ "tags": ["queues"]
}
},
"/apps/{app_id}/rules": {
@@ -1268,9 +1240,7 @@
}
],
"summary": "Lists Reactor rules",
- "tags": [
- "rules"
- ]
+ "tags": ["rules"]
},
"post": {
"description": "Creates a rule for the application with the specified application ID.",
@@ -1373,9 +1343,7 @@
}
],
"summary": "Creates a Reactor rule",
- "tags": [
- "rules"
- ]
+ "tags": ["rules"]
}
},
"/apps/{app_id}/rules/{rule_id}": {
@@ -1452,9 +1420,7 @@
}
],
"summary": "Deletes a Reactor rule",
- "tags": [
- "rules"
- ]
+ "tags": ["rules"]
},
"get": {
"description": "Returns the rule specified by the rule ID, for the application specified by application ID.",
@@ -1536,9 +1502,7 @@
}
],
"summary": "Gets a reactor rule by rule ID",
- "tags": [
- "rules"
- ]
+ "tags": ["rules"]
},
"patch": {
"parameters": [
@@ -1649,9 +1613,7 @@
}
],
"summary": "Updates a Reactor rule",
- "tags": [
- "rules"
- ]
+ "tags": ["rules"]
}
},
"/apps/{id}": {
@@ -1720,9 +1682,7 @@
}
],
"summary": "Deletes an app",
- "tags": [
- "apps"
- ]
+ "tags": ["apps"]
},
"patch": {
"description": "Updates the application with the specified application ID.",
@@ -1804,9 +1764,7 @@
}
],
"summary": "Updates an app",
- "tags": [
- "apps"
- ]
+ "tags": ["apps"]
}
},
"/apps/{id}/pkcs12": {
@@ -1890,9 +1848,7 @@
}
],
"summary": "Updates app's APNs info from a `.p12` file",
- "tags": [
- "apps"
- ]
+ "tags": ["apps"]
}
},
"/me": {
@@ -1935,9 +1891,7 @@
}
],
"summary": "Get token details",
- "tags": [
- "tokens"
- ]
+ "tags": ["tokens"]
}
}
},
@@ -1948,17 +1902,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AMQP external (using Firehose). See the Ably documentation for further information.",
- "enum": [
- "amqp/external"
- ],
+ "enum": ["amqp/external"],
"type": "string"
},
"source": {
@@ -1966,10 +1916,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2031,17 +1978,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AMQP external (using Firehose). See the documentation for further information.",
- "enum": [
- "amqp/external"
- ],
+ "enum": ["amqp/external"],
"type": "string"
},
"source": {
@@ -2095,21 +2038,11 @@
"type": "string"
}
},
- "required": [
- "url",
- "routingKey",
- "mandatoryRoute",
- "persistentMessages"
- ],
+ "required": ["url", "routingKey", "mandatoryRoute", "persistentMessages"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"amqp_external_rule_response": {
@@ -2141,17 +2074,13 @@
},
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AMQP external (using Firehose). See the Ably documentation for further information.",
- "enum": [
- "amqp/external"
- ],
+ "enum": ["amqp/external"],
"type": "string"
},
"source": {
@@ -2159,10 +2088,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2214,12 +2140,7 @@
"type": "string"
}
},
- "required": [
- "url",
- "routingKey",
- "mandatoryRoute",
- "persistentMessages"
- ],
+ "required": ["url", "routingKey", "mandatoryRoute", "persistentMessages"],
"type": "object"
},
"version": {
@@ -2227,12 +2148,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"amqp_rule_patch": {
@@ -2240,17 +2156,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AMQP. See the documentation for further information.",
- "enum": [
- "amqp"
- ],
+ "enum": ["amqp"],
"type": "string"
},
"source": {
@@ -2258,10 +2170,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2307,17 +2216,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AMQP. See the documentation for further information.",
- "enum": [
- "amqp"
- ],
+ "enum": ["amqp"],
"type": "string"
},
"source": {
@@ -2325,10 +2230,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2364,18 +2266,11 @@
"type": "string"
}
},
- "required": [
- "queueId"
- ],
+ "required": ["queueId"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"amqp_rule_response": {
@@ -2407,17 +2302,13 @@
},
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AMQP. See the documentation for further information.",
- "enum": [
- "amqp"
- ],
+ "enum": ["amqp"],
"type": "string"
},
"source": {
@@ -2425,10 +2316,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2464,9 +2352,7 @@
"type": "string"
}
},
- "required": [
- "queueId"
- ],
+ "required": ["queueId"],
"type": "object"
},
"version": {
@@ -2474,12 +2360,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"app_patch": {
@@ -2513,10 +2394,7 @@
},
"status": {
"description": "The status of the application. Can be `enabled` or `disabled`. Enabled means available to accept inbound connections and all services are available.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2542,10 +2420,7 @@
"type": "string"
}
},
- "required": [
- "p12File",
- "p12Pass"
- ],
+ "required": ["p12File", "p12Pass"],
"type": "object"
},
"app_post": {
@@ -2579,10 +2454,7 @@
},
"status": {
"description": "The status of the application. Can be `enabled` or `disabled`. Enabled means available to accept inbound connections and all services are available.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2593,9 +2465,7 @@
"type": "boolean"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"type": "object"
},
"app_response": {
@@ -2629,10 +2499,7 @@
},
"status": {
"description": "The application status. Disabled applications will not accept new connections and will return an error to all clients.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2654,9 +2521,7 @@
},
"authenticationMode": {
"description": "Authentication method is using AWS credentials (AWS key ID and secret key).",
- "enum": [
- "credentials"
- ],
+ "enum": ["credentials"],
"type": "string"
},
"secretAccessKey": {
@@ -2664,10 +2529,7 @@
"type": "string"
}
},
- "required": [
- "accessKeyId",
- "secretAccessKey"
- ],
+ "required": ["accessKeyId", "secretAccessKey"],
"type": "object"
},
"aws_access_keys_response": {
@@ -2679,9 +2541,7 @@
},
"authenticationMode": {
"description": "Authentication method is using AWS credentials (AWS key ID and secret key).",
- "enum": [
- "credentials"
- ],
+ "enum": ["credentials"],
"type": "string"
}
},
@@ -2696,15 +2556,11 @@
},
"authenticationMode": {
"description": "Authentication method is using the ARN of an assumable role. See this Ably knowledge base article for details.",
- "enum": [
- "assumeRole"
- ],
+ "enum": ["assumeRole"],
"type": "string"
}
},
- "required": [
- "assumeRoleArn"
- ],
+ "required": ["assumeRoleArn"],
"type": "object"
},
"aws_kinesis_rule_patch": {
@@ -2712,17 +2568,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AWS Kinesis. See the documentation for further information.",
- "enum": [
- "aws/kinesis"
- ],
+ "enum": ["aws/kinesis"],
"type": "string"
},
"source": {
@@ -2730,10 +2582,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2764,9 +2613,7 @@
},
"format": {
"description": "JSON provides a text-based encoding.",
- "enum": [
- "json"
- ],
+ "enum": ["json"],
"type": "string"
},
"partitionKey": {
@@ -2793,17 +2640,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AWS Kinesis. See the documentation for further information.",
- "enum": [
- "aws/kinesis"
- ],
+ "enum": ["aws/kinesis"],
"type": "string"
},
"source": {
@@ -2811,10 +2654,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2845,9 +2685,7 @@
},
"format": {
"description": "JSON provides a text-based encoding.",
- "enum": [
- "json"
- ],
+ "enum": ["json"],
"type": "string"
},
"partitionKey": {
@@ -2864,22 +2702,11 @@
"type": "string"
}
},
- "required": [
- "region",
- "streamName",
- "partitionKey",
- "authentication",
- "format"
- ],
+ "required": ["region", "streamName", "partitionKey", "authentication", "format"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"aws_kinesis_rule_response": {
@@ -2911,17 +2738,13 @@
},
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AWS Kinesis. See the documentation for further information.",
- "enum": [
- "aws/kinesis"
- ],
+ "enum": ["aws/kinesis"],
"type": "string"
},
"source": {
@@ -2929,10 +2752,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -2963,9 +2783,7 @@
},
"format": {
"description": "JSON provides a text-based encoding.",
- "enum": [
- "json"
- ],
+ "enum": ["json"],
"type": "string"
},
"partitionKey": {
@@ -2982,13 +2800,7 @@
"type": "string"
}
},
- "required": [
- "region",
- "streamName",
- "partitionKey",
- "authentication",
- "format"
- ],
+ "required": ["region", "streamName", "partitionKey", "authentication", "format"],
"type": "object"
},
"version": {
@@ -2996,12 +2808,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"aws_lambda_rule_patch": {
@@ -3009,17 +2816,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AWS Lambda. See the Ably documentation for further information.",
- "enum": [
- "aws/lambda"
- ],
+ "enum": ["aws/lambda"],
"type": "string"
},
"source": {
@@ -3027,10 +2830,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3069,20 +2869,11 @@
"type": "string"
}
},
- "required": [
- "region",
- "functionName",
- "authentication"
- ],
+ "required": ["region", "functionName", "authentication"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"aws_lambda_rule_post": {
@@ -3090,17 +2881,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AWS Lambda. See the documentation for further information.",
- "enum": [
- "aws/lambda"
- ],
+ "enum": ["aws/lambda"],
"type": "string"
},
"source": {
@@ -3108,10 +2895,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3150,20 +2934,11 @@
"type": "string"
}
},
- "required": [
- "region",
- "functionName",
- "authentication"
- ],
+ "required": ["region", "functionName", "authentication"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"aws_lambda_rule_response": {
@@ -3195,17 +2970,13 @@
},
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AWS Lambda. See the documentation for further information.",
- "enum": [
- "aws/lambda"
- ],
+ "enum": ["aws/lambda"],
"type": "string"
},
"source": {
@@ -3213,10 +2984,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3258,11 +3026,7 @@
"type": "string"
}
},
- "required": [
- "region",
- "functionName",
- "authentication"
- ],
+ "required": ["region", "functionName", "authentication"],
"type": "object"
},
"version": {
@@ -3270,12 +3034,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"aws_sqs_rule_patch": {
@@ -3283,17 +3042,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AWS SQS. See the documentation for further information.",
- "enum": [
- "aws/sqs"
- ],
+ "enum": ["aws/sqs"],
"type": "string"
},
"source": {
@@ -3301,10 +3056,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3360,17 +3112,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AWS SQS. See the documentation for further information.",
- "enum": [
- "aws/sqs"
- ],
+ "enum": ["aws/sqs"],
"type": "string"
},
"source": {
@@ -3378,10 +3126,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3427,21 +3172,11 @@
"type": "string"
}
},
- "required": [
- "region",
- "awsAccountId",
- "queueName",
- "authentication"
- ],
+ "required": ["region", "awsAccountId", "queueName", "authentication"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"aws_sqs_rule_response": {
@@ -3473,17 +3208,13 @@
},
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case AWS SQS. See the documentation for further information.",
- "enum": [
- "aws/sqs"
- ],
+ "enum": ["aws/sqs"],
"type": "string"
},
"source": {
@@ -3491,10 +3222,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3540,12 +3268,7 @@
"type": "string"
}
},
- "required": [
- "region",
- "awsAccountId",
- "queueName",
- "authentication"
- ],
+ "required": ["region", "awsAccountId", "queueName", "authentication"],
"type": "object"
},
"version": {
@@ -3553,12 +3276,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"azure_function_rule_patch": {
@@ -3566,18 +3284,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Microsoft Azure Function. See the documentation for further information.",
- "enum": [
- "http/azure-function"
- ],
+ "enum": ["http/azure-function"],
"type": "string"
},
"source": {
@@ -3585,10 +3298,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3611,9 +3321,7 @@
},
"format": {
"description": "JSON provides a text-based encoding.",
- "enum": [
- "json"
- ],
+ "enum": ["json"],
"type": "string"
},
"headers": {
@@ -3649,18 +3357,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Microsoft Azure Function. See the documentation for further information.",
- "enum": [
- "http/azure-function"
- ],
+ "enum": ["http/azure-function"],
"type": "string"
},
"source": {
@@ -3668,10 +3371,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3694,9 +3394,7 @@
},
"format": {
"description": "JSON provides a text-based encoding.",
- "enum": [
- "json"
- ],
+ "enum": ["json"],
"type": "string"
},
"headers": {
@@ -3722,19 +3420,11 @@
"type": "string"
}
},
- "required": [
- "azureAppId",
- "azureFunctionName"
- ],
+ "required": ["azureAppId", "azureFunctionName"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"azure_function_rule_response": {
@@ -3766,18 +3456,13 @@
},
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Microsoft Azure Function. See the documentation for further information.",
- "enum": [
- "http/azure-function"
- ],
+ "enum": ["http/azure-function"],
"type": "string"
},
"source": {
@@ -3785,10 +3470,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3811,9 +3493,7 @@
},
"format": {
"description": "JSON provides a text-based encoding.",
- "enum": [
- "json"
- ],
+ "enum": ["json"],
"type": "string"
},
"headers": {
@@ -3839,10 +3519,7 @@
"type": "string"
}
},
- "required": [
- "azureAppId",
- "azureFunctionName"
- ],
+ "required": ["azureAppId", "azureFunctionName"],
"type": "object"
},
"version": {
@@ -3850,12 +3527,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"cloudflare_worker_rule_patch": {
@@ -3863,18 +3535,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Cloudflare Worker. See the documentation for further information.",
- "enum": [
- "http/cloudflare-worker"
- ],
+ "enum": ["http/cloudflare-worker"],
"type": "string"
},
"source": {
@@ -3882,10 +3549,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3928,18 +3592,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Cloudflare Worker. See the documentation for further information.",
- "enum": [
- "http/cloudflare-worker"
- ],
+ "enum": ["http/cloudflare-worker"],
"type": "string"
},
"source": {
@@ -3947,10 +3606,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -3983,18 +3639,11 @@
"type": "string"
}
},
- "required": [
- "url"
- ],
+ "required": ["url"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"cloudflare_worker_rule_response": {
@@ -4026,18 +3675,13 @@
},
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Cloudflare Worker. See the documentation for further information.",
- "enum": [
- "http/cloudflare-worker"
- ],
+ "enum": ["http/cloudflare-worker"],
"example": "http/cloudflare-worker",
"type": "string"
},
@@ -4046,10 +3690,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -4082,9 +3723,7 @@
"type": "string"
}
},
- "required": [
- "url"
- ],
+ "required": ["url"],
"type": "object"
},
"version": {
@@ -4092,12 +3731,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"error": {
@@ -4125,12 +3759,7 @@
"type": "integer"
}
},
- "required": [
- "message",
- "code",
- "statusCode",
- "href"
- ],
+ "required": ["message", "code", "statusCode", "href"],
"type": "object"
},
"google_cloud_function_rule_patch": {
@@ -4138,18 +3767,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Google Cloud Function. See the documentation for further information.",
- "enum": [
- "http/google-cloud-function"
- ],
+ "enum": ["http/google-cloud-function"],
"type": "string"
},
"source": {
@@ -4157,10 +3781,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -4174,9 +3795,7 @@
},
"format": {
"description": "JSON provides a text-based encoding.",
- "enum": [
- "json"
- ],
+ "enum": ["json"],
"type": "string"
},
"functionName": {
@@ -4225,18 +3844,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Google Cloud Function. See the documentation for further information.",
- "enum": [
- "http/google-cloud-function"
- ],
+ "enum": ["http/google-cloud-function"],
"type": "string"
},
"source": {
@@ -4252,9 +3866,7 @@
},
"format": {
"description": "JSON provides a text-based encoding.",
- "enum": [
- "json"
- ],
+ "enum": ["json"],
"type": "string"
},
"functionName": {
@@ -4293,20 +3905,11 @@
"type": "string"
}
},
- "required": [
- "region",
- "projectId",
- "functionName"
- ],
+ "required": ["region", "projectId", "functionName"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"google_cloud_function_rule_response": {
@@ -4338,18 +3941,13 @@
},
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Google Cloud Function. See the documentation for further information.",
- "enum": [
- "http/google-cloud-function"
- ],
+ "enum": ["http/google-cloud-function"],
"type": "string"
},
"source": {
@@ -4357,10 +3955,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -4374,9 +3969,7 @@
},
"format": {
"description": "JSON provides a text-based encoding.",
- "enum": [
- "json"
- ],
+ "enum": ["json"],
"type": "string"
},
"functionName": {
@@ -4415,11 +4008,7 @@
"type": "string"
}
},
- "required": [
- "region",
- "projectId",
- "functionName"
- ],
+ "required": ["region", "projectId", "functionName"],
"type": "object"
},
"version": {
@@ -4427,12 +4016,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"http_rule_patch": {
@@ -4440,18 +4024,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. See the documentation for further information.",
- "enum": [
- "http"
- ],
+ "enum": ["http"],
"type": "string"
},
"source": {
@@ -4459,10 +4038,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -4476,10 +4052,7 @@
},
"format": {
"description": "JSON provides a simpler text-based encoding, whereas MsgPack provides a more efficient binary encoding.",
- "enum": [
- "json",
- "msgpack"
- ],
+ "enum": ["json", "msgpack"],
"type": "string"
},
"headers": {
@@ -4518,18 +4091,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. See the documentation for further information.",
- "enum": [
- "http"
- ],
+ "enum": ["http"],
"type": "string"
},
"source": {
@@ -4537,10 +4105,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -4554,10 +4119,7 @@
},
"format": {
"description": "JSON provides a simpler text-based encoding, whereas MsgPack provides a more efficient binary encoding.",
- "enum": [
- "json",
- "msgpack"
- ],
+ "enum": ["json", "msgpack"],
"type": "string"
},
"headers": {
@@ -4587,19 +4149,11 @@
"type": "string"
}
},
- "required": [
- "url",
- "format"
- ],
+ "required": ["url", "format"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"http_rule_response": {
@@ -4631,18 +4185,13 @@
},
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. See the documentation for further information.",
- "enum": [
- "http"
- ],
+ "enum": ["http"],
"type": "string"
},
"source": {
@@ -4650,10 +4199,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -4667,10 +4213,7 @@
},
"format": {
"description": "JSON provides a simpler text-based encoding, whereas MsgPack provides a more efficient binary encoding.",
- "enum": [
- "json",
- "msgpack"
- ],
+ "enum": ["json", "msgpack"],
"type": "string"
},
"headers": {
@@ -4699,10 +4242,7 @@
"type": "string"
}
},
- "required": [
- "url",
- "format"
- ],
+ "required": ["url", "format"],
"type": "object"
},
"version": {
@@ -4710,28 +4250,19 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"ifttt_rule_patch": {
"x-requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"x-ruleType": {
"description": "The type of rule. In this case IFTTT. See the documentation for further information.",
- "enum": [
- "http/ifttt"
- ],
+ "enum": ["http/ifttt"],
"type": "string"
},
"x-source": {
@@ -4755,17 +4286,13 @@
"properties": {
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case IFTTT. See the documentation for further information.",
- "enum": [
- "http/ifttt"
- ],
+ "enum": ["http/ifttt"],
"type": "string"
},
"source": {
@@ -4773,10 +4300,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -4790,19 +4314,11 @@
"type": "string"
}
},
- "required": [
- "webhookKey",
- "eventName"
- ],
+ "required": ["webhookKey", "eventName"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"ifttt_rule_response": {
@@ -4834,17 +4350,13 @@
},
"requestMode": {
"description": "Single request mode sends each event separately to the endpoint specified by the rule. You can read more about single request mode events in the Ably documentation.",
- "enum": [
- "single"
- ],
+ "enum": ["single"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case IFTTT. See the documentation for further information.",
- "enum": [
- "http/ifttt"
- ],
+ "enum": ["http/ifttt"],
"type": "string"
},
"source": {
@@ -4852,10 +4364,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -4869,10 +4378,7 @@
"type": "string"
}
},
- "required": [
- "webhookKey",
- "eventName"
- ],
+ "required": ["webhookKey", "eventName"],
"type": "object"
},
"version": {
@@ -4880,12 +4386,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"key_patch": {
@@ -4948,11 +4449,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "channels",
- "capabilities"
- ],
+ "required": ["name", "channels", "capabilities"],
"type": "object"
},
"key_response": {
@@ -5025,10 +4522,7 @@
"type": "string"
}
},
- "required": [
- "id",
- "name"
- ],
+ "required": ["id", "name"],
"type": "object"
},
"token": {
@@ -5064,11 +4558,7 @@
"type": "string"
}
},
- "required": [
- "id",
- "name",
- "capabilities"
- ],
+ "required": ["id", "name", "capabilities"],
"type": "object"
},
"user": {
@@ -5084,10 +4574,7 @@
"type": "integer"
}
},
- "required": [
- "id",
- "email"
- ],
+ "required": ["id", "email"],
"type": "object"
}
},
@@ -5168,9 +4655,7 @@
"type": "boolean"
}
},
- "required": [
- "id"
- ],
+ "required": ["id"],
"type": "object"
},
"namespace_response": {
@@ -5248,12 +4733,7 @@
"type": "integer"
}
},
- "required": [
- "name",
- "ttl",
- "maxLength",
- "region"
- ],
+ "required": ["name", "ttl", "maxLength", "region"],
"type": "object"
},
"queue_response": {
@@ -5415,10 +4895,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -5601,20 +5078,12 @@
},
"type": {
"description": "The type `channel.message` delivers all messages published on a channel. The type `channel.presence` delivers all enter, update and leave events for members present on a channel. The type `channel.lifecycle` events for this rule type are currently not supported. Get in touch (https://ably.com/contact) if you need this feature. The type `channel.occupancy` delivers all occupancy events for the channel.",
- "enum": [
- "channel.message",
- "channel.presence",
- "channel.lifecycle",
- "channel.occupancy"
- ],
+ "enum": ["channel.message", "channel.presence", "channel.lifecycle", "channel.occupancy"],
"example": "channel.message",
"type": "string"
}
},
- "required": [
- "channelFilter",
- "type"
- ],
+ "required": ["channelFilter", "type"],
"type": "object"
},
"rule_source_patch": {
@@ -5626,12 +5095,7 @@
},
"type": {
"description": "The type `channel.message` delivers all messages published on a channel. The type `channel.presence` delivers all enter, update and leave events for members present on a channel. The type `channel.lifecycle` events for this rule type are currently not supported. Get in touch (https://ably.com/contact) if you need this feature. The type `channel.occupancy` delivers all occupancy events for the channel.",
- "enum": [
- "channel.message",
- "channel.presence",
- "channel.lifecycle",
- "channel.occupancy"
- ],
+ "enum": ["channel.message", "channel.presence", "channel.lifecycle", "channel.occupancy"],
"type": "string"
}
},
@@ -5666,18 +5130,13 @@
},
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "This rule type is currently unsupported.",
- "enum": [
- "unsupported"
- ],
+ "enum": ["unsupported"],
"type": "string"
},
"source": {
@@ -5685,10 +5144,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -5699,9 +5155,7 @@
"type": "string"
}
},
- "required": [
- "url"
- ],
+ "required": ["url"],
"type": "object"
},
"version": {
@@ -5709,12 +5163,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"zapier_rule_patch": {
@@ -5722,18 +5171,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Zapier. See the documentation for further information.",
- "enum": [
- "http/zapier"
- ],
+ "enum": ["http/zapier"],
"type": "string"
},
"source": {
@@ -5741,10 +5185,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -5787,18 +5228,13 @@
"properties": {
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Zapier. See the documentation for further information.",
- "enum": [
- "http/zapier"
- ],
+ "enum": ["http/zapier"],
"type": "string"
},
"source": {
@@ -5806,10 +5242,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -5842,18 +5275,11 @@
"type": "string"
}
},
- "required": [
- "url"
- ],
+ "required": ["url"],
"type": "object"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
},
"zapier_rule_response": {
@@ -5885,18 +5311,13 @@
},
"requestMode": {
"description": "This is Single Request mode or Batch Request mode. Single Request mode sends each event separately to the endpoint specified by the rule. Batch Request mode rolls up multiple events into the same request. You can read more about the difference between single and batched events in the Ably documentation.",
- "enum": [
- "single",
- "batch"
- ],
+ "enum": ["single", "batch"],
"example": "single",
"type": "string"
},
"ruleType": {
"description": "The type of rule. In this case Zapier. See the documentation for further information.",
- "enum": [
- "http/zapier"
- ],
+ "enum": ["http/zapier"],
"type": "string"
},
"source": {
@@ -5904,10 +5325,7 @@
},
"status": {
"description": "The status of the rule. Rules can be enabled or disabled.",
- "enum": [
- "enabled",
- "disabled"
- ],
+ "enum": ["enabled", "disabled"],
"example": "enabled",
"type": "string"
},
@@ -5940,9 +5358,7 @@
"type": "string"
}
},
- "required": [
- "url"
- ],
+ "required": ["url"],
"type": "object"
},
"version": {
@@ -5950,12 +5366,7 @@
"type": "string"
}
},
- "required": [
- "ruleType",
- "requestMode",
- "source",
- "target"
- ],
+ "required": ["ruleType", "requestMode", "source", "target"],
"type": "object"
}
},
diff --git a/__tests__/__datasets__/local-link.json b/__tests__/__datasets__/local-link.json
index a9f1ab67..af912a9f 100644
--- a/__tests__/__datasets__/local-link.json
+++ b/__tests__/__datasets__/local-link.json
@@ -150,11 +150,7 @@
"in": "query",
"schema": {
"type": "string",
- "enum": [
- "open",
- "merged",
- "declined"
- ]
+ "enum": ["open", "merged", "declined"]
}
},
{
diff --git a/__tests__/__datasets__/nested-allof-flattening.json b/__tests__/__datasets__/nested-allof-flattening.json
index 3b4bd300..84f5a878 100644
--- a/__tests__/__datasets__/nested-allof-flattening.json
+++ b/__tests__/__datasets__/nested-allof-flattening.json
@@ -31,9 +31,7 @@
"schemas": {
"extendedAttribute": {
"type": "object",
- "required": [
- "value"
- ],
+ "required": ["value"],
"properties": {
"createdOn": {
"type": "string",
@@ -59,10 +57,7 @@
},
"linkBase": {
"type": "object",
- "required": [
- "href",
- "rel"
- ],
+ "required": ["href", "rel"],
"properties": {
"href": {
"type": "string"
diff --git a/__tests__/__datasets__/non-standard-components.json b/__tests__/__datasets__/non-standard-components.json
index 67737cc7..ab949a61 100644
--- a/__tests__/__datasets__/non-standard-components.json
+++ b/__tests__/__datasets__/non-standard-components.json
@@ -34,20 +34,14 @@
"type": "array"
}
},
- "required": [
- "data",
- "include"
- ],
+ "required": ["data", "include"],
"type": "object",
"description": "Evaluate the child node for cascading value.\n"
},
"type": "array"
}
},
- "required": [
- "key",
- "where"
- ],
+ "required": ["key", "where"],
"type": "object",
"description": "Evaluate the root node for cascading values.\n"
},
@@ -66,17 +60,11 @@
},
"operator": {
"description": "A function defined by https://lodash.com/docs evaluated recursively on the args.\n",
- "enum": [
- "every",
- "some"
- ],
+ "enum": ["every", "some"],
"type": "string"
}
},
- "required": [
- "args",
- "operator"
- ],
+ "required": ["args", "operator"],
"title": "Aggregator",
"type": "object",
"description": "Recursively evaluates the set of aggregators or resolvers using the operator.\n"
@@ -94,18 +82,11 @@
},
"operator": {
"description": "A function defined by https://lodash.com/docs evaluated on the args.\n",
- "enum": [
- "includes",
- "isEqual"
- ],
+ "enum": ["includes", "isEqual"],
"type": "string"
}
},
- "required": [
- "args",
- "key",
- "operator"
- ],
+ "required": ["args", "key", "operator"],
"title": "Resolver",
"type": "object",
"description": "Evaluates the controlling field's value and the static args using the operator. When evaluating, the first argument of the operator call must be the dynamic value of the controlling field, e.g. `isEqual(controllingFieldValue, ...resolver.args)`.\n"
@@ -119,22 +100,13 @@
"post": {
"description": "Create a schema.",
"operationId": "createSchema",
- "tags": [
- "Schema"
- ],
+ "tags": ["Schema"],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
- "required": [
- "ext",
- "fields",
- "name",
- "scope_id",
- "status",
- "type"
- ],
+ "required": ["ext", "fields", "name", "scope_id", "status", "type"],
"example": {
"status": "active",
"ext": {
@@ -143,9 +115,7 @@
},
"scope_id": "license:1",
"name": "Custom form",
- "plugins": [
-
- ],
+ "plugins": [],
"fields": [
{
"description": null,
@@ -169,15 +139,10 @@
"description": "Extra properties for schemas of type `campaign_section`.",
"type": "object",
"example": {
- "campaign_section_types": [
- "brief",
- "workspace"
- ]
+ "campaign_section_types": ["brief", "workspace"]
},
"additionalProperties": false,
- "required": [
- "campaign_section_types"
- ],
+ "required": ["campaign_section_types"],
"properties": {
"campaign_section_types": {
"description": "Which campaign section type this schema applies to",
@@ -186,10 +151,7 @@
"uniqueItems": true,
"items": {
"type": "string",
- "enum": [
- "brief",
- "workspace"
- ]
+ "enum": ["brief", "workspace"]
}
}
}
@@ -203,10 +165,7 @@
"channel_type": "custom"
},
"additionalProperties": false,
- "required": [
- "platform_id",
- "channel_type"
- ],
+ "required": ["platform_id", "channel_type"],
"properties": {
"platform_id": {
"type": "string",
@@ -230,11 +189,7 @@
"source_campaign_id_default": "campaign:1"
},
"additionalProperties": false,
- "required": [
- "assignee_id_default",
- "due_at_required_default",
- "source_campaign_id_default"
- ],
+ "required": ["assignee_id_default", "due_at_required_default", "source_campaign_id_default"],
"properties": {
"assignee_id_default": {
"title": "user_id",
@@ -261,14 +216,10 @@
{
"title": "empty",
"description": "`metadata` has no extra properties\n",
- "example": {
-
- },
+ "example": {},
"type": "object",
"additionalProperties": false,
- "properties": {
-
- }
+ "properties": {}
}
],
"nullable": true
@@ -280,12 +231,7 @@
"title": "Schema Field",
"description": "A field is used to describe the type of input and data a user can enter.\nFields can be different types based on `type` attribute. Certain fields have additional configuration defined in `ext`. The field type also determines the type of data stored under the value of `key`.\nGiven this field definition: ```\n {\n \"key\": \"email\",\n \"label\": \"Email address\",\n \"description\": \"Your work email address\",\n \"required\": true,\n \"type\": \"email\",\n \"ext\": null,\n }\n```\nThe following output is produced when a user enters \"example@percolate.com\" into the field:\n```\n {\n \"email\": \"example@percolate.com\"\n }\n```\n| type | description | stored value example | | --- | --- | --- | | `asset` | An assets field | `[\"asset:1\"]` | | `currency` | A currency field | `{ \"currency\": \"USD\", \"amount\": \"20.0000\" }` | | `date-range` | A date range field | `{ \"from\": \"2014-12-25\", \"to\": \"2014-12-31\" }` | | `date` | A date field | `\"2014-04-30T20:32:18+00:00\"` | | `email` | An email field | `\"example@percolate.com\"` | | `hidden` | A field for data passing, that should not be shown in UI | `\"string data\"` | | `html` | An html field | `\"hello world\"` | | `link` | A links field | `[\"link:1\"]` | | `multi-select` | A multi-select field (ex. checkbox, multi dropdown) | `[\"checkbox 1\", \"checkbox 2\"]` | | `number` | A number field | `9`, `100.25`, `0.091231` | | `object-array` | A field that stores array of objects | `[{ body: \"hello\\nworld\", age: 18 }, { body: \"hi\\nthere\", age: 21 }]` | | `post_attachment` | A [post attachment](#post_attachment) field | `[\"post_attachment:1\"]` | | `select` | A select field (ex. radio, single dropdown) | `\"radio_1\"` | | `string-array` | A list of strings. Values are represented as lists, not comma-separated strings. `,` and carriage return will automatically add a new value. | `[\"hello\", \"24\", \"I'm another thing\"]` | | `term` | A terms field | `[\"term:XTN123\", \"term:XTN456\"]` | | `text` | A single line text field | `\"hello world\"` | | `textarea` | A multi-line text field | `\"hello\\nworld\"` | | `user` | A list of user IDs | `[\"user:123\", \"user:1234\"]` |\n",
"type": "object",
- "required": [
- "key",
- "label",
- "required",
- "type"
- ],
+ "required": ["key", "label", "required", "type"],
"additionalProperties": false,
"properties": {
"key": {
@@ -353,9 +299,7 @@
"include_time": true
},
"additionalProperties": false,
- "required": [
- "include_time"
- ],
+ "required": ["include_time"],
"properties": {
"include_time": {
"description": "Adds a time field which must be converted to UTC before being sent to the server",
@@ -366,14 +310,10 @@
{
"title": "empty",
"description": "`currency`, `date-range`, `email`, `html`, `number` have no configuration\n",
- "example": {
-
- },
+ "example": {},
"type": "object",
"additionalProperties": false,
- "properties": {
-
- }
+ "properties": {}
},
{
"title": "asset/link/user",
@@ -383,9 +323,7 @@
"example": {
"limit": 1
},
- "required": [
- "limit"
- ],
+ "required": ["limit"],
"properties": {
"limit": {
"description": "The maximum number of items a user can add",
@@ -407,19 +345,14 @@
}
]
},
- "required": [
- "values"
- ],
+ "required": ["values"],
"properties": {
"values": {
"description": "An array of objects describing the list of possible values. Can only be `[]` if an autocomplete plugin is applied.\n",
"type": "array",
"items": {
"type": "object",
- "required": [
- "label",
- "value"
- ],
+ "required": ["label", "value"],
"additionalProperties": false,
"properties": {
"key": {
@@ -482,17 +415,11 @@
"type": "object",
"example": {
"limit": 1,
- "parent_term_ids": [
- "term:XTN123"
- ],
+ "parent_term_ids": ["term:XTN123"],
"placeholder": "http://"
},
"additionalProperties": false,
- "required": [
- "limit",
- "parent_term_ids",
- "placeholder"
- ],
+ "required": ["limit", "parent_term_ids", "placeholder"],
"properties": {
"limit": {
"description": "The maximum number of terms allowed",
@@ -525,9 +452,7 @@
"max_length": 140,
"placeholder": null
},
- "required": [
- "max_length"
- ],
+ "required": ["max_length"],
"properties": {
"max_length": {
"description": "The maximum number of characters allowed",
@@ -547,11 +472,7 @@
"description": "`object-array` field configuration\n",
"type": "object",
"additionalProperties": false,
- "required": [
- "limit",
- "minimum",
- "sub_schema"
- ],
+ "required": ["limit", "minimum", "sub_schema"],
"properties": {
"limit": {
"description": "The maximum allowed fields",
@@ -585,10 +506,7 @@
"description": "An ordered array of fieldset objects",
"type": "array",
"items": {
- "required": [
- "legend",
- "field_keys"
- ],
+ "required": ["legend", "field_keys"],
"type": "object",
"additionalProperties": false,
"properties": {
@@ -617,11 +535,7 @@
"items": {
"description": "Plugins can be applied to fields to enhance their functionality.\nPlugins can be different types based on `type` attribute. Certain plugins have addition configuration defined in `ext`.\n### autocomplete\nAdds autocomplete to fields of type `select` and `multi-select`. A server search on the `autocomplete` endpoint is triggered with `search_url`\n### mentions\nAdds hyper-linking to fields of type `textarea`. A server search on the `autocomplete` endpoint is intialized with `search_url` when the regular expression of `search_trigger` is met. The user can then enhance parts of the text with values returned from the server. Multiple mentions can be applied to the same field and get stored on the `key` with the following JSON-Schema:\n```yaml type: array items:\n type: object\n required:\n - value\n - offset\n - length\n additionalProperties: false\n properties:\n value:\n description: The external ID of this mention.\n type: string\n offset:\n description: 0-based offset where this mention begins\n type: integer\n length:\n description: Number of characters\n type: integer\n```\nExample plugin data:\n```json {\n \"message\": \"I like Disney and Disney/Pixar\",\n \"mentions\": [\n {\"value\": \"11784025953\", \"offset\": 7, \"length\": 6},\n {\"value\": \"108014809233498\", \"offset\": 18, \"length\": 12}\n ]\n} ```\n### inline-links\nAdds URL metadata to fields of type `textarea`. The plugin enables identifying which parts of the text represent URLs (using `offset` and `length`, like the mentions plugin) and provides optional related information for each URL. Multiple links can be applied to the same textarea and get stored on the `key` as objects with the following JSON-Schema. (Note that the `short_url` and `tracking_url` attributes are read-only):\n```yaml type: array items:\n type: object\n required:\n - url\n - offset\n - length\n additionalProperties: false\n properties:\n url:\n description: The original URL found in the textarea.\n type: string\n offset:\n description: 0-based offset where this link begins\n type: integer\n length:\n description: Number of characters in the original url (not short or tracking)\n type: integer\n shorten:\n description: A boolean indicating whether the url should be shortened\n type: boolean\n track:\n description: A boolean indicating whether the url should be tracked\n type: boolean\n short_url:\n description: A bitly-shortened version of the URL. Can be empty if shortening is disabled. This value is read-only.\n type: string\n tracking_tag_ids:\n description: The tracking tag IDs to apply to the link before shortening. Same as in the `tracking_tags` plugin. Can be empty array.\n type: array\n items:\n type: string\n pattern: ^tracking_tag:\\d+$\n tracking_url:\n description: The long URL that was used for shortening. Can be empty if shortening is disabled. This is the original URL with additional query parameters: automatic tracking tags (if configured) and a unique random __prclt parameter. This attribute is read-only.\n type: string\n```\nExample plugin data:\n```json {\n \"message\": \"Check out http://example.com and https://isitchristmas.com/\",\n \"links\": [\n {\n \"url\": \"http://example.com\",\n \"tracking_tag_ids\": [\"tracking_tag:1\", \"tracking_tag:2\"],\n \"tracking_url\": \"http://example.com?__prclt=123&__utm_foo=bar&__utm_xyz=pdq\",\n \"short_url\": \"http://bit.ly/28TtifN\",\n \"length\": 18,\n \"offset\": 10,\n \"shorten\": true,\n \"track\": true\n },\n {\n \"url\": \"https://isitchristmas.com\",\n \"tracking_tag_ids\": [],\n \"tracking_url\": \"\",\n \"short_url\": \"\",\n \"length\": 25,\n \"offset\": 33,\n \"shorten\": true,\n \"track\": true\n }\n ]\n} ```\n### timezone\nAdds timezone support to fields of type `date`. Since all times are converted to UTC, displaying the date varies based on the device's current timezone. By storing the timezone, we can display the date in its original/intended form. The selected timezone will be stored under the `key` value.\n### tracking_tags\nAdd tracking tags to fields of type `link` Selected tracking tags are stored on the `key` with the following JSON-Schema:\n```yaml type: array items:\n type: object\n required:\n - link_id\n - tracking_tag_ids\n additionalProperties: false\n properties:\n link_id:\n description: >\n The link ID to attach the tracking tags to.\n\n Important: The link ID must exist in associated array of link IDs defined by the `field_key`.\n type: string\n pattern: ^link:\\d+$\n tracking_tag_ids:\n description: The tracking tag IDs associated with the link\n type: array\n items:\n type: string\n pattern: ^tracking_tag:\\d+$\n```\nExample:\n```json [\n {\n \"link_id\": \"link:1\",\n \"tracking_tag_ids\": [\"tracking_tag:1\", \"tracking_tag:2\"]\n }\n] ```\n",
"type": "object",
- "required": [
- "field_key",
- "type",
- "ext"
- ],
+ "required": ["field_key", "type", "ext"],
"additionalProperties": false,
"properties": {
"field_key": {
@@ -636,13 +550,7 @@
"type": {
"description": "The plugin type",
"type": "string",
- "enum": [
- "autocomplete",
- "inline-links",
- "mentions",
- "timezone",
- "tracking_tags"
- ]
+ "enum": ["autocomplete", "inline-links", "mentions", "timezone", "tracking_tags"]
},
"ext": {
"oneOf": [
@@ -654,9 +562,7 @@
"search_url": "https://example.com/search"
},
"additionalProperties": false,
- "required": [
- "search_url"
- ],
+ "required": ["search_url"],
"properties": {
"search_url": {
"description": "The search URL for `/v5/autocomplete/?search_url=`",
@@ -674,10 +580,7 @@
"search_trigger": "/@/"
},
"additionalProperties": false,
- "required": [
- "search_url",
- "search_trigger"
- ],
+ "required": ["search_url", "search_trigger"],
"properties": {
"search_url": {
"description": "The search URL for `/v5/autocomplete/?search_url=`",
@@ -695,13 +598,9 @@
"description": "`timezone` plugin configuration\n",
"type": "object",
"example": {
- "timezones": [
-
- ]
+ "timezones": []
},
- "required": [
- "timezones"
- ],
+ "required": ["timezones"],
"additionalProperties": false,
"properties": {
"timezones": {
@@ -718,14 +617,10 @@
{
"title": "empty",
"description": "`tracking_tags` and `inline-links` plugins have no configuration\n",
- "example": {
-
- },
+ "example": {},
"type": "object",
"additionalProperties": false,
- "properties": {
-
- }
+ "properties": {}
}
]
}
@@ -787,11 +682,7 @@
},
"status": {
"description": "Whether this schema can be used to create other resources.",
- "enum": [
- "active",
- "inactive",
- "deleted"
- ],
+ "enum": ["active", "inactive", "deleted"],
"type": "string"
},
"conditions": {
@@ -801,10 +692,7 @@
"type": "object",
"title": "FieldDependency",
"additionalProperties": false,
- "required": [
- "depends_on",
- "key"
- ],
+ "required": ["depends_on", "key"],
"properties": {
"depends_on": {
"$ref": "#/components/x-definitions/conditionFieldDependency"
@@ -819,10 +707,7 @@
"type": "object",
"title": "CascadingValue",
"additionalProperties": false,
- "required": [
- "values_depend_on",
- "key"
- ],
+ "required": ["values_depend_on", "key"],
"properties": {
"values_depend_on": {
"$ref": "#/components/x-definitions/conditionCascadingValue"
@@ -861,9 +746,7 @@
},
"scope_id": "license:1",
"name": "Custom form",
- "plugins": [
-
- ],
+ "plugins": [],
"fields": [
{
"description": null,
diff --git a/__tests__/__datasets__/petstore-server-vars.json b/__tests__/__datasets__/petstore-server-vars.json
index 1f55d718..2fd9759f 100644
--- a/__tests__/__datasets__/petstore-server-vars.json
+++ b/__tests__/__datasets__/petstore-server-vars.json
@@ -48,9 +48,7 @@
"paths": {
"/pet": {
"post": {
- "tags": [
- "pet"
- ],
+ "tags": ["pet"],
"summary": "Add a new pet to the store",
"description": "",
"operationId": "addPet",
@@ -61,10 +59,7 @@
},
"security": [
{
- "petstore_auth": [
- "write:pets",
- "read:pets"
- ]
+ "petstore_auth": ["write:pets", "read:pets"]
}
],
"requestBody": {
@@ -72,9 +67,7 @@
}
},
"put": {
- "tags": [
- "pet"
- ],
+ "tags": ["pet"],
"summary": "Update an existing pet",
"description": "",
"operationId": "updatePet",
@@ -91,10 +84,7 @@
},
"security": [
{
- "petstore_auth": [
- "write:pets",
- "read:pets"
- ]
+ "petstore_auth": ["write:pets", "read:pets"]
}
],
"requestBody": {
@@ -104,9 +94,7 @@
},
"/pet/findByStatus": {
"get": {
- "tags": [
- "pet"
- ],
+ "tags": ["pet"],
"summary": "Finds Pets by status",
"description": "Multiple status values can be provided with comma separated strings",
"operationId": "findPetsByStatus",
@@ -121,11 +109,7 @@
"type": "array",
"items": {
"type": "string",
- "enum": [
- "available",
- "pending",
- "sold"
- ],
+ "enum": ["available", "pending", "sold"],
"default": "available"
}
}
@@ -159,19 +143,14 @@
},
"security": [
{
- "petstore_auth": [
- "write:pets",
- "read:pets"
- ]
+ "petstore_auth": ["write:pets", "read:pets"]
}
]
}
},
"/pet/findByTags": {
"get": {
- "tags": [
- "pet"
- ],
+ "tags": ["pet"],
"summary": "Finds Pets by tags",
"description": "Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
"operationId": "findPetsByTags",
@@ -218,10 +197,7 @@
},
"security": [
{
- "petstore_auth": [
- "write:pets",
- "read:pets"
- ]
+ "petstore_auth": ["write:pets", "read:pets"]
}
],
"deprecated": true
@@ -229,9 +205,7 @@
},
"/pet/{petId}": {
"get": {
- "tags": [
- "pet"
- ],
+ "tags": ["pet"],
"summary": "Find pet by ID",
"description": "Returns a single pet",
"operationId": "getPetById",
@@ -277,9 +251,7 @@
]
},
"post": {
- "tags": [
- "pet"
- ],
+ "tags": ["pet"],
"summary": "Updates a pet in the store with form data",
"description": "",
"operationId": "updatePetWithForm",
@@ -302,10 +274,7 @@
},
"security": [
{
- "petstore_auth": [
- "write:pets",
- "read:pets"
- ]
+ "petstore_auth": ["write:pets", "read:pets"]
}
],
"requestBody": {
@@ -329,9 +298,7 @@
}
},
"delete": {
- "tags": [
- "pet"
- ],
+ "tags": ["pet"],
"summary": "Deletes a pet",
"description": "",
"operationId": "deletePet",
@@ -365,19 +332,14 @@
},
"security": [
{
- "petstore_auth": [
- "write:pets",
- "read:pets"
- ]
+ "petstore_auth": ["write:pets", "read:pets"]
}
]
}
},
"/pet/{petId}/uploadImage": {
"post": {
- "tags": [
- "pet"
- ],
+ "tags": ["pet"],
"summary": "uploads an image",
"description": "",
"operationId": "uploadFile",
@@ -407,10 +369,7 @@
},
"security": [
{
- "petstore_auth": [
- "write:pets",
- "read:pets"
- ]
+ "petstore_auth": ["write:pets", "read:pets"]
}
],
"requestBody": {
@@ -427,9 +386,7 @@
},
"/store/inventory": {
"get": {
- "tags": [
- "store"
- ],
+ "tags": ["store"],
"summary": "Returns pet inventories by status",
"description": "Returns a map of status codes to quantities",
"operationId": "getInventory",
@@ -458,9 +415,7 @@
},
"/store/order": {
"post": {
- "tags": [
- "store"
- ],
+ "tags": ["store"],
"summary": "Place an order for a pet",
"description": "",
"operationId": "placeOrder",
@@ -499,9 +454,7 @@
},
"/store/order/{orderId}": {
"get": {
- "tags": [
- "store"
- ],
+ "tags": ["store"],
"summary": "Find purchase order by ID",
"description": "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions",
"operationId": "getOrderById",
@@ -544,9 +497,7 @@
}
},
"delete": {
- "tags": [
- "store"
- ],
+ "tags": ["store"],
"summary": "Delete purchase order by ID",
"description": "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors",
"operationId": "deleteOrder",
@@ -575,9 +526,7 @@
},
"/user": {
"post": {
- "tags": [
- "user"
- ],
+ "tags": ["user"],
"summary": "Create user",
"description": "This can only be done by the logged in user.",
"operationId": "createUser",
@@ -601,9 +550,7 @@
},
"/user/createWithArray": {
"post": {
- "tags": [
- "user"
- ],
+ "tags": ["user"],
"summary": "Creates list of users with given input array",
"description": "",
"operationId": "createUsersWithArrayInput",
@@ -619,9 +566,7 @@
},
"/user/createWithList": {
"post": {
- "tags": [
- "user"
- ],
+ "tags": ["user"],
"summary": "Creates list of users with given input array",
"description": "",
"operationId": "createUsersWithListInput",
@@ -637,9 +582,7 @@
},
"/user/login": {
"get": {
- "tags": [
- "user"
- ],
+ "tags": ["user"],
"summary": "Logs user into the system",
"description": "",
"operationId": "loginUser",
@@ -703,9 +646,7 @@
},
"/user/logout": {
"get": {
- "tags": [
- "user"
- ],
+ "tags": ["user"],
"summary": "Logs out current logged in user session",
"description": "",
"operationId": "logoutUser",
@@ -718,9 +659,7 @@
},
"/user/{username}": {
"get": {
- "tags": [
- "user"
- ],
+ "tags": ["user"],
"summary": "Get user by user name",
"description": "",
"operationId": "getUserByName",
@@ -760,9 +699,7 @@
}
},
"put": {
- "tags": [
- "user"
- ],
+ "tags": ["user"],
"summary": "Updated user",
"description": "This can only be done by the logged in user.",
"operationId": "updateUser",
@@ -798,9 +735,7 @@
}
},
"delete": {
- "tags": [
- "user"
- ],
+ "tags": ["user"],
"summary": "Delete user",
"description": "This can only be done by the logged in user.",
"operationId": "deleteUser",
@@ -854,11 +789,7 @@
"status": {
"type": "string",
"description": "Order Status",
- "enum": [
- "placed",
- "approved",
- "delivered"
- ]
+ "enum": ["placed", "approved", "delivered"]
},
"complete": {
"type": "boolean",
@@ -936,10 +867,7 @@
},
"Pet": {
"type": "object",
- "required": [
- "name",
- "photoUrls"
- ],
+ "required": ["name", "photoUrls"],
"properties": {
"id": {
"type": "integer",
@@ -975,11 +903,7 @@
"status": {
"type": "string",
"description": "pet status in the store",
- "enum": [
- "available",
- "pending",
- "sold"
- ]
+ "enum": ["available", "pending", "sold"]
}
},
"xml": {
diff --git a/__tests__/__datasets__/polymorphism-quirks.json b/__tests__/__datasets__/polymorphism-quirks.json
index dba42639..dc406db9 100644
--- a/__tests__/__datasets__/polymorphism-quirks.json
+++ b/__tests__/__datasets__/polymorphism-quirks.json
@@ -59,11 +59,7 @@
"schemas": {
"api.WithdrawalRequest": {
"type": "object",
- "required": [
- "amount",
- "token",
- "user"
- ],
+ "required": ["amount", "token", "user"],
"properties": {
"amount": {
"type": "string"
diff --git a/__tests__/__datasets__/polymorphism-with-circular-ref.json b/__tests__/__datasets__/polymorphism-with-circular-ref.json
index b1495f55..7a10531c 100644
--- a/__tests__/__datasets__/polymorphism-with-circular-ref.json
+++ b/__tests__/__datasets__/polymorphism-with-circular-ref.json
@@ -4,9 +4,11 @@
"title": "Nomad Admin API",
"version": "v3"
},
- "servers": [{
- "url": "https://httpbin.org"
- }],
+ "servers": [
+ {
+ "url": "https://httpbin.org"
+ }
+ ],
"paths": {
"/admin/search": {
"post": {
@@ -14,9 +16,11 @@
"content": {
"application/json": {
"schema": {
- "allOf": [{
- "$ref": "#/components/schemas/SearchModel"
- }]
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/SearchModel"
+ }
+ ]
}
}
}
@@ -51,9 +55,11 @@
"nullable": true
},
"loginStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/LoginResponseStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LoginResponseStatuses"
+ }
+ ],
"description": "\r\n\r\nTwoFactorSetupRequired\r\n\r\nTwoFactorCodeRequired\r\n\r\nIsDisabled\r\n\r\nIsPendingEmailConfirmation\r\n\r\nIsPendingNewAccountSignup\r\n\r\nIsPendingAccountMigrationSignup\r\n\r\nIsPendingNewPassword\r\n\r\nIsExpired\r\n\r\nIsPendingInvitation",
"nullable": true
},
@@ -142,9 +148,11 @@
"nullable": true
},
"adBreakType": {
- "allOf": [{
- "$ref": "#/components/schemas/AdSlotTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AdSlotTypes"
+ }
+ ],
"description": "The type of the ad break (pre-roll, post-roll, mid-roll)\r\n\r\nPreroll\r\n\r\nMidroll\r\n\r\nPostroll",
"x-enumNames": ["Preroll", "Midroll", "Postroll"]
},
@@ -223,15 +231,19 @@
"nullable": true
},
"asset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"scheduleItemType": {
- "allOf": [{
- "$ref": "#/components/schemas/ScheduleItemTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ScheduleItemTypes"
+ }
+ ],
"description": "\r\n\r\nAsset\r\n\r\nDynamic",
"x-enumNames": ["Asset", "Dynamic"]
},
@@ -279,40 +291,52 @@
"nullable": true
},
"playlistSchedule": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveChannel": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"defaultVideo": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"thumbnailAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"searchFilterType": {
- "allOf": [{
- "$ref": "#/components/schemas/ScheduleItemSearchTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ScheduleItemSearchTypes"
+ }
+ ],
"description": "\r\n\r\nRandom\r\n\r\nRandomWithinDateRange\r\n\r\nNewest\r\n\r\nNewestNotPlayed",
"nullable": true
},
"sourceType": {
- "allOf": [{
- "$ref": "#/components/schemas/ScheduleItemSourceTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ScheduleItemSourceTypes"
+ }
+ ],
"description": "\r\n\r\nPlaylistSchedule\r\n\r\nSearchFilters\r\n\r\nVideoAsset\r\n\r\nLiveChannel",
"nullable": true
},
@@ -362,15 +386,19 @@
"nullable": true
},
"thumbnailAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"scheduleType": {
- "allOf": [{
- "$ref": "#/components/schemas/ScheduleTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ScheduleTypes"
+ }
+ ],
"description": "\r\n\r\nPlaylist\r\n\r\nIntelligentSchedule\r\n\r\nIntelligentPlaylist",
"x-enumNames": ["Playlist", "IntelligentSchedule", "IntelligentPlaylist"]
},
@@ -380,9 +408,11 @@
"nullable": true
},
"defaultVideoAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"loopPlaylist": {
@@ -429,16 +459,20 @@
"readOnly": true
},
"status": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"description": "The status of the user",
"nullable": true
},
"loginStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/LoginResponseStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LoginResponseStatuses"
+ }
+ ],
"description": "\r\n\r\nTwoFactorSetupRequired\r\n\r\nTwoFactorCodeRequired\r\n\r\nIsDisabled\r\n\r\nIsPendingEmailConfirmation\r\n\r\nIsPendingNewAccountSignup\r\n\r\nIsPendingAccountMigrationSignup\r\n\r\nIsPendingNewPassword\r\n\r\nIsExpired\r\n\r\nIsPendingInvitation",
"nullable": true
},
@@ -459,16 +493,20 @@
"nullable": true
},
"personalFolder": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"description": "The personal folder Asset ID for this user",
"nullable": true
},
"homeFolder": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"description": "The home folder Asset ID for this user",
"nullable": true
},
@@ -535,9 +573,11 @@
"format": "uuid"
},
"permission": {
- "allOf": [{
- "$ref": "#/components/schemas/SecurityPermissions"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/SecurityPermissions"
+ }
+ ],
"description": "\r\n\r\nRead\r\n\r\nFileWrite\r\n\r\nFolderWrite\r\n\r\nAdministrator\r\n\r\nGuest",
"nullable": true
},
@@ -661,9 +701,11 @@
"nullable": true
},
"assetStats": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetStatsModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetStatsModel"
+ }
+ ],
"nullable": true
},
"properties": {
@@ -679,9 +721,11 @@
"nullable": true
},
"attributeSummary": {
- "allOf": [{
- "$ref": "#/components/schemas/UserContentAttributeSummaryModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/UserContentAttributeSummaryModel"
+ }
+ ],
"nullable": true
}
},
@@ -721,23 +765,29 @@
"nullable": true
},
"assetStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetStatuses"
+ }
+ ],
"description": "\r\n\r\nAvailable\r\n\r\nRenaming\r\n\r\nCopying\r\n\r\nRestoring\r\n\r\nRegistering\r\n\r\nUploading\r\n\r\nArchiving\r\n\r\nArchived\r\n\r\nPendingArchive\r\n\r\nPendingRestore\r\n\r\nRestored\r\n\r\nDeleting\r\n\r\nMoving\r\n\r\nSlugReplaced\r\n\r\nUpdating\r\n\r\nError\r\n\r\nAssembling\r\n\r\nClipping\r\n\r\nPlaceholder",
"nullable": true
},
"storageClass": {
- "allOf": [{
- "$ref": "#/components/schemas/StorageClasses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/StorageClasses"
+ }
+ ],
"description": "\r\n\r\nStandard\r\n\r\nReducedRedundancy\r\n\r\nGlacier\r\n\r\nStandardInfrequentAccess\r\n\r\nOneZoneInfrequentAccess\r\n\r\nIntelligentTiering\r\n\r\nDeepArchive\r\n\r\nGlacierInstantRetrieval\r\n\r\nOutposts",
"nullable": true
},
"assetType": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetTypes"
+ }
+ ],
"description": "\r\n\r\nFolder\r\n\r\nFile\r\n\r\nBucket",
"x-enumNames": ["Folder", "File", "Bucket"]
}
@@ -803,9 +853,11 @@
"nullable": true
},
"language": {
- "allOf": [{
- "$ref": "#/components/schemas/LanguageModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LanguageModel"
+ }
+ ],
"nullable": true
},
"lastModifiedDate": {
@@ -814,9 +866,11 @@
"nullable": true
},
"metadataType": {
- "allOf": [{
- "$ref": "#/components/schemas/MetadataTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/MetadataTypes"
+ }
+ ],
"description": "\r\n\r\nDocumentContent\r\n\r\nComprehendKeyPhrases\r\n\r\nComprehendEntities\r\n\r\nRekognitionImageIndexFaces\r\n\r\nRekognitionImageSearchFaces\r\n\r\nRekognitionImageLabels\r\n\r\nRekognitionImageCelebrityRecognition\r\n\r\nRekognitionVideoLabels\r\n\r\nTextractAnalyzeDocument\r\n\r\nTranscribe\r\n\r\nTranscribeVtt\r\n\r\nTranscribeTranslation\r\n\r\nTranscribeVttTranslation\r\n\r\nRekognitionVideoCelebrityRecognition\r\n\r\nRekognitionVideoPersonTracking\r\n\r\nRekognitionVideoFaceDetection\r\n\r\nImageInfo\r\n\r\nTranscode\r\n\r\nClip\r\n\r\nMediaInfo\r\n\r\nRekognitionImageDetectText\r\n\r\nRekognitionImageUnsafeContent\r\n\r\nRekognitionVideoUnsafeContent\r\n\r\nScreenshot\r\n\r\nSageMakerGroundTruthLabelResults\r\n\r\nThumbnailSheet\r\n\r\nThumbnailImage\r\n\r\nSageMakerInvokeEndpointResults\r\n\r\nSageMakerModelLabels\r\n\r\nRekognitionImageCustomLabels\r\n\r\nSageMakerManifest\r\n\r\nPreviewImage\r\n\r\nRekognitionVideoTextDetection\r\n\r\nRekognitionVideoSegmentDetection\r\n\r\nNomadVideoSegmentDetection\r\n\r\nTranscribeMedical\r\n\r\nPreviewAudio\r\n\r\nText\r\n\r\nAssetManifest\r\n\r\nIntervalSegments\r\n\r\nTranscribeMedicalText\r\n\r\nTranscribeMedicalTranslation\r\n\r\nAdobeMetadata\r\n\r\nAdobeMetadataText\r\n\r\nImageExif\r\n\r\nTextractImageDetectText\r\n\r\nAdSegments\r\n\r\nVmap\r\n\r\nVast\r\n\r\nMediaTailorVideo\r\n\r\nTranscribeSrt\r\n\r\nTranscribeRaw\r\n\r\nSubtitles\r\n\r\nVizRtMetadata\r\n\r\nProcessorJobs\r\n\r\nOfficeDocument\r\n\r\nTranscriptionContainer\r\n\r\nComprehendSentiment\r\n\r\nComprehendLanguage\r\n\r\nOriginalSourceVideo\r\n\r\nImportManifest\r\n\r\nTranscribeScc\r\n\r\nTranscribeTtml\r\n\r\nTranscribeDfxp\r\n\r\nTranscribeSmptett\r\n\r\nTranscribeXml\r\n\r\nTranscribeQt\r\n\r\nTranscribeRt\r\n\r\nTranscribeSsa\r\n\r\nTranscribeAss\r\n\r\nTranscribeSbv\r\n\r\nTranscribeSmi\r\n\r\nTranscribeSami\r\n\r\nTranscribeStl\r\n\r\nTranscribeSub\r\n\r\nAssociatedAsset\r\n\r\nMobiusLabsImageLabels\r\n\r\nMobiusLabsVideoLabels",
"nullable": true
},
@@ -924,10 +978,50 @@
"additionalProperties": false
},
"AssetStatuses": {
- "enum": ["Available", "Renaming", "Copying", "Restoring", "Registering", "Uploading", "Archiving", "Archived", "PendingArchive", "PendingRestore", "Restored", "Deleting", "Moving", "SlugReplaced", "Updating", "Error", "Assembling", "Clipping", "Placeholder"],
+ "enum": [
+ "Available",
+ "Renaming",
+ "Copying",
+ "Restoring",
+ "Registering",
+ "Uploading",
+ "Archiving",
+ "Archived",
+ "PendingArchive",
+ "PendingRestore",
+ "Restored",
+ "Deleting",
+ "Moving",
+ "SlugReplaced",
+ "Updating",
+ "Error",
+ "Assembling",
+ "Clipping",
+ "Placeholder"
+ ],
"type": "string",
"description": "\r\n\r\nAvailable\r\n\r\nRenaming\r\n\r\nCopying\r\n\r\nRestoring\r\n\r\nRegistering\r\n\r\nUploading\r\n\r\nArchiving\r\n\r\nArchived\r\n\r\nPendingArchive\r\n\r\nPendingRestore\r\n\r\nRestored\r\n\r\nDeleting\r\n\r\nMoving\r\n\r\nSlugReplaced\r\n\r\nUpdating\r\n\r\nError\r\n\r\nAssembling\r\n\r\nClipping\r\n\r\nPlaceholder",
- "x-enumNames": ["Available", "Renaming", "Copying", "Restoring", "Registering", "Uploading", "Archiving", "Archived", "PendingArchive", "PendingRestore", "Restored", "Deleting", "Moving", "SlugReplaced", "Updating", "Error", "Assembling", "Clipping", "Placeholder"]
+ "x-enumNames": [
+ "Available",
+ "Renaming",
+ "Copying",
+ "Restoring",
+ "Registering",
+ "Uploading",
+ "Archiving",
+ "Archived",
+ "PendingArchive",
+ "PendingRestore",
+ "Restored",
+ "Deleting",
+ "Moving",
+ "SlugReplaced",
+ "Updating",
+ "Error",
+ "Assembling",
+ "Clipping",
+ "Placeholder"
+ ]
},
"AssetTypes": {
"enum": ["Folder", "File", "Bucket"],
@@ -1043,9 +1137,11 @@
"format": "int64"
},
"uploadOverwriteOption": {
- "allOf": [{
- "$ref": "#/components/schemas/UploadOverwriteOptions"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/UploadOverwriteOptions"
+ }
+ ],
"description": "If the file already exists on the server, this decides how to handle the situation\r\n\r\nCancel\r\n\r\nContinue\r\n\r\nReplace",
"x-enumNames": ["Cancel", "Continue", "Replace"]
},
@@ -1063,9 +1159,11 @@
"type": "object",
"properties": {
"batchAction": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"contentDefinitionId": {
@@ -1227,11 +1325,22 @@
"format": "uuid"
},
"userSessionStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/UserSessionStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/UserSessionStatuses"
+ }
+ ],
"description": "\r\n\r\nNormal\r\n\r\nChatDisabled\r\n\r\nSessionReplaced\r\n\r\nDeactivated\r\n\r\nSharedAccess\r\n\r\nPendingInvite\r\n\r\nExpired\r\n\r\nDeletedInvite",
- "x-enumNames": ["Normal", "ChatDisabled", "SessionReplaced", "Deactivated", "SharedAccess", "PendingInvite", "Expired", "DeletedInvite"]
+ "x-enumNames": [
+ "Normal",
+ "ChatDisabled",
+ "SessionReplaced",
+ "Deactivated",
+ "SharedAccess",
+ "PendingInvite",
+ "Expired",
+ "DeletedInvite"
+ ]
},
"applicationId": {
"type": "string",
@@ -1263,9 +1372,11 @@
"readOnly": true
},
"subject": {
- "allOf": [{
- "$ref": "#/components/schemas/ClaimsIdentity"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ClaimsIdentity"
+ }
+ ],
"nullable": true,
"readOnly": true
},
@@ -1300,9 +1411,11 @@
"readOnly": true
},
"actor": {
- "allOf": [{
- "$ref": "#/components/schemas/ClaimsIdentity"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ClaimsIdentity"
+ }
+ ],
"nullable": true
},
"bootstrapContext": {
@@ -1700,10 +1813,48 @@
"x-enumNames": ["Undefined", "Guest", "Demo"]
},
"ContentTextTypes": {
- "enum": ["Line", "Word", "Person", "Location", "Organization", "CommercialItem", "Event", "Date", "Quantity", "Title", "Entity", "KeyPhrase", "MixedSentiment", "NegativeSentiment", "NeutralSentiment", "PositiveSentiment", "Transcript", "Other"],
+ "enum": [
+ "Line",
+ "Word",
+ "Person",
+ "Location",
+ "Organization",
+ "CommercialItem",
+ "Event",
+ "Date",
+ "Quantity",
+ "Title",
+ "Entity",
+ "KeyPhrase",
+ "MixedSentiment",
+ "NegativeSentiment",
+ "NeutralSentiment",
+ "PositiveSentiment",
+ "Transcript",
+ "Other"
+ ],
"type": "string",
"description": "\r\n\r\nLine\r\n\r\nWord\r\n\r\nPerson\r\n\r\nLocation\r\n\r\nOrganization\r\n\r\nCommercialItem\r\n\r\nEvent\r\n\r\nDate\r\n\r\nQuantity\r\n\r\nTitle\r\n\r\nEntity\r\n\r\nKeyPhrase\r\n\r\nMixedSentiment\r\n\r\nNegativeSentiment\r\n\r\nNeutralSentiment\r\n\r\nPositiveSentiment\r\n\r\nTranscript\r\n\r\nOther",
- "x-enumNames": ["Line", "Word", "Person", "Location", "Organization", "CommercialItem", "Event", "Date", "Quantity", "Title", "Entity", "KeyPhrase", "MixedSentiment", "NegativeSentiment", "NeutralSentiment", "PositiveSentiment", "Transcript", "Other"]
+ "x-enumNames": [
+ "Line",
+ "Word",
+ "Person",
+ "Location",
+ "Organization",
+ "CommercialItem",
+ "Event",
+ "Date",
+ "Quantity",
+ "Title",
+ "Entity",
+ "KeyPhrase",
+ "MixedSentiment",
+ "NegativeSentiment",
+ "NeutralSentiment",
+ "PositiveSentiment",
+ "Transcript",
+ "Other"
+ ]
},
"ContentTypeModel": {
"type": "object",
@@ -1721,9 +1872,11 @@
"nullable": true
},
"contentManagementType": {
- "allOf": [{
- "$ref": "#/components/schemas/ContentManagementTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ContentManagementTypes"
+ }
+ ],
"description": "\r\n\r\n1 = None\r\n\r\n2 = DataSelector\r\n\r\n3 = FormSelector",
"x-enumNames": ["None", "DataSelector", "FormSelector"]
},
@@ -1839,21 +1992,27 @@
"nullable": true
},
"preRollAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"postRollAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"liveInput": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"relatedContent": {
@@ -1892,22 +2051,37 @@
"format": "uuid"
},
"liveChannel": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveOperatorStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/LiveOperatorStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LiveOperatorStatuses"
+ }
+ ],
"description": "\r\n\r\nPreRoll\r\n\r\nRunning\r\n\r\nCreatingSegment\r\n\r\nError\r\n\r\nPostRoll\r\n\r\nStarting\r\n\r\nStopping\r\n\r\nStopped",
- "x-enumNames": ["PreRoll", "Running", "CreatingSegment", "Error", "PostRoll", "Starting", "Stopping", "Stopped"]
+ "x-enumNames": [
+ "PreRoll",
+ "Running",
+ "CreatingSegment",
+ "Error",
+ "PostRoll",
+ "Starting",
+ "Stopping",
+ "Stopped"
+ ]
},
"liveOperatorMode": {
- "allOf": [{
- "$ref": "#/components/schemas/LiveOperatorModes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LiveOperatorModes"
+ }
+ ],
"description": "\r\n\r\nManual\r\n\r\nIVS\r\n\r\nMediaLive\r\n\r\nRealtime",
"x-enumNames": ["Manual", "IVS", "MediaLive", "Realtime"]
}
@@ -1934,11 +2108,19 @@
"format": "uuid"
},
"emailType": {
- "allOf": [{
- "$ref": "#/components/schemas/EmailTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/EmailTypes"
+ }
+ ],
"description": "\r\n\r\nAssetRestored\r\n\r\nUserApproved\r\n\r\nCollectionShared\r\n\r\nCollectionSharedExternal\r\n\r\nUserInvite",
- "x-enumNames": ["AssetRestored", "UserApproved", "CollectionShared", "CollectionSharedExternal", "UserInvite"]
+ "x-enumNames": [
+ "AssetRestored",
+ "UserApproved",
+ "CollectionShared",
+ "CollectionSharedExternal",
+ "UserInvite"
+ ]
},
"userId": {
"type": "string",
@@ -2143,9 +2325,11 @@
"type": "object",
"properties": {
"cloudFrontDistribution": {
- "allOf": [{
- "$ref": "#/components/schemas/CloudFrontDistributions"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/CloudFrontDistributions"
+ }
+ ],
"description": "\r\n\r\nContent\r\n\r\nPublicApi\r\n\r\nRestrictedContent",
"x-enumNames": ["Content", "PublicApi", "RestrictedContent"]
},
@@ -2214,9 +2398,11 @@
"nullable": true
},
"metadataType": {
- "allOf": [{
- "$ref": "#/components/schemas/MetadataTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/MetadataTypes"
+ }
+ ],
"description": "\r\n\r\nDocumentContent\r\n\r\nComprehendKeyPhrases\r\n\r\nComprehendEntities\r\n\r\nRekognitionImageIndexFaces\r\n\r\nRekognitionImageSearchFaces\r\n\r\nRekognitionImageLabels\r\n\r\nRekognitionImageCelebrityRecognition\r\n\r\nRekognitionVideoLabels\r\n\r\nTextractAnalyzeDocument\r\n\r\nTranscribe\r\n\r\nTranscribeVtt\r\n\r\nTranscribeTranslation\r\n\r\nTranscribeVttTranslation\r\n\r\nRekognitionVideoCelebrityRecognition\r\n\r\nRekognitionVideoPersonTracking\r\n\r\nRekognitionVideoFaceDetection\r\n\r\nImageInfo\r\n\r\nTranscode\r\n\r\nClip\r\n\r\nMediaInfo\r\n\r\nRekognitionImageDetectText\r\n\r\nRekognitionImageUnsafeContent\r\n\r\nRekognitionVideoUnsafeContent\r\n\r\nScreenshot\r\n\r\nSageMakerGroundTruthLabelResults\r\n\r\nThumbnailSheet\r\n\r\nThumbnailImage\r\n\r\nSageMakerInvokeEndpointResults\r\n\r\nSageMakerModelLabels\r\n\r\nRekognitionImageCustomLabels\r\n\r\nSageMakerManifest\r\n\r\nPreviewImage\r\n\r\nRekognitionVideoTextDetection\r\n\r\nRekognitionVideoSegmentDetection\r\n\r\nNomadVideoSegmentDetection\r\n\r\nTranscribeMedical\r\n\r\nPreviewAudio\r\n\r\nText\r\n\r\nAssetManifest\r\n\r\nIntervalSegments\r\n\r\nTranscribeMedicalText\r\n\r\nTranscribeMedicalTranslation\r\n\r\nAdobeMetadata\r\n\r\nAdobeMetadataText\r\n\r\nImageExif\r\n\r\nTextractImageDetectText\r\n\r\nAdSegments\r\n\r\nVmap\r\n\r\nVast\r\n\r\nMediaTailorVideo\r\n\r\nTranscribeSrt\r\n\r\nTranscribeRaw\r\n\r\nSubtitles\r\n\r\nVizRtMetadata\r\n\r\nProcessorJobs\r\n\r\nOfficeDocument\r\n\r\nTranscriptionContainer\r\n\r\nComprehendSentiment\r\n\r\nComprehendLanguage\r\n\r\nOriginalSourceVideo\r\n\r\nImportManifest\r\n\r\nTranscribeScc\r\n\r\nTranscribeTtml\r\n\r\nTranscribeDfxp\r\n\r\nTranscribeSmptett\r\n\r\nTranscribeXml\r\n\r\nTranscribeQt\r\n\r\nTranscribeRt\r\n\r\nTranscribeSsa\r\n\r\nTranscribeAss\r\n\r\nTranscribeSbv\r\n\r\nTranscribeSmi\r\n\r\nTranscribeSami\r\n\r\nTranscribeStl\r\n\r\nTranscribeSub\r\n\r\nAssociatedAsset\r\n\r\nMobiusLabsImageLabels\r\n\r\nMobiusLabsVideoLabels",
"nullable": true
}
@@ -2262,15 +2448,19 @@
"format": "uuid"
},
"thumbnailImage": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"archiveFolderAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"archivePrefixes": {
@@ -2300,9 +2490,11 @@
"nullable": true
},
"outputType": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"outputScreenshots": {
@@ -2348,15 +2540,19 @@
"nullable": true
},
"thumbnailImage": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"archiveFolderAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"channelId": {
@@ -2364,27 +2560,35 @@
"nullable": true
},
"type": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"outputType": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"status": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"recordingStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"statusMessage": {
@@ -2397,21 +2601,27 @@
"nullable": true
},
"inputMaximumBitrate": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"inputResolution": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"inputCodec": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"outputLiveVideoUrl": {
@@ -2502,9 +2712,11 @@
"nullable": true
},
"thumbnailImage": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"externalUrl": {
@@ -2512,9 +2724,11 @@
"nullable": true
},
"archiveFolderAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"archivePrefixes": {
@@ -2525,15 +2739,19 @@
"nullable": true
},
"type": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"outputType": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"outputProfiles": {
@@ -2630,9 +2848,11 @@
"nullable": true
},
"status": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"statusMessage": {
@@ -2640,9 +2860,11 @@
"nullable": true
},
"type": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"thumbnailUrl": {
@@ -2650,9 +2872,11 @@
"nullable": true
},
"videoAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"destinations": {
@@ -2706,18 +2930,22 @@
"nullable": true
},
"type": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"isStandard": {
"type": "boolean"
},
"videoAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"destinations": {
@@ -2752,35 +2980,54 @@
"nullable": true
},
"liveOperatorStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/LiveOperatorStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LiveOperatorStatuses"
+ }
+ ],
"description": "\r\n\r\nPreRoll\r\n\r\nRunning\r\n\r\nCreatingSegment\r\n\r\nError\r\n\r\nPostRoll\r\n\r\nStarting\r\n\r\nStopping\r\n\r\nStopped",
- "x-enumNames": ["PreRoll", "Running", "CreatingSegment", "Error", "PostRoll", "Starting", "Stopping", "Stopped"]
+ "x-enumNames": [
+ "PreRoll",
+ "Running",
+ "CreatingSegment",
+ "Error",
+ "PostRoll",
+ "Starting",
+ "Stopping",
+ "Stopped"
+ ]
},
"liveChannelType": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveRecordingStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveOperatorMode": {
- "allOf": [{
- "$ref": "#/components/schemas/LiveOperatorModes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LiveOperatorModes"
+ }
+ ],
"description": "\r\n\r\nManual\r\n\r\nIVS\r\n\r\nMediaLive\r\n\r\nRealtime",
"x-enumNames": ["Manual", "IVS", "MediaLive", "Realtime"]
},
"liveChannel": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"startRecordingTime": {
@@ -2789,9 +3036,11 @@
"nullable": true
},
"liveInput": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"segmentStartTime": {
@@ -2808,15 +3057,19 @@
"nullable": true
},
"preRollAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"postRollAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"tags": {
@@ -2954,9 +3207,11 @@
"format": "uuid"
},
"thumbnail": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"startOffsetTimeCode": {
@@ -2976,21 +3231,27 @@
"type": "boolean"
},
"asset": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveInput": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveInput2": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
}
},
@@ -3041,33 +3302,43 @@
"type": "boolean"
},
"type": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"asset": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveInput": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveInput2": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"status": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"statusMessage": {
@@ -3122,33 +3393,43 @@
"type": "boolean"
},
"thumbnail": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"type": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"asset": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveInput": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveInput2": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
}
},
@@ -3261,10 +3542,30 @@
"additionalProperties": false
},
"LoginResponseStatuses": {
- "enum": ["TwoFactorSetupRequired", "TwoFactorCodeRequired", "IsDisabled", "IsPendingEmailConfirmation", "IsPendingNewAccountSignup", "IsPendingAccountMigrationSignup", "IsPendingNewPassword", "IsExpired", "IsPendingInvitation"],
+ "enum": [
+ "TwoFactorSetupRequired",
+ "TwoFactorCodeRequired",
+ "IsDisabled",
+ "IsPendingEmailConfirmation",
+ "IsPendingNewAccountSignup",
+ "IsPendingAccountMigrationSignup",
+ "IsPendingNewPassword",
+ "IsExpired",
+ "IsPendingInvitation"
+ ],
"type": "string",
"description": "\r\n\r\nTwoFactorSetupRequired\r\n\r\nTwoFactorCodeRequired\r\n\r\nIsDisabled\r\n\r\nIsPendingEmailConfirmation\r\n\r\nIsPendingNewAccountSignup\r\n\r\nIsPendingAccountMigrationSignup\r\n\r\nIsPendingNewPassword\r\n\r\nIsExpired\r\n\r\nIsPendingInvitation",
- "x-enumNames": ["TwoFactorSetupRequired", "TwoFactorCodeRequired", "IsDisabled", "IsPendingEmailConfirmation", "IsPendingNewAccountSignup", "IsPendingAccountMigrationSignup", "IsPendingNewPassword", "IsExpired", "IsPendingInvitation"]
+ "x-enumNames": [
+ "TwoFactorSetupRequired",
+ "TwoFactorCodeRequired",
+ "IsDisabled",
+ "IsPendingEmailConfirmation",
+ "IsPendingNewAccountSignup",
+ "IsPendingAccountMigrationSignup",
+ "IsPendingNewPassword",
+ "IsExpired",
+ "IsPendingInvitation"
+ ]
},
"LogoutRequestModel": {
"type": "object",
@@ -3359,16 +3660,386 @@
"additionalProperties": false
},
"LookupTypes": {
- "enum": ["PageTemplates", "Fields", "LookupTypes", "ContentTemplates", "ContentDefinitions", "ContentTypes", "ContentDefinitionGroups", "WorkflowStatuses", "DataSelectorContentDefinitions", "Content", "TemplatePacks", "PopularTags", "AllTags", "PropertyValues", "MediaTypes", "AssetTypes", "ContentFields", "FormSelectorContentDefinitions", "CustomRenderers", "ConstantContactCampaigns", "Languages", "SecurityGroups", "Collections", "Permissions", "CustomLabelerTypes", "CustomLabelerStatuses", "Labels", "Users", "MeetingSources", "LiveScheduleEventStatuses", "LiveScheduleEventTypes", "LiveChannelStatuses", "LiveInputCodecs", "LiveInputMaximumBitrates", "LiveInputResolutions", "LiveInputStatuses", "LiveInputTypes", "NodeTypes", "LiveChannelTypes", "LiveOutputProfiles", "LiveOutputTypes", "Roles", "NewsSystems", "NprProfileTypes", "PaymentStatuses", "PingStatuses", "PropertyValueTypes", "ScheduleItemSearchTypes", "ScheduleItemSourceTypes", "ScheduleItemTypes", "ScheduleStatuses", "ScheduleTypes", "SecurityPermissions", "StorageClasses", "SubtitleTypes", "SubtitleValueTypes", "TextEntityTypes", "UploadOverwriteOptions", "UserSessionStatuses", "VideoSegmentTypes", "LiveOperatorModes", "VideoTrackingEvents", "BatchActionProcessorExecutionTypes", "VideoTrackingAttributes", "ContentSecurityAttributes", "TemplatePackTypes", "AdServerTypes", "AdSlotTypes", "AssetRestoreTiers", "AssetStatuses", "BatchActions", "BucketTypes", "CloudFrontDistributions", "ContentAttributes", "ContentLanguageStatuses", "ContentTextTypes", "ContentUnitOfWorkActions", "DataFilterFieldOperators", "DataIndexTypes", "DataJoinFilterFieldClauses", "DataPatchTypes", "DataSortHeading", "EmailTypes", "EndPointSystems", "FaceMatchTypes", "FeaturedContentTypes", "ImageTypes", "IvsChannelTypes", "IvsLatencyTypes", "JobProcessorActions", "LiveOperatorStatuses", "LiveRequestActions", "LiveRequestTargets", "LoginResponseStatuses", "MediaConvertTypes", "MessageInfoTypes", "MetadataTypes", "ModelContainerModes", "DayOfWeek", "VideoTrackingActions", "FrameIngestActions", "ArchivePrefixTypes", "LiveRecordingStatuses", "VideoTrackingStatuses", "VideoTrackingAlertStatuses"],
+ "enum": [
+ "PageTemplates",
+ "Fields",
+ "LookupTypes",
+ "ContentTemplates",
+ "ContentDefinitions",
+ "ContentTypes",
+ "ContentDefinitionGroups",
+ "WorkflowStatuses",
+ "DataSelectorContentDefinitions",
+ "Content",
+ "TemplatePacks",
+ "PopularTags",
+ "AllTags",
+ "PropertyValues",
+ "MediaTypes",
+ "AssetTypes",
+ "ContentFields",
+ "FormSelectorContentDefinitions",
+ "CustomRenderers",
+ "ConstantContactCampaigns",
+ "Languages",
+ "SecurityGroups",
+ "Collections",
+ "Permissions",
+ "CustomLabelerTypes",
+ "CustomLabelerStatuses",
+ "Labels",
+ "Users",
+ "MeetingSources",
+ "LiveScheduleEventStatuses",
+ "LiveScheduleEventTypes",
+ "LiveChannelStatuses",
+ "LiveInputCodecs",
+ "LiveInputMaximumBitrates",
+ "LiveInputResolutions",
+ "LiveInputStatuses",
+ "LiveInputTypes",
+ "NodeTypes",
+ "LiveChannelTypes",
+ "LiveOutputProfiles",
+ "LiveOutputTypes",
+ "Roles",
+ "NewsSystems",
+ "NprProfileTypes",
+ "PaymentStatuses",
+ "PingStatuses",
+ "PropertyValueTypes",
+ "ScheduleItemSearchTypes",
+ "ScheduleItemSourceTypes",
+ "ScheduleItemTypes",
+ "ScheduleStatuses",
+ "ScheduleTypes",
+ "SecurityPermissions",
+ "StorageClasses",
+ "SubtitleTypes",
+ "SubtitleValueTypes",
+ "TextEntityTypes",
+ "UploadOverwriteOptions",
+ "UserSessionStatuses",
+ "VideoSegmentTypes",
+ "LiveOperatorModes",
+ "VideoTrackingEvents",
+ "BatchActionProcessorExecutionTypes",
+ "VideoTrackingAttributes",
+ "ContentSecurityAttributes",
+ "TemplatePackTypes",
+ "AdServerTypes",
+ "AdSlotTypes",
+ "AssetRestoreTiers",
+ "AssetStatuses",
+ "BatchActions",
+ "BucketTypes",
+ "CloudFrontDistributions",
+ "ContentAttributes",
+ "ContentLanguageStatuses",
+ "ContentTextTypes",
+ "ContentUnitOfWorkActions",
+ "DataFilterFieldOperators",
+ "DataIndexTypes",
+ "DataJoinFilterFieldClauses",
+ "DataPatchTypes",
+ "DataSortHeading",
+ "EmailTypes",
+ "EndPointSystems",
+ "FaceMatchTypes",
+ "FeaturedContentTypes",
+ "ImageTypes",
+ "IvsChannelTypes",
+ "IvsLatencyTypes",
+ "JobProcessorActions",
+ "LiveOperatorStatuses",
+ "LiveRequestActions",
+ "LiveRequestTargets",
+ "LoginResponseStatuses",
+ "MediaConvertTypes",
+ "MessageInfoTypes",
+ "MetadataTypes",
+ "ModelContainerModes",
+ "DayOfWeek",
+ "VideoTrackingActions",
+ "FrameIngestActions",
+ "ArchivePrefixTypes",
+ "LiveRecordingStatuses",
+ "VideoTrackingStatuses",
+ "VideoTrackingAlertStatuses"
+ ],
"type": "string",
"description": "\r\n\r\nPageTemplates\r\n\r\nFields\r\n\r\nLookupTypes\r\n\r\nContentTemplates\r\n\r\nContentDefinitions\r\n\r\nContentTypes\r\n\r\nContentDefinitionGroups\r\n\r\nWorkflowStatuses\r\n\r\nDataSelectorContentDefinitions\r\n\r\nContent\r\n\r\nTemplatePacks\r\n\r\nPopularTags\r\n\r\nAllTags\r\n\r\nPropertyValues\r\n\r\nMediaTypes\r\n\r\nAssetTypes\r\n\r\nContentFields\r\n\r\nFormSelectorContentDefinitions\r\n\r\nCustomRenderers\r\n\r\nConstantContactCampaigns\r\n\r\nLanguages\r\n\r\nSecurityGroups\r\n\r\nCollections\r\n\r\nPermissions\r\n\r\nCustomLabelerTypes\r\n\r\nCustomLabelerStatuses\r\n\r\nLabels\r\n\r\nUsers\r\n\r\nMeetingSources\r\n\r\nLiveScheduleEventStatuses\r\n\r\nLiveScheduleEventTypes\r\n\r\nLiveChannelStatuses\r\n\r\nLiveInputCodecs\r\n\r\nLiveInputMaximumBitrates\r\n\r\nLiveInputResolutions\r\n\r\nLiveInputStatuses\r\n\r\nLiveInputTypes\r\n\r\nNodeTypes\r\n\r\nLiveChannelTypes\r\n\r\nLiveOutputProfiles\r\n\r\nLiveOutputTypes\r\n\r\nRoles\r\n\r\nNewsSystems\r\n\r\nNprProfileTypes\r\n\r\nPaymentStatuses\r\n\r\nPingStatuses\r\n\r\nPropertyValueTypes\r\n\r\nScheduleItemSearchTypes\r\n\r\nScheduleItemSourceTypes\r\n\r\nScheduleItemTypes\r\n\r\nScheduleStatuses\r\n\r\nScheduleTypes\r\n\r\nSecurityPermissions\r\n\r\nStorageClasses\r\n\r\nSubtitleTypes\r\n\r\nSubtitleValueTypes\r\n\r\nTextEntityTypes\r\n\r\nUploadOverwriteOptions\r\n\r\nUserSessionStatuses\r\n\r\nVideoSegmentTypes\r\n\r\nLiveOperatorModes\r\n\r\nVideoTrackingEvents\r\n\r\nBatchActionProcessorExecutionTypes\r\n\r\nVideoTrackingAttributes\r\n\r\nContentSecurityAttributes\r\n\r\nTemplatePackTypes\r\n\r\nAdServerTypes\r\n\r\nAdSlotTypes\r\n\r\nAssetRestoreTiers\r\n\r\nAssetStatuses\r\n\r\nBatchActions\r\n\r\nBucketTypes\r\n\r\nCloudFrontDistributions\r\n\r\nContentAttributes\r\n\r\nContentLanguageStatuses\r\n\r\nContentTextTypes\r\n\r\nContentUnitOfWorkActions\r\n\r\nDataFilterFieldOperators\r\n\r\nDataIndexTypes\r\n\r\nDataJoinFilterFieldClauses\r\n\r\nDataPatchTypes\r\n\r\nDataSortHeading\r\n\r\nEmailTypes\r\n\r\nEndPointSystems\r\n\r\nFaceMatchTypes\r\n\r\nFeaturedContentTypes\r\n\r\nImageTypes\r\n\r\nIvsChannelTypes\r\n\r\nIvsLatencyTypes\r\n\r\nJobProcessorActions\r\n\r\nLiveOperatorStatuses\r\n\r\nLiveRequestActions\r\n\r\nLiveRequestTargets\r\n\r\nLoginResponseStatuses\r\n\r\nMediaConvertTypes\r\n\r\nMessageInfoTypes\r\n\r\nMetadataTypes\r\n\r\nModelContainerModes\r\n\r\nDayOfWeek\r\n\r\nVideoTrackingActions\r\n\r\nFrameIngestActions\r\n\r\nArchivePrefixTypes\r\n\r\nLiveRecordingStatuses\r\n\r\nVideoTrackingStatuses\r\n\r\nVideoTrackingAlertStatuses",
- "x-enumNames": ["PageTemplates", "Fields", "LookupTypes", "ContentTemplates", "ContentDefinitions", "ContentTypes", "ContentDefinitionGroups", "WorkflowStatuses", "DataSelectorContentDefinitions", "Content", "TemplatePacks", "PopularTags", "AllTags", "PropertyValues", "MediaTypes", "AssetTypes", "ContentFields", "FormSelectorContentDefinitions", "CustomRenderers", "ConstantContactCampaigns", "Languages", "SecurityGroups", "Collections", "Permissions", "CustomLabelerTypes", "CustomLabelerStatuses", "Labels", "Users", "MeetingSources", "LiveScheduleEventStatuses", "LiveScheduleEventTypes", "LiveChannelStatuses", "LiveInputCodecs", "LiveInputMaximumBitrates", "LiveInputResolutions", "LiveInputStatuses", "LiveInputTypes", "NodeTypes", "LiveChannelTypes", "LiveOutputProfiles", "LiveOutputTypes", "Roles", "NewsSystems", "NprProfileTypes", "PaymentStatuses", "PingStatuses", "PropertyValueTypes", "ScheduleItemSearchTypes", "ScheduleItemSourceTypes", "ScheduleItemTypes", "ScheduleStatuses", "ScheduleTypes", "SecurityPermissions", "StorageClasses", "SubtitleTypes", "SubtitleValueTypes", "TextEntityTypes", "UploadOverwriteOptions", "UserSessionStatuses", "VideoSegmentTypes", "LiveOperatorModes", "VideoTrackingEvents", "BatchActionProcessorExecutionTypes", "VideoTrackingAttributes", "ContentSecurityAttributes", "TemplatePackTypes", "AdServerTypes", "AdSlotTypes", "AssetRestoreTiers", "AssetStatuses", "BatchActions", "BucketTypes", "CloudFrontDistributions", "ContentAttributes", "ContentLanguageStatuses", "ContentTextTypes", "ContentUnitOfWorkActions", "DataFilterFieldOperators", "DataIndexTypes", "DataJoinFilterFieldClauses", "DataPatchTypes", "DataSortHeading", "EmailTypes", "EndPointSystems", "FaceMatchTypes", "FeaturedContentTypes", "ImageTypes", "IvsChannelTypes", "IvsLatencyTypes", "JobProcessorActions", "LiveOperatorStatuses", "LiveRequestActions", "LiveRequestTargets", "LoginResponseStatuses", "MediaConvertTypes", "MessageInfoTypes", "MetadataTypes", "ModelContainerModes", "DayOfWeek", "VideoTrackingActions", "FrameIngestActions", "ArchivePrefixTypes", "LiveRecordingStatuses", "VideoTrackingStatuses", "VideoTrackingAlertStatuses"]
+ "x-enumNames": [
+ "PageTemplates",
+ "Fields",
+ "LookupTypes",
+ "ContentTemplates",
+ "ContentDefinitions",
+ "ContentTypes",
+ "ContentDefinitionGroups",
+ "WorkflowStatuses",
+ "DataSelectorContentDefinitions",
+ "Content",
+ "TemplatePacks",
+ "PopularTags",
+ "AllTags",
+ "PropertyValues",
+ "MediaTypes",
+ "AssetTypes",
+ "ContentFields",
+ "FormSelectorContentDefinitions",
+ "CustomRenderers",
+ "ConstantContactCampaigns",
+ "Languages",
+ "SecurityGroups",
+ "Collections",
+ "Permissions",
+ "CustomLabelerTypes",
+ "CustomLabelerStatuses",
+ "Labels",
+ "Users",
+ "MeetingSources",
+ "LiveScheduleEventStatuses",
+ "LiveScheduleEventTypes",
+ "LiveChannelStatuses",
+ "LiveInputCodecs",
+ "LiveInputMaximumBitrates",
+ "LiveInputResolutions",
+ "LiveInputStatuses",
+ "LiveInputTypes",
+ "NodeTypes",
+ "LiveChannelTypes",
+ "LiveOutputProfiles",
+ "LiveOutputTypes",
+ "Roles",
+ "NewsSystems",
+ "NprProfileTypes",
+ "PaymentStatuses",
+ "PingStatuses",
+ "PropertyValueTypes",
+ "ScheduleItemSearchTypes",
+ "ScheduleItemSourceTypes",
+ "ScheduleItemTypes",
+ "ScheduleStatuses",
+ "ScheduleTypes",
+ "SecurityPermissions",
+ "StorageClasses",
+ "SubtitleTypes",
+ "SubtitleValueTypes",
+ "TextEntityTypes",
+ "UploadOverwriteOptions",
+ "UserSessionStatuses",
+ "VideoSegmentTypes",
+ "LiveOperatorModes",
+ "VideoTrackingEvents",
+ "BatchActionProcessorExecutionTypes",
+ "VideoTrackingAttributes",
+ "ContentSecurityAttributes",
+ "TemplatePackTypes",
+ "AdServerTypes",
+ "AdSlotTypes",
+ "AssetRestoreTiers",
+ "AssetStatuses",
+ "BatchActions",
+ "BucketTypes",
+ "CloudFrontDistributions",
+ "ContentAttributes",
+ "ContentLanguageStatuses",
+ "ContentTextTypes",
+ "ContentUnitOfWorkActions",
+ "DataFilterFieldOperators",
+ "DataIndexTypes",
+ "DataJoinFilterFieldClauses",
+ "DataPatchTypes",
+ "DataSortHeading",
+ "EmailTypes",
+ "EndPointSystems",
+ "FaceMatchTypes",
+ "FeaturedContentTypes",
+ "ImageTypes",
+ "IvsChannelTypes",
+ "IvsLatencyTypes",
+ "JobProcessorActions",
+ "LiveOperatorStatuses",
+ "LiveRequestActions",
+ "LiveRequestTargets",
+ "LoginResponseStatuses",
+ "MediaConvertTypes",
+ "MessageInfoTypes",
+ "MetadataTypes",
+ "ModelContainerModes",
+ "DayOfWeek",
+ "VideoTrackingActions",
+ "FrameIngestActions",
+ "ArchivePrefixTypes",
+ "LiveRecordingStatuses",
+ "VideoTrackingStatuses",
+ "VideoTrackingAlertStatuses"
+ ]
},
"MetadataTypes": {
- "enum": ["DocumentContent", "ComprehendKeyPhrases", "ComprehendEntities", "RekognitionImageIndexFaces", "RekognitionImageSearchFaces", "RekognitionImageLabels", "RekognitionImageCelebrityRecognition", "RekognitionVideoLabels", "TextractAnalyzeDocument", "Transcribe", "TranscribeVtt", "TranscribeTranslation", "TranscribeVttTranslation", "RekognitionVideoCelebrityRecognition", "RekognitionVideoPersonTracking", "RekognitionVideoFaceDetection", "ImageInfo", "Transcode", "Clip", "MediaInfo", "RekognitionImageDetectText", "RekognitionImageUnsafeContent", "RekognitionVideoUnsafeContent", "Screenshot", "SageMakerGroundTruthLabelResults", "ThumbnailSheet", "ThumbnailImage", "SageMakerInvokeEndpointResults", "SageMakerModelLabels", "RekognitionImageCustomLabels", "SageMakerManifest", "PreviewImage", "RekognitionVideoTextDetection", "RekognitionVideoSegmentDetection", "NomadVideoSegmentDetection", "TranscribeMedical", "PreviewAudio", "Text", "AssetManifest", "IntervalSegments", "TranscribeMedicalText", "TranscribeMedicalTranslation", "AdobeMetadata", "AdobeMetadataText", "ImageExif", "TextractImageDetectText", "AdSegments", "Vmap", "Vast", "MediaTailorVideo", "TranscribeSrt", "TranscribeRaw", "Subtitles", "VizRtMetadata", "ProcessorJobs", "OfficeDocument", "TranscriptionContainer", "ComprehendSentiment", "ComprehendLanguage", "OriginalSourceVideo", "ImportManifest", "TranscribeScc", "TranscribeTtml", "TranscribeDfxp", "TranscribeSmptett", "TranscribeXml", "TranscribeQt", "TranscribeRt", "TranscribeSsa", "TranscribeAss", "TranscribeSbv", "TranscribeSmi", "TranscribeSami", "TranscribeStl", "TranscribeSub", "AssociatedAsset", "MobiusLabsImageLabels", "MobiusLabsVideoLabels"],
+ "enum": [
+ "DocumentContent",
+ "ComprehendKeyPhrases",
+ "ComprehendEntities",
+ "RekognitionImageIndexFaces",
+ "RekognitionImageSearchFaces",
+ "RekognitionImageLabels",
+ "RekognitionImageCelebrityRecognition",
+ "RekognitionVideoLabels",
+ "TextractAnalyzeDocument",
+ "Transcribe",
+ "TranscribeVtt",
+ "TranscribeTranslation",
+ "TranscribeVttTranslation",
+ "RekognitionVideoCelebrityRecognition",
+ "RekognitionVideoPersonTracking",
+ "RekognitionVideoFaceDetection",
+ "ImageInfo",
+ "Transcode",
+ "Clip",
+ "MediaInfo",
+ "RekognitionImageDetectText",
+ "RekognitionImageUnsafeContent",
+ "RekognitionVideoUnsafeContent",
+ "Screenshot",
+ "SageMakerGroundTruthLabelResults",
+ "ThumbnailSheet",
+ "ThumbnailImage",
+ "SageMakerInvokeEndpointResults",
+ "SageMakerModelLabels",
+ "RekognitionImageCustomLabels",
+ "SageMakerManifest",
+ "PreviewImage",
+ "RekognitionVideoTextDetection",
+ "RekognitionVideoSegmentDetection",
+ "NomadVideoSegmentDetection",
+ "TranscribeMedical",
+ "PreviewAudio",
+ "Text",
+ "AssetManifest",
+ "IntervalSegments",
+ "TranscribeMedicalText",
+ "TranscribeMedicalTranslation",
+ "AdobeMetadata",
+ "AdobeMetadataText",
+ "ImageExif",
+ "TextractImageDetectText",
+ "AdSegments",
+ "Vmap",
+ "Vast",
+ "MediaTailorVideo",
+ "TranscribeSrt",
+ "TranscribeRaw",
+ "Subtitles",
+ "VizRtMetadata",
+ "ProcessorJobs",
+ "OfficeDocument",
+ "TranscriptionContainer",
+ "ComprehendSentiment",
+ "ComprehendLanguage",
+ "OriginalSourceVideo",
+ "ImportManifest",
+ "TranscribeScc",
+ "TranscribeTtml",
+ "TranscribeDfxp",
+ "TranscribeSmptett",
+ "TranscribeXml",
+ "TranscribeQt",
+ "TranscribeRt",
+ "TranscribeSsa",
+ "TranscribeAss",
+ "TranscribeSbv",
+ "TranscribeSmi",
+ "TranscribeSami",
+ "TranscribeStl",
+ "TranscribeSub",
+ "AssociatedAsset",
+ "MobiusLabsImageLabels",
+ "MobiusLabsVideoLabels"
+ ],
"type": "string",
"description": "Note that this is a PARTIAL list of types that we need to know about\r\n\r\nDocumentContent\r\n\r\nComprehendKeyPhrases\r\n\r\nComprehendEntities\r\n\r\nRekognitionImageIndexFaces\r\n\r\nRekognitionImageSearchFaces\r\n\r\nRekognitionImageLabels\r\n\r\nRekognitionImageCelebrityRecognition\r\n\r\nRekognitionVideoLabels\r\n\r\nTextractAnalyzeDocument\r\n\r\nTranscribe\r\n\r\nTranscribeVtt\r\n\r\nTranscribeTranslation\r\n\r\nTranscribeVttTranslation\r\n\r\nRekognitionVideoCelebrityRecognition\r\n\r\nRekognitionVideoPersonTracking\r\n\r\nRekognitionVideoFaceDetection\r\n\r\nImageInfo\r\n\r\nTranscode\r\n\r\nClip\r\n\r\nMediaInfo\r\n\r\nRekognitionImageDetectText\r\n\r\nRekognitionImageUnsafeContent\r\n\r\nRekognitionVideoUnsafeContent\r\n\r\nScreenshot\r\n\r\nSageMakerGroundTruthLabelResults\r\n\r\nThumbnailSheet\r\n\r\nThumbnailImage\r\n\r\nSageMakerInvokeEndpointResults\r\n\r\nSageMakerModelLabels\r\n\r\nRekognitionImageCustomLabels\r\n\r\nSageMakerManifest\r\n\r\nPreviewImage\r\n\r\nRekognitionVideoTextDetection\r\n\r\nRekognitionVideoSegmentDetection\r\n\r\nNomadVideoSegmentDetection\r\n\r\nTranscribeMedical\r\n\r\nPreviewAudio\r\n\r\nText\r\n\r\nAssetManifest\r\n\r\nIntervalSegments\r\n\r\nTranscribeMedicalText\r\n\r\nTranscribeMedicalTranslation\r\n\r\nAdobeMetadata\r\n\r\nAdobeMetadataText\r\n\r\nImageExif\r\n\r\nTextractImageDetectText\r\n\r\nAdSegments\r\n\r\nVmap\r\n\r\nVast\r\n\r\nMediaTailorVideo\r\n\r\nTranscribeSrt\r\n\r\nTranscribeRaw\r\n\r\nSubtitles\r\n\r\nVizRtMetadata\r\n\r\nProcessorJobs\r\n\r\nOfficeDocument\r\n\r\nTranscriptionContainer\r\n\r\nComprehendSentiment\r\n\r\nComprehendLanguage\r\n\r\nOriginalSourceVideo\r\n\r\nImportManifest\r\n\r\nTranscribeScc\r\n\r\nTranscribeTtml\r\n\r\nTranscribeDfxp\r\n\r\nTranscribeSmptett\r\n\r\nTranscribeXml\r\n\r\nTranscribeQt\r\n\r\nTranscribeRt\r\n\r\nTranscribeSsa\r\n\r\nTranscribeAss\r\n\r\nTranscribeSbv\r\n\r\nTranscribeSmi\r\n\r\nTranscribeSami\r\n\r\nTranscribeStl\r\n\r\nTranscribeSub\r\n\r\nAssociatedAsset\r\n\r\nMobiusLabsImageLabels\r\n\r\nMobiusLabsVideoLabels",
- "x-enumNames": ["DocumentContent", "ComprehendKeyPhrases", "ComprehendEntities", "RekognitionImageIndexFaces", "RekognitionImageSearchFaces", "RekognitionImageLabels", "RekognitionImageCelebrityRecognition", "RekognitionVideoLabels", "TextractAnalyzeDocument", "Transcribe", "TranscribeVtt", "TranscribeTranslation", "TranscribeVttTranslation", "RekognitionVideoCelebrityRecognition", "RekognitionVideoPersonTracking", "RekognitionVideoFaceDetection", "ImageInfo", "Transcode", "Clip", "MediaInfo", "RekognitionImageDetectText", "RekognitionImageUnsafeContent", "RekognitionVideoUnsafeContent", "Screenshot", "SageMakerGroundTruthLabelResults", "ThumbnailSheet", "ThumbnailImage", "SageMakerInvokeEndpointResults", "SageMakerModelLabels", "RekognitionImageCustomLabels", "SageMakerManifest", "PreviewImage", "RekognitionVideoTextDetection", "RekognitionVideoSegmentDetection", "NomadVideoSegmentDetection", "TranscribeMedical", "PreviewAudio", "Text", "AssetManifest", "IntervalSegments", "TranscribeMedicalText", "TranscribeMedicalTranslation", "AdobeMetadata", "AdobeMetadataText", "ImageExif", "TextractImageDetectText", "AdSegments", "Vmap", "Vast", "MediaTailorVideo", "TranscribeSrt", "TranscribeRaw", "Subtitles", "VizRtMetadata", "ProcessorJobs", "OfficeDocument", "TranscriptionContainer", "ComprehendSentiment", "ComprehendLanguage", "OriginalSourceVideo", "ImportManifest", "TranscribeScc", "TranscribeTtml", "TranscribeDfxp", "TranscribeSmptett", "TranscribeXml", "TranscribeQt", "TranscribeRt", "TranscribeSsa", "TranscribeAss", "TranscribeSbv", "TranscribeSmi", "TranscribeSami", "TranscribeStl", "TranscribeSub", "AssociatedAsset", "MobiusLabsImageLabels", "MobiusLabsVideoLabels"]
+ "x-enumNames": [
+ "DocumentContent",
+ "ComprehendKeyPhrases",
+ "ComprehendEntities",
+ "RekognitionImageIndexFaces",
+ "RekognitionImageSearchFaces",
+ "RekognitionImageLabels",
+ "RekognitionImageCelebrityRecognition",
+ "RekognitionVideoLabels",
+ "TextractAnalyzeDocument",
+ "Transcribe",
+ "TranscribeVtt",
+ "TranscribeTranslation",
+ "TranscribeVttTranslation",
+ "RekognitionVideoCelebrityRecognition",
+ "RekognitionVideoPersonTracking",
+ "RekognitionVideoFaceDetection",
+ "ImageInfo",
+ "Transcode",
+ "Clip",
+ "MediaInfo",
+ "RekognitionImageDetectText",
+ "RekognitionImageUnsafeContent",
+ "RekognitionVideoUnsafeContent",
+ "Screenshot",
+ "SageMakerGroundTruthLabelResults",
+ "ThumbnailSheet",
+ "ThumbnailImage",
+ "SageMakerInvokeEndpointResults",
+ "SageMakerModelLabels",
+ "RekognitionImageCustomLabels",
+ "SageMakerManifest",
+ "PreviewImage",
+ "RekognitionVideoTextDetection",
+ "RekognitionVideoSegmentDetection",
+ "NomadVideoSegmentDetection",
+ "TranscribeMedical",
+ "PreviewAudio",
+ "Text",
+ "AssetManifest",
+ "IntervalSegments",
+ "TranscribeMedicalText",
+ "TranscribeMedicalTranslation",
+ "AdobeMetadata",
+ "AdobeMetadataText",
+ "ImageExif",
+ "TextractImageDetectText",
+ "AdSegments",
+ "Vmap",
+ "Vast",
+ "MediaTailorVideo",
+ "TranscribeSrt",
+ "TranscribeRaw",
+ "Subtitles",
+ "VizRtMetadata",
+ "ProcessorJobs",
+ "OfficeDocument",
+ "TranscriptionContainer",
+ "ComprehendSentiment",
+ "ComprehendLanguage",
+ "OriginalSourceVideo",
+ "ImportManifest",
+ "TranscribeScc",
+ "TranscribeTtml",
+ "TranscribeDfxp",
+ "TranscribeSmptett",
+ "TranscribeXml",
+ "TranscribeQt",
+ "TranscribeRt",
+ "TranscribeSsa",
+ "TranscribeAss",
+ "TranscribeSbv",
+ "TranscribeSmi",
+ "TranscribeSami",
+ "TranscribeStl",
+ "TranscribeSub",
+ "AssociatedAsset",
+ "MobiusLabsImageLabels",
+ "MobiusLabsVideoLabels"
+ ]
},
"MobiusLabsWebhookResponseModel": {
"type": "object",
@@ -3427,9 +4098,11 @@
"format": "int32"
},
"permission": {
- "allOf": [{
- "$ref": "#/components/schemas/Permissions"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Permissions"
+ }
+ ],
"description": "\r\n\r\nRead\r\n\r\nWrite\r\n\r\nDelete\r\n\r\nAdministrator\r\n\r\nGuest",
"x-enumNames": ["Read", "Write", "Delete", "Administrator", "Guest"]
},
@@ -3447,9 +4120,11 @@
"readOnly": true
},
"assetType": {
- "allOf": [{
- "$ref": "#/components/schemas/NodeTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/NodeTypes"
+ }
+ ],
"description": "\r\n\r\nFolder\r\n\r\nFile\r\n\r\nPage\r\n\r\nContentDefinition\r\n\r\nBucket\r\n\r\nCustomLabeler\r\n\r\nCustomLabelerVersion\r\n\r\nScreenshot",
"nullable": true,
"readOnly": true
@@ -3503,10 +4178,28 @@
"additionalProperties": false
},
"NodeTypes": {
- "enum": ["Folder", "File", "Page", "ContentDefinition", "Bucket", "CustomLabeler", "CustomLabelerVersion", "Screenshot"],
+ "enum": [
+ "Folder",
+ "File",
+ "Page",
+ "ContentDefinition",
+ "Bucket",
+ "CustomLabeler",
+ "CustomLabelerVersion",
+ "Screenshot"
+ ],
"type": "string",
"description": "\r\n\r\nFolder\r\n\r\nFile\r\n\r\nPage\r\n\r\nContentDefinition\r\n\r\nBucket\r\n\r\nCustomLabeler\r\n\r\nCustomLabelerVersion\r\n\r\nScreenshot",
- "x-enumNames": ["Folder", "File", "Page", "ContentDefinition", "Bucket", "CustomLabeler", "CustomLabelerVersion", "Screenshot"]
+ "x-enumNames": [
+ "Folder",
+ "File",
+ "Page",
+ "ContentDefinition",
+ "Bucket",
+ "CustomLabeler",
+ "CustomLabelerVersion",
+ "Screenshot"
+ ]
},
"PageModel": {
"type": "object",
@@ -3559,7 +4252,15 @@
"type": "integer",
"description": "\r\n\r\n1 = Page\r\n\r\n2 = PageTemplate\r\n\r\n3 = PageFileTemplate\r\n\r\n4 = Redirect\r\n\r\n5 = PageWithRoute\r\n\r\n6 = PageWithRouteItem\r\n\r\n7 = CustomRenderer",
"format": "int32",
- "x-enumNames": ["Page", "PageTemplate", "PageFileTemplate", "Redirect", "PageWithRoute", "PageWithRouteItem", "CustomRenderer"]
+ "x-enumNames": [
+ "Page",
+ "PageTemplate",
+ "PageFileTemplate",
+ "Redirect",
+ "PageWithRoute",
+ "PageWithRouteItem",
+ "CustomRenderer"
+ ]
},
"Permissions": {
"enum": ["Read", "Write", "Delete", "Administrator", "Guest"],
@@ -3593,9 +4294,11 @@
"format": "double"
},
"boundingBox": {
- "allOf": [{
- "$ref": "#/components/schemas/BoundingBoxModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/BoundingBoxModel"
+ }
+ ],
"nullable": true
},
"rotationCorrection": {
@@ -3806,9 +4509,11 @@
"nullable": true
},
"pingStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/PingStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/PingStatuses"
+ }
+ ],
"description": "\r\n\r\nNormal\r\n\r\nChatDisabled\r\n\r\nAccountExpired\r\n\r\nSessionDeactivated",
"nullable": true
}
@@ -3968,23 +4673,29 @@
"nullable": true
},
"assetStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetStatuses"
+ }
+ ],
"description": "\r\n\r\nAvailable\r\n\r\nRenaming\r\n\r\nCopying\r\n\r\nRestoring\r\n\r\nRegistering\r\n\r\nUploading\r\n\r\nArchiving\r\n\r\nArchived\r\n\r\nPendingArchive\r\n\r\nPendingRestore\r\n\r\nRestored\r\n\r\nDeleting\r\n\r\nMoving\r\n\r\nSlugReplaced\r\n\r\nUpdating\r\n\r\nError\r\n\r\nAssembling\r\n\r\nClipping\r\n\r\nPlaceholder",
"nullable": true
},
"storageClass": {
- "allOf": [{
- "$ref": "#/components/schemas/StorageClasses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/StorageClasses"
+ }
+ ],
"description": "\r\n\r\nStandard\r\n\r\nReducedRedundancy\r\n\r\nGlacier\r\n\r\nStandardInfrequentAccess\r\n\r\nOneZoneInfrequentAccess\r\n\r\nIntelligentTiering\r\n\r\nDeepArchive\r\n\r\nGlacierInstantRetrieval\r\n\r\nOutposts",
"nullable": true
},
"assetType": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetTypes"
+ }
+ ],
"description": "\r\n\r\nFolder\r\n\r\nFile\r\n\r\nBucket",
"nullable": true
},
@@ -4129,21 +4840,27 @@
"nullable": true
},
"asset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"liveChannel": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"scheduleItem": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"startTime": {
@@ -4177,9 +4894,11 @@
"nullable": true
},
"dayId": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
}
},
@@ -4223,15 +4942,19 @@
"nullable": true
},
"asset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"scheduleItemType": {
- "allOf": [{
- "$ref": "#/components/schemas/ScheduleItemTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ScheduleItemTypes"
+ }
+ ],
"description": "\r\n\r\nAsset\r\n\r\nDynamic",
"x-enumNames": ["Asset", "Dynamic"]
},
@@ -4279,40 +5002,52 @@
"nullable": true
},
"playlistSchedule": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"liveChannel": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"defaultVideo": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"thumbnailAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"searchFilterType": {
- "allOf": [{
- "$ref": "#/components/schemas/ScheduleItemSearchTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ScheduleItemSearchTypes"
+ }
+ ],
"description": "\r\n\r\nRandom\r\n\r\nRandomWithinDateRange\r\n\r\nNewest\r\n\r\nNewestNotPlayed",
"nullable": true
},
"sourceType": {
- "allOf": [{
- "$ref": "#/components/schemas/ScheduleItemSourceTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ScheduleItemSourceTypes"
+ }
+ ],
"description": "\r\n\r\nPlaylistSchedule\r\n\r\nSearchFilters\r\n\r\nVideoAsset\r\n\r\nLiveChannel",
"nullable": true
},
@@ -4390,15 +5125,19 @@
"nullable": true
},
"thumbnailAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"scheduleType": {
- "allOf": [{
- "$ref": "#/components/schemas/ScheduleTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ScheduleTypes"
+ }
+ ],
"description": "\r\n\r\nPlaylist\r\n\r\nIntelligentSchedule\r\n\r\nIntelligentPlaylist",
"x-enumNames": ["Playlist", "IntelligentSchedule", "IntelligentPlaylist"]
},
@@ -4407,16 +5146,20 @@
"nullable": true
},
"scheduleStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/ScheduleStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ScheduleStatuses"
+ }
+ ],
"description": "\r\n\r\nNew\r\n\r\nStopped\r\n\r\nStarting\r\n\r\nRunning\r\n\r\nStopping\r\n\r\nError",
"x-enumNames": ["New", "Stopped", "Starting", "Running", "Stopping", "Error"]
},
"status": {
- "allOf": [{
- "$ref": "#/components/schemas/LookupModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LookupModel"
+ }
+ ],
"nullable": true
},
"playBackUrl": {
@@ -4429,9 +5172,11 @@
"nullable": true
},
"defaultVideoAsset": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetReferenceModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetReferenceModel"
+ }
+ ],
"nullable": true
},
"loopPlaylist": {
@@ -4513,11 +5258,22 @@
"nullable": true
},
"operator": {
- "allOf": [{
- "$ref": "#/components/schemas/SearchFilterOperators"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/SearchFilterOperators"
+ }
+ ],
"description": "\r\n\r\n0 = Equals\r\n\r\n1 = NotEquals\r\n\r\n2 = Contains\r\n\r\n3 = NotContains\r\n\r\n4 = LessThan\r\n\r\n5 = GreaterThan\r\n\r\n6 = LessThanEquals\r\n\r\n7 = GreaterThanEquals",
- "x-enumNames": ["Equals", "NotEquals", "Contains", "NotContains", "LessThan", "GreaterThan", "LessThanEquals", "GreaterThanEquals"]
+ "x-enumNames": [
+ "Equals",
+ "NotEquals",
+ "Contains",
+ "NotContains",
+ "LessThan",
+ "GreaterThan",
+ "LessThanEquals",
+ "GreaterThanEquals"
+ ]
},
"includeNull": {
"type": "boolean"
@@ -4533,7 +5289,16 @@
"type": "integer",
"description": "\r\n\r\n0 = Equals\r\n\r\n1 = NotEquals\r\n\r\n2 = Contains\r\n\r\n3 = NotContains\r\n\r\n4 = LessThan\r\n\r\n5 = GreaterThan\r\n\r\n6 = LessThanEquals\r\n\r\n7 = GreaterThanEquals",
"format": "int32",
- "x-enumNames": ["Equals", "NotEquals", "Contains", "NotContains", "LessThan", "GreaterThan", "LessThanEquals", "GreaterThanEquals"]
+ "x-enumNames": [
+ "Equals",
+ "NotEquals",
+ "Contains",
+ "NotContains",
+ "LessThan",
+ "GreaterThan",
+ "LessThanEquals",
+ "GreaterThanEquals"
+ ]
},
"SearchModel": {
"type": "object",
@@ -4561,9 +5326,11 @@
"nullable": true
},
"filterBinder": {
- "allOf": [{
- "$ref": "#/components/schemas/SearchConditionBinders"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/SearchConditionBinders"
+ }
+ ],
"description": "Tells the query engine of the Filters should be applied as an And or an Or (the default is And)\r\n\r\n0 = And\r\n\r\n1 = Or",
"x-enumNames": ["And", "Or"]
},
@@ -4667,16 +5434,20 @@
"type": "boolean"
},
"permission": {
- "allOf": [{
- "$ref": "#/components/schemas/SecurityPermissions"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/SecurityPermissions"
+ }
+ ],
"description": "\r\n\r\nRead\r\n\r\nFileWrite\r\n\r\nFolderWrite\r\n\r\nAdministrator\r\n\r\nGuest",
"nullable": true
},
"contentLanguageStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/ContentLanguageStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ContentLanguageStatuses"
+ }
+ ],
"description": "\r\n\r\nOriginal\r\n\r\nOverride\r\n\r\nAuto",
"x-enumNames": ["Original", "Override", "Auto"]
},
@@ -4685,9 +5456,11 @@
"nullable": true
},
"assetStats": {
- "allOf": [{
- "$ref": "#/components/schemas/AssetStatsModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetStatsModel"
+ }
+ ],
"nullable": true
},
"collections": {
@@ -4726,9 +5499,11 @@
"nullable": true
},
"userContentAttributes": {
- "allOf": [{
- "$ref": "#/components/schemas/UserContentAttributeSummaryModel"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/UserContentAttributeSummaryModel"
+ }
+ ],
"nullable": true
}
},
@@ -4777,9 +5552,11 @@
"nullable": true
},
"sortType": {
- "allOf": [{
- "$ref": "#/components/schemas/SearchSortTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/SearchSortTypes"
+ }
+ ],
"description": "\r\n\r\n0 = Ascending\r\n\r\n1 = Descending",
"x-enumNames": ["Ascending", "Descending"]
},
@@ -4854,10 +5631,30 @@
"additionalProperties": false
},
"StorageClasses": {
- "enum": ["Standard", "ReducedRedundancy", "Glacier", "StandardInfrequentAccess", "OneZoneInfrequentAccess", "IntelligentTiering", "DeepArchive", "GlacierInstantRetrieval", "Outposts"],
+ "enum": [
+ "Standard",
+ "ReducedRedundancy",
+ "Glacier",
+ "StandardInfrequentAccess",
+ "OneZoneInfrequentAccess",
+ "IntelligentTiering",
+ "DeepArchive",
+ "GlacierInstantRetrieval",
+ "Outposts"
+ ],
"type": "string",
"description": "\r\n\r\nStandard\r\n\r\nReducedRedundancy\r\n\r\nGlacier\r\n\r\nStandardInfrequentAccess\r\n\r\nOneZoneInfrequentAccess\r\n\r\nIntelligentTiering\r\n\r\nDeepArchive\r\n\r\nGlacierInstantRetrieval\r\n\r\nOutposts",
- "x-enumNames": ["Standard", "ReducedRedundancy", "Glacier", "StandardInfrequentAccess", "OneZoneInfrequentAccess", "IntelligentTiering", "DeepArchive", "GlacierInstantRetrieval", "Outposts"]
+ "x-enumNames": [
+ "Standard",
+ "ReducedRedundancy",
+ "Glacier",
+ "StandardInfrequentAccess",
+ "OneZoneInfrequentAccess",
+ "IntelligentTiering",
+ "DeepArchive",
+ "GlacierInstantRetrieval",
+ "Outposts"
+ ]
},
"TagContentModel": {
"type": "object",
@@ -4951,11 +5748,32 @@
"nullable": true
},
"contentTextType": {
- "allOf": [{
- "$ref": "#/components/schemas/ContentTextTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ContentTextTypes"
+ }
+ ],
"description": "\r\n\r\nLine\r\n\r\nWord\r\n\r\nPerson\r\n\r\nLocation\r\n\r\nOrganization\r\n\r\nCommercialItem\r\n\r\nEvent\r\n\r\nDate\r\n\r\nQuantity\r\n\r\nTitle\r\n\r\nEntity\r\n\r\nKeyPhrase\r\n\r\nMixedSentiment\r\n\r\nNegativeSentiment\r\n\r\nNeutralSentiment\r\n\r\nPositiveSentiment\r\n\r\nTranscript\r\n\r\nOther",
- "x-enumNames": ["Line", "Word", "Person", "Location", "Organization", "CommercialItem", "Event", "Date", "Quantity", "Title", "Entity", "KeyPhrase", "MixedSentiment", "NegativeSentiment", "NeutralSentiment", "PositiveSentiment", "Transcript", "Other"]
+ "x-enumNames": [
+ "Line",
+ "Word",
+ "Person",
+ "Location",
+ "Organization",
+ "CommercialItem",
+ "Event",
+ "Date",
+ "Quantity",
+ "Title",
+ "Entity",
+ "KeyPhrase",
+ "MixedSentiment",
+ "NegativeSentiment",
+ "NeutralSentiment",
+ "PositiveSentiment",
+ "Transcript",
+ "Other"
+ ]
},
"children": {
"type": "array",
@@ -4965,11 +5783,92 @@
"nullable": true
},
"metadataType": {
- "allOf": [{
- "$ref": "#/components/schemas/MetadataTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/MetadataTypes"
+ }
+ ],
"description": "Note that this is a PARTIAL list of types that we need to know about\r\n\r\nDocumentContent\r\n\r\nComprehendKeyPhrases\r\n\r\nComprehendEntities\r\n\r\nRekognitionImageIndexFaces\r\n\r\nRekognitionImageSearchFaces\r\n\r\nRekognitionImageLabels\r\n\r\nRekognitionImageCelebrityRecognition\r\n\r\nRekognitionVideoLabels\r\n\r\nTextractAnalyzeDocument\r\n\r\nTranscribe\r\n\r\nTranscribeVtt\r\n\r\nTranscribeTranslation\r\n\r\nTranscribeVttTranslation\r\n\r\nRekognitionVideoCelebrityRecognition\r\n\r\nRekognitionVideoPersonTracking\r\n\r\nRekognitionVideoFaceDetection\r\n\r\nImageInfo\r\n\r\nTranscode\r\n\r\nClip\r\n\r\nMediaInfo\r\n\r\nRekognitionImageDetectText\r\n\r\nRekognitionImageUnsafeContent\r\n\r\nRekognitionVideoUnsafeContent\r\n\r\nScreenshot\r\n\r\nSageMakerGroundTruthLabelResults\r\n\r\nThumbnailSheet\r\n\r\nThumbnailImage\r\n\r\nSageMakerInvokeEndpointResults\r\n\r\nSageMakerModelLabels\r\n\r\nRekognitionImageCustomLabels\r\n\r\nSageMakerManifest\r\n\r\nPreviewImage\r\n\r\nRekognitionVideoTextDetection\r\n\r\nRekognitionVideoSegmentDetection\r\n\r\nNomadVideoSegmentDetection\r\n\r\nTranscribeMedical\r\n\r\nPreviewAudio\r\n\r\nText\r\n\r\nAssetManifest\r\n\r\nIntervalSegments\r\n\r\nTranscribeMedicalText\r\n\r\nTranscribeMedicalTranslation\r\n\r\nAdobeMetadata\r\n\r\nAdobeMetadataText\r\n\r\nImageExif\r\n\r\nTextractImageDetectText\r\n\r\nAdSegments\r\n\r\nVmap\r\n\r\nVast\r\n\r\nMediaTailorVideo\r\n\r\nTranscribeSrt\r\n\r\nTranscribeRaw\r\n\r\nSubtitles\r\n\r\nVizRtMetadata\r\n\r\nProcessorJobs\r\n\r\nOfficeDocument\r\n\r\nTranscriptionContainer\r\n\r\nComprehendSentiment\r\n\r\nComprehendLanguage\r\n\r\nOriginalSourceVideo\r\n\r\nImportManifest\r\n\r\nTranscribeScc\r\n\r\nTranscribeTtml\r\n\r\nTranscribeDfxp\r\n\r\nTranscribeSmptett\r\n\r\nTranscribeXml\r\n\r\nTranscribeQt\r\n\r\nTranscribeRt\r\n\r\nTranscribeSsa\r\n\r\nTranscribeAss\r\n\r\nTranscribeSbv\r\n\r\nTranscribeSmi\r\n\r\nTranscribeSami\r\n\r\nTranscribeStl\r\n\r\nTranscribeSub\r\n\r\nAssociatedAsset\r\n\r\nMobiusLabsImageLabels\r\n\r\nMobiusLabsVideoLabels",
- "x-enumNames": ["DocumentContent", "ComprehendKeyPhrases", "ComprehendEntities", "RekognitionImageIndexFaces", "RekognitionImageSearchFaces", "RekognitionImageLabels", "RekognitionImageCelebrityRecognition", "RekognitionVideoLabels", "TextractAnalyzeDocument", "Transcribe", "TranscribeVtt", "TranscribeTranslation", "TranscribeVttTranslation", "RekognitionVideoCelebrityRecognition", "RekognitionVideoPersonTracking", "RekognitionVideoFaceDetection", "ImageInfo", "Transcode", "Clip", "MediaInfo", "RekognitionImageDetectText", "RekognitionImageUnsafeContent", "RekognitionVideoUnsafeContent", "Screenshot", "SageMakerGroundTruthLabelResults", "ThumbnailSheet", "ThumbnailImage", "SageMakerInvokeEndpointResults", "SageMakerModelLabels", "RekognitionImageCustomLabels", "SageMakerManifest", "PreviewImage", "RekognitionVideoTextDetection", "RekognitionVideoSegmentDetection", "NomadVideoSegmentDetection", "TranscribeMedical", "PreviewAudio", "Text", "AssetManifest", "IntervalSegments", "TranscribeMedicalText", "TranscribeMedicalTranslation", "AdobeMetadata", "AdobeMetadataText", "ImageExif", "TextractImageDetectText", "AdSegments", "Vmap", "Vast", "MediaTailorVideo", "TranscribeSrt", "TranscribeRaw", "Subtitles", "VizRtMetadata", "ProcessorJobs", "OfficeDocument", "TranscriptionContainer", "ComprehendSentiment", "ComprehendLanguage", "OriginalSourceVideo", "ImportManifest", "TranscribeScc", "TranscribeTtml", "TranscribeDfxp", "TranscribeSmptett", "TranscribeXml", "TranscribeQt", "TranscribeRt", "TranscribeSsa", "TranscribeAss", "TranscribeSbv", "TranscribeSmi", "TranscribeSami", "TranscribeStl", "TranscribeSub", "AssociatedAsset", "MobiusLabsImageLabels", "MobiusLabsVideoLabels"]
+ "x-enumNames": [
+ "DocumentContent",
+ "ComprehendKeyPhrases",
+ "ComprehendEntities",
+ "RekognitionImageIndexFaces",
+ "RekognitionImageSearchFaces",
+ "RekognitionImageLabels",
+ "RekognitionImageCelebrityRecognition",
+ "RekognitionVideoLabels",
+ "TextractAnalyzeDocument",
+ "Transcribe",
+ "TranscribeVtt",
+ "TranscribeTranslation",
+ "TranscribeVttTranslation",
+ "RekognitionVideoCelebrityRecognition",
+ "RekognitionVideoPersonTracking",
+ "RekognitionVideoFaceDetection",
+ "ImageInfo",
+ "Transcode",
+ "Clip",
+ "MediaInfo",
+ "RekognitionImageDetectText",
+ "RekognitionImageUnsafeContent",
+ "RekognitionVideoUnsafeContent",
+ "Screenshot",
+ "SageMakerGroundTruthLabelResults",
+ "ThumbnailSheet",
+ "ThumbnailImage",
+ "SageMakerInvokeEndpointResults",
+ "SageMakerModelLabels",
+ "RekognitionImageCustomLabels",
+ "SageMakerManifest",
+ "PreviewImage",
+ "RekognitionVideoTextDetection",
+ "RekognitionVideoSegmentDetection",
+ "NomadVideoSegmentDetection",
+ "TranscribeMedical",
+ "PreviewAudio",
+ "Text",
+ "AssetManifest",
+ "IntervalSegments",
+ "TranscribeMedicalText",
+ "TranscribeMedicalTranslation",
+ "AdobeMetadata",
+ "AdobeMetadataText",
+ "ImageExif",
+ "TextractImageDetectText",
+ "AdSegments",
+ "Vmap",
+ "Vast",
+ "MediaTailorVideo",
+ "TranscribeSrt",
+ "TranscribeRaw",
+ "Subtitles",
+ "VizRtMetadata",
+ "ProcessorJobs",
+ "OfficeDocument",
+ "TranscriptionContainer",
+ "ComprehendSentiment",
+ "ComprehendLanguage",
+ "OriginalSourceVideo",
+ "ImportManifest",
+ "TranscribeScc",
+ "TranscribeTtml",
+ "TranscribeDfxp",
+ "TranscribeSmptett",
+ "TranscribeXml",
+ "TranscribeQt",
+ "TranscribeRt",
+ "TranscribeSsa",
+ "TranscribeAss",
+ "TranscribeSbv",
+ "TranscribeSmi",
+ "TranscribeSami",
+ "TranscribeStl",
+ "TranscribeSub",
+ "AssociatedAsset",
+ "MobiusLabsImageLabels",
+ "MobiusLabsVideoLabels"
+ ]
}
},
"additionalProperties": false
@@ -5011,18 +5910,120 @@
"nullable": true
},
"contextTextType": {
- "allOf": [{
- "$ref": "#/components/schemas/ContentTextTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ContentTextTypes"
+ }
+ ],
"description": "\r\n\r\nLine\r\n\r\nWord\r\n\r\nPerson\r\n\r\nLocation\r\n\r\nOrganization\r\n\r\nCommercialItem\r\n\r\nEvent\r\n\r\nDate\r\n\r\nQuantity\r\n\r\nTitle\r\n\r\nEntity\r\n\r\nKeyPhrase\r\n\r\nMixedSentiment\r\n\r\nNegativeSentiment\r\n\r\nNeutralSentiment\r\n\r\nPositiveSentiment\r\n\r\nTranscript\r\n\r\nOther",
- "x-enumNames": ["Line", "Word", "Person", "Location", "Organization", "CommercialItem", "Event", "Date", "Quantity", "Title", "Entity", "KeyPhrase", "MixedSentiment", "NegativeSentiment", "NeutralSentiment", "PositiveSentiment", "Transcript", "Other"]
+ "x-enumNames": [
+ "Line",
+ "Word",
+ "Person",
+ "Location",
+ "Organization",
+ "CommercialItem",
+ "Event",
+ "Date",
+ "Quantity",
+ "Title",
+ "Entity",
+ "KeyPhrase",
+ "MixedSentiment",
+ "NegativeSentiment",
+ "NeutralSentiment",
+ "PositiveSentiment",
+ "Transcript",
+ "Other"
+ ]
},
"metadataType": {
- "allOf": [{
- "$ref": "#/components/schemas/MetadataTypes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/MetadataTypes"
+ }
+ ],
"description": "Note that this is a PARTIAL list of types that we need to know about\r\n\r\nDocumentContent\r\n\r\nComprehendKeyPhrases\r\n\r\nComprehendEntities\r\n\r\nRekognitionImageIndexFaces\r\n\r\nRekognitionImageSearchFaces\r\n\r\nRekognitionImageLabels\r\n\r\nRekognitionImageCelebrityRecognition\r\n\r\nRekognitionVideoLabels\r\n\r\nTextractAnalyzeDocument\r\n\r\nTranscribe\r\n\r\nTranscribeVtt\r\n\r\nTranscribeTranslation\r\n\r\nTranscribeVttTranslation\r\n\r\nRekognitionVideoCelebrityRecognition\r\n\r\nRekognitionVideoPersonTracking\r\n\r\nRekognitionVideoFaceDetection\r\n\r\nImageInfo\r\n\r\nTranscode\r\n\r\nClip\r\n\r\nMediaInfo\r\n\r\nRekognitionImageDetectText\r\n\r\nRekognitionImageUnsafeContent\r\n\r\nRekognitionVideoUnsafeContent\r\n\r\nScreenshot\r\n\r\nSageMakerGroundTruthLabelResults\r\n\r\nThumbnailSheet\r\n\r\nThumbnailImage\r\n\r\nSageMakerInvokeEndpointResults\r\n\r\nSageMakerModelLabels\r\n\r\nRekognitionImageCustomLabels\r\n\r\nSageMakerManifest\r\n\r\nPreviewImage\r\n\r\nRekognitionVideoTextDetection\r\n\r\nRekognitionVideoSegmentDetection\r\n\r\nNomadVideoSegmentDetection\r\n\r\nTranscribeMedical\r\n\r\nPreviewAudio\r\n\r\nText\r\n\r\nAssetManifest\r\n\r\nIntervalSegments\r\n\r\nTranscribeMedicalText\r\n\r\nTranscribeMedicalTranslation\r\n\r\nAdobeMetadata\r\n\r\nAdobeMetadataText\r\n\r\nImageExif\r\n\r\nTextractImageDetectText\r\n\r\nAdSegments\r\n\r\nVmap\r\n\r\nVast\r\n\r\nMediaTailorVideo\r\n\r\nTranscribeSrt\r\n\r\nTranscribeRaw\r\n\r\nSubtitles\r\n\r\nVizRtMetadata\r\n\r\nProcessorJobs\r\n\r\nOfficeDocument\r\n\r\nTranscriptionContainer\r\n\r\nComprehendSentiment\r\n\r\nComprehendLanguage\r\n\r\nOriginalSourceVideo\r\n\r\nImportManifest\r\n\r\nTranscribeScc\r\n\r\nTranscribeTtml\r\n\r\nTranscribeDfxp\r\n\r\nTranscribeSmptett\r\n\r\nTranscribeXml\r\n\r\nTranscribeQt\r\n\r\nTranscribeRt\r\n\r\nTranscribeSsa\r\n\r\nTranscribeAss\r\n\r\nTranscribeSbv\r\n\r\nTranscribeSmi\r\n\r\nTranscribeSami\r\n\r\nTranscribeStl\r\n\r\nTranscribeSub\r\n\r\nAssociatedAsset\r\n\r\nMobiusLabsImageLabels\r\n\r\nMobiusLabsVideoLabels",
- "x-enumNames": ["DocumentContent", "ComprehendKeyPhrases", "ComprehendEntities", "RekognitionImageIndexFaces", "RekognitionImageSearchFaces", "RekognitionImageLabels", "RekognitionImageCelebrityRecognition", "RekognitionVideoLabels", "TextractAnalyzeDocument", "Transcribe", "TranscribeVtt", "TranscribeTranslation", "TranscribeVttTranslation", "RekognitionVideoCelebrityRecognition", "RekognitionVideoPersonTracking", "RekognitionVideoFaceDetection", "ImageInfo", "Transcode", "Clip", "MediaInfo", "RekognitionImageDetectText", "RekognitionImageUnsafeContent", "RekognitionVideoUnsafeContent", "Screenshot", "SageMakerGroundTruthLabelResults", "ThumbnailSheet", "ThumbnailImage", "SageMakerInvokeEndpointResults", "SageMakerModelLabels", "RekognitionImageCustomLabels", "SageMakerManifest", "PreviewImage", "RekognitionVideoTextDetection", "RekognitionVideoSegmentDetection", "NomadVideoSegmentDetection", "TranscribeMedical", "PreviewAudio", "Text", "AssetManifest", "IntervalSegments", "TranscribeMedicalText", "TranscribeMedicalTranslation", "AdobeMetadata", "AdobeMetadataText", "ImageExif", "TextractImageDetectText", "AdSegments", "Vmap", "Vast", "MediaTailorVideo", "TranscribeSrt", "TranscribeRaw", "Subtitles", "VizRtMetadata", "ProcessorJobs", "OfficeDocument", "TranscriptionContainer", "ComprehendSentiment", "ComprehendLanguage", "OriginalSourceVideo", "ImportManifest", "TranscribeScc", "TranscribeTtml", "TranscribeDfxp", "TranscribeSmptett", "TranscribeXml", "TranscribeQt", "TranscribeRt", "TranscribeSsa", "TranscribeAss", "TranscribeSbv", "TranscribeSmi", "TranscribeSami", "TranscribeStl", "TranscribeSub", "AssociatedAsset", "MobiusLabsImageLabels", "MobiusLabsVideoLabels"]
+ "x-enumNames": [
+ "DocumentContent",
+ "ComprehendKeyPhrases",
+ "ComprehendEntities",
+ "RekognitionImageIndexFaces",
+ "RekognitionImageSearchFaces",
+ "RekognitionImageLabels",
+ "RekognitionImageCelebrityRecognition",
+ "RekognitionVideoLabels",
+ "TextractAnalyzeDocument",
+ "Transcribe",
+ "TranscribeVtt",
+ "TranscribeTranslation",
+ "TranscribeVttTranslation",
+ "RekognitionVideoCelebrityRecognition",
+ "RekognitionVideoPersonTracking",
+ "RekognitionVideoFaceDetection",
+ "ImageInfo",
+ "Transcode",
+ "Clip",
+ "MediaInfo",
+ "RekognitionImageDetectText",
+ "RekognitionImageUnsafeContent",
+ "RekognitionVideoUnsafeContent",
+ "Screenshot",
+ "SageMakerGroundTruthLabelResults",
+ "ThumbnailSheet",
+ "ThumbnailImage",
+ "SageMakerInvokeEndpointResults",
+ "SageMakerModelLabels",
+ "RekognitionImageCustomLabels",
+ "SageMakerManifest",
+ "PreviewImage",
+ "RekognitionVideoTextDetection",
+ "RekognitionVideoSegmentDetection",
+ "NomadVideoSegmentDetection",
+ "TranscribeMedical",
+ "PreviewAudio",
+ "Text",
+ "AssetManifest",
+ "IntervalSegments",
+ "TranscribeMedicalText",
+ "TranscribeMedicalTranslation",
+ "AdobeMetadata",
+ "AdobeMetadataText",
+ "ImageExif",
+ "TextractImageDetectText",
+ "AdSegments",
+ "Vmap",
+ "Vast",
+ "MediaTailorVideo",
+ "TranscribeSrt",
+ "TranscribeRaw",
+ "Subtitles",
+ "VizRtMetadata",
+ "ProcessorJobs",
+ "OfficeDocument",
+ "TranscriptionContainer",
+ "ComprehendSentiment",
+ "ComprehendLanguage",
+ "OriginalSourceVideo",
+ "ImportManifest",
+ "TranscribeScc",
+ "TranscribeTtml",
+ "TranscribeDfxp",
+ "TranscribeSmptett",
+ "TranscribeXml",
+ "TranscribeQt",
+ "TranscribeRt",
+ "TranscribeSsa",
+ "TranscribeAss",
+ "TranscribeSbv",
+ "TranscribeSmi",
+ "TranscribeSami",
+ "TranscribeStl",
+ "TranscribeSub",
+ "AssociatedAsset",
+ "MobiusLabsImageLabels",
+ "MobiusLabsVideoLabels"
+ ]
}
},
"additionalProperties": false
@@ -5092,9 +6093,11 @@
"nullable": true
},
"contentSecurityAttribute": {
- "allOf": [{
- "$ref": "#/components/schemas/ContentSecurityAttributes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ContentSecurityAttributes"
+ }
+ ],
"description": "\r\n\r\nUndefined\r\n\r\nGuest\r\n\r\nDemo",
"x-enumNames": ["Undefined", "Guest", "Demo"]
},
@@ -5180,9 +6183,11 @@
"type": "object",
"properties": {
"loginStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/LoginResponseStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LoginResponseStatuses"
+ }
+ ],
"description": "\r\n\r\nTwoFactorSetupRequired\r\n\r\nTwoFactorCodeRequired\r\n\r\nIsDisabled\r\n\r\nIsPendingEmailConfirmation\r\n\r\nIsPendingNewAccountSignup\r\n\r\nIsPendingAccountMigrationSignup\r\n\r\nIsPendingNewPassword\r\n\r\nIsExpired\r\n\r\nIsPendingInvitation",
"nullable": true
}
@@ -5242,11 +6247,22 @@
"format": "date-time"
},
"userSessionStatus": {
- "allOf": [{
- "$ref": "#/components/schemas/UserSessionStatuses"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/UserSessionStatuses"
+ }
+ ],
"description": "\r\n\r\nNormal\r\n\r\nChatDisabled\r\n\r\nSessionReplaced\r\n\r\nDeactivated\r\n\r\nSharedAccess\r\n\r\nPendingInvite\r\n\r\nExpired\r\n\r\nDeletedInvite",
- "x-enumNames": ["Normal", "ChatDisabled", "SessionReplaced", "Deactivated", "SharedAccess", "PendingInvite", "Expired", "DeletedInvite"]
+ "x-enumNames": [
+ "Normal",
+ "ChatDisabled",
+ "SessionReplaced",
+ "Deactivated",
+ "SharedAccess",
+ "PendingInvite",
+ "Expired",
+ "DeletedInvite"
+ ]
},
"userSessionStatusName": {
"type": "string",
@@ -5264,10 +6280,28 @@
"additionalProperties": false
},
"UserSessionStatuses": {
- "enum": ["Normal", "ChatDisabled", "SessionReplaced", "Deactivated", "SharedAccess", "PendingInvite", "Expired", "DeletedInvite"],
+ "enum": [
+ "Normal",
+ "ChatDisabled",
+ "SessionReplaced",
+ "Deactivated",
+ "SharedAccess",
+ "PendingInvite",
+ "Expired",
+ "DeletedInvite"
+ ],
"type": "string",
"description": "\r\n\r\nNormal\r\n\r\nChatDisabled\r\n\r\nSessionReplaced\r\n\r\nDeactivated\r\n\r\nSharedAccess\r\n\r\nPendingInvite\r\n\r\nExpired\r\n\r\nDeletedInvite",
- "x-enumNames": ["Normal", "ChatDisabled", "SessionReplaced", "Deactivated", "SharedAccess", "PendingInvite", "Expired", "DeletedInvite"]
+ "x-enumNames": [
+ "Normal",
+ "ChatDisabled",
+ "SessionReplaced",
+ "Deactivated",
+ "SharedAccess",
+ "PendingInvite",
+ "Expired",
+ "DeletedInvite"
+ ]
},
"UserVideoTrackingModel": {
"type": "object",
@@ -5282,9 +6316,11 @@
"nullable": true
},
"videoTrackingAttribute": {
- "allOf": [{
- "$ref": "#/components/schemas/VideoTrackingAttributes"
- }],
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/VideoTrackingAttributes"
+ }
+ ],
"description": "\r\n\r\nUndefined\r\n\r\nWatchlist",
"x-enumNames": ["Undefined", "Watchlist"]
},
diff --git a/__tests__/__datasets__/requestbody-example-quirks.json b/__tests__/__datasets__/requestbody-example-quirks.json
index b2fbe5cb..0d9866f8 100644
--- a/__tests__/__datasets__/requestbody-example-quirks.json
+++ b/__tests__/__datasets__/requestbody-example-quirks.json
@@ -1,9 +1,7 @@
{
"openapi": "3.1.0",
"info": { "title": "Request example quirks", "version": "1.0" },
- "servers": [
- { "url": "https://httpbin.org" }
- ],
+ "servers": [{ "url": "https://httpbin.org" }],
"paths": {
"/anything": {
"post": {
diff --git a/__tests__/__datasets__/responses.json b/__tests__/__datasets__/responses.json
index eb480164..7fe44ef9 100644
--- a/__tests__/__datasets__/responses.json
+++ b/__tests__/__datasets__/responses.json
@@ -96,10 +96,7 @@
"example": [
{
"id": 29748772,
- "calendar_ids": [
- 6625762,
- 6447372
- ]
+ "calendar_ids": [6625762, 6447372]
}
]
}
diff --git a/__tests__/__datasets__/schema-deprecated.json b/__tests__/__datasets__/schema-deprecated.json
index 2c11690a..510f46b0 100644
--- a/__tests__/__datasets__/schema-deprecated.json
+++ b/__tests__/__datasets__/schema-deprecated.json
@@ -23,10 +23,7 @@
"explode": true,
"schema": {
"type": "string",
- "enum": [
- "active",
- "inactive"
- ]
+ "enum": ["active", "inactive"]
}
},
{
@@ -37,10 +34,7 @@
"explode": true,
"schema": {
"type": "string",
- "enum": [
- "active",
- "inactive"
- ]
+ "enum": ["active", "inactive"]
}
},
{
@@ -54,11 +48,7 @@
"items": {
"deprecated": true,
"type": "string",
- "enum": [
- "available",
- "pending",
- "sold"
- ],
+ "enum": ["available", "pending", "sold"],
"default": "available"
}
}
@@ -140,10 +130,7 @@
},
"Pet": {
"type": "object",
- "required": [
- "name",
- "photoUrls"
- ],
+ "required": ["name", "photoUrls"],
"properties": {
"id": {
"description": "This `requestBody` schema property is marked as deprecated.\n\nhttps://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#schema-object",
@@ -251,11 +238,7 @@
"type": "string",
"deprecated": true,
"description": "pet status in the store",
- "enum": [
- "available",
- "pending",
- "sold"
- ]
+ "enum": ["available", "pending", "sold"]
},
"StatusWrapper": {
"type": "object",
diff --git a/package.json b/package.json
index 20b696ac..23ec88ef 100644
--- a/package.json
+++ b/package.json
@@ -32,16 +32,16 @@
},
"scripts": {
"build": "tsc",
- "lint": "npm run lint:types; npm run lint:js; npm run lint:docs",
+ "lint": "npm run lint:types; npm run lint:js; npm run lint:docs; npm run prettier",
"lint:js": "eslint . --ext .js,.ts",
"lint:docs": "npx -y alex .",
"lint:types": "tsc --noEmit",
"prebuild": "rm -rf dist/",
"prepack": "npm run build",
"prepare": "husky install",
- "pretest": "npm run lint",
- "prettier": "prettier --list-different \"./**/**.{js,ts,md}\"",
- "prettier:fix": "prettier --list-different --write \"./**/**.{js,ts,md}\"",
+ "pretest": "npm run build",
+ "prettier": "prettier --check .",
+ "prettier:fix": "prettier --check --write .",
"test": "vitest --coverage",
"watch": "tsc --watch"
},