{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snow-software/json-schema/snow-software-application-patch-schema.json",
  "title": "ApplicationPatch",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snow-software-applications-api-openapi.yml#/components/schemas/ApplicationPatch",
  "type": "object",
  "properties": {
    "primaryOwnerId": {
      "type": "string",
      "description": "The unique ID of the primary owner."
    },
    "sanctioned": {
      "type": "boolean",
      "description": "```true``` if application is sanctioned; otherwise, ```false```."
    },
    "singleSignOn": {
      "type": "boolean",
      "description": "```true``` if application has single sign on supported; otherwise, ```false```."
    },
    "notes": {
      "type": "string",
      "description": "Notes about the application."
    },
    "description": {
      "type": "string",
      "description": "Description of the application."
    },
    "aiCategory": {
      "type": "string",
      "description": "AI category of the application."
    },
    "aiSubcategory": {
      "type": "string",
      "description": "AI sub-category of the application."
    },
    "websiteDate": {
      "$ref": "#/$defs/ApplicationPatchWebsite"
    }
  },
  "required": [
    "primaryOwnerId",
    "sanctioned",
    "singleSignOn",
    "notes",
    "description",
    "aiCategory",
    "aiSubcategory",
    "websiteDate"
  ],
  "$defs": {
    "ApplicationPatchWebsite": {
      "title": "ApplicationPatchWebsite",
      "type": "object",
      "properties": {
        "website": {
          "type": "string",
          "description": "Website of application."
        },
        "privacyPolicy": {
          "type": "string",
          "description": "Location of the applications privacy policy."
        },
        "categoryName": {
          "type": "string",
          "description": "Category of application."
        }
      },
      "required": [
        "website",
        "privacyPolicy",
        "categoryName"
      ]
    }
  }
}