OwnershipRuleCreate
Fields
Create a new ownership rule.
6 fields
match_pattern· required- string
match_type· required- string
priority- integer
service_name· required- string
team_contact- string or null
team_name· required- string
Raw schema (JSON)
{
"description": "Create a new ownership rule.",
"properties": {
"match_pattern": {
"maxLength": 500,
"minLength": 1,
"title": "Match Pattern",
"type": "string"
},
"match_type": {
"pattern": "^(suite_name|component|package|path|label)$",
"title": "Match Type",
"type": "string"
},
"priority": {
"default": 0,
"maximum": 1000,
"minimum": 0,
"title": "Priority",
"type": "integer"
},
"service_name": {
"maxLength": 255,
"minLength": 1,
"title": "Service Name",
"type": "string"
},
"team_contact": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
],
"title": "Team Contact"
},
"team_name": {
"maxLength": 255,
"minLength": 1,
"title": "Team Name",
"type": "string"
}
},
"required": [
"match_type",
"match_pattern",
"service_name",
"team_name"
],
"title": "OwnershipRuleCreate",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
POST/api/v1/projects/{project_id}/ownership/rules— Create Ownership Rule
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON