{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/jfrog/main/json-schema/jfrog-curation-policy-request-schema.json",
  "title": "CurationPolicyRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/jfrog-policies-api-openapi.yml#/components/schemas/CurationPolicyRequest",
  "type": "object",
  "properties": {
    "policy_name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "policy_type": {
      "type": "string"
    },
    "repositories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "package_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "conditions": {
      "type": "object"
    },
    "actions": {
      "type": "object"
    }
  },
  "required": [
    "policy_name",
    "policy_type"
  ]
}