Compare commits

..

1 Commits

4 changed files with 12 additions and 16 deletions

View File

@ -1,7 +0,0 @@
{
"type": "array",
"description": "Access list list",
"items": {
"$ref": "./access-list-object.json"
}
}

View File

@ -1,7 +1,6 @@
{ {
"type": "object", "type": "object",
"required": ["visibility", "access_lists", "dead_hosts", "proxy_hosts", "redirection_hosts", "streams", "certificates"], "minProperties": 1,
"additionalProperties": false,
"properties": { "properties": {
"visibility": { "visibility": {
"type": "string", "type": "string",

View File

@ -5,13 +5,20 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"id": { "id": {
"$ref": "../common.json#/properties/id" "type": "integer",
"description": "User ID",
"minimum": 1,
"example": 1
}, },
"created_on": { "created_on": {
"$ref": "../common.json#/properties/created_on" "type": "string",
"description": "Created Date",
"example": "2020-01-30T09:36:08.000Z"
}, },
"modified_on": { "modified_on": {
"$ref": "../common.json#/properties/modified_on" "type": "string",
"description": "Modified Date",
"example": "2020-01-30T09:41:04.000Z"
}, },
"is_disabled": { "is_disabled": {
"type": "boolean", "type": "boolean",
@ -47,9 +54,6 @@
"items": { "items": {
"type": "string" "type": "string"
} }
},
"permissions": {
"$ref": "./permission-object.json"
} }
} }
} }

View File

@ -88,7 +88,7 @@
} }
}, },
"schema": { "schema": {
"$ref": "../../../components/access-list-list.json" "$ref": "../../../components/access-list-object.json"
} }
} }
} }