Publisher Api Operation Policy Spec Attribute Structure
OperationPolicySpecAttribute schema from WSO2 API Manager
Type: objectProperties: 8
API ManagementGatewaysOpen-SourceAPI LifecycleGraphQLSOAPREST
OperationPolicySpecAttribute is a JSON Structure definition published by WSO2, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-structure/publisher-api-operation-policy-spec-attribute-structure.json",
"name": "OperationPolicySpecAttribute",
"description": "OperationPolicySpecAttribute schema from WSO2 API Manager",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the attibute",
"example": "headerName"
},
"displayName": {
"type": "string",
"description": "Display name of the attibute",
"example": "Header Name"
},
"description": {
"type": "string",
"description": "Description of the attibute",
"example": "Name of the header to be removed"
},
"validationRegex": {
"type": "string",
"description": "UI validation regex for the attibute",
"example": "/^[a-z\\s]{0,255}$/i"
},
"type": {
"type": "string",
"description": "Type of the attibute",
"example": "string"
},
"required": {
"type": "boolean",
"description": "Is this attibute mandetory for the policy",
"example": true
},
"defaultValue": {
"type": "string",
"description": "Default value for the attribute",
"example": true
},
"allowedValues": {
"type": "array",
"description": "If the attribute type is enum, this array should contain all the possible values for the enum.",
"items": {
"type": "string",
"example": [
"GET",
"POST",
"PUT"
]
}
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.