{
  "type": "object",
  "properties": {
    "repository_names": {
      "type": "array",
      "description": "The names of repositories that the custom property values will be applied to.",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "maxItems": 30
    },
    "properties": {
      "type": "array",
      "description": "List of custom property names and associated values to apply to the repositories.",
      "items": {
        "title": "Custom Property Value",
        "description": "Custom property name and associated value",
        "type": "object",
        "properties": {
          "property_name": {
            "type": "string",
            "description": "The name of the property"
          },
          "value": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ],
            "description": "The value assigned to the property"
          }
        },
        "required": [
          "property_name",
          "value"
        ]
      }
    }
  },
  "required": [
    "repository_names",
    "properties"
  ],
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}