changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "is_pro": {
- "type": "boolean"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "enum": [
- "user",
- "org",
- "app"
- ],
- "type": "string"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "id",
- "type",
- "name"
- ],
- "type": "object"
- },
- "credential": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "created_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "permissions": {
- "additionalProperties": false,
- "properties": {
- "can_read_gated_repos": {
- "type": "boolean"
- },
- "global": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "type": "array"
- },
- "scoped": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "entity": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "enum": [
- "model",
- "dataset",
- "space",
- "bucket",
- "kernel",
- "collection",
- "org",
- "user",
- "resource_group",
- "oauth_app"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "type"
- ],
- "type": "object"
- },
- "permissions": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "type": "array"
- },
- "restrictions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "patterns": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "type": "array"
- },
- "resource_type": {
- "const": "inference_endpoint",
- "type": "string"
- }
- },
- "required": [
- "resource_type",
- "patterns"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "entity",
- "permissions"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "scoped"
- ],
- "type": "object"
- },
- "role": {
- "enum": [
- "read",
- "write",
- "fine_grained"
- ],
- "type": "string"
- },
- "type": {
- "const": "personal_access_token",
- "type": "string"
- }
- },
- "required": [
- "type",
- "role"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expires_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "scopes": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "type": "array"
- },
- "type": {
- "const": "oauth",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "entities": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "enum": [
- "model",
- "dataset",
- "space",
- "bucket",
- "kernel",
- "org"
- ],
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "role": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "app_token",
- "type": "string"
- }
- },
- "required": [
- "type",
- "entities"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expires_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "type": {
- "const": "other",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- }
- ]
- },
- "organizations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "display_name": {
- "minLength": 1,
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "plan": {
- "minLength": 1,
- "type": "string"
- },
- "resource_groups": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "role": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "role"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "role": {
- "minLength": 1,
- "type": "string"
- },
- "security_restrictions": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "type": "array"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "display_name",
- "url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "const": "authenticated",
- "type": "string"
- }
- },
- "required": [
- "status",
- "account",
- "organizations",
- "credential"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "type": "null"
- },
- "credential": {
- "type": "null"
- },
- "guidance": {
- "minLength": 1,
- "type": "string"
- },
- "organizations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "display_name": {
- "minLength": 1,
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "plan": {
- "minLength": 1,
- "type": "string"
- },
- "resource_groups": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "role": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "role"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "role": {
- "minLength": 1,
- "type": "string"
- },
- "security_restrictions": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "type": "array"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "display_name",
- "url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "const": "anonymous",
- "type": "string"
- }
- },
- "required": [
- "status",
- "account",
- "organizations",
- "credential",
- "guidance"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "type": "null"
- },
- "credential": {
- "type": "null"
- },
- "guidance": {
- "minLength": 1,
- "type": "string"
- },
- "organizations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "display_name": {
- "minLength": 1,
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "plan": {
- "minLength": 1,
- "type": "string"
- },
- "resource_groups": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "role": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "role"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "role": {
- "minLength": 1,
- "type": "string"
- },
- "security_restrictions": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "type": "array"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "display_name",
- "url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "const": "authentication_unverified",
- "type": "string"
- }
- },
- "required": [
- "status",
- "account",
- "organizations",
- "credential",
- "guidance"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "is_pro": {
+ "type": "boolean"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "user",
+ "org",
+ "app"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "type",
+ "name"
+ ],
+ "type": "object"
+ },
+ "credential": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "created_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "permissions": {
+ "additionalProperties": false,
+ "properties": {
+ "can_read_gated_repos": {
+ "type": "boolean"
+ },
+ "global": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "scoped": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "entity": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "model",
+ "dataset",
+ "space",
+ "bucket",
+ "kernel",
+ "collection",
+ "org",
+ "user",
+ "resource_group",
+ "oauth_app"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "type"
+ ],
+ "type": "object"
+ },
+ "permissions": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "restrictions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "patterns": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resource_type": {
+ "const": "inference_endpoint",
+ "type": "string"
+ }
+ },
+ "required": [
+ "resource_type",
+ "patterns"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "entity",
+ "permissions"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "scoped"
+ ],
+ "type": "object"
+ },
+ "role": {
+ "enum": [
+ "read",
+ "write",
+ "fine_grained"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "personal_access_token",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "role"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expires_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "scopes": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "oauth",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "entities": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "model",
+ "dataset",
+ "space",
+ "bucket",
+ "kernel",
+ "org"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "role": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "app_token",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "entities"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expires_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "type": {
+ "const": "other",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "organizations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "display_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "plan": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "resource_groups": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "role": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "role"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "role": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "security_restrictions": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "display_name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "const": "authenticated",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "account",
+ "organizations",
+ "credential"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "type": "null"
+ },
+ "credential": {
+ "type": "null"
+ },
+ "guidance": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "organizations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "display_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "plan": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "resource_groups": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "role": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "role"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "role": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "security_restrictions": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "display_name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "const": "anonymous",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "account",
+ "organizations",
+ "credential",
+ "guidance"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "type": "null"
+ },
+ "credential": {
+ "type": "null"
+ },
+ "guidance": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "organizations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "display_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "plan": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "resource_groups": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "role": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "role"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "role": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "security_restrictions": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "display_name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "const": "authentication_unverified",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "account",
+ "organizations",
+ "credential",
+ "guidance"
+ ],
+ "type": "object"
+ }
+]