{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blacksky/json-schema/blacksky-area-job-price-schema.json",
  "title": "areaJobPrice",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blacksky-processing-api-openapi.yml#/components/schemas/areaJobPrice",
  "allOf": [
    {
      "$ref": "#/$defs/jobPrice"
    },
    {
      "type": "object",
      "properties": {
        "totalSize": {
          "type": "number",
          "description": "The size of the input STAC item.\n"
        },
        "unit": {
          "type": "string",
          "description": "The unit of measurement used to calculate the size.\n"
        }
      }
    }
  ],
  "$defs": {
    "jobPrice": {
      "type": "object",
      "properties": {
        "pricingStrategy": {
          "type": "string",
          "description": "The pricing strategy used to calculate the cost.\n",
          "enum": [
            "free",
            "area"
          ]
        },
        "totalCredits": {
          "minimum": 0,
          "type": "integer",
          "description": "The process cost, in credits.\n"
        }
      }
    }
  }
}