+ "obligations" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Obligation"
+ }
+ },
+ "policyIdentifiers" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/IdReference"
+ }
+ },
+ "policySetIdentifiers" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/IdReference"
+ }
+ },
+ "attributes" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/AttributeCategory"
+ }
+ }
+ }
+ },
+ "Status" : {
+ "type" : "object",
+ "properties" : {
+ "statusCode" : {
+ "$ref" : "#/definitions/StatusCode"
+ },
+ "statusMessage" : {
+ "type" : "string"
+ },
+ "statusDetail" : {
+ "$ref" : "#/definitions/StatusDetail"
+ },
+ "ok" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "StatusCode" : {
+ "type" : "object",
+ "properties" : {
+ "statusCodeValue" : {
+ "$ref" : "#/definitions/Identifier"
+ },
+ "child" : {
+ "$ref" : "#/definitions/StatusCode"
+ }
+ }
+ },
+ "StatusDetail" : {
+ "type" : "object",
+ "properties" : {
+ "missingAttributeDetails" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/MissingAttributeDetail"
+ }
+ }
+ }
+ },
+ "Version" : {
+ "type" : "object",
+ "properties" : {
+ "version" : {
+ "type" : "string"
+ },
+ "versionDigits" : {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ }
+ },
+ "ErrorResponse" : {
+ "type" : "object",
+ "properties" : {
+ "responseCode" : {
+ "type" : "string",
+ "enum" : [ "OK", "CREATED", "ACCEPTED", "NO_CONTENT", "RESET_CONTENT", "PARTIAL_CONTENT", "MOVED_PERMANENTLY", "FOUND", "SEE_OTHER", "NOT_MODIFIED", "USE_PROXY", "TEMPORARY_REDIRECT", "BAD_REQUEST", "UNAUTHORIZED", "PAYMENT_REQUIRED", "FORBIDDEN", "NOT_FOUND", "METHOD_NOT_ALLOWED", "NOT_ACCEPTABLE", "PROXY_AUTHENTICATION_REQUIRED", "REQUEST_TIMEOUT", "CONFLICT", "GONE", "LENGTH_REQUIRED", "PRECONDITION_FAILED", "REQUEST_ENTITY_TOO_LARGE", "REQUEST_URI_TOO_LONG", "UNSUPPORTED_MEDIA_TYPE", "REQUESTED_RANGE_NOT_SATISFIABLE", "EXPECTATION_FAILED", "PRECONDITION_REQUIRED", "TOO_MANY_REQUESTS", "REQUEST_HEADER_FIELDS_TOO_LARGE", "INTERNAL_SERVER_ERROR", "NOT_IMPLEMENTED", "BAD_GATEWAY", "SERVICE_UNAVAILABLE", "GATEWAY_TIMEOUT", "HTTP_VERSION_NOT_SUPPORTED", "NETWORK_AUTHENTICATION_REQUIRED" ]
+ },
+ "errorMessage" : {
+ "type" : "string"
+ },
+ "errorDetails" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "warningDetails" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+ },
+ "DOMConfiguration" : {
+ "type" : "object",
+ "properties" : {
+ "parameterNames" : {
+ "$ref" : "#/definitions/DOMStringList"
+ }
+ }
+ },
+ "DOMImplementation" : {
+ "type" : "object"
+ },
+ "DOMStringList" : {
+ "type" : "object",
+ "properties" : {
+ "length" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "Document" : {
+ "type" : "object",
+ "properties" : {
+ "documentElement" : {
+ "$ref" : "#/definitions/Element"
+ },
+ "xmlVersion" : {
+ "type" : "string"
+ },
+ "strictErrorChecking" : {
+ "type" : "boolean"
+ },
+ "documentURI" : {
+ "type" : "string"
+ },
+ "xmlStandalone" : {
+ "type" : "boolean"
+ },
+ "implementation" : {
+ "$ref" : "#/definitions/DOMImplementation"
+ },
+ "doctype" : {
+ "$ref" : "#/definitions/DocumentType"
+ },
+ "inputEncoding" : {
+ "type" : "string"
+ },
+ "xmlEncoding" : {
+ "type" : "string"
+ },
+ "domConfig" : {
+ "$ref" : "#/definitions/DOMConfiguration"
+ },
+ "localName" : {
+ "type" : "string"
+ },
+ "prefix" : {
+ "type" : "string"
+ },
+ "nodeValue" : {
+ "type" : "string"
+ },
+ "ownerDocument" : {
+ "$ref" : "#/definitions/Document"
+ },
+ "nodeName" : {
+ "type" : "string"
+ },
+ "childNodes" : {
+ "$ref" : "#/definitions/NodeList"
+ },
+ "nodeType" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "namespaceURI" : {
+ "type" : "string"
+ },
+ "lastChild" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "parentNode" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "firstChild" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "nextSibling" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "previousSibling" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "baseURI" : {
+ "type" : "string"
+ },
+ "textContent" : {
+ "type" : "string"
+ },
+ "attributes" : {
+ "$ref" : "#/definitions/NamedNodeMap"
+ }
+ }
+ },
+ "DocumentType" : {
+ "type" : "object",
+ "properties" : {
+ "entities" : {
+ "$ref" : "#/definitions/NamedNodeMap"
+ },
+ "publicId" : {
+ "type" : "string"
+ },
+ "systemId" : {
+ "type" : "string"
+ },
+ "notations" : {
+ "$ref" : "#/definitions/NamedNodeMap"
+ },
+ "internalSubset" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "localName" : {
+ "type" : "string"
+ },
+ "prefix" : {
+ "type" : "string"
+ },
+ "nodeValue" : {
+ "type" : "string"
+ },
+ "ownerDocument" : {
+ "$ref" : "#/definitions/Document"
+ },
+ "nodeName" : {
+ "type" : "string"
+ },
+ "childNodes" : {
+ "$ref" : "#/definitions/NodeList"
+ },
+ "nodeType" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "namespaceURI" : {
+ "type" : "string"
+ },
+ "lastChild" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "parentNode" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "firstChild" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "nextSibling" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "previousSibling" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "baseURI" : {
+ "type" : "string"
+ },
+ "textContent" : {
+ "type" : "string"
+ },
+ "attributes" : {
+ "$ref" : "#/definitions/NamedNodeMap"
+ }
+ }
+ },
+ "Element" : {
+ "type" : "object",
+ "properties" : {
+ "tagName" : {
+ "type" : "string"
+ },
+ "schemaTypeInfo" : {
+ "$ref" : "#/definitions/TypeInfo"
+ },
+ "localName" : {
+ "type" : "string"
+ },
+ "prefix" : {
+ "type" : "string"
+ },
+ "nodeValue" : {
+ "type" : "string"
+ },
+ "ownerDocument" : {
+ "$ref" : "#/definitions/Document"
+ },
+ "nodeName" : {
+ "type" : "string"
+ },
+ "childNodes" : {
+ "$ref" : "#/definitions/NodeList"
+ },
+ "nodeType" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "namespaceURI" : {
+ "type" : "string"
+ },
+ "lastChild" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "parentNode" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "firstChild" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "nextSibling" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "previousSibling" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "baseURI" : {
+ "type" : "string"
+ },
+ "textContent" : {
+ "type" : "string"
+ },
+ "attributes" : {
+ "$ref" : "#/definitions/NamedNodeMap"
+ }
+ }
+ },
+ "NamedNodeMap" : {
+ "type" : "object",
+ "properties" : {
+ "length" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "Node" : {
+ "type" : "object",
+ "properties" : {
+ "localName" : {
+ "type" : "string"
+ },
+ "prefix" : {
+ "type" : "string"
+ },
+ "nodeValue" : {
+ "type" : "string"
+ },
+ "ownerDocument" : {
+ "$ref" : "#/definitions/Document"
+ },
+ "nodeName" : {
+ "type" : "string"
+ },
+ "childNodes" : {
+ "$ref" : "#/definitions/NodeList"
+ },
+ "nodeType" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "namespaceURI" : {
+ "type" : "string"
+ },
+ "lastChild" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "parentNode" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "firstChild" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "nextSibling" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "previousSibling" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "baseURI" : {
+ "type" : "string"
+ },
+ "textContent" : {
+ "type" : "string"
+ },
+ "attributes" : {
+ "$ref" : "#/definitions/NamedNodeMap"
+ }
+ }
+ },
+ "NodeList" : {
+ "type" : "object",
+ "properties" : {
+ "length" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "Request" : {
+ "type" : "object",
+ "properties" : {
+ "requestDefaults" : {
+ "$ref" : "#/definitions/RequestDefaults"
+ },
+ "multiRequests" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RequestReference"
+ }
+ },
+ "status" : {
+ "$ref" : "#/definitions/Status"
+ },
+ "requestAttributesIncludedInResult" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/AttributeCategory"
+ }
+ },
+ "combinedDecision" : {
+ "type" : "boolean"
+ },
+ "returnPolicyIdList" : {
+ "type" : "boolean"
+ },
+ "requestAttributes" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RequestAttributes"
+ }
+ }
+ }
+ },
+ "RequestAttributes" : {
+ "type" : "object",
+ "properties" : {
+ "contentRoot" : {
+ "$ref" : "#/definitions/Node"
+ },
+ "xmlId" : {
+ "type" : "string"
+ },
+ "category" : {
+ "$ref" : "#/definitions/Identifier"
+ },
+ "attributes" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Attribute"
+ }
+ }
+ }
+ },
+ "RequestAttributesReference" : {
+ "type" : "object",
+ "properties" : {
+ "referenceId" : {
+ "type" : "string"
+ }
+ }
+ },
+ "RequestDefaults" : {
+ "type" : "object",
+ "properties" : {
+ "xpathVersion" : {
+ "type" : "string",
+ "format" : "uri"
+ }
+ }
+ },
+ "RequestReference" : {
+ "type" : "object",
+ "properties" : {
+ "attributesReferences" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RequestAttributesReference"
+ }
+ }
+ }
+ },
+ "TypeInfo" : {
+ "type" : "object",
+ "properties" : {
+ "typeNamespace" : {
+ "type" : "string"
+ },
+ "typeName" : {
+ "type" : "string"
+ }
+ }
+ },
+ "StatisticsReport" : {
+ "type" : "object",
+ "properties" : {
+ "code" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "totalPolicyTypesCount" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "totalPoliciesCount" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "totalErrorCount" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "permitDecisionsCount" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "denyDecisionsCount" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "indeterminantDecisionsCount" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "notApplicableDecisionsCount" : {
+ "type" : "integer",
+ "format" : "int64"
+ }
+ }
+ },
+ "DecisionResponse" : {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string"
+ },
+ "message" : {
+ "type" : "string"
+ },
+ "advice" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object"
+ }
+ },
+ "obligations" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object"
+ }
+ },
+ "policies" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object"
+ }
+ }
+ }
+ },
+ "DecisionRequest" : {
+ "type" : "object",
+ "properties" : {
+ "onapName" : {
+ "type" : "string"
+ },
+ "onapComponent" : {
+ "type" : "string"
+ },
+ "onapInstance" : {
+ "type" : "string"
+ },
+ "requestId" : {
+ "type" : "string"
+ },
+ "context" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object"
+ }
+ },
+ "action" : {
+ "type" : "string"
+ },
+ "resource" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object"
+ }