{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emplifi/json-schema/emplifi-post3-care-cases-request-schema.json",
  "title": "Post3CareCasesRequest",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/emplifi-openapi-generated.yml#/components/schemas/Post3CareCasesRequest",
  "type": "object",
  "properties": {
    "date_start": {
      "type": "string",
      "description": "Start of the period (ISO‑8601)."
    },
    "date_end": {
      "type": "string",
      "description": "End of the period (ISO‑8601)."
    },
    "profiles": {
      "type": "array",
      "description": "List of profile objects with id and platform."
    },
    "platforms": {
      "type": "array",
      "description": "List of platform strings."
    },
    "case_ids": {
      "type": "array",
      "description": "List of case IDs."
    },
    "custom_fields": {
      "type": "array",
      "description": "Custom field objects (fieldId, type, value/range)."
    },
    "fields": {
      "type": "array",
      "description": "Fields to be returned in each case."
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number of cases to return."
    },
    "sort": {
      "type": "array",
      "description": "Sorting objects with field and order."
    }
  },
  "required": [
    "date_start",
    "date_end"
  ]
}