{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Update Organization Settings",
  "description": "Change organization-wide behavior settings. Only the settings you provide are changed; omitted settings keep their current values.",
  "type": "object",
  "properties": {
    "defaultBundleAccess": {
      "type": "string",
      "x-gql-type": "organization_default_bundle_access",
      "title": "Default Bundle Access",
      "description": "Access granted to new bundle repositories at creation. NONE keeps each new repository restricted until a grant is authored for it. ALL_PROJECTS automatically creates an org-wide repo:pull grant on each new bundle repository, making its bundles usable by every project. Changing this setting only affects repositories created afterwards.",
      "enum": ["NONE", "ALL_PROJECTS"]
    },
    "namingConvention": {
      "type": "string",
      "title": "Naming Convention",
      "description": "Liquid template that names every provisioned cloud resource, composed from atoms such as {{org.id}}, {{project.id}}, {{environment.id}}, {{environment.local_id}}, {{instance.id}}, {{instance.local_id}}, {{component.id}}, {{component.name}}, {{component.suffix}}, and {{attrs.YOUR_KEY}} for any declared custom attribute. Built-in Liquid filters (downcase, replace, ...) are available. To keep names distinct per instance, the template must include {{instance.id}}, or {{component.id}} with an environment atom, or {{project.id}} with an environment atom and {{instance.local_id}}. Spaces are allowed; control characters are not. Send an empty string or null to use the default convention {{instance.id}}-{{component.suffix}}. The resolved name is burned into each instance at first creation and does not change afterward.",
      "maxLength": 255
    }
  }
}
