Setting the file. One moment.
Subchapter 47.118
foundry-agent/validate/references/rules-schema.json
JSON105 lines2 KB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Microsoft Foundry hosted-agent validation rules",
"type": "object",
"required": ["rules"],
"properties": {
"version": {
"type": "string"
},
"scope": {
"type": "string",
"minLength": 1
},
"rules": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"id",
"title",
"level",
"rationale",
"when",
"checks",
"statusCriteria",
"guidance"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"title": {
"type": "string",
"minLength": 1
},
"level": {
"type": "string",
"enum": ["error", "warning", "recommendation"]
},
"rationale": {
"type": "string",
"minLength": 1
},
"when": {
"type": "string",
"minLength": 1
},
"checks": {
"type": "string",
"minLength": 1
},
"statusCriteria": {
"type": "object",
"required": ["pass", "fail"],
"properties": {
"pass": {
"type": "string",
"minLength": 1
},
"fail": {
"type": "string",
"minLength": 1
},
"inconclusive": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"guidance": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "object",
"required": ["title", "link"],
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"link": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
]
}
}
}
}
}
}
}